Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧

Hiraku hirakujira

🐧
View GitHub Profile
@hirakujira
hirakujira / config.json
Last active Apr 29, 2020
v2ray + MTProto
View config.json
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 9487,
"protocol": "vmess",
"settings": {
View NOOTA_Asssitant.mobileconfig
<?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 / .p10k.zsh
Last active Oct 16, 2021
Hiraku's .p10k.zsh
View .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.
#
View thunder_clean.sh
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 Apr 18, 2020
Replace IPA url of AltStore to jailbreak IPAs
View AltServerPatch.py
#! /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 / run.py
Last active Jul 19, 2018
grab SHSH2 automatically
View run.py
#!/usr/local/bin/python3
import os
import subprocess
import sys
apnonces = ['0dc448240696866b0cc1b2ac3eca4ce22af11cb3',\
'352dfad1713834f4f94c5ff3c3e5e99477347b95',\
'42c88f5a7b75bc944c288a7215391dc9c73b6e9f',\
'603be133ff0bdfa0f83f21e74191cf6770ea43bb',\
@hirakujira
hirakujira / karabiner.json
Created Sep 21, 2016
Karabiner-Elements for 3rd-party Keyboards
View karabiner.json
{
"profiles": [
{
"name": "Default profile",
"selected": true,
"simple_modifications": {
"left_command" : "left_option",
"left_option" : "left_command",
"right_command" : "right_option",
"right_option" : "right_command"
View Pokemon Emojis for Facebook
/* 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;
View Resolution Value Generator
#/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
View Karabiner Settings For G5 Keyboard.xml
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>APPLE</vendorname>
<vendorid>0x05ac</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>APPLE_G5_KEYBOARD</productname>
<productid>0x020b</productid>