Latest Centos 7 AMI

2018-07-27 Nerd Software Sergio

That’s around the internet but I keep searching for it every time, so here it is as a public memory:

Assuming:

  • You want an HVM, EBS backed, x86_64 image of the latest version of CentOS 7
  • You have configured the desired region and credentials for the AWS SDK
  • The Owner ID for the official CentOS organisation remains 679593333241
Continue reading

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/PlugIns sudo mv AppleUSBFTDI.kext AppleUSBFTDI.disabled

now 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.

Continue reading

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:

`

Older posts Newer posts