Skip to content

Instantly share code, notes, and snippets.

View LLBlumire's full-sized avatar

Lucille Blumire LLBlumire

View GitHub Profile
@LLBlumire
LLBlumire / Phonology and Orthography.md
Created May 4, 2014 08:54
Phonology and Orthography

We are not voting PHONOTACTICS in this. These will be voted on next, but everyone seems to be fine with (C)(C)V(C)(C) so if in doubt go with that for now!

Here are your choices:

APAO

Manner Bilabial Labiodental Dental Alveolar Postalveolar Retroflex Palatal Velar Uvular Pharyngeal Epiglottal Glottal
Nasal m n ny ng
Plosive p ph b t th d k kh g
loop {
let init_time = PreciseTime::now();
/* Draw and Event Loop */
let term_time = PreciseTime::now();
let duration = init_time.to(term_time);
let desired_duration = Duration::milliseconds((1000.0/60.0) as i64);
let offset = desired_duration.num_milliseconds() - duration.num_milliseconds();
if duration < desired_duration {
let pool_size = env::var("DB_POOL_SIZE")
.unwrap_or("INVALID".to_string()).parse::<u32>().unwrap_or(DEFAULT_POOL_SIZE);
@LLBlumire
LLBlumire / rust_theory_lessons_plan_1.md
Last active October 27, 2015 12:00
Lucille Thoery Lesson Plans

Theory Lessons

  • Stack and Heap

    • Stack Frames
    • Boxing
  • Primitive Types

    • Integral
    • Float
//! # Polygon
//!
//! A standard trait and set of implementations for managing polygons in rust.
//!
//! ## Output Angles
//! For return values 0 is north and the angle increases clockwise.
//!
//! ## Output Gradients
//! For output gradients, f64::INFINITY is returned for north, and the gradient decreases
//! clockwise until f64::NEG_INFINITY.
@LLBlumire
LLBlumire / pong.rs
Created December 22, 2015 21:48
A simple implementation of Pong, NOTE: Collision engine not written
// piston_window is our game engine
extern crate piston_window;
// rand is for random number generation
extern crate rand;
// Lets us do custom implementations of the `+` function.
use std::ops::Add;
// Bring all of our game engine stuff into scope
use piston_window::*;
@LLBlumire
LLBlumire / index.html
Created January 19, 2016 21:11
ogEPoO
<div class="center-block">
<h1>Pornhub</h1>
<h3>Get your dick hard and your pussy wet!</h3>
<form action="#" method="get">
<div class="input-feild">
<input type="text" name="search" id="search" placeholder="Search for Porn" />
</div>
</form>
</div>
"
" ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
" ┃ Lucille Blumire's One Vimrc To Rule Them All ┃
" ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
"
" If you get any errors while running this please let me know.
"
" Please check every instance of `IMPORTANT:` in this file to make sure you have made appropriate
" replacements to convert this from my filesystem to yours.
" You can quickly scan through instances of this by typing `/IMPORTANT:` in normal mode
extern crate rand;
use std::collections::HashMap;
use rand::thread_rng;
use rand::Rng;
type Card = (Suit, i32);
use Suit::*;
src\lib.rs:230:5: 230:65 error: the trait bound `for<'r> std::ops::Fn(&'r mut Box<Entity>): std::marker::Sized` is not satisfied [E0277]
src\lib.rs:230 pub instance_queue: Vec<(String, Box<Fn(&mut Box<Entity>)>)>,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src\lib.rs:228:10: 228:15 note: in this expansion of #[derive_Clone] (defined in src\lib.rs)
src\lib.rs:230:5: 230:65 help: run `rustc --explain E0277` to see a detailed explanation
src\lib.rs:230:5: 230:65 note: `for<'r> std::ops::Fn(&'r mut Box<Entity>)` does not have a constant size known at compile-time
src\lib.rs:230:5: 230:65 note: required by `std::clone::Clone::clone`