Why Did Etisalat Block Flickr

Image by Za3tOoOr! via Flickr

After several months of fighting with  manual comment spam, I have decided to block all the traffic coming from India. All they do is just post useless comments everyday, which made me wonder if its their job to post spam.

Anyway, blocking people by IP is very straight forward using htaccess. I will show two ways on how we can block browsers based on their IP addresses

Blocking by IP block is not a very good idea because you will also block legitimate traffics too. Normally, you will do this in at least a week duration and then lift the restriction back to normal. 

Blocking IP and displaying 403 Forbidden
India's IP block that is spamming me non-stop is122.180.0.0. Adding the following code below to the htaccess, blocks all traffic coming from that IP block. You can also block specific IP by  writing its entire IP address. 

order allow,deny
deny from 122.180.
deny from 123.123.123.123
allow from all

Redirect Traffic to a specific page
Redirecting the traffic to a page might be useful instead of just giving them the 403 error page. What is did is to redirect all the traffic from India to a Rick Rolled YouTube page, lol. 

RewriteCond %{REMOTE_ADDR} ^122\.180\.\d+\.\d+$
RewriteRule .* http://www.youtube.com/watch?v=ZOU8GIRUd_g [R=302,L]

R=302 is a status code for temporary redirect and L stands for Last as in the last line. You can add more RewriteCond IP addresses by inserting an addtional line before the RewriteRule Line. 
Tweet this post
I have just upgraded my PC to Windows 7 and since I never tried Windows Vista before; this new operating system is alien to me. Well, i never encountered any problem during the upgrade, its not really an upgrade since Windows 7 does not support upgrades from Windows XP to Windows 7.

The install was smooth so i proceeded to install the software i needed to work until i stumbled upon a problem along the way. My internet access got lost and i am somehow connected to an unidentified network instead. Its gotten more weird for i was able to browse the network. My only problem is that i am not able to connect to the internet.

It happened that before i installed Quicktime. I guess its the culprit, but i can't uninstall it because i need it.

I first learned that by disabling and then enabling the local area connection, internet access is restored. Certainly its not the perfect solution and i can bare myself the pain in doing the same task every time i turn the PC on. Here is a video on how to disable and enable the local area connection.



If you are somehow not contented with the solution, you can always uninstall Quicktime or try disabling the Bonjour service. See the video on how i fixed it.



Tweet this post
activecollab screen capture

Probably the most easiest way to increase the upload limit not just on activeCollab but almost to all PHP applications like WordPress is by configuring the .htaccess file. Editing you PHP ini file can be hard if you do not have access to server or if your are on a shared hosting environment.

Copy and paste the following code below to increase PHP upload limit, i have set the limit to 20MB but you can change it to your liking by editing it.

php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 300
php_value max_input_time 300


UPDATE:
I found some people experienced difficulties in adding the lines above especially on WordPess installs. So here is an updated script for your .htaccess file with PHP versions included. Adding the lines above will generate an Internal Server Error (Error 500) on systems although i did not experience this on my installs.

# PHP 4, Apache 1.

  php_value memory_limit                    64M
  php_value post_max_size                   20M
  php_value upload_max_filesize             20M
  php_value max_execution_time              300
  php_value max_input_time                  300

# PHP 4, Apache 2.

  php_value memory_limit                    64M
  php_value post_max_size                   20M
  php_value upload_max_filesize             20M
  php_value max_execution_time              300
  php_value max_input_time                  300

# PHP 5, Apache 1 and 2.
  
  php_value memory_limit                    64M
  php_value post_max_size                   20M
  php_value upload_max_filesize             20M
  php_value max_execution_time              300
  php_value max_input_time                  300
Tweet this post
the_lost_symbol.jpg

SPOILER WARNING! If you are looking for hints, then this is not the site.

I have finally completed the Lost Symbol Quest from the Dan Brown Website. We'll it took me about 3 hours before i was able to finish it using mostly by plain guess.

The book is not as exciting as the Angels and Demons but I'm not going to let it pass anyway so I started reading it and hopefully will finish it before the week ends.

Below is the complete answer to the online puzzle The Lost Symbol Quest. I have arranged them in alphabetical order so it would be easy for you to find it.

