Skip to content

Instantly share code, notes, and snippets.

@matbee-eth
matbee-eth / machine.js
Last active November 6, 2019 15:28
Generated by XState Viz: https://xstate.js.org/viz
const initialState = {
id: 'toggle',
initial: 'idle',
context: {
msg: ''
},
states: {
idle: {
on: {
DONE_AVAILABLE: "granted",
@matbee-eth
matbee-eth / machine.js
Created November 5, 2019 20:23
Generated by XState Viz: https://xstate.js.org/viz
const grantedState = {
id: 'granted',
type: 'final'
}
const deniedState = {
id: 'denied',
type: 'final'
}
In file included from ../../webrtc/base/iosfilesystem.mm:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: expected a type
- (id)copyWithZone:(nullable NSZone *)zone;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28: error: expected a type
- (id)mutableCopyWithZone:(nullable NSZone *)zone;
^
/Applications/Xcode.app/Contents/Dev
Verifying that +matbee is my blockchain ID. https://onename.com/matbee
/*! Socket.IO.js build:0.9.16, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */
var io = ('undefined' === typeof module ? {} : module.exports);
(function() {
/**
* socket.io
* Copyright(c) 2011 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
<html>
<head>
</head>
<body>
<script>
require('nw.gui').Window.get().evalNWBin(null, 'test.bin');
</script>
</body>
</html>
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);
}
diff --git a/.gitignore b/.gitignore
index 1055458..7358050 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ Coverage
*.gcda
library/polarssl.info
/build-nacl-*
+/build-nacl-*
diff --git a/configs/config-ccm-psk-tls1_2.h b/configs/config-ccm-psk-tls1_2.h
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
</style>
</template>
<script>
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