Skip to content

Instantly share code, notes, and snippets.

View nailor's full-sized avatar

Jyrki Pulliainen nailor

View GitHub Profile
#!/usr/bin/env python
from __future__ import print_function
import os
import sys
import urlparse
def main(url):
result = urlparse.urlparse(url)
### Keybase proof
I hereby claim:
* I am nailor on github.
* I am nailor (https://keybase.io/nailor) on keybase.
* I have a public key whose fingerprint is 6862 A7F2 9708 2F26 C7F4 E8A4 A2E8 A2FF 1E37 A353
To claim this, I am signing this object:
set-option -g prefix C-z
unbind-key C-b
bind-key C-z last-window
bind-key z send-prefix
bind-key A command-prompt "rename-window %%"
set -g base-index 1
set -g default-terminal "screen-256color"
set-option -g history-limit 10000
[~/tmp/ppathtest]$ mkdir bar
[~/tmp/ppathtest]$ mkdir foo/package
[~/tmp/ppathtest]$ mkdir bar/package
[~/tmp/ppathtest]$ echo '__import__("pkg_resources").declare_namespace(__name__)' > bar/package/__init__.py
[~/tmp/ppathtest]$ echo '__import__("pkg_resources").declare_namespace(__name__)' > foo/package/__init__.py
[~/tmp/ppathtest]$ touch foo/package/herp.py
[~/tmp/ppathtest]$ touch bar/package/herp.py