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 | |
dir=`pwd` | |
proName(){ | |
productName=`dmidecode | grep Product|sed 's/^[ \t]*//g'` | |
echo -e "\033[32;49;1m [服务器型号] \033[39;49;0m" | |
echo -e "$productName" | |
} |
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
alert('inject gist'); |
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
# 1 for Linux | |
# curl -L https://gist.githubusercontent.com/scplay/5e2b68133f2a0486596f25fa45fc4c18/raw/4aa4247f593c7d0987ff6a531be11b7d9dadbfd1/.bash_profile >> ~/.bashrc | |
# 1 for Win | |
# copy this file to windows git bash ~/.bashrc file | |
# 1 for Mac iterm2 | |
# curl -L https://gist.githubusercontent.com/scplay/5e2b68133f2a0486596f25fa45fc4c18/raw/4aa4247f593c7d0987ff6a531be11b7d9dadbfd1/.bash_profile >> ~/.zshrc | |
# 2 open new terminal |
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
var Jp = "413871.1941337652"; // 这个到底是什么卵?? | |
function getToken(a) { | |
var b; | |
if (null !== Jp) | |
b = Jp; | |
else { | |
b = Hp(String.fromCharCode(84)); | |
var c = Hp(String.fromCharCode(75)); | |
b = [b(), b()]; |
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
var arr = [0, 1, 2]; | |
function doSomeThing(arr) { | |
arr[0] = 10; | |
arr[1] = 10; | |
arr[2] = 10; | |
return arr; | |
}; | |