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
typedef const char* pFunc(const char*); | |
typedef const char* (*pFunc2)(const char*); | |
const char* func1(const char * p) | |
{ | |
cout << p << endl; | |
return p; | |
} |
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
[Adblock Plus 2.0] | |
! Version: 201703231740 | |
! The contents of this filter list are fetched from the EasyList repository: https://github.com/easylist/easylist | |
! Title: WTFList | |
! Homepage: https://easylist.to/ | |
! | |
!-----------------------General advert blocking filters-----------------------! | |
www.solidot.org##DIV[id="headads"] | |
dynamic.cloud.vip.xunlei.com##DIV[id="pop__div__id"] | |
www.elle.com##DIV[id="campaign_133363_container_overlay"][class="bcx_container bcx_fade bcx_overlay"] |
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
// ==UserScript== | |
// @name BtBook Utilities | |
// @namespace http://github.com/zikisoy | |
// @version 0.1 | |
// @description Add magnet link to BtBook! | |
// @author hmmm | |
// @match http://www.btbook.net/search/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @grant GM_xmlhttpRequest | |
// @grant GM_openInTab |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/*==================================================*\ | |
| Author: ziki | |
| Created Time: | |
| File Name: | |
| Description: | |
\*==================================================*/ | |
#include <vector> | |
#include <list> | |
#include <map> | |
#include <set> |
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
set sw=4 ts=4 nobk ai cin nu | |
set mp=g++\ -g\ -DLOCAL\ -O2\ -o\ %<\ % | |
map <F5> :w<CR> :make<CR> | |
map <F6> :!gnome-terminal -x ./%<<CR> | |
map <F7> :!gnome-terminal -x gdb %<<CR> | |
set gfn=Courier_New:h14 | |
set fencs=utf-8,gb2312,gbk,gb18030 |