Author Archives: SteveK

Installing NGiNX on Ubuntu 10.04 Lucid Lynx

Add the following urls to your sources.list file: deb http://nginx.org/packages/ubuntu/ lucid nginx deb-src http://nginx.org/packages/ubuntu/ lucid nginx Close and save the file.  Then run the following commands: sudo apt-get update sudo apt-get install nginx That simple.  Next comes Configuring NGiNX.

Posted in 10.04 Lucid Lynx, Linux, Ubuntu | Leave a comment

Editing Ubuntu sources.list

The sources.list is a text file on a Debian derived Linux distributions.  Aptitude (apt-get) uses this list of servers as locations from which to retrieve software. To add to this you must be logged into a terminal.  Have ready and know how to use a simple terminal text editor such as nano or vi. Open the sources.list file in [...]

Posted in 10.04 Lucid Lynx, Ubuntu | Leave a comment

Password protecting nginx

Create a Username/Password which will be stored in ‘useraccess’, a file I just made up. htpasswd -b -c useraccess username password -b: allows password in command line rather than prompt -c: creates new passwd file, or rewrites and appends if the file already exists. Now in the nginx config, under: server { location /protectedlocation { [...]

Posted in Development, nginx, Uncategorized | Leave a comment

How to get around the Wikipedia blackout.

Copy and paste this into your address bar: javascript:$(“#content”).css(“display”, “block”);$(“#mw-sopaOverlay”).css(“display”,”none”);   To disable blackout on wordpress.com: (this does you no good because the url’s are rewritten) javascript: jQuery(“span”).removeClass(“picture”);jQuery(“.posttitle”).attr(“style”, “background: #FFFFFF ! important”);jQuery(“small span”).attr(“style”, “background: #FFFFFF ! important”);jQuery(“span span”).attr(“style”, “background: #FFFFFF ! important”);jQuery(“span strong”).attr(“style”, “background: #FFFFFF ! important”);

Posted in Uncategorized | Leave a comment

Free Cloud Hosting for a year? Sign me up!

http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=amazon+free+tier

Posted in Linux, Server & Web Site Administration, Web Development & Administration, Web Hosting | Leave a comment

Unknown Terminal Type.

unknown_terminal_type

The terminal from a Xubuntu desktop isn’t executing any commands. The error is “ ‘unknown’: unknown terminal type. “ Check what terminal is set to by running: “ SET | MORE ”   Then scroll down to where you see the variable:  ” TERM= “.  If “ TERM=unknown “, simply fix this problem by typing:  TERM=xterm

Posted in Linux, Operating Systems, Server & Web Site Administration, Terminal Commands | Leave a comment

WordPress-Smart 404 Plugin

A great tool for not showing 404 pages on your wordpress website.  I’ve used this for a couple years now.  I just recently discovered that if you type in a url with a keyword that cannot be found in your posts or pages, this plugin will show a 404 page.  The whole point of this [...]

Posted in Wordpress | Leave a comment

Reveal Password in web browser – Asterisks Revealed

Thank you stumble upon, for your weekly interesting emails.  Every email I’ve gotten from StumbleUpon has in fact held my interested.  One of the few sites I actually allow weekly emails from.  Thanks to those emails I’ve found this little handy javascript. javascript:(function(){var s,F,j,f,i; s = “”; F = document.forms; for(j=0; j  

Posted in Development, JavaScript, Software, Web Browsers | Leave a comment

Speeding up Windows Vista file transfers over the network.

Vista performs very fast on advanced networking environment, but introduced too much overhead in normal home office environment, you just need to disable some settings to reduce the overhead, all is done in 2 simple steps. Unless you equipped with advanced PC and networking devices, your can expect performance dropped by 20~50% during files transfer [...]

Posted in techblog | Leave a comment

Updating timezone information on my VPS

Haha because of having a VPS I cannot set the time on it, from what I can tell.  All though I cannot change the time, i can update the timezone.  This is a very easy to do command: export TZ=America/Chicago BAM! After running this command I run the command:  date   to make sure it [...]

Posted in techblog | Leave a comment