Skip to content

Instantly share code, notes, and snippets.

View zeroeth's full-sized avatar
🤖
🐱 🤖 🐱 🤖

[0] zeroeth

🤖
🐱 🤖 🐱 🤖
View GitHub Profile
@zeroeth
zeroeth / LICENSE.md
Last active November 27, 2019 00:21 — forked from tommaybe/LICENSE.md
Day / Hour Heatmap

Copyright (c) 2016, Tom May

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTH

@zeroeth
zeroeth / synth.cpp
Created September 16, 2019 01:07 — forked from genericpenguin/synth.cpp
Arduino String synth
/* Arduino Synth from
https://janostman.wordpress.com/2016/01/15/how-to-build-your-very-own-string-synth/
*/
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
@zeroeth
zeroeth / README.md
Created July 29, 2019 01:54 — forked from JanLoebel/README.md
Hikam S6 Reverse Engineering (HI3518 E)

Reverse Engineering of Hikam S6 (HI3518 E)

Why?

I wanted to integrate the camera into my home security system. The only problem is that I want to toggle the alarm of the camera based on the security system status. Currently, this is only available via the app or a time trigger which is booth not sufficient for me. So the main target was to change the alarm status without the app.

What I've done so far:

My first try was to capture the TCP packages between the Android app and the camera. Soon I realized that they are only TCP+SSL (not pinned) requests to a cloud service of Hikam. So I installed an emulator with the Hikam app and Wireshark. I've seen some packages but the payload is very strange and even if I send the UDP commands again the status won't change. So this was a dead end for me.

@zeroeth
zeroeth / decoder.py
Created February 8, 2019 01:17 — forked from Ludo6431/decoder.py
KORG Monotribe AFSK firmware decoder
# -*- coding: utf-8 -*-
# KORG monotribe firmware decoder by:
# Ludovic Lacoste (aka Ludo6431) -- http://ludolacoste.com
#
# thanks to :
# Th0mas @ http://gravitronic.blogspot.com/2011/12/decoding-korg-monotribe-firmware.html
# nitro2k01 @ http://blog.gg8.se/wordpress/2011/12/04/korg-monotribe-firmware-20-analysis/
# decoder.py <input ascii bits file> <output file prefix>
@zeroeth
zeroeth / .gitignore
Created February 5, 2019 00:20 — forked from bjodah/.gitignore
count byte freqencies
a.out
zeros.bin
output.txt
@zeroeth
zeroeth / generate_item_icons.py
Created May 23, 2018 20:55 — forked from darvid/generate_item_icons.py
Generates an indexed table of item entries and icons from WoW DBCs (converted to CSV).
"""
Generates SQL to populate a table of item IDs mapped to icon names.
* Step 1. Convert `Item.dbc` and `ItemDisplayInfo.dbc` to CSV files, e.g. with
`http://www.mediafire.com/?1sydm4aoi9i`
* Step 2. Export item quality to CSV with this command:
`mysql -utrinity -p world --execute "SELECT entry, quality `
`INTO OUTFILE '/tmp/item_quality.sql' FIELDS TERMINATED BY ','`
`OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n'`
`FROM item_template"`
@zeroeth
zeroeth / README.md
Created March 13, 2018 01:07 — forked from svenevs/README.md
Unofficial installation guide for librealsense with OpenMP support on OSX

Unofficial Installation Guide for librealsense on OSX

These instructions are for how to build librealsense on OSX with OpenMP support.

Install the Dependencies

Setup Brew (the OSX Package Manager)

@zeroeth
zeroeth / miniTSos09.ino
Created October 15, 2017 04:11 — forked from anonymous/miniTSos09.ino
mini-TS OS v0.9
#define SSD1306_SDA 4
#define SSD1306_SCL 5
#define SSD1306_SA 
0x78  // Slave address
 
#include <Adafruit_NeoPixel.h>
#define PIN 2
#define Pixels 24
#define BG 1
// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
@zeroeth
zeroeth / Audiotool Discovered APIs
Created September 1, 2017 05:20 — forked from khoin/Audiotool Discovered APIs
Audiotool has some undocumented APIs. Here is a list of it, in class you wanna build some kewl apps :>
Discovered Audiotool API URIs:
--Login: http://api.audiotool.com/users/login/
** Method : GET
** Parameters : username, password
** Return Type : XML
<session>
<key> ... </key>
<created> {Epoch} </created> <modified> {Epoch} </modified>
<user>