Skip to content

Instantly share code, notes, and snippets.

View jakswa's full-sized avatar

Jake Swanson jakswa

View GitHub Profile
@jakswa
jakswa / playground.rs
Created August 19, 2018 00:42 — forked from rust-play/playground.rs
Code shared from the Rust Playground
// error[E0277]: the trait bound `(): actix_web::ResponseError` is not satisfied
// --> src/main.rs:25:32
// |
//25 | r.method(http::Method::GET).with_async(index)
// | ^^^^^^^^^^ the trait `actix_web::ResponseError` is not implemented for `()`
// |
// = note: required because of the requirements on the impl of `std::convert::From<()>` for `actix_web::Error`
// = note: required because of the requirements on the impl of `std::convert::Into<actix_web::Error>` for `()`
@jakswa
jakswa / 0-readme.md
Last active December 17, 2015 19:29 — forked from samgranieri/0-readme.md

ruby-1.9.3-p385 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p385 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.