Skip to content

Instantly share code, notes, and snippets.

Avatar

Richard nyuszika7h

View GitHub Profile
@coolstar
coolstar / libblackjack.h
Last active Feb 21, 2021
libhooker/libblackjack headers
View libblackjack.h
//
// libblackjack.h
// libblackjack
//
// Created by CoolStar on 2/24/20.
// Copyright © 2020 CoolStar. All rights reserved.
//
#include "libhooker.h"
View OnBoardingKit.m
#pragma mark - Preferences List Controller
@interface AriseRootListController : HBRootListController
-(void)arisePresentWhatsNew;
@end
#pragma mark - OnBoardingKit
@interface OBButtonTray : UIView
-(void)addButton:(id)arg1;
@end
@jakeajames
jakeajames / patch.sh
Last active Mar 5, 2021
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
View patch.sh
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f $1 ]; then
echo "'$1' does not exist"
exit 1
fi
View tweet_from_fridge.py
#!/usr/bin/env python
import sys, os, time
import tweepy
keys = dict(
consumer_key='_YOUR_CONSUMER_KEY',
consumer_secret='_YOUR_SECRET_KEY',
access_token='_YOUR_ACCESS_TOKEN',
access_token_secret='_YOUR_ACCESS_TOKEN_SECRET'
)
View build_futurerestore.sh
#!/bin/bash
# Script to build futurerestore for GNU/Linux
# tested on Debian 9 and Ubuntu 18.04.
# Install libimobiledevice before running this script
# (https://gist.github.com/matteyeux/d7d8041a41ee8d664aaf5c3b99556ada)
# install liblzfse
git clone https://github.com/lzfse/lzfse.git
make -C lzfse && sudo make -C lzfse install
@sfan5
sfan5 / rtorrent-git.sh
Last active Sep 12, 2020
Compiles rtorrent & libtorrent from git statically linked together
View rtorrent-git.sh
#!/bin/bash -e
LIBTORRENT_BRANCH=master
LIBTORRENT_CONFIG="--disable-debug"
RTORRENT_BRANCH=master
RTORRENT_CONFIG="--disable-debug --enable-ipv6"
# Dependencies on Debian/Ubuntu:
#sudo apt install \
# g++ make autoconf libtool pkg-config \
# zlib1g-dev libssl-dev libcurl4-openssl-dev \
@frk1
frk1 / ipv4.txt
Last active Jan 5, 2021
Get Netflix IP ranges
View ipv4.txt
# 2017-10-01T14:14:44+00:00
108.175.32.0/20
108.175.34.0/24
108.175.35.0/24
192.173.64.0/18
198.38.100.0/24
198.38.101.0/24
198.38.108.0/24
198.38.109.0/24
@adisbladis
adisbladis / elemental_ircd_decloaker.c
Created Aug 10, 2017
An elemental ircd decloaker
View elemental_ircd_decloaker.c
/*
Made by Adam Hose <adis@blad.is>
Licensed under the GNU General Public License v2.0
Most code is straight up copied from elemental ircd
*/
#include <stdio.h>
#include <stdlib.h>
@sfan5
sfan5 / ttml2ass.py
Last active Oct 15, 2020
Converts TTML (XML) subtitles to SSA/ASS format
View ttml2ass.py
#!/usr/bin/env python3
import sys
from xml.dom.minidom import parseString
COLORS = { # TODO more colors
"white" : "FFFFFF",
"black" : "000000",
"yellow" : "FFFF00",
"green" : "00FF00",
"cyan" : "00FFFF",
anonymous
anonymous / nullcrypt.c
Created Nov 1, 2016
Increase password security on your GNU/Linux system in one simple step
View nullcrypt.c
#define _GNU_SOURCE
#include <unistd.h>
#include <crypt.h>
#include <string.h>
#include <dlfcn.h>
// compile:
// $ gcc nullcrypt.c -shared -fPIC -ldl -o nullcrypt.so
// install:
// # cp nullcrypt.so /lib