This file contains hidden or 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
<snippet> | |
<content><![CDATA[{ | |
"name": "${1:Project}", | |
"version": "${2:0.0.1}", | |
"private": ${3:true}, | |
"dependencies": { | |
} | |
}]]></content> | |
<tabTrigger>bower</tabTrigger> | |
<scope></scope> |
This file contains hidden or 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
Promise = require 'bluebird' | |
getName = -> | |
return new Promise((resolve) -> resolve('Luke')) | |
getAge = (name) -> | |
data = | |
'Luke': 27 |
This file contains hidden or 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
[user] | |
name = Name Nameson | |
email = [email protected] | |
[core] | |
editor = /Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl -n -w | |
[push] | |
default = simple | |
[alias] | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) |
This file contains hidden or 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
detect_and_run() { | |
if [ -f "bun.lockb" ]; then | |
bun "$@" | |
elif [ -f "pnpm-lock.yaml" ]; then | |
pnpm "$@" | |
elif [ -f "yarn.lock" ]; then | |
yarn "$@" | |
elif [ -f "package-lock.json" ]; then | |
npm "$@" | |
else |
OlderNewer