Symbol Hint
Alpha's antithesis - omega symbol
An age in the hair of Broadway
Anagram of "Madras Pen"
Casanova, Mozart and Houdini had this in common
Centaur archer
Circle's circumference divided by its diameter
Demisemiquaver
Fourth rock from the sunl
French Monarch's lily
Greek Goddess of Triumph
Hieroglyph of seven body parts in one
Hood ornament for Emil Jellinek's daughter
IESOUS CHRISTOS THEOU YIOS SOTER
Kafka, Poe, or Khepri embodied
Latin "recipe" offered by doctors/td>
Leo's chaste neighbour
Meditative chant
Octothorpe
One eyed man + two ravens
Opposing, yet unified
Quicksilver
Proofreaders mark from latin "delere"
Robert Langdon's favourite symbol
Scribe of Sidereus Nuncius was the first to see rings around it
Silence for Berlioz, Bizet and Bartok
Sounds like a resident in the Garden of Eden
The "S" in Mozart's D.S
The cross of Bogart's Falcon
The fork of Zeus' younger brother
The Golden Ratio
Venus' Hand Mirror
Who uses this symbol
without end
Zeus' Games


Here is the complete transcription of the recorded message after completing the symbol quest. You will need to solve the quest with the perfect score before this page is displayed.

perfect-score.jpg

This is Dan Brown.
Congratulations on completing the symbol quest, in reaching the 33rd degree with no errors.
As you may have noticed the book jacket in the US is covered with symbols and icons.
Encoded within them, are five hidden messages for you to find and decrypt.
Best of luck and i hope you enjoyed the novel.



Solving for the symbol quest on the book covers. here is a link for the The Lost Symbol book covers in high resolution just in case you don't have the book with you.


Tweet this post

Adding Yahoo Messenger status icons to websites is fairly easy and straightforward, it doesn't even need any programming language to customize them. By this time, i have gathered 25 different status messages that can be used to display while the user is online or offline on Yahoo Messenger.

Using OPI from yahoo, we will be able to detect whether a user is online. For example my Yahoo Id is 'tildemark', use the following address to know if i am online on Yahoo Messenger: http://opi.yahoo.com/online?u=tildemark 

obviously the query string u=tells OPI to check for any user having a Yahoo Id of tildemark. The script then returns a status graphics "online" and "not online".

To add this on any website, we therefore use the syntax:  (you will need to replace YahooID with your corresponding ID)

<img src="http://opi.yahoo.com/online?u=YahooID" />

The code above will display a cute smiley face icon if your online and a gray icon if your offline. Below is a table of the 25 possible icons to customize your Yahoo Messenger online status.

Tweet this post

 no-entry Just today, i have noticed that my bandwidth usage surge up 2 times it normally does. A trouble of having your site suspended and having to pay for the extra bandwidth the other people are stealing (mostly Myspace users).

To end this horror, i have decided to edit my .htaccess file and prevent all websites to hotlink on the images i have uploaded to my server. Yes, i have marked them private, any referrer other than my domain name will be denied access to my site's images including Google and the other search engines.

So here is code for preventing people from hotlinking my images:

   1:  RewriteEngine on
   2:   
   3:  RewriteCond %{HTTP_REFERER} !^$
   4:  RewriteCond %{HTTP_REFERER} !^http://tildemark.com/.*$ [NC]
   5:  RewriteCond %{HTTP_REFERER} !^http://tildemark.com/.*$ [NC]
   6:  ReWriteRule .*\.(png|gif|jpg)$ - [N,F,L]

                    
Tweet this post

Its been several days since i started getting this annoying error. It lets me open a document but won't save them. I tried running the other office apps and they seemed to be working just fine except for Outlook which gives the same error.

Outlook could not create the work file, check the temp environment variable.

temp-variable

I tried moving the temp folder to root but its no use. i even changed its attributes and removed the read only check mark. I kept on checking Word if the problem was gone, kept restarting my PC, and uninstalled Office a couple of times. It will return the same error message:

Word could not create the work file, check the temp environment variable.

I am getting desperate and planned to reinstall Windows. Then, i have recalled that the problem started when i got back from vacation which i eventually removed one of my hard drives out. Thinking Windows might have rearranged my drives, i checked the registry for my temp folder settings and the cache was assigned to the wrong drive which is now a DVD ROM. DriveClone Pro must have changed my TEMP folder when I installed it.

My Solution:

I simply pointed the registry entry to my temp folder start Word and it works fine. Navigate to the registry key below:

cache-error

HKEY_CURRENT_USER > Software > Microsoft >Windows > CurrentVersion > Explorer > User Shell Folders > Cache

Change: the value to your TEMP folder like %USERPROFILE%\TEMP

To open the registry:

  1. click on START > RUN then
  2. type in regedit
Tweet this post

