Skip to content

Instantly share code, notes, and snippets.


Alec Troemel AlecTroemel

Block or report user

Report or block AlecTroemel

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
AlecTroemel / civilian_bailout.p8
Last active Apr 28, 2019
source for my ludumdare 44 game "civilian bailout"
View civilian_bailout.p8
pico-8 cartridge //
version 18
-- main
--animate an object
function animate(o)
o.t=(o.t+1)%o.s --tick fwd
if (o.t==0) then
AlecTroemel / titan_ceremony.p8
Last active Dec 2, 2018
source code for my Ludum Dare 43 game "titan ceremony"
View titan_ceremony.p8
pico-8 cartridge //
version 15
-- titan ceremony
-- by alec troemel
-- for ludum dare 43
sc=0 --shake duration
AlecTroemel / addCacheControl.js
Last active Jul 10, 2018
add S3 Bucket Cache Control to existing Objects, with pagination
View addCacheControl.js
/* global require */
// this script iterates through all maps in the bucket
// and adds the "CacheControl" header
// if any keys fail, it will write them out to a file at the end of the crawl
const fs = require('fs');
const _ = require('lodash');
const AWS = require('aws-sdk');
const Promise = require('bluebird');

Keybase proof

I hereby claim:

  • I am alectroemel on github.
  • I am alectroemel ( on keybase.
  • I have a public key ASBKYhHsIcUaROoPEwf1w_2vYvDhf8SLoJs1M5zpLJ6xyAo

To claim this, I am signing this object:

You can’t perform that action at this time.