Skip to content

Instantly share code, notes, and snippets.

View danpal's full-sized avatar

Daniel Palacio danpal

View GitHub Profile
@danpal
danpal / Installing authy-ssh
Created August 28, 2012 17:20
Installing authy-ssh
Installation.
Type the following command in the terminal:
$ curl 'https://raw.github.com/authy/authy-ssh/master/authy-ssh' -o authy-ssh
$ sudo bash authy-ssh install /usr/local/bin
Then enable two-factor for your user:
$ sudo /usr/local/bin/authy-ssh enable `whoami` <your-email> <your-country-code> <your-cellphone>
Test everything is working:
@danpal
danpal / Installing authy-ssh
Created August 28, 2012 17:25
Installing authy-ssh
Installation.
$ curl 'https://raw.github.com/authy/authy-ssh/master/authy-ssh' -o authy-ssh
$ sudo bash authy-ssh install /usr/local/bin
$ sudo /usr/local/bin/authy-ssh enable `whoami` <your-email> <your-country-code> <your-cellphone>
$ authy-ssh test
$ sudo service ssh restart
@danpal
danpal / README.md
Last active June 22, 2016 02:00
Adding Marks and Jumps to OSX
@danpal
danpal / pre-commit
Last active December 24, 2015 14:48
Authy Pre-commit hook
#!/bin/sh
# Check commits for trailing spaces, tabs at the begging of file
# and bad merges
# Save on .git/hooks/pre-commit
# Make file executable
if git rev-parse --verify HEAD 2>/dev/null
then

Keybase proof

I hereby claim:

  • I am danpal on github.
  • I am danielpalacio (https://keybase.io/danielpalacio) on keybase.
  • I have a public key whose fingerprint is 9CE4 245E 8421 4241 EC89 7C4B 083B 10EF 2EE5 BE00

To claim this, I am signing this object: