Skip to content

Instantly share code, notes, and snippets.

View AngelOnFira's full-sized avatar
🥞
Working on cool stuff

Forest Anderson AngelOnFira

🥞
Working on cool stuff
View GitHub Profile
1. Make a new branch
In this example, the branch will be named "add-thing"
git checkout -b add-thing
git push -u origin add-thing
2. Get info about the branch you are on, and what changes you have made
git status
# test
import sys
from collections import defaultdict
t=sys.stdin.readline()
l=[]
while t:
l.append(t.strip())
t = sys.stdin.readline()
l = l[:-1]
import sys
from collections import defaultdict
t=sys.stdin.readline()
l=[]
while t:
l.append(t.strip())
t = sys.stdin.readline()
l = l[1:]
import sys
from collections import defaultdict
t=sys.stdin.readline()
l=[]
while t:
l.append(int(t.strip()))
t = sys.stdin.readline()
# l = l[1:]
import sys
from collections import defaultdict
t=sys.stdin.readline()
l=[]
while t:
l.append(int(t.strip()))
t = sys.stdin.readline()
# l = l[1:]
assets/voxygen
assets/voxygen/.gitignore
Cargo.lock
Cargo.toml
chat-cli/Cargo.toml
chat-cli/.gitignore
chat-cli/src/main.rs
client/Cargo.toml
client/.gitignore
use noise::{NoiseFn, Perlin};
const WIDTH: usize = 20;
const PLOTS: usize = WIDTH * WIDTH;
const ROOT_RANGE: usize = 1;
fn main() {
let mut farm_plots: [f64; PLOTS] = [0.0; PLOTS];
for i in 0..PLOTS {
Default Input Device:
Some("default")
Default Output Device:
Some("default")
Devices:
1. "default"
Default input stream format:
Format { channels: 2, sample_rate: SampleRate(44100), data_type: F32 }
All supported input stream formats:
1.1. SupportedFormat { channels: 1, min_sample_rate: SampleRate(1), max_sample_rate: SampleRate(192000), data_type: I16 }