Skip to content

Instantly share code, notes, and snippets.

Antonio Terreno aterreno

Block or report user

Report or block aterreno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aterreno
aterreno / index.js
Last active Sep 10, 2019
serverless-http & iopipe
View index.js
const serverless = require("serverless-http");
const express = require("express");
const app = express();
// require("express-async-errors");
app.get("/hello", function(_req, res, _next) {
console.log("Hello, World");
try {
res.status(200).json({
View scrum_master.sh
#!/usr/bin/env bash
set -euf -o pipefail
scrum=("What did you work on yesterday?" "What are you going to work on today?" "Any blockers?" "Good progress" "Well done" "Any update on this?")
RANDOM=$$$(date +%s)
selected=${scrum[$RANDOM % ${#scrum[@]} ]}
say $selected
@aterreno
aterreno / Brewfile
Created Jan 14, 2019
Brewfile @ Work Laptop
View Brewfile
tap "concourse/tap"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
brew "autojump"
brew "python"
brew "awscli"
brew "base64"
brew "ccat"
brew "dockutil"
@aterreno
aterreno / cloudSettings
Created Oct 26, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2018-10-26T08:14:32.613Z","extensionVersion":"v3.2.0"}
View keybase
### Keybase proof
I hereby claim:
* I am aterreno on github.
* I am aterreno (https://keybase.io/aterreno) on keybase.
* I have a public key ASDyN280WSSo-gmnCpFj-LyLFpCn7KjU9-sdbdV6p0CqmQo
To claim this, I am signing this object:
@aterreno
aterreno / sample.png
Created Jan 30, 2018 — forked from jirutka/sample.png
Nested numbered list with correct indentation in CSS. Live example at http://jsfiddle.net/a84enL8k/.
View keybase.md

Keybase proof

I hereby claim:

  • I am aterreno on github.
  • I am aterreno (https://keybase.io/aterreno) on keybase.
  • I have a public key whose fingerprint is 59CE B85F C30B 119D 46A2 11B3 1552 E3D8 9B1A A46C

To claim this, I am signing this object:

@aterreno
aterreno / Architecture Archeology - Java Edition
Created Aug 22, 2016
Useful linux command line for finding code smells and various issues
View Architecture Archeology - Java Edition
find . -name '*.java' -exec grep "@Ignore" {} \; -print | wc -l
@aterreno
aterreno / cycle-times.rb
Created Sep 19, 2014
Calculating cycle times with ruby
View cycle-times.rb
require 'rubygems'
require 'jira'
require 'date'
require 'time_difference'
require 'pp'
def time_diff(statuses, tstart, tend)
begin
TimeDifference.between(statuses[tstart], statuses[tend]).in_days
rescue Exception => e
You can’t perform that action at this time.