This is a bl.ocks.org version of Jan Willem Tulp's Game of Life D3 implementation, lightly edited.
🐻❄️
This script downloads the latest nightly and installs (or uninstalls) it as needed.
The steps are:
- Download an extract Rust into a temporary directory.
- Run the
install.sh
script with the options provided. (Like--uninstall
) - Output necessary config options for the user.
To use:
I hereby claim:
- I am hoverbear on github.
- I am hoverbear (https://keybase.io/hoverbear) on keybase.
- I have a public key whose fingerprint is 4632 FAB4 E6C9 22C2 852B D17B F36E 629D 2C43 BF92
To claim this, I am signing this object:
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
fn move_to(&mut self, line: u64) { | |
let mut lines_read = 0; | |
let chars = self.log.chars(); | |
// Go until we've reached `from` new lines. | |
chars.skip_while(|&opt| { | |
match opt { | |
Ok(val) => { | |
if val == '\n' { | |
lines_read += 1; | |
if lines_read == line { |
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
#![feature(path)] | |
extern crate capnp; | |
extern crate capnpc; | |
extern crate "capnp-rpc" as capnp_rpc; | |
mod raft_capnp { | |
include!("./schema/raft_capnp.rs"); | |
} | |
use std::thread; |
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
### | |
Browse to http://localhost:8080 to see the following output: | |
# Hello | |
### | |
# Ignore | |
app = require('express')() | |
# Important stuff! | |
app.use (req, res)-> |
Aug 23:
marineam is terrible at writing readable emails
vitaminmoo: marineam: Have you tried more profane interjections?
marineam: vitaminmoo: @$#*!
vitaminmoo: marineam: You don't have to bring perl into this
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
module.exports = (grunt) -> | |
# Package configuration. | |
grunt.initConfig | |
pkg: grunt.file.readJSON 'package.json' | |
coffee: | |
options: | |
join: true | |
bare: true | |
files: | |
src: "src/**/*.coffee" |
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
block = [] | |
switch req.workshop.session | |
# Block 1 | |
when 1 | |
block = [1, 2, 3] | |
when 2 | |
block = [1, 2] | |
when 3 | |
block = [1, 3] | |
# Block 2 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer