Skip to content

Instantly share code, notes, and snippets.

View ClassicOldSong's full-sized avatar
🐦

Yukino Song ClassicOldSong

🐦
View GitHub Profile
@Snial
Snial / BootJacker.c
Last active May 18, 2022 05:08
BootJacker: The Amazing AVR Bootloader Hack!
#define SPIFbit 7
#define SPR (1<<0)
#define kSpmCsr 0x37
#define kSpmCsrMem (kSpmCsr+0x20)
#define IOAddrInsMask(aPort) (((aPort&0x30)<<5)|(aPort&7))
#define kBootloaderStart 0x7800
#define kMicroBootStart 0x7f80
#define kBootloaderEnd 0x8000
commit 0c5b7265da27913ffbaccce77262b4d9f061a8ec
Author: Simon Désaulniers <rostydela@gmail.com>
Date: Sat Feb 20 14:09:56 2016 -0500
adding systemd service file
diff --git a/PKGBUILD b/PKGBUILD
index f0bef97..1f4582e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@deluxghost
deluxghost / cVimrc
Last active January 28, 2017 12:44
cVimrc
set noautofocus
set nochangelog
set smoothscroll
set defaultnewtabpage
let previousmatchpattern="((?!last)((?:上|前)一?(?:页|章|頁)|(?:较新|較新)文章|prev(ious)?|newer|back|«|less|<|‹| )+)"
let nextmatchpattern="((?!first)((?:下|后)一?(?:页|章|頁)|(?:早期|較早)文章|(?:加载|加載|载入|載入|展开|展開)(?:更多|全文)|next|older|more|>|›|»|forward| )+)"
let mapleader = ","
let searchengine bing = "http://www.bing.com/search?q=%s"
@marcan
marcan / canon-ef-protocol-notes.md
Last active April 10, 2024 14:18
Canon EF protocol notes

Testing done using a Canon EOS 600D and a Canon EF-S18-55mm f/3.5-5.6 IS II.

Pinout

  1. VBAT
  2. DET (common with P-GND on lens side)
  3. P-GND
  4. VDD
  5. DCL
  6. DLC
@loveemu
loveemu / gax_info.md
Last active April 16, 2024 03:36
Shin'en GAX Sound Engine (GBA) Specification / Research Note

Shin'en GAX Sound Engine (GBA) Specification

The research is based on GAX Engine V3. Information about V2 can be found at the end of the document.

FYI: GaXM is a tool that can analyze GAX data. You may find more information there.

FYI: You can find my IDA FLIRT signature for GAX V3 here. https://github.com/loveemu/ida-sig

FYI: Gaxtapper: Diagnostic tool / Automated GSF ripper for GAX Sound Engine.

// ==UserScript==
// @name NoPerformanceNow
// @namespace https://yuki.network/
// @version 0.2
// @description Disables performance.now() to make JavaScript exploits harder.
// @author ReimuNotMoe, ClassicOldSong
// @match *://*/*
// @grant unsafeWindow
// ==/UserScript==
# this file contains keys needed for decryption of file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
b5d8ab06ed7f6cfc529f2ce1b4ea32fd # Starbuck Ancast
9a164ee15ac7ceb64d3cc130094095f6 # 007 Legends [EUR, NUS]
import android.content.Context;
import android.os.Process;
import android.support.p018v7.p019a.C0367a;
import android.util.Log;
import com.yalantis.ucrop.BuildConfig;
import com.yalantis.ucrop.view.CropImageView;
import java.io.File;
import java.io.FileInputStream;