Skip to content

Instantly share code, notes, and snippets.

View zbee's full-sized avatar
👾

Ethan Henderson zbee

👾
View GitHub Profile
@zbee
zbee / ubuntuToWebsite.sh
Last active August 29, 2015 14:14
Get Ubuntu 14.04 running your php website
#Get ready
sudo apt-get update
sudo apt-get upgrade
#Install apache
sudo apt-get install apache2
#Install mysql
sudo apt-get install mysql-server php5-mysql
#Set up mysql
sudo mysql_install_db
sudo mysql_secure_installation
@zbee
zbee / timezonesDropdown.php
Last active August 29, 2015 14:15
A quick, little generator of a select input for the user's timezones. Generates list based on PHP timezones, so they can be used in `date_default_timezone_set()`
<select name="timezone">
<?php
$timezones = DateTimeZone::listIdentifiers(DateTimeZone::ALL);
foreach ($timezones as $timezone)
echo '<option value="'.$timezone.'">'.$timezone.'</option>';
?>
</select>

Keybase proof

I hereby claim:

  • I am zbee on github.
  • I am zbee (https://keybase.io/zbee) on keybase.
  • I have a public key whose fingerprint is E575 5FDA 6B8F 0008 ADBC C075 1191 87B7 5A54 2B6C

To claim this, I am signing this object:

@zbee
zbee / Vocalaid~Sakura - modified.css
Last active August 29, 2015 14:24
Stylish 4chan
@-moz-document domain("boards.4chan.org") {
@namespace url(http://www.w3.org/1999/xhtml);
* {
border: none !important;
background: #F7F7F7 !important;
font-family: calibri !important;
color: gray !important;
}
@zbee
zbee / WoW.xml
Created July 7, 2015 06:07
G13 Profiles
<?xml version="1.0" encoding="utf-8"?>
<profiles xmlns="http://www.logitech.com/Cassandra/2010.7/Profile">
<profile lastplayeddate="2015-07-06T23:13:04" lock="0" gkeysdk="0" name="World of Warcraft" gpasupported="0" launchable="1" guid="{843A0097-C30D-4A70-94B0-701F73A862DF}">
<description></description>
<target path="C:\PROGRAM FILES (X86)\WORLD OF WARCRAFT\WOW.EXE"/>
<target path="C:\PROGRAM FILES (X86)\WORLD OF WARCRAFT\WOW-64.EXE"/>
<signature value="InstallPath" key="HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft" name="" executable="Wow.exe"/>
<signature value="InstallPath" key="HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft" name="" executable="Wow-64.exe"/>
<signature value="InstallLocation" key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\World of Warcraft" name="" executable="Wow.exe"/>
<signature value="InstallLocation" key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Worl
@zbee
zbee / gist-click-to-view.user.js
Last active August 29, 2015 14:26
Click the code preview of Gists to view the full gist
// ==UserScript==
// @name Click Gist code to view
// @namespace Gist-click-to-view
// @description Click the code preview of Gists to view the full gist
// @version 1
// @grant none
// @include https://gist.github.com/*
// @require https://code.jquery.com/jquery-2.1.4.min.js
// ==/UserScript==
@zbee
zbee / typefaces.data
Created July 29, 2015 05:20
List of typefaces from Wikipedia
Adobe Jenson,Adobe Text,Albertus,Aldus,Alexandria,Algerian,American Typewriter,Antiqua,Arno,Aster,Aurora,News 706,Baskerville,Bebas,Bebas Neue,Bell,Belwe Roman,Bembo,Bembo Schoolbook,Berkeley Old Style,Bernhard Modern,Bodoni,Bauer Bodoni,Book Antiqua,Bookman,Bordeaux Roman,Bulmer,Caledonia,Californian FB,Calisto MT,Cambria,Capitals,Cartier,Caslon,Wyld,Caslon Antique ,Catull,Centaur,Century Old Style,Century Schoolbook,New Century Schoolbook,Century Schoolbook Infant,Chaparral,Charis SIL,Charter,Cheltenham,Clearface,Cochin,Colonna,Computer Modern,Concrete Roman,Constantia,Cooper Black,Copperplate Gothic,Corona,News 705,DejaVu Serif,Didot,Droid Serif,Ecotype,Elephant,Emerson,Espy Serif,Excelsior,News 702,Fairfield,FF Scala,Footlight,FreeSerif,Friz Quadrata,Garamond,Gentium,Georgia,Gloucester,Goudy Old Style ,Goudy Pro Font,Goudy Schoolbook,Granjon,Heather,Hercules,High Tower Text,Hiroshige,Hoefler Text,Humana Serif,Imprint,Ionic No. 5,News 701,ITC Benguiat,Janson,Jenson,Joanna,Korinna,Kursivschrift,Legacy Serif
@zbee
zbee / gitFixErr183.py
Last active August 29, 2015 14:26
Fix Error 183 when installing Git 1.9.5 (works on python 2.x, to get 3.x working change .iteritems() to .items() on line 345)
import os
libs = {
"bin": "",
"etc" : "",
"lib": {
"perl5": {
"5.8.8" : {
"B": "",
"CPAN": "",
@zbee
zbee / Twily's Firefox Rice.css
Created August 4, 2015 20:06
Twily's Firefox Rice slightly modified to hide any addon buttons you leave out
@namespace html url(http://www.w3.org/1999/xhtml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*
Author: Twily
Description: Minimal flat styled tabs for Australis
Compitability: Firefox Nightly v31.0a1 - v32.0a1 (Australis)
CSS Variables were introduced to Firefox in v29.0a1
Website: http://twily.info/
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("reddit.com") {
body, html, #header, #header-bottom-left {
background: #F7F7F7 !important;
font-family: calibri !important;
}
.listing-chooser, #sr-header-area, #userbarToggle, #header-img,
.rank, .trending-subreddits, .domain, .RESUserTag, .userattrs,
.expando-button, .redditSingleClick, .linkflairlabel, .nub,