Skip to content

Instantly share code, notes, and snippets.

View allenluce's full-sized avatar

Allen Luce allenluce

  • Seattle, WA
View GitHub Profile
console.log(`[${process.pid}] ${Date.now()} ${config.file}\tCALL close operation`)
oldObj.close(function (err) {
console.log(`[${process.pid}] ${Date.now()} ${config.file}\tCOMPLETE close operation`)
// ... handle err ...
}
console.log(`[${process.pid}] ${Date.now()} ${config.file}\tAFTER CALL close operation`)
dumb hottie
gown glyphs
pun disrobe
spam punchy
tater bingo
tater gazer
tater chain
tater champ
tater chaos
tater chant
acid legman
cage legman
bagel diner
bagel dingo
bagel dimly
acid huzzah
cage huzzah
bagel ditch
bagel divan
bagel divas
gall jew pal
gall jew raj
gall jew sal
gall kex pal
gall kex raj
gall kex sal
gall key pal
gall key raj
gall key sal
gall ley pal
gb kkk dx pal
gb kkk dx raj
gb kkk dx saj
gb kkk dx sal
gb kkk dx zak
gb kkk dy pal
gb kkk dy raj
gb kkk dy saj
gb kkk dy sal
gb kkk dy zak
This file has been truncated, but you can view the full file.
require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
'use strict'
const bounds = require('binary-search-bounds')
module.exports = createStateMachine
function ACState (symbols, children, next, value) {
this.s = symbols
../mmap-object.cc: In static member function ‘static Nan::NAN_PROPERTY_SETTER_RETURN_TYPE SharedMap::PropSetter(v8::Local<v8::String>, v8::Local<v8::Value>, Nan::NAN_PROPERTY_SETTER_ARGS_TYPE)’:
../mmap-object.cc:323:64: error: no matching function for call to ‘boost::unordered::unordered_map<boost::container::basic_string<char, std::char_traits<char>, boost::interprocess::allocator<char, boost::interprocess::segment_manager<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>, boost::interprocess::iset_index> > >, Cell, hasher, s_equal_to, boost::interprocess::allocator<std::pair<boost::container::basic_string<char, std::char_traits<char>, boost::interprocess::allocator<char, boost::interprocess::segment_manager<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>, boost::interprocess::iset_index> > >, Cell>, boost::interprocess::segment_manager<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>, boost::interprocess::iset_index> > >
Checking spot prices for c5.18xlarge instance type.
AWS Zone Hourly Rate
------------------------ ------------
eu-north-1a $0.982800
eu-north-1b $0.982800
eu-north-1c $0.982800
ca-central-1a $1.040800
ca-central-1b $1.040800
ap-south-1a $1.043200
awsmfa () {
# Remove the old [default] section
sed -i.bak '/^\[default\]/,/# End of \[default\]/d' ~/.aws/credentials
# Get new token && append to credentials
aws sts get-session-token \
--serial-number arn:aws:iam::769885837224:mfa/allen.luce \
--token-code `otp promethean-aws` \
--duration-seconds 129600 \
--profile mfa | \
jq -r '.Credentials
@allenluce
allenluce / atlas.png
Last active August 22, 2019 15:00
Flappy Bird resources
atlas.png