This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.soundcloud.player.api { | |
import flash.events.Event; | |
/** | |
* @author matas | |
*/ | |
public class PlayerAPIEvent extends Event { | |
private var _data : Object; | |
//onPlayerReady an event fired when the player is ready for playback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.soundcloud.player.api { | |
import flash.events.Event; | |
/** | |
* @author matas | |
*/ | |
public class PlayerAPIEvent extends Event { | |
private var _data : Object; | |
//onPlayerReady an event fired when the player is ready for playback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *.mp3; do echo "processing $f..."; afconvert -fv mp4f -d aac -b 64000 "$f"; echo "done"; done; echo "finished" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title> | |
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function () { | |
var extractToken = function(hash) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Global variables | |
int X, Y; | |
int nX, nY; | |
int delay = 10; | |
// Setup the Processing Canvas | |
void setup() { | |
size( 800, 600 ); | |
smooth(); | |
strokeWeight(1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// continuous loop over array pseudo-code example | |
var index = 0; | |
var arr = [1,2,3,4]; | |
// once the step is done, let's jump to the next one | |
if(nextStep){ | |
index = (index + 1) % arr.length; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList points; | |
int progress = 2; | |
void setup() { | |
size(1200, 800); | |
background(250); | |
smooth(); | |
frameRate(5); | |
points = new ArrayList(); | |
points.add(new Point(width/2, height*0.45)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList points; | |
int progress = 2; | |
void setup() { | |
size(1200, 800); | |
background(250); | |
smooth(); | |
frameRate(5); | |
points = new ArrayList(); | |
points.add(new Point(width/2, height*0.45)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
size(1000, 715); | |
background(255); | |
smooth(); | |
} | |
void draw() { | |
stroke(0,random(10,16)); | |
noFill(); | |
beginShape(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
size(1000, 715); | |
background(255); | |
smooth(); | |
} | |
void draw() { | |
stroke(0,random(10,16)); | |
noFill(); | |
beginShape(); |