Profile
Achievement
narkisr's Recent Bash Snippets
- All /
« 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
809
posted 14 years ago by narkisr
Mounting a windows share in Ubuntu (The UI version doesn't seem to offer a mount point).
0
630
posted 14 years ago by narkisr
This is how to patch changes from svn into git (should work with other vcs as well).
0
631
posted 14 years ago by narkisr
This is based upon a debian guide, it seems to work well for ubuntu as well, all these steps can be performed via remote ssh (no need to access the machine).
0
585
posted 14 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
550
posted 15 years ago by narkisr
This example shows how to clean up git's reflogs entries in order save space (see http://www.newartisans.com/blog/2008/04/diving-into-git.html).
0
1808
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
592
posted 15 years ago by narkisr
A simple method of clearing the data of a hard drive (writing zeros all over it).
2
648
posted 15 years ago by narkisr
Basic file system manipulation in Linux (some commands require sudo).
0
494
posted 15 years ago by narkisr
This is useful for syncing two folders on different computers over ssh (the default transport of rsync).
1
575
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
689
posted 15 years ago by narkisr
This command lists all the differences that were made between two revisions in SVN.
2
707
posted 15 years ago by narkisr
A useful AWK one liner, see http://student.northpark.edu/pemente/awk/awk1line.txt for some more
1
598
posted 15 years ago by narkisr
This example shows how to compile the hello.c file out of the fuse source tar.
0
534
posted 15 years ago by narkisr