com-pyuu-tah

com-pyuu-tah


Edit your web page Live!

Use Your Browser to Edit Any Live Web Page Using a Single Line of JavaScript An easy JavaScript technique for making any website editable. After checking it out for myself, I just had to share it. Here it is: javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0 Paste that single line of code into the address bar of any…


Disable Trace and Track

Disable Trace and Track A server on which I recently scanned with security software that revealed a significant security risk. Namely, the HTTP request methods TRACE and TRACK were found to be enabled on my webserver. The TRACE and TRACK protocols are HTTP methods used in the debugging of webserver connections. Although these methods are…


Firefox Blinking Cursor Issue

Firefox Blinking Cursor Issue For some reason, Firefox started to display a blinking cursor, like web pages I have been viewing were editable. Thinking that some errant plugin was causing this behavior, I manically disabled a few I had recently installed. However that didn’t fix the problem. Good ole Google to the rescue. Firefox has…


Nice command

Using nice to control CPU usage and process priority If you wish to run a command which typically uses a lot of CPU (for example, running tar on a large file), then you probably don’t want to bog down your whole system with it. Linux systems provide the nice command to control your process priority…


Redirect Subdomain to a Directory

Simple Redirect Subdomain to a Directory No comment – Post a comment If you are running Apache for your web server, and mod_rewrite is installed (this is a pretty typicaly module on all installations) this is actually pretty easy. RewriteEngine on RewriteCond %{HTTP_HOST} ^subdomain\.yourdomain\.com RewriteRule ^(.*)$ http://www\.yourdomain\.com/subdomain/$1 [L] Add this code to your apache configuration…


Upload files to a FTP server using curl

How to upload files to a FTP server using curl A simple tip for anyone, uploading files using the curl command line tool. curl -T filename.ext -u username:password ftp://ftpserver.com The command explained: * -T The switch that tells curl this is a transfer * -u Your username and password, seperated by a colon. ‘:’


SSHMenu

SSHMenu is a panel applet for GNMOME (I have been informed it can be used outside of GNOME as well) that keeps track of all your regular SSH connections and makes them available with a single mouse click. http://sshmenu.sourceforge.net/).


WordPress Auto-Update Fails

I’ve experienced many instances where the Auto-update feature in WordPress fails to update either a plugin or WordPress itself. One solution to this problem is remarkably simple, and hopefully will be fixed soon by the WP core developers in an upcoming release. The problem seems to be caused by a messy previous upgrade in which…


Block a country using mod_geoip

Do you have a list of countries that you want to block access to your site? Have you tried adding IP numbers into your .htaccess file only to generate a HUGE .htaccess file and a neverending stream of IP numbers? How about using mod_geoip!! mod_geoip is a module that can be compiled into Apache on…


WP2Social Auto Publish Powered By : XYZScripts.com