Skip to content

Instantly share code, notes, and snippets.

@ichitaso
ichitaso / tenkaichi-git.md
Created November 21, 2012 01:36 — forked from teppeis/tenkaichi-git.md
天下一gitconfig大会

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
  • ↓これをBookmarkに登録してこのページで実行してみよー!

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 :
@ichitaso
ichitaso / Makefile
Created March 31, 2019 19:27 — forked from jakeajames/Makefile
reverse kCFCoreFoundationVersion checks. Uses code from xerub. Code will suck in some places. I warned you.
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
@ichitaso
ichitaso / Twitter Support
Created November 27, 2019 16:59
DMCA Takedown Notice
Hello,
Thanks for bringing this to our attention. In order to further evaluate your claim, we need to confirm that you are an authorized representative of the company or organization.
Option 1: Refile your report (https://support.twitter.com/forms/dmca) using an email address associated with the company’s or organization’s email domain (e.g. john@brandname.com). This will create a new case and we can continue to evaluate your claim via that email address.
Option 2: Click on the link below and upload documentary evidence of your authority to act on behalf of the company or organization. This should include a signed statement or letter of authorization from the company / organization, a copy of your business card, and a valid government-issued photo ID (e.g., driver’s license or passport). Your information will be kept confidential and your documentation will be deleted after we review it.
Option 2 upload link: https://help.twitter.com/en/upload?verifier=xxxxx
@ichitaso
ichitaso / Localization for Pasithea 2
Created July 10, 2019 12:57
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.";
struct SBIconImageInfo {
struct CGSize size;
double scale;
double continuousCornerRadius;
};
- (UIImage *)iconImageForIdentifier:(NSString *)identifier {
SBIconController *iconController = [NSClassFromString(@"SBIconController") sharedInstance];
SBIcon *icon = [iconController.model expectedIconForDisplayIdentifier:identifier];
@ichitaso
ichitaso / Localization for KillBackgroundXS
Last active July 11, 2021 23:21
Localization for KillBackgroundXS (I will send a gift if the person who cooperated did not purchase it.)
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";
/*
Written By Pan ZhenPeng(@peterpan980927) of Alibaba Security Pandora Lab
use it on macOS: cc poc.c -o poc while True; do ./poc ; done
*/
#include <errno.h>
#include <signal.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
@ichitaso
ichitaso / main.m
Created December 19, 2021 14:49
NSArrayのarrayをNSRangeのrangeOfString:を使わないで複数フィルタリング(簡易)
#define PREF_PATH @"/private/var/mobile/Library/Preferences"
void filterPath() {
NSFileManager *fileManager = [[NSFileManager alloc] init];
NSArray *allFileName = [fileManager contentsOfDirectoryAtPath:PREF_PATH error:nil];
NSArray *filterFile = @[@".GlobalPreferences.plist",
@"TVRemoteConnectionService.plist",
@"UITextInputContextIdentifiers.plist",
@"nfcd.plist",
@ichitaso
ichitaso / Localization for NotifyWiFi X
Last active January 5, 2022 05:51
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!";