Category Archives: Uncategorized

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 { [...]

Also posted in Development, nginx | 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