Skip to content

Instantly share code, notes, and snippets.

Mathieu Gosbee acidhax

Block or report user

Report or block acidhax

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View machine.js
const initialState = {
id: 'toggle',
initial: 'idle',
context: {
msg: ''
states: {
idle: {
on: {
DONE_AVAILABLE: "granted",
View machine.js
const grantedState = {
id: 'granted',
type: 'final'
const deniedState = {
id: 'denied',
type: 'final'
View gist:0b3b5dbe59b9a19dd1d1
In file included from ../../webrtc/base/
In file included from /Applications/
In file included from /Applications/
/Applications/ error: expected a type
- (id)copyWithZone:(nullable NSZone *)zone;
/Applications/ error: expected a type
- (id)mutableCopyWithZone:(nullable NSZone *)zone;
View gist:08ff7fbb33fd8930bb19
Verifying that +matbee is my blockchain ID.
View gist:16e8c6f17f725c18055e
/*! Socket.IO.js build:0.9.16, development. Copyright(c) 2011 LearnBoost <> MIT Licensed */
var io = ('undefined' === typeof module ? {} : module.exports);
(function() {
* Copyright(c) 2011 LearnBoost <>
* MIT Licensed
View index.html
require('nw.gui').Window.get().evalNWBin(null, 'test.bin');
View test.js
function ab2str(buf) {
return String.fromCharCode.apply(null, new Uint8Array(buf));
function str2ab(str) {
var buf = new ArrayBuffer(str.length*2); // 2 bytes for each char
var bufView = new Uint8Array(buf);
for (var i=0, strLen=str.length; i<strLen; i++) {
bufView[i] = str.charCodeAt(i);
View nacl.patch
diff --git a/.gitignore b/.gitignore
index 1055458..7358050 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ Coverage
diff --git a/configs/config-ccm-psk-tls1_2.h b/configs/config-ccm-psk-tls1_2.h
View designer.html
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
View gist:9282695
Making all in vector
make[3]: Entering directory `/home/matbee2/dev/audioconverter.js/ffmpeg.js/lame/libmp3lame/vector'
/bin/bash ../../libtool --tag=CC --mode=compile /home/matbee2/emscripten/emcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -ffast-math -funroll-loops -Wall -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c -o xmm_quantize_sub.lo xmm_quantize_sub.c
libtool: compile: /home/matbee2/emscripten/emcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -ffast-math -funroll-loops -Wall -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c xmm_quantize_sub.c -o xmm_quantize_sub.o
xmm_quantize_sub.c:65:34: warning: implicit declaration of function '_mm_loadu_ps' is invalid in C99 [-Wimplicit-function-declaration]
const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);
xmm_quantize_sub.c:65:18: error: initializing 'const __m12
You can’t perform that action at this time.