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
https://youtu.be/vUU53cIdPnk
Compiling rusttype v0.7.7
Compiling crossbeam v0.7.2
Compiling crossbeam v0.4.1
Compiling gfx_device_gl v0.16.1
Compiling gfx v0.18.1
error[E0433]: failed to resolve: could not find `format_args` in `core`
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx_device_gl-0.16.1/src/shade.rs:434:24
|
434 | name = format!("Target{}", index);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `format_args` in `core`
Compiling autocfg v0.1.6
Compiling lazy_static v1.4.0
Compiling pkg-config v0.3.16
Compiling semver-parser v0.7.0
error: linking with `rust-lld` failed: exit code: 1
|
= note: "rust-lld" "-flavor" "gnu" "-L" "/root/.rustup/toolchains/nightly-2019-10-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/app/target/release/build/libc-550872084535fec5/build_script_build-550872084535fec5.build_script_build.dhy109xy-cgu.0.rcgu.o" "-o" "/app/target/release/build/libc-550872084535fec5/build_script_build-550872084535fec5" "/app/target/release/build/libc-550872084535fec5/build_script_build-550872084535fec5.13ciyp52rcr6y3rz.rcgu.o" "--gc-sections" "-pie" "-zrelro" "-znow" "-O1" "-L" "/app/target/release/deps" "-L" "/usr/lib" "-L" "/usr/lib/gcc/x86_64-linux-gnu/9" "-L" "/root/.rustup/toolchains/nightly-2019-10-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--start-group" "-Bstatic" "/root/.rustup/toolchains/nightly-2019-10-03-x86_64-unknown-linux-gnu/lib/rustlib/
OK: 257 MiB in 44 packages
npm WARN deprecated jade@1.3.1: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
npm WARN deprecated constantinople@2.0.1: Please update to at least constantinople 3.1.1
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bu
# Software
sudo pacman -Syu
sudo pamac install visual-studio-code-bin synergy git tmux zsh firefox discord docker docker-compose vlc steam -y
sudo pamac build spotify --no-confirm -y
# Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Python
yes | sudo pacman -S --needed base-devel openssl zlib bzip2 readline sqlite curl llvm ncurses xz tk libffi python-pyopenssl git
export ZSH="/home/forest/.oh-my-zsh"
ZSH_THEME="ys"
DISABLE_UPDATE_PROMPT="true"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
plugins=(
git
How does ones begin to express their love for CO?
Maybe with a soliloquy from Romeo and Juliet:
What’s in a name? That which we call CO
By any other word would smell as sweet.
So Carleton would, were they not Carleton called,
Retain that dear perfection which they owe
Without that title.
Come, gentle night; come, loving black-browed deguise,
ETS, or École de Technologie Supérieure is a univerity in Montreal Quebec. By its name, we can see that it strives to achieve more than others.
Firstly, this superiority can be seen through the numbers. Every year, ETS graduates 25% of all of Quebec's engineers. Because of this, it is ranked first in Quebec and second in all of Canada in this field.
Second of all is the name of the student union. Association étudiante de l'École de technologie supérieure, or AÉÉTS for short. Since we are Canadian, this sounds a lot like our "eh". AÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ.
Finally are the colours of ETS, black and maroon. These are quite similar to Carleton's red and black colours. Because Carleton is also superior, and beacause the transitive property, we have proven that ETS is superior.
We have shown that ETS is a superior. We looked at the numbers, it's Canadianess, and finally colours.
@AngelOnFira
AngelOnFira / img.py
Created June 1, 2020 21:44
Download Discord CDN files from teh blog
import os
import os.path
import re
import json
import urllib.request
lines = ""
for filename in [f for f in os.listdir("./") if os.path.isfile(f)]:
with open(filename, 'r') as f: # open in readonly mode
for line in f.readlines():
pub fn gcd(numbers: Vec<i32>) -> i32 {
let mut lcd = *numbers.iter().max().unwrap();
for i in 0..(numbers.len()) {
let mut x: i32 = lcd;
let mut y: i32 = numbers[i];
lcd = {
while y != 0 {
let temp = x % y;