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
AlecTroemel / civilian_bailout.p8
Last active Apr 28, 2019
source for my ludumdare 44 game "civilian bailout"
View civilian_bailout.p8
pico-8 cartridge // http://www.pico-8.com
version 18
__lua__
-- main
--animate an object
function animate(o)
o.t=(o.t+1)%o.s --tick fwd
if (o.t==0) then
o.f=o.f%#o.sp[o.as]+1
@AlecTroemel
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 // http://www.pico-8.com
version 15
__lua__
-- titan ceremony
-- by alec troemel
-- for ludum dare 43
t=0
state="title"
sc=0 --shake duration
@AlecTroemel
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');
View keybase.md

Keybase proof

I hereby claim:

  • I am alectroemel on github.
  • I am alectroemel (https://keybase.io/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.