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
- Web Audio Feature requests: https://github.com/WebAudio/web-audio-api/issues | |
- Web Audio mailing list: http://lists.w3.org/Archives/Public/public-audio/ | |
- General web feature requests: http://www.whatwg.org/mailing-list | |
- Other GitHub repos for other whatwg specs, https://github.com/whatwg/ | |
- Twitter to a person you know that implements / specs this kind of stuff, but prefer public venues so you get maximum visibility, and maximize your chances to get an answer |
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
#!/usr/bin/env python | |
import matplotlib.pyplot as plt | |
import pylab as pl | |
import numpy as np | |
import os | |
import sys | |
data = {} |
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
➜ FxStumbler git:(master) make | |
which: no uglifyjs2 in (/usr/local/bin:/Users/padenot/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/padenot/local:/Users/padenot/depot_tools/) | |
help - display this text | |
all - compile zip file | |
➜ FxStumbler git:(master) make help | |
which: no uglifyjs2 in (/usr/local/bin:/Users/padenot/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/padenot/local:/Users/padenot/depot_tools/) | |
help - display this text | |
all - compile zip file | |
➜ FxStumbler git:(master) make all | |
which: no uglifyjs2 in (/usr/local/bin:/Users/padenot/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/padenot/local:/Users/padenot/depot_tools/) |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/mman.h> | |
#include <sys/stat.h> | |
#include <errno.h> | |
int main(int argc, char *argv[]) |
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
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#ifdef __SANITIZE_ADDRESS__ | |
#define ALLOC_STACK(ptr) __asan_describe_address(ptr) | |
#else | |
#define ALLOC_STACK(ptr) fprintf(stderr, \ | |
"Do an ASAN build to get allocation stacks.\n"); | |
#endif |
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
# Setup and packages | |
```sh | |
sudo aptitude install icecast2 gstreamer0.10-pulseaudio gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly-multiverse gstreamer-tools pavucontrol | |
``` | |
Remember the password when setting up `icecast2` (when prompted by the install | |
script), because we will use it later on. | |
# Setup pulse |
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
#!/bin/sh | |
if [ $# -eq 0 ] | |
then | |
echo "$(basename $0) [-w|-c|-l|-L]? file.pdf+" | |
echo "\t-w : count words" | |
echo "\t-c : count characters" | |
echo "\t-l : count lines" | |
echo "\t-L : maximum line length" | |
exit 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
var http = require('http'); | |
var path = require('path'); | |
var fs = require('fs'); | |
var AUDIOFILE = "./audio.ogg"; | |
function serveWithRanges(request, response, content) { | |
var range = request.headers.range; | |
var total = content.length; | |
var parts = range.replace(/bytes=/, "").split("-"); |
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
#!/usr/bin/zsh -x | |
mkdir timelapse_frames | |
cd timelapse_frames | |
# in seconds | |
if [ -z $1 ] | |
then | |
duration=10 | |
else | |
duration=$1 | |
fi |
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
#!/usr/bin/zsh -x | |
mkdir timelapse_frames | |
cd timelapse_frames | |
# in seconds | |
if [ -z $1 ] | |
then | |
duration=10 | |
else | |
duration=$1 | |
fi |