Skip to content

Instantly share code, notes, and snippets.

@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

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 / tenkaichi-git.md
Created November 21, 2012 01:36 — forked from teppeis/tenkaichi-git.md
天下一gitconfig大会

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
  • ↓これをBookmarkに登録してこのページで実行してみよー!
@ichitaso
ichitaso / install_theos.sh
Last active August 6, 2016 00:15 — forked from r-plus/install_theos.sh
Theos install script
#!/bin/bash
export THEOS=/opt/theos
if ! [ -d $THEOS ]; then
mkdir -p $THEOS
fi
# clone theos.git
cd /opt
git clone git://github.com/DHowett/theos.git
#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>>";
#import <UIKit/UIKit.h>
static BOOL isActivatingFromLongPress;
%hook BrowserToolbar
- (void)_installGestureRecognizers
{
%orig;
id bookmarkButton = MSHookIvar<id>(self, "_bookmarksItem");
UILongPressGestureRecognizer *longGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressBookmarkButton:)];
@ichitaso
ichitaso / makelink_goo.gl.js
Created January 8, 2013 04:12
Make Linkで goo.gl を使えるようにするパッチ
@ichitaso
ichitaso / install_theos.sh
Created September 25, 2012 10:11 — forked from tom-go/install_theos.sh
Theos install script
#!/bin/bash
export THEOS=/opt/theos
# clone theos.git
cd /opt
git clone git://github.com/DHowett/theos.git
# clone iphoneheaders.git
cd $THEOS
mv include include.bak
if (location.hostname == "ichitaso.blogspot.jp") {
document.write(unescape("%3Cscript")+" src='http://widget.zenback.jp/?base_uri=http%3A//ichitaso.blogspot.jp/&nsid=92480593027154643%3A%3A103422732225494055&rand="+Math.ceil((new Date()*1)*Math.random())+"' type='text/javascript'"+unescape("%3E%3C/script%3E"));
} else {
document.write(unescape("%3Cscript")+" src='http://widget.zenback.jp/?base_uri=http%3A//ichitaso.blogspot.com/&nsid=92480593027154643%3A%3A103448199502513442&rand="+Math.ceil((new Date()*1)*Math.random())+"' type='text/javascript'"+unescape("%3E%3C/script%3E"));
}
@ichitaso
ichitaso / sshtool.c
Last active August 29, 2015 14:22 — forked from xerub/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.