- page 8

Disable .MobileBackup on Lion

Disable .MobileBackup on Lion

Did you suddenly find no more space on your mac? Did you discover that .MobileBackup is taking a lot of space? I usually use an external drive to backup, but when not available Time Machine create an internal backup! The easy way to get your…

Continue reading →

Toggling between Java 6 and Java 7 on mac

Toggling between Java 6 and Java 7 on mac

Raise an hand who does not have two versions of Java installed on your computer namely Java 6 as distributed by Apple and Java 7 as distributed by Oracle. When installing Java 7, it will take over the place from Java 6 as the Java…

Continue reading →

Find text including subdirectories in ubuntu

Find text including subdirectories in ubuntu

grep -rl "string" /path find . -name "*.jar" | xargs grep Topic locate try.txt | xargs grep hello The methods serve different purposes. recursive search and replace old with new string, inside files $ grep -rl oldstring . |xargs sed -i -e 's/oldstring/newstring/' find ….

Continue reading →

Custom delay time and animation speed

Custom delay time and animation speed

Custom delay time You may have noticed that there is a short delay before the Dock appears when your mouse hits the edge of the screen. There is a hidden setting that allows you to adjust the delay time using the Terminal. Start by opening…

Continue reading →

Install the JDK on Ubuntu server

Install the JDK on Ubuntu server

Install the JDK Download he 32bit or 64bit Linux “compressed binary file” – it has a “.tar.gz” file extension i.e. “[java-version]-i586.tar.gz” for 32bit and “[java-version]-x64.tar.gz” for 64bit Uncompress it tar -xvf jdk-7u2-linux-i586.tar.gz (32bit) tar -xvf jdk-7u2-linux-x64.tar.gz (64bit) JDK 7 package is extracted into ./jdk.1.7.0_02 directory….

Continue reading →

Copy files with progress bar on terminal

Copy files with progress bar on terminal

rsync -avP source dest

Continue reading →

Decrypt file encrypted with old/primary master key

Decrypt file encrypted with old/primary master key

Now, what if you need to decrypt a file that has been encrypted for your old master key, or you have create a subkey, moved away the primary key, do everything with your subkey, but still you need the primary key to sign, create new…

Continue reading →

How to remove the private master key from your laptop.

How to remove the private master key from your laptop.

These instructions assume you use one computer, and keep the master keys on an encrypted USB flash drive, or preferably at least two (you should keep backups of your secret keys). Here comes the tricky part. You need to remove the private master key, and…

Continue reading →

A general Varnish health check.

A general Varnish health check.

From Varnsih documentation it is quite clear that Varnishstat gives a good representation of the general health of Varnish, including cache hit rate, uptime, number of failed backend connections and many other statistics; everything above 80% is in a good state. I like to use…

Continue reading →

Useful varnishlog commands

Useful varnishlog commands

varnishtop -i TxStatus Log client requests (you can also add :503 to check only for 503 being returned to a client varnishncsa -F "%r %s" | grep " 200" Give the url that returns 200 varnishlog -c -m RxURL:/specific/url/ Only show client-requests for the url…

Continue reading →

Page 8 of 16 ← First ... 6 7 8 9 10 ... Last →