Skip to content

Instantly share code, notes, and snippets.

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
1.e4 e5 2.Nf3 Nc6 3.Nc3 Nf6 4.Bc4 Bc5 5.Nxe5 Nxe5 6.d4 Nxc4 7.dxc5 O-O 8.Bg5 Re8 9.Qd4 Nxb2 10.O-O h6 11.Bh4 d6 12.Rab1 dxc5 13.Qxc5 b6 14.Qc6 Rb8 15.Rxb2 Bb7 16.Qc4 Qe7 17.f3 g5 18.Bg3 Nh5 19.Bxc7 Rbc8 20.Nb5 a6 21.Na7 Rxc7 22.Qd4 Qc5 23.c3 Qxc3 24.Qxc3 Rxc3 25.Rxb6 Re7 26.Rd1 Rc2 27.Rd8+ Kg7 28.a4 Ra2 29.Rd4 Nf4 30.g3 Ne2+ *
[Event "New York State Open"]
[Site "Poughkeepsie, NY USA"]
[Date "1963.09.01"]
[EventDate "?"]
[Round "5"]
[Result "1-0"]
[White "Robert James Fischer"]
[Black "Arthur Bisguier"]
[ECO "C59"]
[WhiteElo "?"]
[Event "Rated Blitz game"]
[Site "https://lichess.org/a3rW8t2w"]
[Date "2018.05.23"]
[Round "-"]
[White "RonaldFranco"]
[Black "makokha"]
[Result "0-1"]
[UTCDate "2018.05.23"]
[UTCTime "02:43:14"]
[WhiteElo "1743"]
print "I can execute gists, too"
[Event "Casual Game"]
[Site "Butcher Bar"]
[Date "2018.05.09"]
[White "Timur"]
[Black "Brian"]
[Result "0-1"]
1. e4 d5 2. Nf3 dxe4 3. Ng5 Nf6 4. Bc4 e6 5. f3 Bc5 6. fxe4 Qd4 7. Nh3 Qxc4 8.
b3 Qd4 9. Nc3 Nxe4 10. Qg4 Nxc3 11. Qxd4 Bxd4 12. dxc3 Bxc3+ 13. Bd2 Bxa1 14.
O-O Bd4+ 15. Kh1 Nc6 16. Ng5 O-O 17. c3 e5 18. cxd4 Nxd4 19. Bb4 Rd8 20. Nxf7
$ cat unique.js
#!/usr/bin/env node
talks = [
{ 'id' : 1, name : 'foo' },
{ 'id' : 2, name : 'foo' },
{ 'id' : 3, name : 'bar1' },
{ 'id' : 3, name : 'bar2' },
{ 'id' : 4, name : 'bar3' },
{ 'id' : 5, name : 'bar4' }
[Event "GameKnot Blitz"]
[Site "http://gameknot.com/"]
[Date "2018.03.07"]
[Round "-"]
[White "makokha"]
[Black "jayvee101"]
[Result "1-0"]
1. e4 c5 2. Nf3 e6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 Bb4 6. Bd3 d5 7. e5 Ne4 8. O-O Nxc3 9. bxc3 Bxc3 10. Ba3 Bxd4 11. Bb5+ Nc6 12. Qxd4 Bd7 13. Bxc6 Bxc6 14. Qg4 g6 15. Rab1 Rc8 16. c4 Qa5 17. Bd6 Rd8 18. cxd5 Bxd5 19. Rfc1 Rxd6 20. exd6 Bc6 21. d7+ Bxd7 22. Rxb7 Ke7 23. Rxd7+ Kxd7 24. Qd4+ Qd5 25. Qxh8 1-0
#!/bin/sh
# du.sh -- find usage of an s3 bucket and directory (recursively)
#
# Usage:
#
# du.sh <bucket> <directory>
#
# requires jq, perl, aws-cli
Saw 1 occurrence of deprecated code.
================================================================================
Method open (from IO::Handle) seen at:
SETTING::src/core/io_operators.pm, line 95
Deprecated since v2017.09.455.g.2.fba.0.ba.0.d, will be removed with release v2018.01!
Please use :out-buffer argument to control handle buffering instead.
--------------------------------------------------------------------------------
Please contact the author to have these occurrences of deprecated code
adapted, so that this message will disappear!
use nqp;
my $compiler := nqp::getcomp('perl6');
my $repl = REPL.new($compiler, {});
my $save_ctx = nqp::null();
for ( '42',
'2+2',
'my $x = 2',
'$x',
'my $y:=3',