Skip to content

Instantly share code, notes, and snippets.

ichitaso ichitaso

Block or report user

Report or block ichitaso

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
@ichitaso
ichitaso / Localization for Pasithea 2
Created Jul 10, 2019
Localization for Pasithea 2
View Localization for Pasithea 2
# English
## Pasithea.strings
"ENABLED" = "Enabled";
"DISABLE_IN_APPS" = "Disable in Applications";
"PASITHEA_KEYBOARD" = "Pasithea Keyboard";
"KEYBOARD_DETAIL" = "In order for Pasithea Keyboard to work, it must replace either the Tamil or Tibetan keyboard. By default, Pasithea replaces the Tibetan keyboard. Choose whichever keyboard that you don't need to use.";
@ichitaso
ichitaso / Localization for KillBackgroundXS
Last active Jun 7, 2019
Localization for KillBackgroundXS (I will send a gift if the person who cooperated did not purchase it.)
View Localization for KillBackgroundXS
English
"Respring is required" = "Respring is required";
"Cancel" = "Cancel";
"Respring" = "Respring";
"Settings" = "Settings";
"SETTINGS_DESC" = "Will display 2 big buttons (left+right) instead of one. (better on the iPad)";
"Auto Close Switcher" = "Auto Close Switcher";
@ichitaso
ichitaso / Localization for NotifyWiFi X
Last active Nov 11, 2019
Localization for NotifyWiFi X
View Localization for NotifyWiFi X
English
"Wifi connected this SSID" = "Connected to this WiFi SSID.";
"Connected Black SSID" = "Turned off Wifi";
"Wi-Fi 0N" = "Wi-Fi 0N";
"Wi-Fi Settings" = "Wi-Fi Settings";
"NotifyWiFi Settings" = "NotifyWiFi Settings";
"Close" = "Close";
"Not connected to WiFi" = "Not connected to WiFi";
"Succeeded!" = "Succeeded!";
@ichitaso
ichitaso / Makefile
Created Mar 31, 2019 — forked from jakeajames/Makefile
reverse kCFCoreFoundationVersion checks. Uses code from xerub. Code will suck in some places. I warned you.
View Makefile
include $(THEOS)/makefiles/common.mk
export ARCHS = arm64
TOOL_NAME = patch_cfversion_checks
patch_cfversion_checks_FILES = $(wildcard *.c) $(wildcard *.m)
CFLAGS += -Wno-macro-redefined
include $(THEOS_MAKE_PATH)/tool.mk
View apticket.md

How to save apticket.der

Should work on UNIX like boxes, not sure about Windows

  1. SSH to your device
  2. Export jb dir to the PATH : export PATH=$PATH:/jb/usr/bin:/jb/bin:/jb/sbin:/jb/usr/sbin:/jb/usr/local/bin:
  3. Locate apticket.der just to be sure it's here: ls /System/Library/Caches/.
    Here is the output you should have :
View sshtool.c
/*
* sshtool
*
* Copyright (c) 2015 xerub
* Copyright (c) 1998 Pavel Machek
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
@ichitaso
ichitaso / pasteboardd-Symbols.h
Created Jan 4, 2015
iOS-7.1.1-pasteboardd-Symbols.h
View pasteboardd-Symbols.h
radr://5614542
__mh_execute_header
_CFArrayAppendValue
_CFArrayApplyFunction
_CFArrayContainsValue
_CFArrayCreate
_CFArrayCreateMutable
_CFArrayGetCount
_CFArrayGetValueAtIndex
_CFArrayRemoveAllValues
View CFPreferencesAppSynchronize with ARC and non ARC.xm
static BOOL tweakEnBOOL;
#define SETTINGSFILENEW "com.imokhles.Prefs"
#define PREFERENCES_CHANGED_NOTIFICATION "com.imokhles.Prefs.preferences-changed"
// non ARC
static void iMoLoadPreferences() {
CFPreferencesAppSynchronize(CFSTR(SETTINGSFILENEW));
tweakEnBOOL = !CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW)) ? YES : [(id)CFBridgingRelease(CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW))) boolValue];
}
@ichitaso
ichitaso / xcode5_fix_armv6.sh
Last active Aug 29, 2015
How to compile for ARMv6 and ARM64
View xcode5_fix_armv6.sh
#!/bin/bash
cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.0/lib/darwin/
mv libclang_rt.ios.a libclang_rt.ios-7.0.a
lipo -thin armv6 -output libclang_rt.ios-5.1.a /Applications/Xcode_4.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/4.0/lib/darwin/libclang_rt.ios.a
lipo -create -output libclang_rt.ios.a libclang_rt.ios-5.1.a libclang_rt.ios-7.0.a
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/
mv dylib1.o dylib1-7.0.o
lipo -thin armv6 -output dylib1-5.1.o /Applications/Xcode_4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/dylib1.o
lipo -create -output dylib1.o dylib1-5.1.o dylib1-7.0.o
View ssid-finder.m
#import <SystemConfiguration/CaptiveNetwork.h>
NSString *currentSSID = @"";
CFArrayRef myArray = CNCopySupportedInterfaces();
if (myArray != nil){
NSDictionary* myDict = (NSDictionary *) CNCopyCurrentNetworkInfo(CFArrayGetValueAtIndex(myArray, 0));
if (myDict!=nil){
currentSSID=[myDict valueForKey:@"SSID"];
} else {
currentSSID=@"<<NONE>>";
You can’t perform that action at this time.