If you want to convert a program to hexdecimal or binary out, here is two programs to do so. First get your pre-reqs: apt-get update apt-get install python apt-get install pip pipRead More…
How make apache file browser / indexing prettier – also called FancyIndexing – BONUS – robots stopping search engines
As you hopefully know apache2 will give you a filebrowser that looks terrible if it cant find an index page (index.html, index.php, or whatever you set it as). This is useful forRead More…
SSHFS auto connecting via your password
SSHFS takes SSH and shows you files, via a virtual/pseudo Filesystem (called fuse). so you can mount an SSH servers directory on a client Normally you would connect like so: sshfs user1@www.server.com:/home/user1/ /mntRead More…
Lower Fragmentation with Copy on write filesystems
Which filesystems are we talking about? ZFS, BTRFS Why is fragmentation bad? It causes performance issues. Specifically bandwidth and more importantly latency. For Virtualized environments, you want the lowest latency as possibleRead More…
Linux – The Size of everything “find” found – Using find & du to calc sizes of any files
If your using find to its max extent, by using it as a selector tool of wide versatility, then your on the right path. Find is one of the strongest tools inRead More…
Sublime Add Context Menu (Works for Version 2 and 3) WINDOWS SUBLIME
CITATION: http://sublimetext.userecho.com/topic/43345-windows-context-menu-right-click-edit-with-sublime-notepad-style/ NOTE: according to author this method works for sublime 2. I tested with sublime 3 and it works. Makes sense that it will work with both since they both use theRead More…
OpenSSL verify REQUEST, KEY, CERTIFICATE and CSR, KEY, CRT
### — check properties of ssl files — ### openssl req -noout -text -in https1.csr openssl rsa -noout -text -in https1.key openssl x509 -noout -text -in https1.crt ### — check modulus —Read More…
CP or RSYNC – forgot verbose – see current files being copied
CAVEAT: you can do the same thing with “lsof” and “fuser” So you want to see the current files being copied or looked at by cp or rsync (or another program)? So youRead More…
BSDTAR vs TAR (and option -a) and HOW TO COPY SPARSE FILES
BSDTAR vs TAR This site pretty much sums it up really well: http://unix.stackexchange.com/questions/101561/what-are-the-differences-between-bsdtar-and-gnu-tar Note that tar has the ability to use -a or autocompress. In some versions of bsdtar you also get -a.Read More…
Everything on DOTGLOB and * – selecting hidden files or not (default is not)
When working with the key * with BASH, becareful. And simply try to avoid it when you can. * usually does not select hidden files. Unless you tell it other wise withRead More…