Skip to content

Instantly share code, notes, and snippets.

View -
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
View gist:23f905be1beaf3e88063
$ uname -a
Linux archbook 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:44 CEST 2014 x86_64 GNU/Linux
$ rust -v
rustc 0.11.0-pre-nightly (db5ca23 2014-05-14 01:06:24 -0700)
host: x86_64-unknown-linux-gnu
$ RUST_BACKTRACE=1 rustc -L . --tests tests.rs
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
View -
rustc 0.11.0-pre-nightly (db5ca23 2014-05-14 01:06:24 -0700)
host: x86_64-unknown-linux-gnu
@passcod
passcod / keybase.md
Last active Aug 29, 2015
Keybase Proof
View keybase.md

Keybase proof

I hereby claim:

  • I am passcod on github.
  • I am passcod (https://keybase.io/passcod) on keybase.
  • I have a public key whose fingerprint is E49C 3114 2E3D 10A4 69F0 86DC 6B09 4637 AE1E D85D

To claim this, I am signing this object:

View lib.rs
pub static foo: u8 = 1;
/// A single-line description of a static
pub static bar: i8 = 2;
/// A multi-line description of a static
///
/// Cras placerat suscipit iaculis. Nullam eget tellus luctus,
/// ultrices massa eu, mollis magna. Aliquam dignissim at lorem
/// quis interdum.
@passcod
passcod / yaml.tmpl
Created Aug 24, 2014
Template file to dump docker-gen's output in YAML format
View yaml.tmpl
---
{{ range $_, $cont := $ }}
{{ $addrLen := len $cont.Addresses }}
{{ $envLen := len $cont.Env }}
{{ $regLen := len $cont.Image.Registry }}
- id: "{{ $cont.ID }}"
{{ if eq $addrLen 0 }}
addresses: ~
{{ else }}
addresses:
View crossing.md

It was a long night, it was a bright night, it was a night like no other. The moon's reflection in the waters was unfortunate for our need of discretion, but it seemed as if every lifeform out and about was looking up to the sky.

Pre-Darkening people would have looked forlorn, and others familiar with history would also have a curious look, but for all others, it was an eerie spectacle. The full moon shone like a whiter sun in a darker sky, no other light beside it. No "stars", as they called the pinpricks of light that everybody from before had seen, and told of, anguish in their voice. Many of us didn't think it was even real. The fantastic tales we had been told sounded too

View mlpfic.md

MY LITTLE PONY: FRIENDSHIP IS SCIENCE

"Applejack, who told me outright that I was mistaken, represents the spirit of... honesty! " Twilight Sparkle raised her head even higher, mane blowing like a wind about the dusky sky of her neck. "Fluttershy, who approached the manticore to find out about the thorn in its paw, represents the spirit of... investigation! Pinkie Pie, who realized that the awful faces were just trees, represents the spirit of... formulating alternative hypotheses! Rarity, who solved the serpent's problem represents the spirit of... creativity! Rainbow Dash, who saw through the false offer of her heart's desire, represents the spirit of... analysis! Marie-Susan, who made us convince her that we were right before she agreed to come on our expedition, represents the spirit of... peer review! And when those Elements are ignited by the spark of curiosity that resides in the heart of all of us, it creates the seventh element - the Element of Sci-"

The blast of power that came forth was like a

View -
2015-03-09T09:26:19.458828+00:00 app[web.1]: @enbybooks: Mention from @passcod: @lunarcdr @enbybooks I'll take a look. First step: remembering where I deployed it.
2015-03-09T09:26:19.517636+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/tweetstream-2.6.0/lib/tweetstream/client.rb:556:in `yield_message_to'
2015-03-09T09:26:19.517638+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/tweetstream-2.6.0/lib/tweetstream/client.rb:511:in `respond_to'
2015-03-09T09:26:19.517623+00:00 app[web.1]: @enbybooks: ERROR: NoMethodError: undefined method `make_response' for #<Hash:0x007f41ea655530>
2015-03-09T09:26:19.517628+00:00 app[web.1]: /app/bots.rb:39:in `block (2 levels) in <top (required)>'
2015-03-09T09:26:19.517631+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/twitter_ebooks-2.3.2/lib/twitter_ebooks/bot.rb:124:in `block in start'
2015-03-09T09:26:19.517633+00:00 app[web.1]: /app/vendor/bundle/ruby/2.1.0/gems/tweetstream-2.6.0/lib/tweetstream/client.rb:548:in `call'
2015-03-09T09:26:19.517642+0
View trace.txt
This file has been truncated, but you can view the full file.
10:01:03.663531 execve("/usr/bin/htop", ["htop"], [/* 15 vars */]) = 0 <0.001011>
10:01:03.665979 brk(0) = 0x896000 <0.000063>
10:01:03.666377 uname({sys="Linux", node="huanupi", ...}) = 0 <0.000067>
10:01:03.667292 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.000080>
10:01:03.667714 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76f71000 <0.000075>
10:01:03.668037 access("/etc/ld.so.preload", R_OK) = 0 <0.000076>
10:01:03.668372 open("/etc/ld.so.preload", O_RDONLY) = 3 <0.000128>
10:01:03.668825 fstat64(3, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0 <0.000063>
10:01:03.669311 mmap2(NULL, 44, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x76f70000 <0.000075>