Skip to content

Instantly share code, notes, and snippets.

View zbee's full-sized avatar
👾

Ethan Henderson zbee

👾
View GitHub Profile
@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 / 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 / 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 / aDarkRoomMonitor.user.js
Last active October 9, 2019 10:25
A monitor for A Dark Room (doublespeakgames/adarkroom)
// ==UserScript==
// @name Dark Monitor
// @namespace https://gist.github.com/Zbee/0df652f096b670ec13a6
// @version 0.3.6
// @description A monitor for A Dark Room (doublespeakgames/adarkroom)
// @author Zbee
// @match http://adarkroom.doublespeakgames.com/
// @grant none
// ==/UserScript==

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 / 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>
@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 / infoAboutPhoneThroughoutDay.js
Last active August 29, 2015 14:14
My on{x} scripts
//This logs a lot of information about your device throughout the day.
//I used it to help my parents understand why their phones died faster some days.
function reportData () {
var data = {};
data.battery = "At " + device.battery.status.percentage + "% (" + device.battery.status.powerSource + ")";
if (device.bluetooth.enabled === true) {
data.bluetooth = "On; Paired with " + device.bluetooth.pairedDevices.length + " devices";
} else {
data.bluetooth = "Off";
@zbee
zbee / ubuntu-ruby.sh
Last active August 29, 2015 14:13 — forked from stephanetimmermans/ubuntu-compass-ruby
Install ruby on Ubuntu
#https://gorails.com/setup/ubuntu/14.04
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable
#if GPG signature verification fails, do `$ curl -sSL https://rvm.io/mpapis.asc | gpg --import -`
#then retry the previous command
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
@zbee
zbee / _iso8601.md
Last active March 13, 2016 16:32
How to do ISO 8601 in various languages (2015-01-14T20:55).