Skip to content

Instantly share code, notes, and snippets.

View hirakujira's full-sized avatar
🐧

Hiraku hirakujira

🐧
View GitHub Profile
@hirakujira
hirakujira / config.json
Last active January 9, 2023 19:56
v2ray + MTProto
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 9487,
"protocol": "vmess",
"settings": {
rm -rf /Applications/Thunder.app/Contents/PlugIns/webgame.xlplugin #遊戲
rm -rf /Applications/Thunder.app/Contents/PlugIns/livestream.xlplugin #美女直播
rm -rf /Applications/Thunder.app/Contents/PlugIns/featuredpage.xlplugin #精選頁面
rm -rf /Applications/Thunder.app/Contents/PlugIns/xlbrowser.xlplugin #迅雷瀏覽器(會導致在迅雷內無法開啟網頁)
rm -rf /Applications/Thunder.app/Contents/PlugIns/xlplayer.xlplugin #迅雷播放器
rm -rf /Applications/Thunder.app/Contents/PlugIns/softmanager.xlplugin #應用卸載
rm -rf /Applications/Thunder.app/Contents/PlugIns/activitycenter.xlplugin #活動中心
rm -rf /Applications/Thunder.app/Contents/PlugIns/myvip.xlplugin #會員中心
rm -rf /Applications/Thunder.app/Contents/PlugIns/advertising.xlplugin #廣告
@hirakujira
hirakujira / AltServerPatch.py
Last active June 19, 2022 17:02
Replace IPA url of AltStore to jailbreak IPAs
#! /usr/local/bin/python3
import os, shutil, time
import binascii
os.system("killall AltServer")
print ('Please choose jailbreak you want to install')
print ('1. Unc0ver\n2. Chimera\n3. Pangu\n4. Phoenix\n5. Home Depot\n6. h3lix\n')
jailbreak = input("")
@hirakujira
hirakujira / .p10k.zsh
Last active December 11, 2021 17:06
Hiraku's .p10k.zsh
# Generated by Powerlevel10k configuration wizard on 2021-10-12 at 10:29 CST.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 19497.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# 24h time, angled separators, sharp heads, flat tails, 1 line, compact, many icons,
# concise, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
#
@hirakujira
hirakujira / NOOTA_Asssitant.mobileconfig
Created February 7, 2020 06:25
OTA Block Assistant
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ConsentText</key>
<dict>
<key>default</key>
<string>Disable OTA Update</string>
</dict>
<key>PayloadContent</key>
@hirakujira
hirakujira / run.py
Last active July 19, 2018 06:19
grab SHSH2 automatically
#!/usr/local/bin/python3
import os
import subprocess
import sys
apnonces = ['0dc448240696866b0cc1b2ac3eca4ce22af11cb3',\
'352dfad1713834f4f94c5ff3c3e5e99477347b95',\
'42c88f5a7b75bc944c288a7215391dc9c73b6e9f',\
'603be133ff0bdfa0f83f21e74191cf6770ea43bb',\
/* BIG EMOJIS */
._2jry ._9-_._3j7l {
background-image: url(http://pic.hiraku.tw/css/facebook/emoji/big_1.png) !important;
background-repeat: no-repeat !important;
background-size: auto !important;
background-position: 0 0 !important;
}
._2jry ._9-_._3j7m {
background-image: url(http://pic.hiraku.tw/css/facebook/emoji/big_2.png) !important;
@hirakujira
hirakujira / karabiner.json
Created September 21, 2016 05:20
Karabiner-Elements for 3rd-party Keyboards
{
"profiles": [
{
"name": "Default profile",
"selected": true,
"simple_modifications": {
"left_command" : "left_option",
"left_option" : "left_command",
"right_command" : "right_option",
"right_option" : "right_command"
#/bin/bash
WIDTH=1920
HEIGHT=1080
HIRES=0
read -e -p "Please set width px of screen resolution : " WIDTH
read -e -p "Please set height px of screen resolution : " HEIGHT
read -e -p "Do you want to use HiDPI (@2x) ? (y/n) " HIRES
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>APPLE</vendorname>
<vendorid>0x05ac</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>APPLE_G5_KEYBOARD</productname>
<productid>0x020b</productid>