React Presentation
Ref: https://twitter.com/wesbos/status/598144948559605760/photo/1?ref_src=twsrc%5Etfw&ref_url=http%3A%2F%2Fchibicode.com%2Freact-js-introduction-for-people-who-know-just-enough-jquery-to-get-by%2F
React Addons
Critical Bugfix: Update the version of prop-types to fix critical bug. (@gaearon in 545c87f) Fix react-addons-create-fragment package to include loose-envify transform for Browserify users. (@mridgway in #9642) React Test Renderer
Fix compatibility with Enzyme by exposing batchedUpdates on shallow renderer. (@gaearon in #9382)
This is a basic guide on how to learn Elm rather than actually teach you. I'm going to mostly link to resources that I feel are valuable and try to "teach you how to fish".
The main purpose is to accelerate your learning and save you a lot of googling and weeding through bad explinations.
# This class helps to captue possible errors as a value. While you could capture these conditions as | |
# `nil` it's easy to forget to check for it everywhere. | |
# | |
# ResultValue helps with this by making the only way to get at the value is with #case_of. | |
class ResultValue | |
# This will rescue any exceptions and return it as an "errored" ResultValue | |
# if there was none it will return it as an "ok" ResultValue with the value | |
# wrapped inside | |
def self.capture_result |
From this talk by President Dieter F. Uchtdorf
Life-changing truths are before our eyes and at our fingertips, but sometimes we sleepwalk on the path of discipleship ... We tread a path covered with diamonds, but we can scarcely distinguish them from ordinary pebbles.
/*********************************************************************** | |
* Program: | |
* Lab UnixShell | |
* Brother Jones, CS 345 | |
* Author: | |
* Gage Peterson | |
* Summary: | |
* This is a tiny unix shell made for my operating systems class | |
************************************************************************/ |
/*********************************************************************** | |
* Program: | |
* Lab 00, Practice Lab Submission | |
* Brother Jones, CS345 | |
* Author: | |
* Gage Peterson | |
* Summary: | |
* This is the first lab. It will count the number of lines the user | |
* enters that begin a capital letter | |
************************************************************************/ |
... | |
type: 7 | |
player | |
Score: 0 | |
numLives: 3 | |
about to reset state | |
Program received signal SIGSEGV, Segmentation fault. | |
[Switching to Thread 0x7fffef95f700 (LWP 26178)] | |
0x0000000000403aad in std::__cxx11::list<GameObject*, std::allocator<GameObject*> >::begin (this=0x0) |
package main.scala | |
object HelloWorld { | |
def hello(name: String = "World") = "Hello, " + name; | |
// sudo tests | |
def main(args: Array[String]):Unit = { | |
println(hello()) | |
println(hello("Gage")) | |
} |
use std::io; | |
use std::io::Write; | |
fn prompt() -> String { | |
let input = io::stdin(); | |
println!("Welcome to Rock, Paper, and Sinners!"); |