You've forgot one file out of your last commit, didn't ya?

2015-09-20 Nerd Software sergio
And now you’ve got 2 commits that were supposed to be one. Fear not! Add this to your Alias section of ~/.gitconfig: squash = "!f(){ git reset --soft HEAD~${1} && git commit --edit -m\"$(git log --format=%B --reverse HEAD..HEAD@{1})\"; };f" Now you can simply do a git squash 2 to join these last 2 commits together.

Arduino with Mac OS X Yosemite

2015-03-22 Hardware Nerd sergio
trying to download an arduino program in Yosemite and not working? The FTDI driver Apple wrote is the culprit. `disable the Apple FTDI driver first cd /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugInssudo mv AppleUSBFTDI.kext AppleUSBFTDI.disablednow reboot ` Download the new driver here: http://www.ftdichip.com/Drivers/VCP.htm When Ive tried, the last version was v2.2.18: http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_2_18.dmg Install the new driver and happy arduino.

homestead 2.0 nfs mounts

2015-02-17 Nerd Software sergio
So you are using homestead, all fancy with it, to discover later that its slow, really slow. After some googling around you discover that you can use NFS instead, and a few solutions involve changing homestead code. Not true. You only need to add a “type: nfs” in your mount point config in Homestead.yaml: `

artisan in any subdir

2015-02-08 Nerd sergio
So shell git aliases always runs in the repo root directory! <br /> git config --global --add alias.artisan '!./artisan '<br /> alias art='git artisan'<br /> There, you can run artisan in any subdirectory of your git repository without messing up with PATH.
Older posts Newer posts