I hereby claim:
- I am archer884 on github.
- I am archer884 (https://keybase.io/archer884) on keybase.
- I have a public key ASDF3VEaYHl-qzC7LOBEco5bK6ZhqIjP3DTlI-GXGYBkugo
To claim this, I am signing this object:
// This file performs the stegasaurus recovery routine in order to fetch the tax brackets from | |
// your provided photograph. | |
use serde::Deserialize; | |
use std::fs; | |
use std::io::Cursor; | |
use std::path::Path; | |
#[derive(Debug, Deserialize)] | |
pub struct Bracket { |
I hereby claim:
To claim this, I am signing this object:
[alias] | |
co = checkout | |
# New branch | |
nb = checkout origin -b | |
# Push new branch | |
pnb = push -u origin HEAD | |
# Log Graph |
fn blend(colors: impl IntoIterator<Item = Hex>) -> Option<Hex> { | |
let mut count = 0; | |
let mut a_sum = 0.0; | |
let mut b_sum = 0.0; | |
let mut c_sum = 0.0; | |
for color in colors { | |
let Hex(a, b, c) = color; | |
count += 1; |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace retry | |
{ | |
public static class Execute | |
{ | |
static Executer _executer; |
#![feature(test)] | |
extern crate fxhash; | |
extern crate test; | |
#[derive(Clone, Eq, PartialEq)] | |
struct MemoryBank { | |
banks: Vec<i32>, | |
} |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
namespace AocDay5 | |
{ | |
class Program | |
{ | |
class Resources |
#![feature(conservative_impl_trait)] | |
const INPUT: &str = include_str!("../input.txt"); | |
fn main() { | |
println!("{}", run_program(read_input(), |i| i + 1)); | |
println!("{}", run_program(read_input(), offset)); | |
} | |
fn offset(i: i32) -> i32 { |
static INPUT: &str = include_str!("../input.txt"); | |
struct ProgramWithOffset<F> { | |
instructions: Vec<i32>, | |
offset: F, | |
} | |
impl<F: Fn(i32) -> i32> ProgramWithOffset<F> { | |
fn new<T: IntoIterator<Item = i32>>(instructions: T, offset: F) -> Self { | |
Self { |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
namespace cs_day_4 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |