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:
| /* | |
| * Defining restrictions on allowable property names is easy in typescript; in JSDoc, not so much. | |
| * | |
| * Here's what I found works with javascript/JSDoc, so far as working fully with IntelliSense in VSCode. | |
| * The secret sauce is: | |
| * | |
| * \@typedef {{[S in LogLevelName]: LogFunction}} LoggerObject | |
| */ | |
| /** |
| # WARNING: this is brittle as hell. It will break when robtex changes their website. | |
| # | |
| # reverseip | |
| # A shell function to get a list of domain names associated with the given IP address, using Robtex.com | |
| # | |
| # Parameters: | |
| # IP - IP address to reverse lookup | |
| # | |
| # Returns: | |
| # List of domain names associated with the IP address |
| #! /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"} |