Skip to content

Instantly share code, notes, and snippets.

View okanon's full-sized avatar
🍇
JELLY LAY

okanon okanon

🍇
JELLY LAY
View GitHub Profile
@okanon
okanon / Addons.png
Last active February 26, 2020 14:11
Cydia icons
Addons.png
@okanon
okanon / libimobiledevice.md
Last active January 29, 2020 04:12
libimobiledevice tools on Linux

libimobiledevice tools on Linux

How to Build & Installation

cmake, libusb-1.0.0-dev, libfuse-dev, libbz2-dev, libssl-dev, libcurl4-openssl-dev, libxml2-dev and liblzma-dev is required.

Build

  1. libzip (libbz2 liblzma)
  2. libplist
  3. libimobiledevice (libssl libplist libusbmuxd)
  4. libusbmuxd (libplist)
@okanon
okanon / travis.md
Last active December 25, 2019 14:44
Travis CI, OS X Directory structure

Travis CI, OS X Directory structure

The macOS Build Environment

This guide explains what packages, tools and settings are available in the Travis macOS CI environment (often referred to as the “CI environment”).

Directories

/User/travis/build/$NAME/$REPO_NAME
 - Travis build directory(current directory)

/Applications/Xcode.app

@okanon
okanon / bsopt.sh
Created January 31, 2019 01:03
What is the optimal buffering size?
#!/bin/bash
echo "creating file to work with"
dd if=/dev/zero of=/var/tmp/bsopt count=1145140
for buff in 1M 2M 4M 8M 16M 32M 64M 128M 256M
do
echo "---------------------------------------"
echo "Testing block size = $buff"
@okanon
okanon / fstab.sh
Last active January 29, 2019 03:25
update EFI
#!/bin/sh
repl=`grep -e "vfat" -n /etc/fstab | sed -e 's/:.*//g'`
echo -n "Input EFI Partition: "
read efip
DUUID=`blkid -o export $efip | grep -m 1 UUID`
echo $DUUID
@okanon
okanon / electra.md
Last active December 24, 2018 09:07
Fixed Electra 1.0.x "Error: topanga"

Fixed Electra 1.0.x "Error: topanga"

Download & Jailbreak Electra b11-3

Electra beta11-3

How to Use

  1. Download WinSCP or SCPcleint
    winscp
  2. SFTP connection to the device
  3. Forward rm_topanga.sh to /var/root directory
@okanon
okanon / guid
Last active July 24, 2018 09:17
SemiRestore11 Using command "GUID"
#!/bin/bash
COMMAND=`basename $0`
while getopts mhv OPTION
do
case $OPTION in
m ) OPTION_m="TRUE" ;;
h ) OPTION_h="TRUE" ;;
v ) OPTION_v="TRUE" ;;
@okanon
okanon / install_arm64_ubuntu.md
Last active April 20, 2018 15:29
Install iOSToolChain & iphoneos arm64 Clang on Ubuntu

Install iOSToolChain & arm64 Clang on Ubuntu16.04-17.10

PREREQUISITES:

See cctools/ld64 README + libssl-dev, git, bash, cmake and a jailbroken iOS device

USAGE:

Please ensure you have read and understood the Xcode license terms before building this toolchain: https://www.apple.com/legal/sla/docs/xcode.pdf.

@okanon
okanon / viewsource.js
Last active April 20, 2018 15:18
Safari view html source
javascript:d=document;
c=d.charset%7C%7C0;
i=0;
o=d.documentElement;
d.write(%22%3Cpre%3E%22+(o.outerHTML%7C%7Co.innerHTML).replace(/&/g,%22&%22).replace(/%3C/g,%
22<%22).replace(/%3E/g,%22>%22)+%22%3C/pre%3E%22);
c?d.charset=c:0;
void(document.close());
@okanon
okanon / install_x8664_gui_archlinux.md
Last active October 24, 2017 09:48
Install x86_64 ArchLinux GUI

Install GUI x86-64 ArchLinux And Japanese Settings

GUI-Installation

This Gist assumes that the installation of ArchLinux(CUI) is over. If installation is not finished please look at here and finish the installation.

  • Setup sudo

    First of all, install "sudo" so that you can operate with administrator privileges.
    pacman -S --noconfirm sudo