Skip to content

Instantly share code, notes, and snippets.

View mtrimarchi's full-sized avatar
🍣
Sushi driven networking

Manuele Trimarchi mtrimarchi

🍣
Sushi driven networking
View GitHub Profile
@mtrimarchi
mtrimarchi / mips_toolchain.sh
Created March 4, 2017 17:27 — forked from Lochnair/mips_toolchain.sh
Debian wheezy mips(el) toolchain
#!/bin/sh
# Debian 7 MIPS Toolchain
ARCH=${ARCH:-mips}
# Update
mkdir /usr/src/$ARCH-toolchain && cd /usr/src/$ARCH-toolchain
apt-get update
apt-get upgrade
@mtrimarchi
mtrimarchi / PinDecrypt.php
Created February 23, 2017 14:39
PinDecrypt - Convert encrypted data with DES_ECB using a key
<?php
/**
*
* PinDecrypt - Convert encrypted data with DES_ECB using a key
*
* @param String $Key - The key with which the data was encrypted.
* If the provided key size is not supported by the cipher,
* the function will emit a warning and return FALSE
* @param String $Data - The data that will be decrypted with the given cipher and mode.

Keybase proof

I hereby claim:

  • I am mtrimarchi on github.
  • I am mtrimarchi (https://keybase.io/mtrimarchi) on keybase.
  • I have a public key ASC0bKswvvtpyABcGRV7cI8869hG5R1yn4bVfq1Y1OPMwAo

To claim this, I am signing this object:

Verifying that +mtrimarchi is my blockchain ID. https://onename.com/mtrimarchi