Skip to content

Instantly share code, notes, and snippets.


Jason Kraus zbyte64

  • Kraus Dev House
  • Fresno, CA USA
View GitHub Profile
zbyte64 /
Last active Dec 6, 2020 — forked from caseyavila/
Convert HDHomeRun Prime Listings to M3U Format
#!/usr/bin/env python
# this script will convert the hdhomerun listings (channels) to
# m3u format for use with external media players. before running
# this script, be sure to modify the <<config>> variable settings
# below.
# Suggested Usage: This script should be run on a cron to keep
# the channel lineup to date. Below is an example of how to execute this script:
# python /path/to/script/ > /path/to/playlist.m3u
zbyte64 / sample.jsx
Last active Aug 29, 2015 — forked from anonymous/sample.jsx
Custom React
View sample.jsx
/** @jsx this */
//classic callback
function clicker(props, children, render) {
var clicks = 0;
function clicked(event) {
clicks += 1;
render(); //or render(clicks) to allow caching
return function() {
View sample.jsx
function siteDef(state) {
return <div>
function* () {
var state = "Your Site";
var resolve;
function render() {
return <h1 contentEditable={true} onInput={onInput}>{state}</h1>;
function rerender() {