sudo apt install hibernate
-
登陆自己的QQ空间 https://qzone.qq.com/
-
进入个人档,点击
修改
基本资料 -
在昵称处填入一个到多个Unicode空格
-
点击最下方的
保存
按钮,此时会弹框提示很抱歉,昵称不能全为空,请重新输入
- 按Chrome
F12
或者Ctrl+Shift+I
快捷键打开开发者工具
窗口
- 按Chrome
- 进入
Network
标签页,先点击Clear清理一下之前的请求记录
This file contains 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
#!/bin/bash | |
#AC娘表情包 01-54 | |
#http://cdn.aixifan.com/dotnet/20130418/umeditor/dialogs/emotion/images/ac/01.gif?v=0.1 | |
#匿名版表情包 01-40 | |
#http://cdn.aixifan.com/dotnet/20130418/umeditor/dialogs/emotion/images/ais/01.gif?v=0.1 | |
#AC新娘表情包 01-55 | |
#http://cdn.aixifan.com/dotnet/20130418/umeditor/dialogs/emotion/images/ac2/01.gif?v=0.1 |
This file contains 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
package dump | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"runtime" | |
"syscall" | |
) |
This file contains 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
#!/usr/bin/env bash | |
cd `dirname $0` | |
if [ "githook.sh" = "`basename $0`" ]; then | |
gitroot=$(git rev-parse --show-toplevel) | |
cp -f ${gitroot}/scripts/githook.sh ${gitroot}/.git/hooks/pre-commit | |
chmod u+x ${gitroot}/.git/hooks/pre-commit | |
exit 0 | |
elif [ "pre-commit" = "`basename $0`" ]; then | |
cd ../.. |
This file contains 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
#!/bin/bash | |
if [ -n "${1}" ]; then | |
WD=${1} | |
else | |
WD=$(cd `dirname $0`/..;pwd) | |
fi | |
# find all text file extensions which not in the dir: .idea/.git/vendor/thirdparty/sdk/swagger | |
exts=$(find ${WD} -type f -not -path "*.idea*" -not -path "*.git*" -not -path "*/sdk/*" -not -path "*rd*arty*" -not -path "*vendor*" -not -path "*swagger*" -exec grep -Iq . {} \; -and -print 2> /dev/null | awk -F '.' '{if ($NF!~/\//){print $NF}}' | sort | uniq) |
This file contains 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
#!/usr/bin/env bash | |
# Thread state | |
# pidstat -dhut -p <PID> | |
# top -bcH -n 1 -p <PID> | |
# pstree -ps <PID> | |
pname=${1} | |
if [ -z "${pname}" ] || [[ "${pname}" =~ [-](h|H|[-]?help) ]]; then | |
echo -e "Error: need input a process name or pid\n" |
This file contains 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
package main | |
import ( | |
"math/rand" | |
"time" | |
"fmt" | |
) | |
const ( | |
lowercaseLetter = `abcdefghijklmnopqrstuvwxyz` |
NewerOlder