Thiiiis far above hello world
.
$ sudo apt install git
$ git clone $THISURL
calendar.html | |
tmp.html |
venv/ |
### This block syncs up my bash history file in my tmux sessons. | |
# avoid duplicates.. | |
export HISTCONTROL=ignoredups:erasedups | |
# append history entries.. | |
shopt -s histappend | |
# After each command, save and reload history | |
export PROMPT_COMMAND="history -a; history -c; history -r; $@" |
.gitignore | |
.venv/ | |
venv/ | |
index.html |
// Build instructions: | |
// $ go build main.go | |
// | |
// Usage instructions: | |
// $ ./main --method=GET --url=http://example.com | |
// $ ./main --method=POST --url=http://api.example.com/v#/thing/ --content='{"foo": "bar", "baz": True}' | |
package main | |
import ( | |
"bytes" |
""" | |
A simple example of calling commands with a dict instead of an if/elif/else | |
chain. | |
""" | |
import sys # used for argv, not really imprtant for the example | |
def main(): | |
# Create a dictionary of commands and their corresponding function | |
# This function can be called by using the command as a keyword when | |
# accessing the dictionary. |
venv/ |
#/usr/bin/python3.5 | |
import unittest | |
def add(x, y): | |
if x == y: | |
raise ValueError('X cannot equal Y because reasons') | |
else: | |
return x + y | |
class TestyTesterson(unittest.TestCase): |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
<link rel='stylesheet' type='text/css' href='style.css'> |