throttling does not go well with realtime audio processing (resulting in a popcorn audio stream)
Having audio issues? Double check if u r throttling!!
watch grep \"cpu MHz\" /proc/cpuinfo
var totalTimTamsinPack = 8; //For the Hellema brand | |
var people = ["fardau", "wilfred", "jeroen", "teun", "arjan", "erik", "paul"]; | |
var usecrypto = true; | |
var timtamsleftAfterEveryoneGetsOne = totalTimTamsinPack - people.length; | |
var array = new Uint32Array(1); | |
while(timtamsleftAfterEveryoneGetsOne-- > 0){ | |
var winer = null; | |
if(usecrypto){ | |
window.crypto.getRandomValues(array); |
--Cheap tube module, code for ESP8266 NodeMCU | |
--depends on ntp.lua | |
--https://gist.github.com/lucsmall/66d9b6539df7a0daa569 | |
--http://www.esp8266.com/viewtopic.php?p=12733 | |
--http://forum.43oh.com/topic/8596-4-digit-display-from-qifei/ | |
--Qifei 4-bit LED Digital Tube Module, aka 74HC595 | |
-- | |
--D7 -> DIO | |
--D5 -> sclk | |
--D4 -> rclk |
<!-- file: /etc/avahi/services/arduino.service --> | |
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<service-group> | |
<name replace-wildcards="yes">'%h' arduino bridge</name> | |
<service> | |
<type>_arduino._tcp</type> | |
<!-- port value not actually used when ssh_upload=yes --> | |
<port>22</port> | |
<txt-record>board=leonardo</txt-record> |
import haxe.macro.Context; | |
import haxe.macro.Expr; | |
class Macro { | |
macro public static function buildJson(config_path:String, ?name:String = "JsonConfig"):Array<Field>{ | |
var config_field_name = "data"; | |
var config = null; | |
var traverse:Dynamic->?Null<Array<haxe.macro.Field>>->ComplexType = null; | |
NSPR_LOG_MODULES=MediaSource:5,MediaSourceSamples:5,MediaFormatReader:5 /Applications/Firefox.app/Contents/MacOS/firefox |
// https://en.wikipedia.org/wiki/Levenshtein_distance | |
function lv(A, B) { | |
// create two work vectors of integer distances | |
let v0 = new Array(A.length); | |
let v1 = new Array(B.length); | |
// initialize v0 (the previous row of distances) | |
// this row is A[0][i]: edit distance for an empty s | |
// the distance is just the number of characters to delete from t | |
for(let i = 0; i <= B.length + 1; i++){ | |
v0[i] = i; |
# Improving proton performance: | |
# https://www.protondb.com/help/improving-performance | |
# Feral Gamemode: | |
# https://launchpad.net/~samoilov-lex/+archive/ubuntu/gamemode | |
ENABLE_VK_LAYER_VALVE_steam_fossilize_1=1 DXVK_STATE_CACHE=0 PROTON_NO_GLSL=0 PROTON_USE_D9VK=1 PROTON_NO_ESYNC=0 DXVK_ASYNC=1 %command% --waitforpreload --noasync --nodx9ex --gc2 --nologo |
// Timer library, https://github.com/dniklaus/wiring-timer, | |
// add it by using the Arduino IDE Library Manager (search for wiring-timer) | |
#include <Timer.h> | |
// LcdKeypad, https://github.com/dniklaus/arduino-display-lcdkeypad, | |
// add it by using the Arduino IDE Library Manager (search for arduino-display-lcdkeypad) | |
#include <LcdKeypad.h> |
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
MyApp( | |
items: List<String>.generate(130, (i) => 'Item $i'), | |
), | |
); | |
} |