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
From: http://www.longestjokeintheworld.com/ | |
The Longest Joke in the World | |
* * * | |
Lost in the Desert | |
So, there's a man crawling through the desert. | |
He'd decided to try his SUV in a little bit of cross-country travel, had great fun zooming over the badlands and through the sand, got lost, hit a big rock, and then he couldn't get it started again. There were no cell phone towers anywhere near, so his cell phone was useless. He had no family, his parents had died a few years before in an auto accident, and his few friends had no idea he was out here. |
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 java.util.LinkedList; | |
import java.util.List; | |
public class Main { | |
public static void main(String[] args) { | |
List<byte[]> ls = new LinkedList<>(); | |
try { | |
while (true) { | |
byte[] b = new byte[1024 * 1024]; | |
ls.add(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
fn main() { | |
for i := 0; i < 100; i++ { | |
if i % 15 == 0 { | |
println("FizzBuzz") | |
} else if i % 5 == 0 { | |
println("Buzz") | |
} else if i % 3 == 0 { | |
println("Fizz") | |
} else { | |
println(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
setw -g mode-keys emacs | |
set -g mouse on | |
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
bind-key -n S-Left prev | |
bind-key -n S-Right next |
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
#![feature(core_intrinsics)] | |
fn main() { | |
let x = &false; | |
print_type_name_of(x); | |
let ref x = false; | |
print_type_name_of(x); | |
let &x = &false; |