Skip to content

Instantly share code, notes, and snippets.

View hezhanbang's full-sized avatar

hezhanbang hezhanbang

View GitHub Profile
@hezhanbang
hezhanbang / sync-chromium-behind-proxy.md
Created December 12, 2019 01:25 — forked from nickdiego/sync-chromium-behind-proxy.md
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.
@hezhanbang
hezhanbang / ca.md
Created August 5, 2019 08:34 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.