Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
function getRandomId() { | |
return "gge" + Math.round(Math.random() * 10000000); | |
} | |
const ids = api('getSelectedIds'); | |
const result = api('getSource', {type:'json'}); | |
function addWire(x1, y1, x2, y2) { | |
gId = getRandomId(); | |
result.wire[gId] = { |
// Source: https://www.esp32.com/viewtopic.php?t=14185 | |
/* Project ESP32 Logic Analyzer Testes com I2S Bit Clock | |
ESP32 Dev Kit 38 pins - Arduino IDE 1.8.12 - ESP32 Arduino V1.0.4 | |
https://github.com/Gustavomurta/ESP32-Logic-analyzer | |
Gustavo Murta and Rui Vianna - 14/jun/2020 | |
I2S1 MCLK pin = GPIO0 (derived from APLL Clock) | |
using PLL_D2 clock - master clock up to 80 MHz |
/* | |
expo-firestore-persistence-hack | |
A fragile weaving of various modules together to convince the Firestore | |
web SDK to use persistence in an un-ejected Expo app. | |
To use, first: | |
``` | |
$ expo install expo-sqlite |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
#! /usr/bin/env python | |
# Standard library imports. | |
from SocketServer import ThreadingMixIn | |
import BaseHTTPServer | |
import SimpleHTTPServer | |
import sys | |
import json | |
import os | |
from os.path import (join, exists, dirname, abspath, isabs, sep, walk, splitext, |