I hereby claim:
- I am jaredly on github.
- I am jaredly (https://keybase.io/jaredly) on keybase.
- I have a public key whose fingerprint is 8F30 2819 1F60 3454 D682 FA0E 715D 5E7A 6D0E C90A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var rows = []; | |
for (var i=0; i<items.length; i+=2){ | |
rows.push(<div className="parent-row"> | |
<div className="parent-card"> | |
{items[i]} | |
</div> | |
<div className="parent-card"> | |
{items[i+1]} |
var MyMixin = require('my-mixin') | |
// way one | |
var App = React.createClass({ | |
mixins: [MyMixin], | |
stuffForMyMixin: { | |
aVariable: 12, |
{ | |
"created": 1416954835215, | |
"modified": 1416954835215, | |
"content": "Playing in the JS Sandbox", | |
"children": [ | |
{ | |
"content": "Notification API", | |
"children": [ | |
{ | |
"content": "var notification = new Notification(\"Execution Finished\", {\n body: \"Time taken: 20:00\"\n})", |
extern crate rustc; | |
extern crate syntax; | |
use rustc::driver::config::{basic_options, build_configuration}; | |
use rustc::driver::session::{build_session}; | |
use rustc::driver::driver::{StrInput, compile_input}; | |
use syntax::diagnostics; | |
fn main() { | |
let src = "fn main() {println!(\"Awesome\");}"; |
trait A { | |
fn one(&self); | |
} | |
trait B { | |
fn two(&self); | |
} | |
/** Dies because it wants the "Sized" trait |
#[deriving(Clone)] | |
#[deriving(Decodable, Encodable)] | |
#[deriving(Show)] | |
struct DoneCompiled { | |
compileError: String, | |
stdout: String, | |
stderr: String, | |
} |
use std::kinds::marker::NoCopy; | |
struct WillMove { | |
boxed: NoCopy, | |
large: [uint, ..100000], | |
} | |
/*******************************/ | |
/** VARIANT 1 : with movement **/ |