Dump this in your terminal:
sudo apt-get install checkinstall
mkdir -p ~/src
cd ~/src
wget https://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.gz
tar xf emacs-24.5.tar.gz
cd emacs-24.5
./configure
make
sudo checkinstall
    
   
  
    Read More
  
  
     Apr 5, 2017
     1 min read
  
  
    
    
    
  
    
  
  
  
  
    
      tl;dr: Use this post-commit hook.
    
   
  
    Read More
  
  
     Jan 31, 2015
     2 min read
  
  
    
    
    
  
    
  
  
  
  
    
      A great source for all sorts of packages such as Node.js, Zshell, BitTorrent
Sync, Redis, and Firefox Sync Server just to name a few. Check out the
full list of packages or just add the source to your package manager :)
    
   
  
    Read More
  
  
     Jan 9, 2015
     1 min read
  
  
    
    
    
  
  
  
  
  
    
  
  
  
  
    
      Log into your system with an administrator account and open the
1Control Panel applet. From there, click on
2Terminal & SNMP, 3Enabled SSH service, and
4Apply.
    
   
  
    Read More
  
  
     Jul 12, 2014
     1 min read
  
  
    
    
    
  
    
  
  
  
  
    
      As a best practice, it’s great great to have your data in more than one
location. I use my Synology Diskation as a local network file server at my home.
The reality is something can happen and I lose all my important data in that
little box. From a BBQ, a birthday party, or maybe the house just burns down and
now all my data is gone. Unfortunately my network rack at home will never be as
secure as a network rack in a data center. So, backup your data because that’s
much easier to do rather than trying to restore from no backup. Makes logical
sense right? Derp.
    
   
  
    Read More
  
  
     Jul 12, 2014
     4 min read
  
  
    
    
    
  
  
  
  
  
    
  
  
    
    
      Managing daemons on Linux
    
  
  
  
    
      Quick little init.d template:
    
   
  
    Read More
  
  
     Jul 7, 2014
     2 min read
  
  
    
    
    
  
    
  
  
  
  
    
      I received an alert from my Synology RAID regarding a few bad sectors on a hard
drive. Even though the RAID is still operational, it’s best practice to replace
the hard drive before any data gets corrupted due to the bad sectors.
    
   
  
    Read More
  
  
     Jun 28, 2014
     3 min read
  
  
    
    
    
  
  
  
  
  
    
  
  
  
  
  
    Read More
  
  
     Jun 12, 2014
     1 min read
  
  
    
    
    
  
    
  
  
  
  
    
      Install vagrant-omnibus:
vagrant plugin install vagrant-omnibus
Configure your Vagrantfile before provisioning to the latest version of
Chef:
config.omnibus.chef_version = :latest
You can also upgrade to a specific version like so:
config.omnibus.chef_version = "11.12.8"
    
   
  
    Read More
  
  
     Jun 10, 2014
     1 min read
  
  
    
    
    
  
  
  
  
  
    
  
  
  
  
    
      Dump You can dump the database locally using the following mongodump:
mongodump --host DATABASE_HOST --port PORT -d YOUR_DATABASE_NAME -u YOUR_DB_USERNAME -p YOUR_DB_PASSWORD This will create a dump folder containing a subfolder named after your database. The default port for MongoDB is 27017.
Import You can import the same dump to a local MongoDB instance using something like the following mongorestore after changing into the dump directory:
mongorestore --host DATABASE_HOST --port PORT -d DATABASE_NAME_TO_IMPORT_TO --drop DATABASE_NAME_TO_IMPORT_FROM Note: This will drop the collections in the DATABASE_NAME_TO_IMPORT_TO database before restoring the same collections from your database dump.
    
  
  
    Read More
  
  
     May 30, 2014
     1 min read