$ hub pull-request -i 384 -b bkeepers:master -h bkeepers:branch-name
-i
is the GitHub issue number- -
b
is the base, or where you want to send the pull request, with bkeepers being the owner of the repository. -h
is the head, or the branch where your changes live.
More infos: http://opensoul.org/2012/11/09/convert-a-github-issue-into-a-pull-request/
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
.row | |
width: 100% | |
max-width: 62.5em | |
min-width: 62.5em | |
.row, .row .row | |
width: auto | |
margin-left: -0.9375em | |
margin-right: -0.9375em | |
margin-top: 0 |
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 tag -a v1.1 | |
$ git push heroku v1.1^{}:master |
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
$ sudo apt-get install postgresql libpq-dev postgresql-contrib | |
$ sudo -u postgres createuser desired_user | |
$ cd /etc/init.d/ | |
$ sudo -u postgres psql template1 | |
template1=# ALTER USER desired_user WITH PASSWORD 'desired_password'; |
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
#!/usr/bin/env ruby | |
file="~/Drive/.gitshots/#{Time.now.to_i}.jpg" | |
unless File.directory?(File.expand_path("../../rebase-merge", __FILE__)) | |
puts "Taking capture into #{file}!" | |
system "imagesnap -q -w 3 #{file} &" | |
end | |
exit |
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
if has("gui_running") | |
color peacock | |
else | |
color railscasts | |
endif |
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
Tasker.Projects = {} if Tasker.Projects is undefined | |
Tasker.Projects.Show = -> | |
$('.new-task-button').click -> | |
url = $(this).data('url') | |
$.ajax | |
url: url | |
type: "GET" | |
success: (data)-> | |
$('#newTask .modal-body').html(data) |
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
#= require_self | |
#= require_tree . | |
window.Tasker = | |
Common: | |
initPage: -> | |
# If you're using the Turbolinks and you need run a code only one time, put something here. | |
# if you're not using the turbolinks, there's no difference between init and initPage. | |
# toggle links |