starcraft Just found out that the new StarCraft Patch has removed the CD check on both StarCraft original and the Expansion Version, Brood War. Now, i don't have to always bring with me my StarCraft CD whenever i go. This is a great news for me and i thought i would like to share this with you. Considering most of my friends loves StarCraft and are still playing it up until now. I thought it was a joke, so i tried it myself. Yes the CD check is gone on the 1.15.2 patch.

Its been more than 10 years since its initial release way back in 1998. Imagine how many CDs have been sold and even today people are still buying it. So, i guess Blizzard has considered this as a bonus to StarCraft fans. I still consider StarCraft as the most balanced game i have ever played.

See for yourself and download the patch:

FTP: http://ftp.blizzard.com/pub/starcraft/patches/

HTTP: http://www.blizzard.com/us/patches/

To play without the CD, please follow the following instructions:

Windows Users:
- Make sure you have "Hide extensions for known types" unchecked. To do this please use the following steps:
    - Click Start -> Programs -> Accessories -> Windows Explorer
    - Click on Tools -> Folder options (Windows Vista users may have to press the Alt key to see the tools option at the top of the window)
    - Click on the View Tab In the list, look for the "Hide extensions for known file types" option, and make sure that it is unchecked.
    - Click OK to save the changes.
    - Now you will need to copy some files from the Game CDs

- If you own only StarCraft, copy "INSTALL.EXE" from the StarCraft CD to your StarCraft folder and rename it to "StarCraft.mpq".

- If you own StarCraft: Brood War, copy "INSTALL.EXE" from the StarCraft: Brood War CD to your StarCraft folder and rename it to "BroodWar.mpq".  If you wish to play the StarCraft original missions then please copy and rename the install file from the original StarCraft CD as well, as listed directly above.
Mac users:
- If you own only StarCraft, copy "StarCraft Archive" from the StarCraft CD to your StarCraft/StarCraft Files/ folder.
- If you own StarCraft: Brood War, copy "Brood War Archive" from the StarCraft: Brood War CD to your StarCraft/StarCraft Files/ folder.  If you wish to play the StarCraft original missions then please copy the Starcraft Archive file from the original StarCraft CD as well, as listed directly above.

Tweet this post

Linksys Compact Wireless G USB
Just recently bought this Linksys WUSB54GC USB wifi adapter. I was surprised that it was not plug in play considering it was created just recently and from a prominent company, Linksys.

Like with what you have probably thought right now, 'why not download the driver from their website?'. Tried that one and the download link is not working, at first i thuoght i need to register my device before i can download but it turned out be the same.

The download link for Linksys Wireless-G USB Adapater at the their website is not working and i was not able to go online that time. Tried search for it for more than an hour, which somehow made me regret buying it. When i arrived home, i zipped the driver from the CD that came with my purchase and i'm uploading them here.

Download Linksys Compact Wireless-G Adapter WUSB54GC


Tweet this post

Windows Live Writer is a desktop application used to instantly update multiple blogs without logging into each of them using the browser. You can setup popular blog programs like Wordpress, Movable Type, Sharepoint, TypePad, blogger, LiveJournal or other blog that uses the XML-RPC protocol.

Needed
We need to download Windows Live Writer before we begin. You can also install other applications that comes together with the install. You can select the applications by clicking on their corresponding check boxes. It will take you some time before you can install Windows Live Writer especially if you have selected all of the applications that came with it.

Run the application
After installing, run the application from your desktop or by navigating via the start menu. Let us add your Movable Type blog into Windows Live Writer.

livewriter

  • Navigate to Tools -> Accounts
  • On the Accounts box, click on Add
  • You will then be presented with a wizard, select Other blog service for Movable Type
  • Enter your blog URL, Username, and your Web Service Password.

Your Web Services Password is not your Movable Type login password. You may find your Web services Password at your profile page. Just click reveal on your profile then copy and paste to the Windows Live Writer textbox. See the Image below.

tmpassword

  • On the next window, you will be asked to input your blog provider. Choose Movable Type.
  • On the Remote posting URL field edit it to your xml-rpc cgi file. mine is https://tildemark.com/cgi-bin/mt4/mt-xmlrpc.cgi
  • Proceed by clicking OK, then add a meaningful name to your blog.
  • Do the same procedure with your other blog accounts. You can then start adding blog entries by selecting the account via the Blog menu at the toolbar.

This blog entry was posted using Windows Live Writer.

Tweet this post


About Me


Alfredo Sanchez is an internet professional focusing on the study search engines behavior in particular. Supports Free Open Source Software and currently develops applications with it using XAMPP.

Recent Comments

Close