This file contains hidden or 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/python3 | |
import subprocess | |
import urllib.request | |
import time | |
import re | |
import sys | |
from multiprocessing import Process | |
def openurl(plaintext): | |
match = re.search("(https?|ftp)://(www\.)?honestjons\.com(/[^\s]*)?/Loefah(/[^\s\"']*)?", plaintext, re.I) | |
try: |
This file contains hidden or 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 | |
volume=$(amixer sget Master | grep -o -m 1 '[[:digit:]]*%' | tr -d '%') | |
if [ -n "$2" ] | |
then | |
percent_change=$2 | |
else | |
percent_change=5 | |
fi |
This file contains hidden or 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
.spacer .submit-link, .comments-page .linkinfo, .submit-page .spacer .titlebox { | |
margin-top: 334px; | |
} | |
.comments-page .spacer .submit-link { | |
margin-top: 7px; | |
} | |
.report-button .option.error.active:before { | |
content: "NOTE: Paradox Space Comics are not spam. DO NOT REPORT PARADOX SPACE COMICS. THEY WILL NOT BE REMOVED. "; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>{title}</title> | |
<link rel="shortcut icon" href="{Favicon}"> | |
<link href='http://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'> | |
<style> | |
/* @font-face { | |
font-family: 'Tewi'; |
This file contains hidden or 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
refresh-rate = 60.02; | |
vsync= "opengl"; | |
# Shadows | |
shadow = true; | |
no-dnd-shadow = true; | |
no-dock-shadow = true; | |
clear-shadow = true; | |
shadow-radius = 8; | |
shadow-offset-x = -11; |
This file contains hidden or 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/bash | |
mkdir ./apngs | |
cd ./apngs | |
mkdir ./weaselapng | |
mkdir ./mspapngreader | |
mkdir ./gamzeedance | |
mkdir ./APNGmitunaguitar4 | |
mkdir ./APNGmitunaguitar3 | |
mkdir ./APNGmitunaguitar2 | |
mkdir ./APNGmitunaguitar1 |
This file contains hidden or 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
/* | |
MAKE FLAGS: g++ -std=gnu++0x ./bdf-cli-render.cpp | |
Name Tyler Beatty | |
Started 2015-03-02 | |
Last modified 2015-03-04 | |
Final Project | |
bdf-cli-render.cpp | |
input: |
This file contains hidden or 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
import socket | |
import sys | |
import time | |
from datetime import datetime,date | |
def quickIrcMsg(server, channel, botnick, botpass, message, quitmessage): | |
try: | |
timeout = time.time() + 60 #take no more than 1 minute to do everything | |
This file contains hidden or 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
/******************************************************************************************** | |
* | |
* Author: Tyler Beatty | |
* Date Created: 2015-03-02 | |
* Last modified: 2015-03-04 | |
* Lab number CST 116 Final Project | |
* Filename bdf-cli-render.cpp | |
* | |
* Overview: | |
* A BDF font is loaded into a Font class containing an array of 256 ASCII characters, |
This file contains hidden or 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
#include <iostream> | |
using namespace std; | |
char* EncodedPrint(char* string) | |
{ | |
int i = 0; | |
while (string[i] != '\0') | |
{ | |
switch (string[i]) | |
{ |