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
macro_rules! iflet { | |
([$p:pat = $e:expr] $($rest:tt)*) => { | |
if let $p = $e { | |
iflet!($($rest)*); | |
} | |
}; | |
($b:block) => { | |
$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
mids = [19,18,20,19,20,21,22,22,22,23,22,21] | |
sign = ((month + ( day > mids[month-1] ? 1 : 0 )) - 3 ) % 12 |
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
==66901== Memcheck, a memory error detector | |
==66901== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. | |
==66901== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info | |
==66901== Command: ./build/tests/mem03 | |
==66901== Parent PID: 62910 | |
==66901== | |
UNKNOWN __pthread_sigmask is unsupported. This warning will not be repeated. | |
UNKNOWN task message [id 3405, to mach_task_self(), reply 0x80f] | |
==66901== Invalid write of size 1 | |
==66901== at 0xD3E1E4: vsprintf_l (in /usr/lib/system/libsystem_c.dylib) |
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
da_words = ["大笔","大尉","大威","大智","大指","大资","大典","大祖","大梁","大樽","大吝","大昭","大临","大春","大祝","大吏","大诛","大龄","大篆","大走","大伦","大折","大戮","大恋","大虑","大练","大治","大致","大呆","大敛","大罗","大殓","大着","大陵","大旨","大族","大筑","大电","大德","大大","大醇","大堤","崇大","大底","大貂","大戴","大从","大葱","大旅","大字","大镇","大重","大傅","大令","大汾","大夫","大冯","大方","大藩","大凤","碜大","昌大","大粪","大父","创大","城大","大盗","大概","大道","大氐","大刀","大点","大抵","做大","自大","阿大","中大","炸大","正大","优大","遗大","显大","小大","迂大","殷大","眼大","雄大","性大","天大","硕大","尾大","五大","脱大","猥大","托大","盛大","松大","事大","散大","部大","不大","大运","大帐","大涂","大本","大搜","大腿","大总","大路","大隧","大顺","大家","大天","大仗","大宿","大同","大鉴","大弁","大量","醋大","大说","大畹","大司","大树","大通","大姜","大奔","大岁","大便","大厅","大吕","大杖","大棘","大寂","大灶","大头","大受","大客","大烟","大片","大小","大美","大谷","大田","大微","大贝","大堂","大渐","大舜","大肆","大巢","大椒","大戛","大乘","大案","大射","大发","大过","大篇","大诰","大教","大义","大坚","大护","大钧","大桁","大劫","大权","大邑","大保","大鼓","大辟","大臣","大斋","大长","大潮","大户","大亲","大舍","大悟","大牌","大巫","大驾","大员","大月","大彭","大餐","大割","大荤","大决","大晨","大统","大泽","大奸","大隗","大圜","大肠","大噱","大衍","大汉","大盟","大年","大 |
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
_oo8oo_ | |
o8888888o | |
88" . "88 | |
(| -_- |) | |
0\ = /0 | |
___/'==='\___ | |
.' \\| |// '. | |
/ \\||| : |||// \ | |
/ _||||| -:- |||||_ \ |
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
#= require jquery/jquery | |
#= require biginteger/biginteger | |
#= require_self | |
jQuery -> | |
# configure | |
design = | |
width: 10 |
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
1581100061222982985323423490070828923516577944102224068860019029082185870589356891397322321123758031425307734767019692526560932571289218857352538682941733848912041613356576227306307759525330053715551484413813828057599699979421450658040507938510054468615593894854354152932821560713490325111406542310965837985866471416637760301170860883488834761581398948911340355522040833136447732941139455899813410317575419404672270213988610757210201918761675784221638440265415980320390072108083586199339728698592897526086469792511594881004031403093541249800240405429753779113108986032919318431019115776359943123158833124771225679971613156915011722767274329390617552681712509036129572280959595636039016478160699921408530134727263926474435946485097725139767110509193431649823516126584592260150628374551374140260893374737140151689578290570463877319844025777916408452464699214380593155072623856111304556013202377344754474591301961107649648171252244916709614372086136153585166445372920205118800232696184788668127834334191621958615542194043236178 |
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
# spec/support/capybara.rb | |
require 'capybara/poltergeist' | |
Capybara.javascript_driver = :poltergeist | |
Capybara.default_wait_time = 5 | |
Capybara.server_port = 3001 | |
Capybara.app_host = "http://localhost:3001" |
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
#include <stdio.h> | |
int main() | |
{ | |
unsigned long int i, temp, base; | |
unsigned char j, k; | |
unsigned char count[10]; | |
for( i = 1e9; i < 1e10; i++ ) | |
{ |
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
<?php | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, 'http://s.weibo.com/weibo/test'); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); | |
$html = curl_exec($ch); | |
echo $html; |
NewerOlder