Skip to content

Instantly share code, notes, and snippets.

View alethea's full-sized avatar

Alethea Rose alethea

View GitHub Profile
@alethea
alethea / scale-zpl.js
Last active April 9, 2024 20:35 — forked from tresf/scale-zpl.js
(Experimental) Scales a Raw ZPL file from 203 DPI (dots per inch) to 300 DPI
/*
* author: Tres Finocchiaro, updated by Alethea Rose
* date: 2017-07-10
* license: Public Domain; Use as you wish.
* source: http://qz.io
*/
const cmds = {
FO: 2,
PW: null,

Keybase proof

I hereby claim:

  • I am alethea on github.
  • I am alethea (https://keybase.io/alethea) on keybase.
  • I have a public key whose fingerprint is 7813 E4FF 06F9 D150 77B9 D7FC 2C37 44A5 1129 7B99

To claim this, I am signing this object:

@alethea
alethea / init
Created September 24, 2013 02:44
Command to create a new repo from git-shell
#!/bin/sh
repo="${1##*/}.git"
if [ ! -d "$repo" ]; then
git init --bare "$repo"
else
echo "Repository ${repo} already exists"
fi