Skip to content

Instantly share code, notes, and snippets.

View yupferris's full-sized avatar

Jake Taylor yupferris

View GitHub Profile
$ ./ProDBG/t2-output/macosx-clang-debug-default/ProDBG.app/Contents/MacOS/prodbg
ProDBG_create a
ProDBG_create b
ProDBG_create c
ProDBG_create d
ProDBG_create e
/Users/yupferris/dev/projects/ProDBG/src/prodbg/core/settings.cpp:252 ERROR JSON Error: data/settings.json:(-1:-1) - unable to open data/settings.json: No such file or directory
ProDBG_create f
ProDBG_create g
ProDBG_create h
@yupferris
yupferris / gist:1696f6b094a35da40c1a
Created November 3, 2015 20:09
FunScript "clone & go" full output
This file has been truncated, but you can view the full file.
$ git clone git@github.com:ZachBray/FunScript.git
Cloning into 'FunScript'...
remote: Counting objects: 4780, done.
remote: Total 4780 (delta 0), reused 0 (delta 0), pack-reused 4779
Receiving objects: 100% (4780/4780), 54.45 MiB | 4.53 MiB/s, done.
Resolving deltas: 100% (2620/2620), done.
Checking connectivity... done.
$ cd FunScript/
$ chmod +x build.sh # See fix for this in pull request #194
$ ./build.sh
@yupferris
yupferris / droptest-free.rs
Created September 27, 2015 14:33
Rust transmute/ownership drop test using free
extern crate libc;
use std::mem;
struct Val {
value: i32
}
impl Val {
fn new(value: i32) -> Val {
@yupferris
yupferris / droptest.rs
Created September 27, 2015 14:27
Rust transmute/ownership isolated drop case
use std::mem;
struct Val {
value: i32
}
impl Val {
fn new(value: i32) -> Val {
println!("Created {}", value);
Val { value: value }
@yupferris
yupferris / main.rs
Last active September 27, 2015 15:11
coreaudio-rs memleak drop test 2
//! A basic output stream example, using an Output AudioUnit to generate a sine wave.
extern crate coreaudio_rs as coreaudio;
extern crate num;
use coreaudio::audio_unit::{AudioUnit, Type, SubType};
use num::Float;
use std::f64::consts::PI;
@yupferris
yupferris / main.rs
Last active September 27, 2015 15:10
coreaudio-rs memleak drop test
//! A basic output stream example, using an Output AudioUnit to generate a sine wave.
extern crate coreaudio_rs as coreaudio;
extern crate num;
use coreaudio::audio_unit::{AudioUnit, Type, SubType};
use num::Float;
use std::f64::consts::PI;
@yupferris
yupferris / chaserTest.hive
Last active August 29, 2015 14:15
Basically lisp.
chaserTest : device "Chaser Test" (0 0)
(
primaryInterval : interval "Primary Interval (60fps)" (20 20) 60
chaserInterval : interval "Chaser Interval (2fps)" (20 100) 2
plasma : plasma "Plasma" (20 180) 36 4
chaser : chaser "Chaser" (20 260)
fadecandy : fadecandy "Fadecandy" (20 340) "127.0.0.1" 7890
primaryInterval.Output -> plasma.Time
primaryInterval.Output -> chaser.Time