Skip to content

Instantly share code, notes, and snippets.

// Set Up Doc
var doc = app.documents.add();
var vp = doc.viewPreferences;
vp.horizontalMeasurementUnits = MeasurementUnits.picas;
vp.verticalMeasurementUnits = MeasurementUnits.picas;
vp.rulerOrigin = RulerOrigin.pageOrigin;
doc.textDefaults.alignToBaseline = true;
doc.textDefaults.hyphenation = false;
var gridPrefs = doc.gridPreferences;
gridPrefs.baselineStart = 0;
@quells
quells / keybase.md
Last active November 4, 2016 00:14
Keybase Verification

Keybase proof

I hereby claim:

  • I am quells on github.
  • I am quells (https://keybase.io/quells) on keybase.
  • I have a public key ASAsQ4BF3XJaE4IcCi3XiHLSBZFtZbehH6EHlV7tY1J3Tgo

To claim this, I am signing this object:

@quells
quells / whereami.sh
Last active August 29, 2015 14:03 — forked from ttscoff/whereami.sh
#!/bin/bash
alias whereami="get-location 2> /dev/null | sed -e 's/.*<\(.*\)>.*/\1/' | sed -e 's/\(.*\)/http:\/\/maps.googleapis.com\/maps\/api\/geocode\/json\?latlng\=\1\&sensor\=false/' | xargs curl -Ss | grep 'formatted_address' | head -n 1 | sed -e 's/[ \t]*\"formatted_address\" : \"\(.*\)\",/\1/'"
@quells
quells / Somen Salad Recipe
Last active December 17, 2015 22:28
Pretty tasty light noodle salad.
===========
Somen Salad
===========
## INGREDIENTS:
- Dressing:
- 2 tablespoons sesame seeds
- 3 tablespoons sugar
- 1 teaspoon salt