Monday, June 29, 2009
Route planning for dummies
Provided there is a route between the cities. :)
Saturday, June 27, 2009
Change desktop background color
In the Advanced settings dialog you can change the color of any part of your desktop. Enjoy.
Tuesday, June 23, 2009
Be a happier clipboard user!
I heard about clipboard manager programs before, but I never tried any. Until now. Do yourself a favour and try ClipX or any other free clipboard manager.
On less thing to worry about. I'm a happier man since then. :P
Quick Window/Application Switcher for Windows
iswitchw is great
Sorting text correctly according to language rules
So copy the lines to be sorted into world. Select the whole text and choose Sort from the Table menu.
That's it. You can even choose the sort order there.
Monday, June 22, 2009
Finding interesting deleted pictures and videos
Twitter to the rescue! Twitter is real time, so it's hard to censor it. Go to Twitter search, input the desired name or thing and there is a good chance you'll find instantly what you're looking for.
Nifty, eh? The dawn of real time search is a nail in the coffin of internet censorship.
Incresase the annoyingly tiny font in Skype chat
Much better, eh? Your eyes will be thankful for it.
Thursday, June 18, 2009
Python ternary operator syntax
Wednesday, June 17, 2009
Why Twitter is vulnerable when reporting from oppressive countries
Google Wave will be released this year and I expect it will replace Twitter for such uses. Why? Because people can run their own Wave servers and those servers can communicate with each other, so there is no central point of vulnerability.
So people run their own servers and they use it for normal communication, but if there is an important event they can use the mesh of Wave servers to distribute information about the event. The government has no central server to shut down, they have to go after each individual Wave server which is much more laborious.
Therefore the future of citizen media is Google Wave, not Twitter. We only use Twitter temporarily until the real thing comes out. Work faster, Google! :)
The reason why PHP Can't connect to MySQL server on 'localhost'
On Windows it's as simple as this: mysql_connect(".")
Configuring local virtual hosts with Apache/XAMPP
Add these to c:/xampp/apache/conf/extra/httpd-vhosts.conf:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot C:/xampp/htdocs
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot path/to/your/project
ServerName yourvirtualhostname
ErrorLog path/to/your/project/error_log
CustomLog path/to/your/project/access_log common
<Directory "path/to/your/project">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
The second one is your new virtual hosts and the first one guarantees access to non-virtual hosts still work.
You also need to add your new host name to c:/WINDOWS/system32/drivers/etc/hosts:
127.0.0.1 yourvirtualhostname
Tuesday, June 16, 2009
Opera Unite turns everyone into a pirate
Interesting announcement from Opera today. Opera Unite turns your browser into an easy to use web server which can be used to shared stuff with your friends and family.
Neat idea, though I don't have my computer switched on all the time, so it's usefulness is limited to the periods when the computer is actually on.
The distributed approach is vaguely similar to Google Wave, but the details differ, of course.
The main problem I see with the approach is the limited upload bandwidth. I'm on ADSL, uploading stuff is slow, so having my meager upload bandwidth eaten by others is not what I want. Could be useful to people with fatter pipes, though.
Nice work, Opera. You showed them once again. :)