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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use WWW::Mechanize; | |
use JSON::Syck qw(Load Dump); | |
use DB_File; | |
my $URL = 'https://graph.facebook.com/%s?method=GET&format=json&access_token=XYZ'; |
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 <vector> | |
#include <ostream> | |
#include <iostream> | |
#include <string> | |
#include <cstdlib> | |
struct Node { | |
Node *next; | |
int val; | |
Node(Node *n, int v) : next(n), val(v) { } |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
{ | |
package Base; | |
sub scan_stash { | |
my ($for, $stash, $seen) = @_; | |
if (my $glob = $stash->{$for}) { |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<title>Rawr</title> | |
<p>JS follows | |
<pre> | |
<script type="text/javascript"> | |
function wr(str) { | |
document.write(str + "<br>"); | |
} | |
var a = {valueOf: function(x) { wr("a"); return 1; }}; | |
var b = {valueOf: function(x) { wr("b"); return 2; }}; |
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
No. Time Source Destination Protocol Length Info | |
1 0.000000 10.116.254.17 10.116.254.1 NFS 172 V3 GETATTR Call (Reply In 2), FH:0xbec98b1c | |
Frame 1: 172 bytes on wire (1376 bits), 172 bytes captured (1376 bits) | |
Internet Protocol Version 4, Src: 10.116.254.17 (10.116.254.17), Dst: 10.116.254.1 (10.116.254.1) | |
Transmission Control Protocol, Src Port: 798 (798), Dst Port: nfs (2049), Seq: 1, Ack: 1, Len: 120 | |
Remote Procedure Call, Type:Call XID:0x2f8a18a9 | |
Fragment header: Last fragment, 116 bytes | |
1... .... .... .... .... .... .... .... = Last Fragment: Yes | |
.000 0000 0000 0000 0000 0000 0111 0100 = Fragment Length: 116 |
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
.^ | |
' | | |
| | |
| | |
--+-- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<svg width="30cm" height="9cm" viewBox="0 0 1000 300" version="1.1" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<!-- show outline of canvas --> | |
<rect x="1" y="1" width="998" height="298" | |
fill="none" stroke="red" stroke-width="2"/> | |
<path d="M 0 150 L 1000 150" stroke="red" stroke-width="1"/> | |
<path d="M 500 0 L 500 300" stroke="red" stroke-width="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
#define EXIT_STATUS EXIT_FAILURE | |
#include "true.c" |
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
Timing multiple value return techniques | |
running automated test. | |
noMultipleValues time 4131 | |
noMultipleValues time 4133 | |
noMultipleValues time 4128 | |
noMultipleValues time 4204 | |
noMultipleValues time 4122 | |
noMultipleValues time 4121 |