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
extern crate iron; | |
extern crate params; | |
use iron::prelude::*; | |
use iron::status; | |
use params::{Params, Value}; | |
fn handler(req: &mut Request) -> IronResult<Response> { | |
let params_map = req.get_ref::<Params>().unwrap(); | |
let name = match params_map.find(&["name"]) { |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func handler(w http.ResponseWriter, r *http.Request) { | |
var name string |
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
{ | |
"inputs": [ | |
{ | |
"name": "Option", | |
"generic": "true", | |
"ty_params": [ | |
{ | |
"name": "T", | |
"generic": "true", | |
"ty_params": [] |
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
(sequence (map inc) [1 2 3]) ; (2 3 4) | |
; ^^^^^^^^^ | |
; "mapping transducer" | |
(defn sequence | |
; [...] | |
([xform coll] | |
(clojure.lang.LazyTransformer/create xform coll)) | |
; [...] | |
) |
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
alert("yo"); |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<h3>GH Issues</h3> |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" general | |
Bundle 'gmarik/vundle' | |
Bundle 'kien/ctrlp.vim' | |
Bundle 'bitc/vim-bad-whitespace' |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Bundles go here | |
Bundle 'gmarik/vundle' | |
This file has been truncated, but you can view the full file.
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
{"payload": {"action": "created", "comment": {"body": "You're welcome. And btw i was using the lettuce installed from sources so if you are using an older version you may want to double check.", "url": "https://api.github.com/repos/gabrielfalcao/lettuce/issues/comments/30761696", "created_at": "2013-12-17T15:45:43Z", "html_url": "https://github.com/gabrielfalcao/lettuce/issues/282#issuecomment-30761696", "updated_at": "2013-12-17T15:45:43Z", "user": {"following_url": "https://api.github.com/users/adaschevici/following{/other_user}", "events_url": "https://api.github.com/users/adaschevici/events{/privacy}", "organizations_url": "https://api.github.com/users/adaschevici/orgs", "url": "https://api.github.com/users/adaschevici", "gists_url": "https://api.github.com/users/adaschevici/gists{/gist_id}", "html_url": "https://github.com/adaschevici", "subscriptions_url": "https://api.github.com/users/adaschevici/subscriptions", "avatar_url": "https://gravatar.com/avatar/43dd2adc150d7499f8734a424a633708?d=https%3A%2F%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
user=> (def x "AAAABCDBC") | |
#'user/x | |
user=> (def y "AABBBCCBC") | |
#'user/y | |
user=> (count (filter true? (map (partial reduce not=) (map vector x y)))) | |
3 |