Instantly share code, notes, and snippets.

View Counter.elm
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
main = Html.beginnerProgram { model = model, view = view, update = update }
--- MODEL
type alias Model = Int
View .editorconfig
root = true
[*.cs]
indent_style = space
indent_size = 4
View .gitignore
/target/
**/*.rs.bk
View keybase.md

Keybase proof

I hereby claim:

  • I am iwillspeak on github.
  • I am willspeak (https://keybase.io/willspeak) on keybase.
  • I have a public key whose fingerprint is 4167 B68D 09F3 B9DF B740 229E FDF5 9F16 C78F 372E

To claim this, I am signing this object:

View Cargo.toml
[package]
name = "oni"
version = "0.1.0"
authors = ["Ian Pickering <ipickering2@gmail.com>"]
[dependencies]
onig = "1.4"
[[bin]]
name = "oni"
View Cargo.toml
[package]
name = "yop"
version = "0.1.0"
authors = ["Will Speak <lithiumflame@gmail.com>"]
[dependencies]
[[bin]]
name = "yop"
path = "yop.rs"
View steps.rs
#![feature(inclusive_range_syntax)]
/// Steps At
///
/// Returns the number of combinations of steps which can be made
/// where the top step is a given size. This is used as the recursive
/// step.
///
/// # Arguments
///
View LLVM From Rust.md

An Example of Using LLVM from Rust

This example compiles a simple function using the LLVM C API through the llvm-sys crate.

View Cargo.toml
[package]
name = "parsetest"
version = "0.1.0"
authors = ["Will Speak <lithiumflame@gmail.com>"]
[dependencies]
[[bin]]
name = "parsetest"
path = "main.rs"
View Time.cs
abstract class TZ
{
public abstract TimeSpan UTCOffset { get; }
}
sealed class BST : TZ
{
public override TimeSpan UTCOffset => TimeSpan.FromHours(1);
}