Skip to content

Instantly share code, notes, and snippets.

View eligao's full-sized avatar
🌒
Moonwalking

Eli Gao eligao

🌒
Moonwalking
View GitHub Profile
@eligao
eligao / agents.json
Created January 21, 2020 11:31
caniuse-lite/dist/unpacker/agents from caniuse-db@1.0.30001022
{
"ie": {
"usage_global": {
"6": 0.0092277,
"7": 0.0092277,
"8": 0.110732,
"9": 0.0415246,
"10": 0.0369108,
"11": 1.43029,
"5.5": 0.009298
@eligao
eligao / default.conf
Last active August 5, 2017 14:24
Let's Encrypt for Nginx
# /etc/nginx/conf.d/default.conf
# This config is generated as a reference, from
# https://mozilla.github.io/server-side-tls/ssl-config-generator/?server=nginx-1.12.1&openssl=1.1.0f&hsts=no&profile=modern
# Remember to replace <HOSTNAME> if you use this directly.
# Or generate your own config.
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@eligao
eligao / keybase.md
Created August 17, 2016 10:27
Keybase Proof

Keybase proof

I hereby claim:

  • I am eligao on github.
  • I am eligao (https://keybase.io/eligao) on keybase.
  • I have a public key ASA-EdzRRBWXyut0kFwCg6LjJZhu2sTH00N4HJIwsnyg1wo

To claim this, I am signing this object:

@eligao
eligao / query.py
Last active March 26, 2024 09:10
multithreaded recursive txt file searcher
# !/bin/python2
#author: @eligao
#licence: WTFPL http://www.wtfpl.net/
import os
import sys, getopt
from multiprocessing import Pool,freeze_support