Profile

Achievement

first submission:submitting first snipplet

narkisr's Recent SnippetsTagged Bash



« Prev 1 Next »
An easy was to tunnel remote Couchdb instance into a local machine using ssh tunneling, by using the 5893 local port we enable the local instance to run (replication is only a click away).
0 791 posted 13 years ago by narkisr
Tunneling vnc over ssh
0 611 posted 14 years ago by narkisr
The required steps in order to install xmlfs on Ubuntu.
0 645 posted 14 years ago by narkisr
Some nice base aliases, still need to go through them
2 735 posted 15 years ago by narkisr
Running a btrace script takes two separate steps by default: 1. Running jps to get the Java process ID. 2. Running btrace on the ID. A simple awk script can merge the two into a single step.
0 593 posted 15 years ago by narkisr
How to run a KVM VM with no X (server environment, originally seen at http://blog.bodhizazen.net/?p=40).
0 540 posted 15 years ago by narkisr
This snippet shows how to restore HEAD after using Git's reset method (see http://gitready.com/2009/01/17/restoring-lost-commits.html?disqus_reply=5271828#comment-5271828).
0 579 posted 15 years ago by narkisr
A simple method of clearing the data of a hard drive (writing zeros all over it).
2 626 posted 15 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0 487 posted 15 years ago by narkisr
This is useful for syncing two folders on different computers over ssh (the default transport of rsync).
1 558 posted 15 years ago by narkisr
Simple function which makes it easy to add files to svn in bash (add this to your .bashrc file).
1 674 posted 15 years ago by narkisr
This command lists all the differences that were made between two revisions in SVN.
2 691 posted 15 years ago by narkisr
A useful AWK one liner, see http://student.northpark.edu/pemente/awk/awk1line.txt for some more
1 583 posted 15 years ago by narkisr
A bash script which installs rubygems under ubuntu hardy.
0 434 posted 15 years ago by narkisr
« Prev 1 Next »