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:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# gem install mail | |
require 'rubygems' | |
require 'mail' | |
mail = Mail.new(open("body.txt").read) | |
print mail.text_part.decode_body |
name := "DES and AES encryption in Scala" | |
version := "1.0" | |
scalaVersion := "2.9.1" | |
libraryDependencies += "commons-codec" % "commons-codec" % "1.6" |
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); | |
I hereby claim:
To claim this, I am signing this object:
Verifying I am +inakiabt on my passcard. https://onename.com/inakiabt |
#!/usr/bin/env python | |
""" | |
A script to query the Amazon Web Services usage reports programmatically. | |
Ideally this wouldn't exist, and Amazon would provide an API we can use | |
instead, but hey - that's life. | |
Basically takes your AWS account username and password, logs into the | |
website as you, and grabs the data out. Always gets the 'All Usage Types' |
<?php | |
class MemcacheEx extends Memcache | |
{ | |
public function getMulti($keys) | |
{ | |
$results = array(); | |
if ($keys) { | |
foreach ($keys as $key) { | |
$cache = parent::get($key); | |
if ($cache !== false) { |
// ########################################################### | |
// | |
// Demonstrates how to supervise an Akka consumer actor. | |
// | |
// The consumer consumes messages from a file endpoint: | |
// - successful message processing by the consumer will | |
// positively acknowledge the message receipt, causing | |
// the file endpoint to delete the file. | |
// - an exception during message processing will cause a | |
// supervisor to restart the consumer. Before restart, |
#!/bin/bash | |
# Argument = -h -v -i groupId:artifactId:version -c classifier -p packaging -r repository | |
#shopt -o -s xtrace | |
# Define Nexus Configuration | |
NEXUS_BASE=http://repository.example.com:8081/nexus | |
REST_PATH=/service/local | |
ART_REDIR=/artifact/maven/redirect |