Social Login Buttons are Worth It?
Mail chimp thinks they are not worth it, but this Quora discussion have other opinions.
Mail chimp thinks they are not worth it, but this Quora discussion have other opinions.
alias artisan='php `git rev-parse --show-toplevel`/artisan'
You can thank me later.
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.
git config --system core.autocrlf input<br /> git config --global core.autocrlf input<br />
After that you can clone the repo and go on.
trying to download an arduino program in Yosemite and not working?
The FTDI driver Apple wrote is the culprit.
`
cd /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns sudo mv AppleUSBFTDI.kext AppleUSBFTDI.disabled
`
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.
Continue readingSo 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:
`
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.
Para a posteridade, um pequeno truque de escapes para o terminal Mac OS para renomear o tab de acordo com o host para qual você fez ssh:
<br /> $ cat /usr/local/bin/ssh<br /> #!/bin/bash<br /> printf "\e]1;`echo $* | /usr/bin/sed -Ee 's/^.+\@//'`\a"<br /> /usr/bin/ssh $*<br /> printf "\e]1;bash\a"<br />
Claro, além disso coloque /usr/local/bin na frente no path de /usr/bin/.