Skip to content

Instantly share code, notes, and snippets.

@sharonbn
sharonbn / SslUtil.java
Last active August 21, 2022 05:48
SSL/TLS connection from Eclipse Paho Java client to mosquitto MQTT broker
import java.io.*;
import java.nio.file.*;
import java.security.*;
import java.security.cert.*;
import javax.net.ssl.*;
import org.bouncycastle.jce.provider.*;
import org.bouncycastle.openssl.*;
public class SslUtil

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

@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
@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)
@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
@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')
@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>
# @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
@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
@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>