Guide created with limactl version 0.17.2 and Homebrew 4.1.14 on an M1 Pro MBP running macOS 14.0 (23A344).
This guide is supported on:
- ARM64 (M1) Macs
- AMD64 (Intel) Macs
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"os" | |
"strings" |
# I've left this here in case we want to implement diff for trig or other functions | |
class Function: | |
def __init__(self): | |
pass | |
def diff(self): | |
pass | |
class Polynomial(Function): | |
def __init__(self, coeffs): |
import numpy as np | |
import matplotlib.pyplot as plt | |
import random | |
import sys | |
def newton_method(): | |
print("------------------------------------------") | |
func = input("What function should I evaluate?\t") | |
lower_bound = int(input("What lower bound should I use?\t")) |
# Teon Brooks, Aiden Fox Ivey 2023 | |
import os | |
import time | |
# Any live cell with two or three live neighbours survives. | |
# Any dead cell with three live neighbours becomes a live cell. | |
# All other live cells die in the next generation. Similarly, all other dead cells stay dead. | |
def display(board): |
use std::cell::{RefCell, RefMut}; | |
use std::collections::HashMap; | |
use std::rc::Rc; | |
pub use num::{One, Zero}; | |
use std::cmp::PartialEq; | |
pub use std::ops::{Add, Mul}; | |
pub trait Numeric: Zero + One + Copy + Clone + Mul + Add + PartialEq + std::fmt::Debug {} | |
// https://stackoverflow.com/questions/42381185/specifying-generic-parameter-to-belong-to-a-small-set-of-types |
# put in .cargo/config | |
[build] | |
target="mips-unknown-linux-musl" | |
[target.mips-unknown-linux-musl] | |
linker="/cosine/shared/mips-linux-musl-cross/bin/mips-linux-musl-gcc" |
#!/usr/bin/env python3 | |
import subprocess | |
import time | |
import csv | |
import socket | |
import re | |
def main(): |
$argon2id$v=19$m=512,t=256,p=1$CFg1DY2s7hPciYHF42NwOw$xKx/AITbWO3k3S1XxCIu4NUc+4TnICJB3SMGqfZzplM
openpgp4fpr:61605C2245761FC2200F078684B78FF77616E348