Skip to content

Instantly share code, notes, and snippets.

@fraguada
fraguada / ffmpeg.txt
Created September 22, 2021 18:26
ffmpeg cheat sheet
.png sequence to mp4
ffmpeg -r 30 -i Frame_%05d.png -pix_fmt yuv420p out.mp4
-intra flag useful for seekable mp4, but higher file size
concatenate mp4s
https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg
:: Create File List
echo file file1.mp4 > mylist.txt
echo file file2.mp4 >> mylist.txt
@loleg
loleg / corona-mix.ino
Created October 30, 2020 17:16
A zombie remix of tamberg's SwissCovid-detector and ganda1f's PartyNoise-detector
// Just getting my hands dirty with Arduino! Please don't be upset ...
/* Sources:
*
* https://github.com/gand417/mz2020_audio/blob/main/mz2020_audio.ino
* https://github.com/make-zurich/makezurich-hardware-intro/blob/master/Arduino/Neno33BleSense_CoronaAppScanner/Neno33BleSense_CoronaAppScanner.ino
*/
#include <Adafruit_NeoPixel.h>
#include <ArduinoBLE.h>
@dpjanes
dpjanes / life.js
Last active April 12, 2020 22:54
Game of Life : Node.JS
const _ = require("iotdb-helpers")
const Board = _size => {
const self = Object.assign({})
let _d = {}
const _key = (x, y) => `${x}//${y}`
const _set = (d, x, y, v) => d[_key(x,y)] = v
const _get = (d, x, y) => d[_key(x,y)] || 0
# @anoken2017
# demo_face_recognition m5-custom firm needed
# fork https://github.com/sipeed/MaixPy_scripts/blob/master/machine_vision/demo_face_recognition.py
import sensor,image,lcd #関連ライブラリ
import KPU as kpu
import time
from Maix import FPIOA,GPIO,utils
from fpioa_manager import fm
from board import board_info
@rauchg
rauchg / index.html
Created November 27, 2019 12:07
Next level Phone UX
<!DOCTYPE html>
<html>
<head>
<title>Next level UX</title>
<meta charset="UTF-8" />
</head>
<body>
<p>
<label>
@aallan
aallan / benchmark_tf_trt.py
Created April 26, 2019 15:36
Benchmarking script for TensorFlow + TensorRT inferencing on the NVIDIA Jetson Nano
#!/usr/bin/env python3
import platform
PLATFORM = platform.system().lower()
GOOGLE = 'edge_tpu'
INTEL = 'ncs2'
NVIDIA = 'jetson_nano'
PI = 'raspberry_pi'
IS_LINUX = (PLATFORM == 'linux')
@monsonite
monsonite / simpl_2015_slim_11.ino
Created September 21, 2015 21:34
32bit math SIMPL Serial Interpreted Minimal Language - for Arduino &ct
// SIMPL
// A Serial Interpreted Minimal Programming Language
// Inspired by Txtzyme - by Ward Cunningham
// Filename simpl_2015_slim_11
// This is the slim version of simpl that removes most of the Arduino specific routines - saving almost 1800 bytes
// In Version 10: Added printlong() to print out a 32 bit integer plus some 32bit arithmetic and timing functions
@Mte90
Mte90 / owa.ino
Last active September 29, 2021 21:36
Web Server with Arduino Yun with CORS enabled
/*
It demonstrates how you can create your own API when using REST style
calls through the browser with CORS enabled.
Possible commands created in this shetch:
* "/arduino/digital/13" -> digitalRead(13)
* "/arduino/digital/13/1" -> digitalWrite(13, HIGH)
* "/arduino/analog/2/123" -> analogWrite(2, 123)
@whichlight
whichlight / sketching-in-hardware-talk.md
Created July 23, 2014 04:01
some materials for the Sketching in Hardware talk.

To understand some of the pieces, it is helpful to interact with them together. Not sure how this will turn out, but that's part of the fun. Turn the sound up, maybe lock your screen orientation, and check these out:

  1. bubblegum postcard - mobile or laptop
  2. dancey dots - mobile or laptop
  3. cellular - mobile only
  4. runner - mobile or laptop

A pseudonymous trust system for a decentralized anonymous marketplace

Dionysis Zindros, National Technical University of Athens dionyziz@gmail.com

Keywords

pseudonymous anonymous web-of-trust identity trust bitcoin namecoin proof-of-burn timelock decentralized anonymous marketplace openbazaar

Abstract