Skip to content

Instantly share code, notes, and snippets.

View zeroeth's full-sized avatar
🤖
🐱 🤖 🐱 🤖

[0] zeroeth

🤖
🐱 🤖 🐱 🤖
View GitHub Profile
@zeroeth
zeroeth / wow_map_tiler.rb
Created May 18, 2018 02:17
World of Warcraft map tiler.
# WoW Map Tiler
require 'chunky_png'
# find tiles
print "Finding tiles..."
tile_image_names = Dir.glob("input/**/map*.png").sort
@zeroeth
zeroeth / jelly.rb
Created May 6, 2018 05:38
create an array of a gif animation with random start offsets.
# cat jelly spreader
require 'chunky_png'
tile_count_width = 20
tile_count_height = 10
tile_count = tile_count_width + tile_count_height
# load frames
print "Loading frames..."
@zeroeth
zeroeth / README.md
Created March 13, 2018 01:07 — forked from svenevs/README.md
Unofficial installation guide for librealsense with OpenMP support on OSX

Unofficial Installation Guide for librealsense on OSX

These instructions are for how to build librealsense on OSX with OpenMP support.

Install the Dependencies

Setup Brew (the OSX Package Manager)

@zeroeth
zeroeth / poopscoot.bas
Created February 12, 2018 00:59
cat sprites in ti99 extended basic! try at http://js99er.net/
10 rem js99er load extended basic first
50 rem init
60 call clear
80 randomize
85 rem random background
90 scrclr = int(rnd*15)+2
95 call screen(scrclr)
100 rem set available colors
@zeroeth
zeroeth / catrainbow.bas
Created February 8, 2018 21:55
catrainbow.bas for ti99/4a try it out on http://js99er.net/
10 call clear
11 randomize
100 rem cat sprites
101 c$="4163777F6B6B3E1C"
110 for a=0 to 15
111 call char(a*8+32,c$)
112 next a
120 rem first rainbow characterset
@zeroeth
zeroeth / miniTSos09.ino
Created October 15, 2017 04:11 — forked from anonymous/miniTSos09.ino
mini-TS OS v0.9
#define SSD1306_SDA 4
#define SSD1306_SCL 5
#define SSD1306_SA 
0x78  // Slave address
 
#include <Adafruit_NeoPixel.h>
#define PIN 2
#define Pixels 24
#define BG 1
// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
@zeroeth
zeroeth / Audiotool Discovered APIs
Created September 1, 2017 05:20 — forked from khoin/Audiotool Discovered APIs
Audiotool has some undocumented APIs. Here is a list of it, in class you wanna build some kewl apps :>
Discovered Audiotool API URIs:
--Login: http://api.audiotool.com/users/login/
** Method : GET
** Parameters : username, password
** Return Type : XML
<session>
<key> ... </key>
<created> {Epoch} </created> <modified> {Epoch} </modified>
<user>
@zeroeth
zeroeth / bubble02.coffee
Created July 18, 2017 18:52
bubble02 animation script (High Quality Zen + Coffeescript)
#!/usr/bin/env coffee
#
# Animation script for HQZ.
# Micah Elizabeth Scott <[email protected]>
# Creative Commons BY-SA license:
# http://creativecommons.org/licenses/by-sa/3.0/
#
# Output: https://youtu.be/j5E9JCgbI0I
# Tool: https://github.com/scanlime/zenphoton/tree/master/hqz
#
@zeroeth
zeroeth / iso2wbfs
Created June 18, 2017 22:58 — forked from openback/iso2wbfs
Uses Wiimms ISO Tool to convert one or more Wii ISO into a WBFS file, properly named for use on non-WBFS partitions
#!/bin/bash
#===============================================================================
#
# FILE: iso2wbfs
#
# USAGE: ./iso2wbfs [option] FILE... [wbfs directory]
#
# DESCRIPTION: Uses wit to convert one or more Wii ISO into a WBFS file
# properly named for use on non-WBFS partitions.
#