- Create
hotfix-branch
fromrelease
- Commit to
hotfix-branch
- Merge
hotfix-branch
into bothrelease
anddevelop
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
Show hidden characters
[ | |
{ "keys": ["ctrl+d"], "command": "duplicate_line" }, | |
{ "keys": ["ctrl+shift+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys" : ["ctrl+shift+down"], "command" : "swap_line_down"}, | |
{ "keys" : ["ctrl+shift+up"], "command" : "swap_line_up"}, | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" }, | |
{ "keys": ["ctrl+s"], "command": "save_all" }, | |
{ "keys": ["ctrl+shift+w"], "command": "close_all" } | |
] |
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
All Autocomplete | |
CoffeeScript | |
DocBlockr | |
Markdown Preview | |
Package Control | |
Sass | |
SideBarEnhancements | |
SublimeCodeIntel | |
SublimeLinter | |
SyncedSideBar |
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
git checkout another | |
git rebase side | |
git rebase bugFix | |
git rebase master | |
git checkout master | |
git rebase another |
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
# Ad-hoc | |
xrandr --newmode 1920x1080 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
xrandr --addmode VBOX0 1920x1080 | |
xrandr --output VBOX0 --mode 1920x1080 | |
# Or in ~/.i3/config | |
# exec_always xrandr --newmode 1920x1080 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
# exec_always xrandr --addmode VBOX0 1920x1080 | |
# exec_always xrandr --output VBOX0 --mode 1920x1080 |
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
sleep_times=('4' '1' '2' '5' '0') | |
pids=() | |
for sleep_time in ${sleep_times[@]} | |
do | |
sleep $sleep_time & | |
pids=(${pids[@]} $!) | |
done | |
for pid in ${pids[@]} |
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
// Fuck the addition operator. Real programmers work in binary! | |
function add(a, b) { | |
// XOR to get the sum of the bits | |
var sum = a ^ b; | |
// "Carry" bits are common to both numbers | |
var carry = (a & b) << 1; | |
if (sum & carry) { | |
// Rinse and repeat until there are no leftover bits |
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
(function() { | |
'use strict' | |
var container = document.querySelector('.post-content') | |
var items = container.querySelectorAll('[data-collection-item]') | |
[].slice.call(items).forEach(function(item) { | |
// ... | |
}) |
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
REGISTRY=registry.yourdomain.com | |
# You may want/need to pull the latest images on a machine which has access to the registry | |
docker pull $REGISTRY/foo | |
docker pull $REGISTRY/bar | |
# You can save the images as tarballs and distribute them as you please | |
docker save --output=/home/user/images/foo.tar $REGISTRY/foo | |
docker save --output=/home/user/images/bar.tar $REGISTRY/bar |