Skip to content

Instantly share code, notes, and snippets.

View shijinliang's full-sized avatar
🌴
On vacation

史金亮 shijinliang

🌴
On vacation
View GitHub Profile
@nickdiego
nickdiego / sync-chromium-behind-proxy.md
Last active July 6, 2024 08:18
Clone chromium sources behind corporate proxy + https certificate

The problem

Got the following error after trying to clone/sync chromium sources behing a corporate proxy/certificate (or something similar):

(venv) (develenv) ➜ chromium git:(master) ✗ gclient sync
Syncing projects: 100% (98/98), done.                                                        
Running hooks:  18% (14/75) binutils      
________ running '/home/nickp/sandbox/chromium/venv/bin/python src/third_party/binutils/download.py' in '/home/nickp/sandbox/chromium'
NOTICE: You have PROXY values set in your environment, but gsutil in depot_tools does not (yet) obey them.
@knwng
knwng / resolve_aes-256-gcm_compitable.sh
Created March 11, 2019 00:57
shadowsocks解决`method aes-256-gcm not supported`方法
#!/bin/sh
pip install https://github.com/shadowsocks/shadowsocks/archive/master.zip -U
sudo apt-get install -y libsodium*
@MCJack123
MCJack123 / ipsw_keys.py
Last active December 1, 2023 22:46
Extract iOS firmware keys using on-device AES engine
#!/usr/bin/env python
from sys import argv, stdout
from os import system, remove, path
from urlparse import urlparse
import re
import dfu
import ssl
import math
import json
import getopt