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
| git add . | |
| git commit -m "$1" |
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
| git add . | |
| git commit -m "$1" | |
| git push | |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Side border</title> | |
| <style type='text/css'> | |
| .container { | |
| width: 1200px; | |
| margin: 0 auto; |
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
| #!/bin/sh | |
| aws ec2 stop-instances --instance-ids i-01b5f6a4292542xxx | |
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
| #!/bin/sh | |
| aws ec2 start-instances --instance-ids i-01b5f6a4292542xxx | |
| sleep 10 | |
| aws ec2 associate-address --instance-id i-01b5f6a429254xxx --public-ip 52.65.170.999 |
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
Show hidden characters
| // Settings in here override those in "/User/consolewrap.sublime-settings", | |
| { | |
| "js": { | |
| "consoleFunc" : ["console", "log "], // You can change default log statement for example ["logger", "info"] output: logger.info('title', variable); | |
| "consoleStr" : "%c{title}, 'background: #ffd400; color: #000', {variable}", | |
| "single_quotes": true // If true output: console.log('title', variable); | |
| } | |
| } |
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
| alias g='git' | |
| alias h='history' | |
| alias ..="cd .." | |
| alias ...="cd ../.." | |
| alias ~="cd ~" | |
| alias ll="ls -laFG" |
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
| [alias] | |
| br = branch | |
| ci = commit | |
| co = checkout | |
| committers = shortlog -s -n | |
| conflicts = diff --name-only --diff-filter=U | |
| d = diff | |
| lg = log --pretty='%Cred%h%Creset | %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(cyan)[%an]%Creset' | |
| lgg = log --pretty='%Cred%h%Creset | %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(cyan)[%an]%Creset' --graph | |
| st = status |
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
| git for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' | sort -k5n -k2M -k3n -k4n | grep -i peter | grep -i remotes/origin/feature > /tmp/gits |
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
| #!/bin/sh | |
| if [ $# -gt 0 ] | |
| then | |
| git branch -d $1 | |
| git push origin --delete $1 | |
| fi |
NewerOlder