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
import cfg | |
import socket | |
import re | |
import time | |
import array | |
import thread | |
CHAT_MSG = re.compile(r"^:\w+!\w+@\w+\.tmi\.twitch\.tv PRIVMSG #\w+ :") | |
CHAT_USR = re.compile(r"\w+") | |
INT_PARSER = re.compile(r"\b\d{7,8}\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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
enum {I,O,V,A,L}; | |
int n=44,i,c,T[M]={L,A,8,A,2, V,0,L,L,V, | |
A,30,L,A,2,V,0,L,A,5,A,7,L,V,0,O, | |
A,14,L,A,2,V,0,L,A,5,A,2, V,0,O,O,A},b,s; | |
typedef struct _{int t,r; struct _*e,*n;} C;C*e,*f,*l,*S[M]; | |
void x(int l,int u){for(;l<=u;T[n++]=T[l++]);} | |
int g(){i--||(i=b,c=getchar());return c>>i&1;} |
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
>+>+>++++<[>[-<+++++>]<<]> | |
qaqqbqqaj@bkk:if getline('.') != '0' | exe 'normal !a' | endif | |
qqb<C-x>k5<C-a>j:if getline('.') != '0' | exe 'normal @b' | endif | |
qj<C-a>j<C-a>j4<C-a>k@ak |
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. d4 d5 2. Bf4 { D00 Queen's Pawn Game: Mason Attack } f5?! { (0.08 → 0.67) Inaccuracy. Best move was Bf5. } (2... Bf5 3. e3 Nf6 4. Nf3 e6 5. Nbd2 h6 6. Bd3 Bxd3 7. cxd3 Nc6 8. O-O Bb4 9. a3) 3. Na3 e6 4. h3?! { (0.49 → -0.30) Inaccuracy. Best move was Nb5. } (4. Nb5 Na6) 4... Bxa3 5. b3?? { (-0.31 → -4.39) Blunder. Best move was bxa3. } (5. bxa3 c5 6. c3 Qa5 7. Qc1 Nf6 8. e3 Nc6 9. Nf3 Ne4 10. Nd2 O-O 11. Nb3 Qd8) 5... g5?! { (-4.39 → -3.41) Inaccuracy. Best move was Nf6. } (5... Nf6 6. Bc1 Bb4+ 7. Bd2 Bxd2+ 8. Qxd2 Ne4 9. Qc1 c5 10. dxc5 O-O 11. Nf3 Qa5+ 12. c3) 6. Bd2 Nh6?! { (-3.81 → -2.90) Inaccuracy. Best move was Bb2. } (6... Bb2 7. Rb1 Bxd4 8. e3 Bf6 9. Qh5+ Kf8 10. c4 Qe7 11. b4 a6 12. Qd1 dxc4 13. Bxc4) 7. c3 O-O? { (-2.98 → -1.06) Mistake. Best move was Bd7. } (7... Bd7 8. h4 Nf7 9. hxg5 Nxg5 10. e3 Qf6 11. b4 a5 12. bxa5 Bc6 13. Nf3 Nxf3+ 14. gxf3) 8. e3? { (-1.06 → -3.32) Mistake. Best move was b4. } (8. b4 c5 9. Nf3 Nf7 10. Qb3 Bxb4 11. cxb4 c4 12. Qb2 Nd7 13. g3 b5 14. Bg2 h6) 8... e5? { (-3.3 |
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
Config { | |
-- appearance | |
font = "xft:Bitstream Vera Sans Mono:size=9:bold:antialias=true" | |
, bgColor = "black" | |
, fgColor = "#646464" | |
, position = Top | |
, border = BottomB | |
, borderColor = "#646464" |
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
Encoder: | |
q'+0er'-1er'<2er'>3er'[4er']5er',6er'.7er-1%8b16b10'Aer11'Ber12'Ber13'Cer14'Der15'Fer | |
Decoder: | |
'[qS*+']+~16b8b-1%0'+er1'-er2'<er3'>er4'[er5']er6',er7'.er |
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
make ARCH=x86-64 COMP=gcc config-sanity | |
make[1]: Entering directory '/home/zachary/stockfish-7-linux/src' | |
Config: | |
debug: 'no' | |
optimize: 'yes' | |
arch: 'x86_64' | |
bits: '64' | |
prefetch: 'yes' | |
bsfq: 'yes' |
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. c3-d4 e5-d4-c3 | |
2. d2-c3-b4 d6-e5 | |
3. b4-c5-d6 e7-d6-c5 | |
4. e3-d4 c5-d4-e3 | |
5. f2-e3-d4 e5-f4 | |
6. g3-f4-e5 d6-e5-f4-e3-d2 | |
7. d4-c5 b6-c5-d4-e3-f2 | |
8. g1-f2-e3 e5-d4 | |
9. c3-d4-e5 f6-e5-d4 | |
10. e1-d2-c3 c5-b4 |
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
8779641854659257239061314622344546261479472073440355066832183298588909915982642808965415516726786575756760928621386742700227772821513041272287287076988915570566513760877938176732907037301276946957508111943051269976284489008402712419060603274062941909055728645119635955488371345822717131328196903423126960711979124481169843750314950721355713531489878729763165267611530358102630118010522480192148437547072589952476379511645508219822261503556823482746566174459841404112616701848265705952620770851827162777662274242627774175720628411549404077239256761415013097074684019428071775836909121911601780320271365645770041041760814988095531475670026539257959827388977265489117722526049463496734019226885959256384805739597250174257075161305339001765555803145672336131415748151128496432032393188543251342573833260598280735999551519016856835620791302213158144910102810139434716531389990881705708956479068397689959481367595251067907199720946583758711468242278103569307611131677096124596822587851157100409603529388440884995520180834348658945 |
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
Console.WriteLine("1"); | |
Console.WriteLine("2"); | |
Console.WriteLine("Fizz"); | |
Console.WriteLine("4"); | |
Console.WriteLine("Buzz"); | |
Console.WriteLine("Fizz"); | |
Console.WriteLine("7"); | |
Console.WriteLine("8"); | |
Console.WriteLine("Fizz"); | |
Console.WriteLine("Buzz"); |
OlderNewer