Skip to content

Instantly share code, notes, and snippets.

View aisuneko's full-sized avatar
😐
attempt to spice up my scheduler with some tasks

aisuneko icecat aisuneko

😐
attempt to spice up my scheduler with some tasks
View GitHub Profile
@RigoLigoRLC
RigoLigoRLC / template.svg
Created April 13, 2024 07:33
红色电音极地大冲击模板 (CC BY-NC 4.0)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
@judofyr
judofyr / bf.rs
Last active December 8, 2023 11:12
Brainfuck macro in Rust
#![recursion_limit="100"]
use std::io;
use std::io::{Write, Read};
use std::num::Wrapping;
struct Tape<'a> {
stdin: &'a mut Read,
stdout: &'a mut Write,
data: Vec<Wrapping<u8>>,