Category Archives: linux administration

Tweak to my Laptop

I got frustrated at the slowness of my SSD enabled laptop so I did some more tweak, install Acrylic DNS Proxy (This will generally speed up couple milisecond to several second for DNS lookup) THEY ADD UP, trust me. If … Continue reading

Posted in linux administration | Leave a comment

Drag and Drop to Login

We all love websites but hated the feature/mandatory punishment of logging in with username and password. The solution would be drag and drop, the server generates a OpenSSH private/public key and allows the user to download the private key and … Continue reading

Posted in linux administration | Leave a comment

Download Compiling Node.JS v0.9.9 on Raspberry Pi

If you have the rasbian “wheezy”, well, you’re in luck. I’m currently compiling Node.JS v0.9.9 and it will be available here to download in a nice .zip format Stay toon for updates. Download Link: Link 1 is currently compiling!

Posted in linux administration | Leave a comment

Copy Files With Specific Extension while Retaining folder structure

Copy Files With Specific Extension while Retaining folder structure @echo off for %%p in (SOURCE_DIR DEST_DIR FILENAMES_TO_COPY) do set %%p= cls echo :: Copy Files Including Folder Tree echo :: http://stackoverflow.com rem     /questions/472692/how-to-copy rem     -a-directory-structure-but-only rem     -include-certain-files-using-windows echo :: ReScripted … Continue reading

Posted in linux administration | Leave a comment

Rsync Broken Pipe Error

My crontab -e */3 * * * * pgrep rsync > /dev/null || /root/rsync.sh My /root/rsync.sh #!/bin/bash rsync -aruvP –inplace –exclude ‘*.part’ -e “ssh” root@205.185.121.211:/home/wwwroot/source/ /mnt/mirror1/backup/; Previous Error when I added encryption using arcfour method Write failed: Broken pipe rsync: … Continue reading

Posted in linux administration | Leave a comment

Two 10 seconds scripts to keep your data synchronized – Some code from mariocesar – Forrst

Two 10 seconds scripts to keep your data synchronized – Some code from mariocesar – Forrst. # — First script. Listen for changes and use # rsync just when new files are available or # existing files are modified. # … Continue reading

Posted in linux administration | Leave a comment

Protected: Personal Backup Using Rsync

There is no excerpt because this is a protected post.

Posted in linux administration | Enter your password to view comments.

ssh connections dropping: Apple Support Communities

The solution was to set these values to their default values net.inet.tcp.keepidle=7200000 and net.inet.tcp.keepintvl=75000 using the “sudo sysctl -w” command. via ssh connections dropping: Apple Support Communities.

Posted in linux administration | Leave a comment

Rsync Through SSH Using Non Standard Port and Transferring Large Chunk Of Files

Write failed: Broken pipe rsync: connection unexpectedly closed (28652 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7]

Posted in linux administration | Leave a comment

Linux Commands On WallPaper

  Download This WallPaper

Posted in linux administration | Leave a comment

KooTeam标签式表单验证插件

KooTeam标签式表单验证插件.

Posted in linux administration | Leave a comment

Convert Filename From UpperCase To LowerCase

Type the below command and it will convert rename ‘y/A-Z/a-z/’ *

Posted in linux administration | Leave a comment

Installing Cappuccino from Source

./cappuccino/bootstrap.sh Returns Error: java is required to bootstrap Cappuccino. Please install java and re-run bootstrap.sh

Posted in linux administration | Leave a comment

Image Changing Opacity

<img alt=”xx” src=”xx” style=”opacity: 0.6;”>

Posted in linux administration | Leave a comment

Multi AJAX? – Javascript – Novawave Forums

function Req($array, $url, $divname, $a = 1) { // Prevar is predefined variable – such as an ID // To set a dynamic var such as a textbox USE THIS FORMAT ‘+document.getElementById(‘box’).value+’ // For multiple AJAX requests, change the $a … Continue reading

Posted in linux administration | Tagged | Leave a comment

Use Fonts From G00Gl3

<link href=’http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300′ rel=’stylesheet’ type=’text/css’><link href=’http://fonts.googleapis.com/css?family=Abel’ rel=’stylesheet’ type=’text/css’><link href=’http://fonts.googleapis.com/css?family=Dorsa’ rel=’stylesheet’ type=’text/css’><link href=’http://fonts.googleapis.com/css?family=Acme’ rel=’stylesheet’ type=’text/css’><link href=’http://fonts.googleapis.com/css?family=Rosario:400,700′ rel=’stylesheet’ type=’text/css’>

Posted in linux administration | Leave a comment

CA Registry Administrative Update June 12-13 2012

Certain .CA Registry administrative functions to be paused during system upgrade June 12-13 Dear %USERNAME%, On June 12, 2012, the Canadian Internet Registration Authority (CIRA) will be performing a system upgrade to further improve our .CA registry system. From enhanced … Continue reading

Posted in linux administration | Leave a comment

Vim VS Emacs

Above is emacs Above is vim

Posted in linux administration | Leave a comment

[ubuntu] Bind 9 DNS Server not accepting DNS client queries [Archive] – Ubuntu Forums

Add the following lines to named.conf.options in /etc/bind will do allow-query {any;}; allow-query-on {any;}; allow-recursion {any;}; allow-recursion-on {any;};   To the options of named.conf. via [ubuntu] Bind 9 DNS Server not accepting DNS client queries [Archive] – Ubuntu Forums.

Posted in linux administration | Leave a comment

mod_rpaf for Apache

I fell love with Nginx’s ability to reverse proxy pass, it is awesome and stuff but I’m annoyed by the amount of effort in trying to retrieve visitor logs, so why not just let apache logs those X-Forwarded-For request anyways. … Continue reading

Posted in linux administration | Leave a comment