I hereby claim:
- I am itsgreggreg on github.
- I am greggreg (https://keybase.io/greggreg) on keybase.
- I have a public key whose fingerprint is EEE7 1FC8 7328 62C1 7482 5689 8749 2ABC 1645 F5B7
To claim this, I am signing this object:
-module(bench_inline_type). | |
-export([non_inline_worst_case/1, | |
bench_non_inline_worst_case/2, | |
inline_worst_case/1, | |
bench_inline_worst_case/2, | |
non_inline_function_head_match/1, | |
bench_non_inline_function_head_match/2, | |
inline_function_head_match/1, | |
bench_inline_function_head_match/2, |
//! A simple TCP client where you are the client | |
//! An authority must be supplied, ie: cargo run -- pop.dreamhost.com:110 | |
//! | |
//! Reads from and writes to stdio | |
//! Does nothing special with the incoming stream, simply prints 8bit chars. | |
//! Removes new lines from outbound stream, appends CR/LF. | |
use std::io::{stdin, stdout, Read, Write}; | |
use std::net::TcpStream; | |
fn main() { |
2017-11-07 07:46:19 -0700 | |
make | |
install | |
PREFIX=/usr/local/Cellar/kakoune/HEAD-d6b5240 | |
clang++ -DKAK_DEBUG -I/usr/local/Cellar/kakoune/HEAD-d6b5240/opt/ncurses/include -I/opt/local/include -pedantic -std=gnu++14 -g -Wall -Wextra -Wno-unused-parameter -Wno-reorder -Wno-sign-compare -Wno-address -Wno-noexcept-type -Wno-unknown-attributes -Wno-unknown-warning-option -MD -MP -MF .alias_registry.debug.d -c -o .alias_registry.debug.o alias_registry.cc | |
clang++ -DKAK_DEBUG -I/usr/local/Cellar/kakoune/HEAD-d6b5240/opt/ncurses/include -I/opt/local/include -pedantic -std=gnu++14 -g -Wall -Wextra -Wno-unused-parameter -Wno-reorder -Wno-sign-compare -Wno-address -Wno-noexcept-type -Wno-unknown-attributes -Wno-unknown-warning-option -MD -MP -MF .assert.debug.d -c -o .assert.debug.o assert.cc | |
clang++ -DKAK_DEBUG -I/usr/local/Cellar/kakoune/HEAD-d6b5240/opt/ncurses/include -I/opt/local/include -pedantic -std=gnu++14 -g -Wall -Wextra -Wno-unused-parameter -Wno-reorder -Wno-sign-compare -Wno-address -Wno-noexcept-type -Wno-unk |
<video id="video" width="640" height="480" autoplay></video> | |
<button id="snap">Snap Photo</button> | |
<canvas id="canvas" width="640" height="480"></canvas> | |
<script> | |
// Grab elements, create settings, etc. | |
var video = document.getElementById('video'); | |
// Get access to the camera! |
I hereby claim:
To claim this, I am signing this object:
Old standby for a quick look into your code
Works with anything that implements the String.Chars protocol, AKA the to_string method. Elixir ships with: https://github.com/elixir-lang/elixir/blob/e769afbed96b6b9eee6a4f4ac4a6ea00bc0630f7/lib/elixir/lib/string/chars.ex
Returns the term handed to it untouched so you can plop it straight in your code
By the end of this lesson students should be able to:
In this lesson we are going to learn about a type of inheritance called Prototypal Inheritance. We are going to see how with prototypes we can share functionality between related objects. We are going to see how with Object.create we can easily set up prototypes and how we can extend prototypes to easily add functionality.
The Phoenix Framework was built with realtime communication as a first class priority. Using its built in socket handling and channels we can implement a basic, realtime chat application with little effort.
For this video we’re going to assume that you already have Elixir and Phoenix Setup. You will not need a database as the messages will not be persisted. This tutorial is taken pretty much directly from the Phoenix Documentation.
To start let’s generate a standard phoenix application:
$> mix phoenix.new instachat
module Main where | |
import Html exposing (div,button,Html,text,Attribute) | |
import Html.Events exposing(onClick) | |
import Html.Attributes exposing (style) | |
import StartApp.Simple exposing (start) | |
type alias Model = Int | |
type Action = Increment | Decrement |