Skip to content

Instantly share code, notes, and snippets.

View ThisIsAreku's full-sized avatar
:shipit:

Alexandre Boucey ThisIsAreku

:shipit:
View GitHub Profile
@iangcarroll
iangcarroll / iclass.md
Created March 12, 2022 04:58
HID iCLASS 3DES Transport Key

It is a pain to find the iclass_decryptionkey.bin file online to modify the Wiegand data for HID iCLASS cards. I found it online in only one place, so here it is in case it disappears. This is required for hf iclass encode, hf iclass encrypt, etc.

$ xxd iclass_decryptionkey.bin
00000000: b421 2cca b7ed 210f 7b93 d459 39c7 dd36  .!,...!.{..Y9..6

$ xxd -p iclass_decryptionkey.bin
b4212ccab7ed210f7b93d45939c7dd36

[usb] pm3 --> hf iclass encrypt -d 0102030405060708 -k b4212ccab7ed210f7b93d45939c7dd36
@bozzin
bozzin / index.html
Created May 20, 2020 23:07
PIXI experiment (based off persona.co)
<div id="root"></div>
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active May 29, 2025 09:38
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@asukakenji
asukakenji / 0-go-os-arch.md
Last active June 5, 2025 03:56
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@ljjjustin
ljjjustin / socat-tcp-to-unix-socket.sh
Last active April 1, 2025 15:17
socat-unix-socket-to-tcp.sh
#!/bin/bash
if [ $# -ne 3 ]; then
echo "usage: $0 <unix socket file> <host> <listen port>"
exit
fi
SOCK=$1
HOST=$2
PORT=$3
@harshavardhana
harshavardhana / bucket-policies-primer.md
Last active October 16, 2024 11:53
Explanation of bucket polices by example

Bucket Policy

Bucket policy is an access policy available for you to grant anonymous permissions to your Minio resources. Bucket policy uses JSON-based access policy language.

This section presents a few examples of typical use cases for bucket policies. To test these policies, you need to replace these strings with your bucket name. For more information please read Amazon S3 access policy language

Granting Read-Only Permission to an Anonymous User

The following example policy grants the s3:GetObject permission to any public anonymous users. This permission allows anyone to read the object data under testbucket, which is useful for when you have publicly readable assets. A typical example is website assets stored in testbucket.

@jamesmacwhite
jamesmacwhite / Workarounds for Netflix and the blocking of IPv6 tunnels.md
Last active May 1, 2025 13:59
Prevent proxy/VPN streaming error messages from Netflix when using a Hurricane Electric IPv6 tunnel.

Workarounds for Netflix and the blocking of Hurricane Electric IPv6 tunnels

The dreaded "You seem to be using an unblocker or proxy." error message. Cool story bro.

This gist was essentially created out of my own rant about Netflix being hostile to IPv6 tunnel services since June 2016. You are welcome to read my opinion on the matter, this is the more technical side to the issue and how to combat it within your own network.

Since I wrote this, various GitHub users have contributed their thoughts and ideas which has been incorporated into this gist. Thank you to everyone who have contributed their own methods and implementations.

The problem

Netflix now treats IPv6 tunnel brokers (such as Hurricane Electric) as proxy servers. A while ago it became apparent to users and Netflix that somewhat by accident, IPv6 tunnel users were being served content outside of their geolocation because of the way Netflix was identifyi

@iamphilrae
iamphilrae / phpMyAdmin Export Filename Template, Including Date and Time
Last active May 21, 2025 08:34
phpMyAdmin Export Filename Template, Including Date and Time
@DATABASE@__%Y-%m-%d_%H-%M-%S
@glen-cheney
glen-cheney / encoding-video.md
Last active November 24, 2024 10:09
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@notFloran
notFloran / php-amqp.sh
Last active March 26, 2016 21:00
Install amqp extension for php - Debian 7
#!/bin/sh
apt-get install php5-dev make cmake php-pear
git clone git://github.com/alanxz/rabbitmq-c.git && cd rabbitmq-c
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
cmake --build . --target install