01
Sep/14Chef Dependency Hell
I’ve been playing around with Chef in conjunction with Vagrant and it’s become very obvious the lack of dependency management. Chef cookbooks has a metadata.rb which has a dependency directive to allow users to see what the cookbook relies on. … Continue reading
25
Aug/14Docker On DigitalOcean Cannot Resolve Hostnames
Overview I encountered an issue where during the build of my Docker container it was not able to get a response back during an apt-get update command. It turns out it was unable to resolve the DNS entries because of … Continue reading
18
Aug/14Share .bashrc
Suggested by Dave Bradford, it turns out you can share .bashrc files between computers and use symbolic link. Rename the file: mv ~/.bashrc ~/bashrc.bak Dropbox example: ln -s ~/Dropbox/.bashrc ~/.bashrc where the .bashrc is stored in the root Dropbox folder. … Continue reading
11
Aug/14Checkout Specific Files From Git
Overview From Git 1.7 it is possible to checkout specific files from a repository. The feature in Git is called sparse checkout. How To Create a repository: git init myRepo where myRepo is the directory to create the new repository. … Continue reading
04
Aug/14Manually Installing Sublime Text 2 On Ubuntu
Overview Sublime is one of the best of the text editor I have used. One of the best things about it is that it’s cross platform but it doesn’t include an installer for Linux. Install Download a copy of the … Continue reading
28
Jul/14Creating ls command in Windows
Create a ls.bat file with the contents: dir %1 the %1 is the parameters passed into the command so that you can do ls My Documents or just ls. There are different places to put the ls.bat file but as … Continue reading
21
Jul/14Reduce SSD Wear By Moving Windows Temporary Files Cache To RAM Disk
Overview Temporary files used by Windows can be moved to a RAM disk to improve speed as well as Go here to see how to create a RAM Disk. Drawbacks As with most things there is a compromise. RAM Disk … Continue reading
07
Jul/14Reduce SSD Wear By Moving Firefox Cache To RAM Disk
Overview It’s known that SSD have limited amount of read / writes similar to USB memory sticks. Drives usually come over provisioned so there are plenty of spare space to replace the bad sectors but it’s inevitable it will need … Continue reading