Prepare by switching out of bash from Homebrew:
chsh -s /bin/zsh
To clean my system and reinstall Homebrew:
rm -rf ~/.local && mkdir ~/.local
rm -rf ~/Library/Caches/pip
rm -rf ~/.pyenv
rm -rf ~/.yarn
| """ | |
| 1. Create a new repo and setup your pipeline to match JIRA | |
| 2. Edit the constants to suit your needs | |
| 3. Run `source jira.env` | |
| 4. Run `python jira-migration.py` | |
| """ | |
| import os | |
| import requests |
| import http.server | |
| import socketserver | |
| PORT = 5555 | |
| class IndexHandler(http.server.SimpleHTTPRequestHandler): | |
| """Always show the index no matter what the requested path.""" | |
| def parse_request(self, *args, **kwargs): |
Prepare by switching out of bash from Homebrew:
chsh -s /bin/zsh
To clean my system and reinstall Homebrew:
rm -rf ~/.local && mkdir ~/.local
rm -rf ~/Library/Caches/pip
rm -rf ~/.pyenv
rm -rf ~/.yarn
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| #!/usr/bin/env python | |
| import sys | |
| import json | |
| import base64 | |
| import urllib2 | |
| liveURL = 'https://buy.itunes.apple.com/verifyReceipt' | |
| sandboxURL = 'https://sandbox.itunes.apple.com/verifyReceipt' |