If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
#!/bin/bash | |
ALARM_NAME_CONTAINS_STRING='alarm-name' | |
ALARMS=$(aws cloudwatch describe-alarms \ | |
| jq '.MetricAlarms[].AlarmName' \ | |
| sed "s/\"//g" \ | |
| awk "/$ALARM_NAME_CONTAINS_STRING/") | |
for alarm in $ALARMS; |
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.
git commit --amend
This will open your $EDITOR
and let you change the message. Continue with your usual git push origin master
.
<!-- Solution as found in - http://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ --> | |
<style> | |
.inputfile { | |
width: 0.1px; | |
height: 0.1px; | |
opacity: 0; | |
overflow: hidden; | |
position: absolute; | |
z-index: -1; |
// bower install crypto-js | |
// Add to scripts to html file | |
// <script src="bower_components/crypto-js/crypto-js.js"></script> | |
// <script src="bower_components/crypto-js/pbkdf2.js"></script> | |
function auth(password) { | |
// Make a salt with CryptoJS.lib.WordArray.random(128/8); | |
var salt = 'your salt'; // CryptoJS.lib.WordArray.random(128/8); | |
// 1000 iterations takes a couple seconds in the browser. Wouldn't want to go much higher if this is a browser implementation |
[ | |
{ | |
name: 'Alabama', | |
abbreviation: 'AL', | |
id: 'AL' | |
}, | |
{ | |
name: 'Alaska', | |
abbreviation: 'AK', | |
id: 'AK' |
[ | |
{ | |
"name": "Alabama", | |
"abbreviation": "AL", | |
"id": "AL" | |
}, | |
{ | |
"name": "Alaska", | |
"abbreviation": "AK", | |
"id": "AK" |