npm set registry https://registry.npm.taobao.org && \
npm set disturl https://npm.taobao.org/dist && \
npm set sass_binary_site https://npm.taobao.org/mirrors/node-sass && \
npm set fse_binary_host_mirror https://npm.taobao.org/mirrors/fsevents && \
npm set electron_mirror https://npm.taobao.org/mirrors/electron/ && \
npm set puppeteer_download_host https://storage.googleapis.com.cnpmjs.org && \
npm set chromedriver_cdnurl https://npm.taobao.org/mirrors/chromedriver && \
npm set operadriver_cdnurl https://npm.taobao.org/mirrors/operadriver && \
npm set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs && \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shahid.codes { | |
try_files {path} / | |
encode gzip | |
root * /usr/share/caddy | |
file_server | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
httpbin, whoami, qotm (quote of the moment) 服务特别适合用来作为测试
kubectl create namespace httpbin
kubectl create deploy httpbin --image=citizenstig/httpbin --port=8000 -n httpbin
kubectl expose deployment httpbin --name=httpbin -n httpbin --port=80 --target-port=8000
kubectl create ns whoami
kubectl create deploy whoami --image=containous/whoami --port=80 -n whoami --replicas=3
kubectl expose deployment whoami --name=whoami -n whoami --port=80 --target-port=80
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Puppeteerのインストール | |
// npm install puppeteer | |
// Mochaのインストール | |
// npm install mocha | |
// chaiのインストール | |
// npm install chai | |
const puppeteer = require('puppeteer'); |
调查目的:了解当前各基于TLS的协议方案中ClientHello的指纹独特性。理论背景见 https://arxiv.org/abs/1607.01639 。
指纹数据库:
(利益相关:我是这个的作者)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name JDWL(京东大家电----订单一键导出) | |
// @namespace Violentmonkey Scripts | |
// @version 0.0.4 | |
// @homepage https://github.com/dfang/userscript | |
// @homepageURL https://gist.github.com/dfang/21cb975506155e43f8eadf013636245d | |
// @description try to make partner.dhc.jd.com more user friendly! | |
// @author fang duan | |
// @include *partner.dhc.jd.com* | |
// @grant GM_notification |
Using Laravel Valet for localhost development, So it installs
dnsmasq
with it. dnsmasq runs on port53
, The default DNS port. So we setup dnscrypt-proxy on port5300
with the default config files in this gist.
brew install dnscrypt-proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm set registry https://registry.npm.taobao.org && \ | |
npm set disturl https://npm.taobao.org/dist && \ | |
npm set sass_binary_site https://npm.taobao.org/mirrors/node-sass && \ | |
npm set electron_mirror https://npm.taobao.org/mirrors/electron/ && \ | |
npm set puppeteer_download_host https://storage.googleapis.com.cnpmjs.org && \ | |
npm set chromedriver_cdnurl https://npm.taobao.org/mirrors/chromedriver && \ | |
npm set operadriver_cdnurl https://npm.taobao.org/mirrors/operadriver && \ | |
npm set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs && \ | |
npm set selenium_cdnurl https://npm.taobao.org/mirrors/selenium && \ | |
npm set node_inspector_cdnurl https://npm.taobao.org/mirrors/node-inspector && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: echoserver | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: echoserver | |
namespace: echoserver |
NewerOlder