Skip to content

Instantly share code, notes, and snippets.

Avatar

Alethea Rose alethea

View GitHub Profile
@alethea
alethea / scale-zpl.js
Last active Oct 10, 2020 — forked from tresf/scale-zpl.js
(Experimental) Scales a Raw ZPL file from 203 DPI (dots per inch) to 300 DPI
View scale-zpl.js
/*
* 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,
View keybase.md

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 Sep 24, 2013
Command to create a new repo from git-shell
View init
#!/bin/sh
repo="${1##*/}.git"
if [ ! -d "$repo" ]; then
git init --bare "$repo"
else
echo "Repository ${repo} already exists"
fi