This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import sys | |
def digest(infile): | |
for line in infile.readlines(): | |
mock(line) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'super_mario_script_2_demoRg'; | |
src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAEiUABEAAAAAo1wAAEgrAAEZmQAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACDUgg0CYRlEQgKgqNEgf4jATYCJAOGCAuDBgAEIAWFQAeEVQyCPD93ZWJmBhsIjjVy01m5HZAQNd/+UZRu2j6iKOOktWX//9cDJcf2495QihCICQPgGFUzSsawLGJtP1GOKsKDMGrmSPxyWCWlZ8u346/Mr/2GM8fUm+3V7rfVLaQkuyfx99gx3fYkdP+cQgr9032DhAwhAJk4sw6L85/mB/QGWR03L7otYU/LKeLqGYF/KXFcrXGcHLJRSCWj9ZCkqIUn+k7qVWOCWVAnYM2/kytZUx2d+SUMz+vm/0lIAtx7CYGQeyEJkFyQsBJZSsII44apkCArJCAzCRhEEpZoImMluhsctBjQYpXgoCM4a0HtVNva9hU60Ba0X/+r2GX76JJ4Yr+27wzzaE0bIXMNtyTaoDSmU5pXUuWXckkHnfsPpRogkBilP0OAUDUCNl6r18Y/XWvLcPv0b1me/2ljZRGxID988CxQii3uCWrTi9UwqWrkgZdy16pW5R3mzDQtj44BDAvltEf46uXjiQ8lu+VskUAaJZtCoES/o4L9P8xZOpItGBEZMHFgc4A5wra/Rxsc7zA8/MvPvdm48NrlA9Ad6AjrIsWEOfD/5S+z/+KMpHG5W4RDLH0tPRNWvqnLaeokved1G4PQlTvI20AZgUYHfo03wIFCmivtmFoGCiiBmEEpb3acMzhh+4u2uKL/otb929RmtNbT2xkpR0ZUiGhg4dkL33bIEGDVB1ReV1yK+spUx39vqtm+t0vo/q5EpbvsJDmkLvZKTqEoXbp0yf0f6e8uAG+itLsgOQAo+4Al7oRAnQFSZwiUq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function get_artist() { | |
if [[ ! -z "$ARTIST" ]]; then | |
return | |
fi | |
ARTIST=$(mid3v2 "$1" -l | awk -F"=" '/TPE1/ {print $2}') | |
if [[ ! -z "$ARTIST" ]]; then | |
return | |
fi | |
ARTIST=$(mid3v2 "$1" -l | awk -F"=" '/TPE2/ {print $2}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example Montior Setup | |
# [s] | |
# [c][s] | |
section: screens | |
s: | |
c: | |
end | |
section: links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> /etc/lsb-release <== | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=14.04 | |
DISTRIB_CODENAME=trusty | |
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> /etc/apt/sources.list.d/elementary.list <== | |
deb http://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main | |
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[17:44:29] global - [DEV] General Taal: goblins not ogres :) | |
[17:44:40] global - [DEV] Lyros: Trolls not goblins | |
[17:44:57] global - [DEV] Lyros: jeez taal cmon | |
[17:45:03] global - sneaktwo: Anyone have an ornate orc helm and protector's pants to sell me? :D | |
[17:45:14] global - White Feather: | |
Traceback (most recent call last): | |
File "./main.py", line 180, in <module> | |
I.get_chat() | |
File "./main.py", line 124, in get_chat | |
self.parse_chat(messages, group, init) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import json | |
import argparse | |
import uuid | |
import getpass | |
import os | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color_divide = numpy.array([2, 2, 2, 1]) | |
def do_compare(pic1, pic2): | |
return ((pic2 - pic1) + 255)//color_divide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python3.4 | |
Python 3.4.0 (default, Jun 19 2015, 14:20:21) | |
[GCC 4.8.2] on linux | |
>>> import numpy | |
>>> a = numpy.array([[[127, 127, 127, 255], | |
... [127, 127, 127, 255]], | |
... [[127, 127, 127, 255], | |
... [127, 127, 127, 255]]]) |