Skip to content

Instantly share code, notes, and snippets.

Avatar

Iñaki Abete inakiabt

View GitHub Profile
@inakiabt
inakiabt / git-gpg.md
Last active Jul 14, 2017 — forked from bcomnes/git-gpg.md
my version of gpg on the mac
View git-gpg.md
  1. brew install gnupg21, pinentry-mac (this includes gpg-agent and pinentry)

  2. Generate a key: $ gpg2 --gen-key

  3. Take the defaults. Whatevs

  4. Tell gpg-agent to use pinentry-mac:

    $ vim ~/.gnupg/gpg-agent.conf 
    
@inakiabt
inakiabt / # php54 - 2016-09-05_12-20-48.txt
Created Sep 5, 2016
php54 (homebrew/php/php54) on Mac OS X 10.11.6 - Homebrew build logs
View # php54 - 2016-09-05_12-20-48.txt
Homebrew build logs for homebrew/php/php54 on Mac OS X 10.11.6
Build date: 2016-09-05 12:20:48
@inakiabt
inakiabt / # php56 - 2016-09-05_11-18-08.txt
Created Sep 5, 2016
php56 (homebrew/php/php56) on Mac OS X 10.11.6 - Homebrew build logs
View # php56 - 2016-09-05_11-18-08.txt
Homebrew build logs for homebrew/php/php56 on Mac OS X 10.11.6
Build date: 2016-09-05 11:18:08
@inakiabt
inakiabt / AWSLambdaSimpleSMS.js
Last active Oct 30, 2017 — forked from stevebowman/AWSLambdaSimpleSMS.js
AWS Lambda Function to send an SMS message via the Twilio API
View AWSLambdaSimpleSMS.js
console.log('Loading event');
// Twilio Credentials
var accountSid = '';
var authToken = '';
var fromNumber = '';
var https = require('https');
var queryString = require('querystring');
View gist:476b3c52af8a8c207c10
Verifying I am +inakiabt on my passcard. https://onename.com/inakiabt
View keybase.md

Keybase proof

I hereby claim:

  • I am inakiabt on github.
  • I am inakiabt (https://keybase.io/inakiabt) on keybase.
  • I have a public key whose fingerprint is 35D5 CC84 32AD 4E17 1BC3 A7FA 65C2 8E14 835D F963

To claim this, I am signing this object:

@inakiabt
inakiabt / echoHttpRequest.js
Last active Aug 29, 2015 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
View echoHttpRequest.js
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
View build.sbt
name := "DES and AES encryption in Scala"
version := "1.0"
scalaVersion := "2.9.1"
libraryDependencies += "commons-codec" % "commons-codec" % "1.6"
@inakiabt
inakiabt / decode-email.rb
Created Jul 16, 2014
Decode raw text/plain email
View decode-email.rb
# gem install mail
require 'rubygems'
require 'mail'
mail = Mail.new(open("body.txt").read)
print mail.text_part.decode_body
You can’t perform that action at this time.