I know these links work on Windows, have not tested this on any other operating systems.
Home:
/:discord://-/- friends:
discord://-/channels/@me/ - nitro:
discord://-/store - shop:
discord://-/shop
| #include <Preferences/PSListController.h> | |
| @interface PSListController (JSON) | |
| - (NSMutableArray *)loadSpecifiersFromJSONName:(NSString *)name target:(PSListController *)target; | |
| - (NSMutableArray *)loadSpecifiersFromJSONName:(NSString *)name target:(PSListController *)target bundle:(NSBundle *)bundle; | |
| @end |
This article aims to describe how to hook Swift functions.
Thanks to help from @NightwindDev for discussion and testing.
Overall, the idea is simple:
Write our own Swift code that will have the same calling convention as the target code,
then get a pointer to our own code and the target code, and call MSHookFunction with
these values.
git@github.com:name/repo.git
git remote add contributor https://github.com/name/repo.gitgit fetch contributorgit checkout -b update contributor/mastergit push contributor update:masternetsh interface portproxy add v4tov4 listenport=4000 listenaddress=0.0.0.0 connectport=4000 connectaddress=$(wsl.exe hostname -I)Purpose: forwards all incoming network traffic (0.0.0.0) on port 4000 to $(wsl.exe hostname -I) at the same port
netsh interface portproxy show all| /* MIT License */ | |
| #import <Foundation/Foundation.h> | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> | |
| #import <os/log.h> | |
| /* this is a way to detect volume button press on jailed iOS device */ | |
| /* if you cannot use private frameworks, you could probably look into MPVolumeView*/ | |
| /* but i never tried it myself. you may also look into AVAudioSession's outputVolume*/ |
A simple tool allowing you to broadcast TTS (text to speech) on your local FM radio. Requires a raspberry pi.
(Uses douxxtech/piwave
Run these commands to setup your environment and install the nessesarry modules:
curl -sL https://setup.piwave.xyz/ | sudo bash
python3 -m venv ~/piwave-env| I faced this issue with the following environment: | |
| iPhoneX iOS 16.5.1, palera1n rootless jb, ellekit 1.0 |
| - (void)sendPOSTRequestWithURL:(NSURL *)url parameters:(NSDictionary *)parameters completionHandler:(void (^)(NSData *, NSURLResponse *, NSError *))completionHandler { | |
| // Create a mutable URL request | |
| NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; | |
| // Set the request method to POST | |
| [request setHTTPMethod:@"POST"]; | |
| // Set the request body with the parameters | |
| NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil]; | |
| [request setHTTPBody:postData]; |