This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adds basic, but really fast autocompletion for gulp. | |
# | |
# NOTE! | |
# Only the tasknames will be autocompleted. | |
# | |
# Why? | |
# ---- | |
# Default gulp completion is really-really slow, hard to work with. | |
# However this solution is quite dump, it covers 90% of my workflow. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a symlink to either /usr/local/bin, /usr/bin, or just add | |
# the container directory to the PATH. | |
# Run the script to open and edit your passwords. | |
FILE="$HOME/passwords.txt" | |
ENCRYPTED_FILE="$HOME/passwords.txt.gpg" | |
# Read in passwords | |
read -s -p "Enter password: " PASSWORD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env node | |
/** | |
* Usage: | |
* 1. "$ chmod +x ./generate-component" ==> make it executable | |
* 2. "$ cp ./generate-component ~/bin/generate-component && export PATH=~/bin:$PATH" ==> add it to the PATH | |
* 3. "$ generate component <component-name> <target-path>" ==> run it | |
* | |
* Component Layout: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mocha --watch \ | |
--compilers js:babel-core/register \ | |
--compilers jsx:babel-register \ | |
--require ./.mocha-setup.js \ | |
--recursive ./src/**/*.test.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "your-project", | |
"version": "0.0.1", | |
"private": true, | |
"workspaces": { | |
"packages": [ | |
"packages/*" | |
], | |
"nohoist": [ | |
"**/pkgA/**" |