Skip to content

Instantly share code, notes, and snippets.

@tjb0607
tjb0607 / Numixlr
Last active January 30, 2016 23:06
tumblr Numix color scheme for Stylish
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("www.tumblr.com") {
.identity,
.l-container.l-container--flex .l-content,
.search_results_container .tumblelog_mask_item,
.showcase .dashboard-section,
.l-container.l-container--two-column .l-content, .l-container.l-container--two-column-dashboard .l-content,
.l-container.l-container--two-column-dashboard .left_column,
.post_avatar, .blog-avatar,
#include <iostream>
using namespace std;
char* EncodedPrint(char* string)
{
int i = 0;
while (string[i] != '\0')
{
switch (string[i])
{
/********************************************************************************************
*
* 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,
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
/*
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:
#!/usr/bin/bash
mkdir ./apngs
cd ./apngs
mkdir ./weaselapng
mkdir ./mspapngreader
mkdir ./gamzeedance
mkdir ./APNGmitunaguitar4
mkdir ./APNGmitunaguitar3
mkdir ./APNGmitunaguitar2
mkdir ./APNGmitunaguitar1
@tjb0607
tjb0607 / .compton.conf
Created February 17, 2015 00:21
.compton.conf
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;
@tjb0607
tjb0607 / i3tumblr
Last active August 29, 2015 14:15
i3 tumblr theme
<!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';
@tjb0607
tjb0607 / rhs
Last active August 29, 2015 14:14
.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. ";
@tjb0607
tjb0607 / vol
Created February 4, 2015 01:58
#!/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