Skip to content

Instantly share code, notes, and snippets.


James Wilson jameswilson

View GitHub Profile
jameswilson /
Last active Mar 9, 2018 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
git checkout old_branch_name # Ensure you're on the local branch.
git branch -M new_branch_name # Rename branch locally.
git branch --unset-upstream # unset
git push origin :old_branch_name # Delete the old branch
git push -u origin new_branch_name # Push the new branch, set local branch to track the new remote
jameswilson /
Last active Apr 21, 2016 — forked from Jach/
Dirty migration script from Jira issues to Github issues
#!/usr/bin/env python
1. Create any milestones
2. Create any labels
3. Create each issue, linking them to milestones and labels
3.1: Update status for new issue if closed
4: Create all the comments for each issue
import getpass
View _autocomplete.base.scss
// Animated throbber
html.js .form-autocomplete {
background-image: image-url('svg/throbber-inactive.svg');
background-position: 95% center;
background-position: -webkit-calc(100% - 5px) center;
background-position: calc(100% - 5px) center;
background-repeat: no-repeat;
html.js .throbbing {