I hereby claim:
- I am cunneen on github.
- I am cunneen (https://keybase.io/cunneen) on keybase.
- I have a public key ASD2B9N4HIcB5mADJrgE9B3tBOEuBAdXxUo_0pjDUWo2UQo
To claim this, I am signing this object:
#! /bin/sh | |
function print_example() { | |
echo "Example" | |
echo " icons ios ~/AppIcon.pdf ~/Icons/" | |
} | |
function print_usage() { | |
echo "Usage" | |
echo " icons <ios|watch|complication|macos> in-file.pdf (out-dir)" |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
I hereby claim:
To claim this, I am signing this object:
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Based on https://forums.meteor.com/t/accounts-password-in-nodejs/45154 | |
const prompts = require('prompts'); | |
const hashPassword = require('./meteorpass') | |
let pass; | |
prompts([{ | |
type: 'password', | |
name: 'password', | |
message: 'Enter plaintext password', |
#!/usr/bin/env bash | |
# get the full path for the current dir | |
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
###### prompt for values | |
# get the new app name | |
read -p "Enter your new app name [Foo App]: " NEW_APP_NAME | |
NEW_APP_NAME=${NEW_APP_NAME:-"Foo App"} |
#!/usr/bin/env bash | |
infile=$1 | |
if [ ! -f $infile ]; then | |
echo specify a filename as the first parameter. | |
exit 1; | |
fi | |
tempdir=$(mktemp --directory --suffix=.iconset --tmpdir=`pwd`) |