Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block extremecoders-re

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View usb_modeswitch.c
Mode switching tool for controlling mode of 'multi-state' USB devices
Version 2.5.2, 2017/12/31
Copyright (C) 2007 - 2017 Josua Dietze (mail to "usb_admin" at the domain
of the home page; or write a personal message through the forum to "Josh".
NO SUPPORT VIA E-MAIL - please use the forum for that)
Major contributions:
extremecoders-re / hexdump.idc
Created Jun 26, 2019
IDC Script to do hexdump
View hexdump.idc
// IDC Script to do hexdump
auto i;
auto addr = get_inf_attr(INF_MIN_EA);
auto max_addr = get_inf_attr(INF_MAX_EA);
auto ofile = fopen("hexdump.txt", "w");
auto b;
for (addr=0; addr<max_addr; addr=addr+16)
extremecoders-re /
Created Apr 17, 2019 — forked from heiswayi/
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
extremecoders-re /
Last active Jan 21, 2019
Docker IPC using named pipe

Container C1

$ docker run --rm --name c1 --ipc shareable -it ubuntu:18.04 /bin/bash
# mkfifo /dev/shm/mypipe
# echo "Hello from C1" > /dev/shm/mypipe 

Container C2

$ docker run --rm --name c2 --ipc container:c1 -it ubuntu:18.04 /bin/bash
extremecoders-re /
Last active Jan 19, 2019
get_video_url fix
def get_video_url(url):
videos = []
params = []
xbmc.log(url, level=xbmc.LOGWARNING)
quality = (Addon.getSetting('qualityType')).lower()
resp = api_hotstar_request(url, auth=True)
manifest1 = resp['body']['results']['item']['playbackUrl']
addon_log('manifest1 is, '+manifest1)
extremecoders-re /
Last active Oct 20, 2019
Boost VMWare Performance by disabling vmem files.

Prevent creation of vmmem files in VmWare


VMWare creates .vmem files to back the guest RAM. On the host this causes disk thrashing especially during powering on and off the guest.


Add the following lines to the .vmx file to prevent creation of .vmem files. This will reduce disk IO and VM performance will improve especially on non-SSD disks.

extremecoders-re /
Last active Sep 26, 2019
Running OpenWRT ARM under QEMU


The steps shown below are done on a Ubuntu VM using Qemu 3.0

$ qemu-system-arm -version
QEMU emulator version 3.0.0
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

To quit Qemu at any time press Ctrl+a x, i.e. Ctrl+a and then x

extremecoders-re / Debug a program in qemu with piped
Last active Sep 26, 2019
Debug a program in qemu with piped input
View Debug a program in qemu with piped

Debug a program in qemu with piped input

Within qemu

  1. Create named pipe
pi@raspberrypi ~ $ mkfifo thepipe
  1. Start a netcat listener which outputs to the pipe (redirected STDOUT)
extremecoders-re /
Created Mar 30, 2018
Comodo manual updater (Incomplete)
echo "[+] Checking for updates..."
path_bases_cav="/c/Program Files/COMODO/COMODO Internet Security/scanners/bases.cav"
hash_check () {
# Download first 256 bytes (after header) of remote stream
You can’t perform that action at this time.