Skip to content

Instantly share code, notes, and snippets.

View ytlm's full-sized avatar

Tinglong Yang ytlm

View GitHub Profile
@ytlm
ytlm / curl-format.txt
Created April 23, 2018 03:32
curl format for analysis request time consuming
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_redirect: %{time_redirect}\n
time_pretransfer: %{time_pretransfer}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
@ytlm
ytlm / set
Last active January 31, 2023 22:20
关闭安卓chrome文章推荐,还原一个干净的浏览器体验
chrome://flags/#enable-ntp-popular-sites
chrome://flags/#enable-ntp-remote-suggestions
chrome://flags/#enable-ntp-asset-download-suggestions
chrome://flags/#enable-ntp-bookmark-suggestions
chrome://flags/#enable-ntp-snippet
@ytlm
ytlm / bash.md
Last active October 18, 2021 10:00
bash note

if

if [ condition1 ]; then
    expression1
elif [ condition2 ]; then
    expression2
else
    expression3
fi
@ytlm
ytlm / config
Last active July 30, 2018 06:10
expect自动ssh登陆,只需更新config然后记住ip就行了,或者批量scp,不需要记住密码。只需要更新config,面向linuxer
# ip port user password
# comments