Skip to content

Instantly share code, notes, and snippets.

View natanielstrack's full-sized avatar

Nataniel Strack natanielstrack

View GitHub Profile
class MultiVerse(unittest.TestCase):
"""docstring for PythonOrgSearch"""
def setUp(self):
self.driver = webdriver.Remote(
command_executor='http://127.0.0.1:4444/wd/hub',
desired_capabilities=DesiredCapabilities.CHROME)
def test_go_to_download_in_python_org(self):
import requests
from bs4 import BeautifulSoup
try:
resp =requests.get("https://www.python.org/dev/peps/pep-0020/")
if resp.status_code == 200:
soup = BeautifulSoup(resp.content, 'html.parser')
print soup.pre.string
import sched, time, sys
from pync import Notifier
try:
seconds = int(sys.argv[1])*60
text = sys.argv[2]
def showNotifier():
Notifier.notify(text, title="Reminder", sound="default")
syntax enable
set background=dark
let g:solarized_termtrans = 1
let g:solarized_italic = 1
let g:solarized_contrast = "high"
colorscheme solarized
set number
set incsearch
set hlsearch
# remap prefix to Control + a
set -g prefix C-a
# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b
set -g mouse on
# Mouse based copy
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "pbcopy"