Skip to content

Instantly share code, notes, and snippets.

View Ragnyll's full-sized avatar

Jake Gallow Ragnyll

View GitHub Profile
@Ragnyll
Ragnyll / any_consumes.rs
Last active January 26, 2022 05:33
shows that any consumes an iterator
#[cfg(test)]
mod test {
struct SimpleStruct {
id: String,
}
impl SimpleStruct {
fn new(id: &str) -> Self {
Self {
id: String::from(id),
@Ragnyll
Ragnyll / _config.yml
Created March 5, 2015 04:24
the base _config file that jekyll generates now, ive made minor changes
# Site settings
title: Gallow's Blog
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
This is the first blog site of Jake Gallow! It's a work in progress but
it's going to be super dope!
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll