Month: May 2013

Delete millions of files faster

From http://linuxnote.net Another Benchmark Several days ago, Keith-Winstein replied at the Quora Posts mentioned that my previous benchmark cannot be reproduced due to the time of all deletion operations lasting too long. To make it clear, those weird data might be that my computer was under heavy load in the past years that it may exist some fs errors…


Browser Notepad

Add, save or bookmark this code in Firefox or Chrome for a quick noting app in the browser window data:text/html, Nice…


Exclude Options for Tar +

Quick thought… You can pretty much exclude a file, folder or specific pattern when using tar: # tar cvfp 052613tar.tar /my/path/Example.com_DIR –exclude=/my/path/Example.com_DIR/images   or tar everything in the current directory, but exclude two specific files # tar cvpf 052613tar.tar * –exclude=index.html –exclude=myimage.png   or tar cvpf 052613tar.tar * –exclude=’file1′ –exclude=’pattern*’ –exclude=’file2′    p.s some tar…


Dammit Server, y u kick me off again?!?

or how to Keep SSH Connections Alive… Login to your server and open the /etc/ssh/ssh_config file. sudo vim /etc/ssh/ssh_config   and add the following line to the end of the file: ServerAliveInterval 60   This sends a null packet to the server every 60 seconds during periods of inactivity to keep the SSH connection alive….


nginx security advisory (CVE-2013-2028)

From nginx.org Hello! Greg MacManus, of iSIGHT Partners Labs, found a security problem in several recent versions of nginx. A stack-based buffer overflow might occur in a worker process while handling a specially crafted request, potentially resulting in arbitrary code execution (CVE-2013-2028). The problem affects nginx 1.3.9 – 1.4.0. The problem is fixed in nginx…


New W3 Total Cache and WP Super Cache Vulnerability

From blog.sucuri.net As if on queue, almost 7 days since we released the post about the latest W3TC and WP Super Cache remote command execution vulnerability, we have started to see attacks spring up across our network. In our post you might remember this: < !–mfunc echo PHP_VERSION; –>< !–/mfunc–> In this example we explained…