Skip to content

Instantly share code, notes, and snippets.

@grahammills
grahammills / app.yaml
Created October 7, 2016 15:41
Google App Engine basic NodeJS development configuation
runtime: nodejs
vm: true
# Only keep and one instance for lower costs
# Currently you can't set autoscaling 0-1 so scales when you need it :-(
manual_scaling:
instances: 1
# This enables you to select the type you require rather than using resource settings.
# Low resources kept giving me n1-standard!
ssh-add -k key.pem
ssh-add -L
ssh -At user@host ssh user@host

Keybase proof

I hereby claim:

  • I am grahammills on github.
  • I am grahammills (https://keybase.io/grahammills) on keybase.
  • I have a public key whose fingerprint is 5821 A9F9 75A8 4F7D D822 5D2F 5CBB 0C76 88D5 4A30

To claim this, I am signing this object:

for f in *; do mv "$f" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done
@grahammills
grahammills / gist:7319723
Created November 5, 2013 14:22
Setting a height on responsive blocks
.block-type-one {
width: 100%;
padding-bottom: 66%;
background: #cccccc;
position: relative;
}
.block-type-inner {
position: absolute;
left: 10px;