Skip to content

Instantly share code, notes, and snippets.

View doggan's full-sized avatar

Shyam Guthikonda doggan

View GitHub Profile
@doggan
doggan / sonic_pi_experiment.rb
Created July 31, 2015 04:00
Sonic Pi Experiment
# https://soundcloud.com/doggan/sonic-pi-experiment
live_loop :synth do
use_synth :tb303
256.times do
play 50, amp: 0.75, release: 0.1, cutoff: rrand(60, 120)
sleep 0.125
end
stop
end
// Linker error.
// (null): "_OBJC_CLASS_$_SUChartboostConfiguration", referenced from:
// (null): Objc-class-ref in ChartboostUnityConfig.o
// (null): Symbol(s) not found for architecture arm64
// (null): Linker command failed with exit code 1 (use -v to see invocation)
-(void)setChartboostAppId:(NSString*) appId{
[SUChartboostConfiguration getConfiguration].appID = appId;
}
-(void)setChartboostAppSignature:(NSString*) appSignature{
@doggan
doggan / gist:11feabb4d004332f1aab
Created January 29, 2015 16:18
Dummy JSON data
[{
"_id": "54ca5ceac775a0b0e1bd7aca",
"index": 0,
"guid": "c52239dc-bfb3-4088-83ab-388d137661e7",
"isActive": false,
"balance": "$2,230.27",
"picture": "http://placehold.it/32x32",
"age": 36,
"eyeColor": "blue",
"name": "Francis Baird",
@doggan
doggan / GameObjectPool.cs
Created December 17, 2014 05:45
A class for pooling of Unity GameObjects. Allows reuse of GameObjects, while avoiding the expensive overhead of repeated Instantiate/Destroy calls.
using UnityEngine;
using System.Text;
using System.Collections.Generic;
namespace Uzu
{
/// <summary>
/// Class for pooling GameObjects.
/// </summary>
public class GameObjectPool : BaseBehaviour