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
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "time" | |
| ) | |
| var urls = []string{ | |
| "http://pulsoconf.co/", |
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
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "github.com/Jeffail/tunny" | |
| "github.com/valyala/fasthttp" | |
| "hash/fnv" | |
| "io/ioutil" | |
| "os" |
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
| package main | |
| import ( | |
| "bufio" | |
| "container/list" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "os/exec" |
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
| import os | |
| import sys | |
| import difflib | |
| def is_func_def(line=''): | |
| return 'func ' in line | |
| def func_param(line): |
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
| package main | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "log" | |
| "mime/multipart" | |
| "net/http" |
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
| #!/bin/bash | |
| BASE=/tmp/opt/base | |
| # export CXXFLAGS="-Wl,--rpath=/tmp/opt/glibc/lib:/tmp/opt/gcc6.4.0/lib64:/lib64:/usr/lib64:/lib -Wl,--dynamic-linker=/tmp/opt/glibc/lib/ld-2.18.so" | |
| # ../gcc-6.4.0/configure --prefix=/tmp/opt/gcc6.4.0 --enable-languages=c,c++ --disable-multilib --enable-shared --disable-bootstrap --disable-libstdcxx-pch | |
| GHOME=/tmp/opt/gcc6.4.0 | |
| PYHOME=/tmp/opt/py2.7 | |
| VIMHOME=/tmp/opt/vim | |
| # ../glibc-2.18/configure --prefix=/tmp/opt/glibc | |
| GLIBC=/tmp/opt/glibc |
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
| #!/bin/bash | |
| BASE=/tmp/opt/base | |
| # export CXXFLAGS="-Wl,--rpath=/tmp/opt/glibc/lib:/tmp/opt/gcc6.4.0/lib64:/lib64:/usr/lib64:/lib -Wl,--dynamic-linker=/tmp/opt/glibc/lib/ld-2.18.so" | |
| # ../gcc-6.4.0/configure --prefix=/tmp/opt/gcc6.4.0 --enable-languages=c,c++ --disable-multilib --enable-shared --disable-bootstrap --disable-libstdcxx-pch | |
| GHOME=/tmp/opt/gcc6.4.0 | |
| PYHOME=/tmp/opt/py2.7 | |
| VIMHOME=/tmp/opt/vim | |
| # ../glibc-2.18/configure --prefix=/tmp/opt/glibc | |
| GLIBC=/tmp/opt/glibc |
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
| #!/bin/bash | |
| BUILD_DIR=`pwd`/build | |
| CUSTOM_DIR=/tmp/opt/ | |
| CMAKE_DIR=$CUSTOM_DIR/cmake | |
| CLANG_DIR=$CUSTOM_DIR/clang | |
| YCM_DIR=$CUSTOM_DIR/dconf/bundle/vundle/YouCompleteMe | |
| LIBCLANG=$CLANG_DIR/lib/libclang.so |
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
| set encoding=utf-8 | |
| set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1 | |
| filetype plugin indent on | |
| syntax on | |
| set foldmethod=indent | |
| let mapleader=";" | |
| "------- | |
| " YouCompleteMe |
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
| # -*- coding:utf-8 -*- | |
| import json | |
| import requests | |
| headers = { | |
| 'Connection': 'keep-alive', | |
| 'Referer': 'https://danjuanapp.com/funding/003853?channel=1300100141', | |
| 'Accept': 'application/json, text/plain, */*', | |
| 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36', |
OlderNewer