Skip to content

Instantly share code, notes, and snippets.

View Slumber86's full-sized avatar
📸

Agostino Marzotta Slumber86

📸
View GitHub Profile
@Slumber86
Slumber86 / PS2Scancode.ino
Created April 7, 2018 17:12 — forked from DorianRudolph/LICENSE.txt
Arduino PS2 to USB HID Keyboard Converter
//Program that outputs all PS2 scancodes via serial
#define BUFFER_SIZE 45
static volatile uint8_t buffer[BUFFER_SIZE];
static volatile uint8_t head, tail;
#define DATA_PIN 10
#define IRQ_PIN 3
// The ISR for the external interrupt
@Slumber86
Slumber86 / SignatureCheck.java
Last active February 8, 2019 16:02 — forked from scottyab/SignatureCheck.java
Simple Android signature check. It's not bullet proof but does increase the difficulty of backdooring the app
package com.duddu.antitampering;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.pm.Signature;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
@Slumber86
Slumber86 / .zshrc
Last active February 15, 2016 00:23
My zsh config
source "$HOME/.antigen/antigen.zsh"
antigen-bundle git
autoload -U promptinit && promptinit
prompt pure
antigen apply