Skip to content

Instantly share code, notes, and snippets.

@passcod
passcod / MOVE.md
Last active August 29, 2015 13:56
firefox-always-nightly in the AUR
@passcod
passcod / list.md
Last active August 29, 2015 13:56
List of repos deleted on 19 Feb 2014.

Names: source, empty, fork. Descriptions: what it was, reason for deletion, legacy.

  • xbotpp_contrib: fork of aki--aki/xbotpp_contrib; source is gone.
  • shared_state_inheritance: barebones example of a bug in a library; invalid.
  • soul: mockup for sagaofsoul.com; end of purpose.
  • Armstrong: js framework; never completed.
  • zenpen: fork of tholman/zenpen; unused.
  • homebrew-cask: fork of phinze/homebrew-cask; left project.
  • lolcommits: fork of mroth/lolcommits; unused.
dis.cancon.setFillColor = dis.cancon.setFillColor || function(color,alpha) {
var d = document.createElement('div'), m;
d.style.color = color;
m = getComputedStyle(d).color.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);
this.fillStyle = 'rgba('+m[1]+','+m[2]+','+m[3]+','+alpha+')';
}

Music for Making

Félix Saparelli

  • Anthony Gonzales
    • Tech 49
  • Antonín Dvořák
    • Allegro con fuoco ("From The New World")
  • Antonio Vivaldi
    • The Four Seasons: Concerto N°2 in G Minor, RV315, "Summer": I. Allegro non molto
  • Apocalyptica
{
"sha": "df1b8aea14970a9262944630e83feba28236c952",
"name": "phinze/homebrew-cask",
"target_url": "https://travis-ci.org/phinze/homebrew-cask/builds/20864495",
"description": "The Travis CI build passed",
"state": "success",
"branches": [
{
"name": "master",
"commit": {
@passcod
passcod / atreething.rs
Last active August 29, 2015 13:57
missing lifetime specifier error
mod treething {
use std::any::Any;
struct SizeTable(&[int]);
enum Content {
Data(&[&Any]),
Children(&[Node])
}
@passcod
passcod / gist:11367269
Last active August 29, 2015 14:00
Mulder discusses good / accessible South Island glacier walks (20130822 #ualug)
[23:34:06] <Mulder> lake marian (1-2hours)
[23:34:19] <Mulder> walking up to the milford divide is nice (~3hours)
[23:34:34] *** passcod takes notes
[23:34:43] <Mulder> mt alfred (near glenorchy/kinloch) 4-6 hours return. amazing views on summit
[23:34:55] <iampat> passcod: have you ever gone up Ngauruhoe?
[23:34:57] <iampat> *down
[23:35:45] <Mulder> if your'e a bit more rugged, then mt earnslaw is a good one to see ~8 hours to where the glacier is - proceed further only if you have alpine skills
[23:36:15] <Mulder> routebourn and milford tracks are spectacular but they're great walks and $$$ for hut fees
[23:36:21] <Mulder> i can personally vouch for routebourn
[23:36:29] <Mulder> kepler is meant to be quite good too
@passcod
passcod / rustc -L . --test tests.rs
Last active August 29, 2015 14:01
rustc -L . --test tests.rs
tests.rs:23:5: 23:40 error: mismatched types: expected `(rast::http::StatusCode,collections::hashmap::HashMap<&str,&str>,B)` but found `(rast::http::StatusCode,collections::hashmap::HashMap<&'static str,&'static str>,std::io::mem::MemReader)` (expected type parameter but found struct std::io::mem::MemReader)
tests.rs:23 (rast::http::StatusCode(200), h, r)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests.rs:47:22: 47:54 error: cannot determine a type for this bounded type parameter: unconstrained type
tests.rs:47 println!("{:?}", app.call(env, heads, inpt, errr));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: in expansion of format_args!
<std macros>:2:23: 2:77 note: expansion site
<std macros>:1:1: 3:2 note: in expansion of println!
tests.rs:47:5: 47:56 note: expansion site
@passcod
passcod / -
Last active August 29, 2015 14:01
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
task 'rustc' failed at 'No triple in crate', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libstd/option.rs:167