Skip to content

Instantly share code, notes, and snippets.

View resonancellc's full-sized avatar

Resonance LLC resonancellc

  • Resonance
  • United States
View GitHub Profile
@resonancellc
resonancellc / watch-your-back.js
Created April 20, 2020 23:04 — forked from m3g4p0p/watch-your-back.js
Capture a video stream and play it with some delay
const DELAY = 2000
const videos = []
const hide = el => el.style.display = 'none'
const show = el => el.style.display = 'block'
const showAndHideOthers = ({ target }) => {
window.requestAnimationFrame(() => {
videos.forEach(hide)
show(target)
@resonancellc
resonancellc / upload-recording.js
Created April 20, 2020 23:04 — forked from m3g4p0p/upload-recording.js
Record a video with the web cam and upload it to the server
const video = document.querySelector('video')
const start = document.querySelector('.start')
const stop = document.querySelector('.stop')
const upload = document.querySelector('.upload')
const initRecorder = stream => {
const recorder = new MediaRecorder(stream)
let blob
video.srcObject = stream
@resonancellc
resonancellc / ghidra-community.md
Created October 13, 2019 18:51 — forked from adulau/ghidra-community.md
Ghidra community - collection
@resonancellc
resonancellc / doc.md
Created July 8, 2019 20:20 — forked from wwylele/doc.md
WIP 3DS CEC doc

3DS CEC (StreetPass) Documentation

Overall Model

The CEC system module consists of two main components: mailbox manager and StreetPass communicator. Both work on the system save 00010026, which stores all mailbox information and message data. A simplified diagram of CEC communication model is

Application <=> Mailbox Manager <=> System Save (Mailbox) <=> StreetPass communicator <=> NWM/network <=> StreetPass communicator of another 3DS <=> ...

Many CEC service (cecd:u and cecd:s) functions are interfaces exposed from the mailbox manager, which read and write the system save. The mailbox manager is essentially a thick layer over direct file IO, which performances data initialization and verification on top of raw system data read/write.

@resonancellc
resonancellc / 149909-playlist_youtube-vlc3patch.lua
Created July 4, 2019 01:20 — forked from seraku24/149909-playlist_youtube-vlc3patch.lua
VLC 3.x compatibility patch for 149909-playlist_youtube.lua
--[[
Youtube playlist importer for VLC media player 1.1 and 2.0
Copyright 2012 Guillaume Le Maout
Authors: Guillaume Le Maout
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or