#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org
| // RUN WITH GOOGLE CHROME | |
| // 1. OPEN INSTAGRAM | |
| // 2. CLICK ON "FOLLOWERS" OR "FOLLOWING" ON A DESIRED USER'S PROFILE | |
| // 3. OPEN DEVELOPER TOOLS BY RIGHT CLICKING ON PAGE AND CLICKING "INSPECT" | |
| // 4. COPY FOLLOWING CODE AND PASTE IN DEVELOPER TOOLS CONSOLE AND RUN | |
| // 5. SCRIPT WILL NOT RUN IF TAB IS NAVIGATED AWAY FROM, MINIMIZED OR UNFOCUSED | |
| // IT IS RECOMMENDED TO OPEN A NEW CHROME WINDOW OR PUSH TAB TO THE SIDE AND LET SCRIPT RUN IN BACKGROUND | |
| // SCRIPT WILL CLICK ON "FOLLOW" BUTTON AND THEN SCROLL THE NEXT "FOLLOW" BUTTON INTO VIEW |
| var index = 0; | |
| var buttons = null; | |
| var scrollCount = 0; | |
| var followedCount = 0; | |
| function clickAndWait() { | |
| if (buttons === null) { | |
| buttons = document.querySelectorAll('li button'); | |
| } |
| javascript: (function () { | |
| let rsshub_host = 'https://rsshub.app'; | |
| let cnblog = 'https://www.cnblogs.com/'; | |
| let csdn = 'https://blog.csdn.net/'; | |
| let jianshu_user = '/jianshu/user/'; | |
| let zhihu_user = '/zhihu/people/activities/'; | |
| let zhihu_collection = '/zhihu/collection/'; | |
| let zhihu_zhuanlan = '/zhihu/zhuanlan/'; | |
| let bilibili_user = '/bilibili/user/video/'; |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/base64" | |
| "errors" | |
| "io" | |
| "log" |
| China stock api | |
| 1.163_API(0-sh,1-sz):http://api.money.126.net/data/feed/1002151,0600036,hkHSI,hkHSCEI,hk00005 | |
| 2.QQ_API(sh,sz,s_simple data):http://qt.gtimg.cn/r=0.8409869808238q=s_sz000559,s_sz002434,s_sz002472,s_sz002488,hk00700 | |
| 3.sina_API(sh,sz,s_simple data):http://hq.sinajs.cn/list=sh600000,sh600004,hk00700,sz002594 | |
| # 4.xueqiu_API:http://xueqiu.com/v4/stock/quote.json?code=02318,01211,SH000001,DJI30,HKHSI | |
| 163 | |
| 日内实时盘口(JSON): | |
| http://api.money.126.net/data/feed/1000002,1000001,1000881,0601398,money.api |
| # Centos 7.3 comes with 1.8.3 | |
| # so update git from centos repo | |
| yum update git | |
| # it shows nothing to update | |
| # we download git source and build and install latest git on Centos 7.3 |
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |
#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org
| git init # 初始化本地git仓库(创建新仓库) | |
| git config --global user.name "xxx" # 配置用户名 | |
| git config --global user.email "xxx@xxx.com" # 配置邮件 | |
| git config --global color.ui true # git status等命令自动着色 | |
| git config --global color.status auto | |
| git config --global color.diff auto | |
| git config --global color.branch auto | |
| git config --global color.interactive auto | |
| git config --global --unset http.proxy # remove proxy configuration on git | |
| git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |
| package main | |
| import "log" | |
| type EventLogger interface { | |
| Log() int | |
| } | |
| type EventA struct { | |
| Id int |