Skip to content

Instantly share code, notes, and snippets.

View AwlsomeAlex's full-sized avatar
🇺🇦
Slava Ukraini!

Alexander Barris AwlsomeAlex

🇺🇦
Slava Ukraini!
View GitHub Profile
@AwlsomeAlex
AwlsomeAlex / log.txt
Created May 9, 2020 22:29
StelaLinux Toolchain i686-musl Target Failure
This file has been truncated, but you can view the full file.
--------------------------------------------------------
gentoolchain.sh Log File
--------------------------------------------------------
Generated on Sat 09 May 2020 05:32:50 PM EDT
--------------------------------------------------------
Host Architecture: x86_64-cross-linux-gnu
Target Architecture: i686-linux-musl
Host GCC Version: gcc (GCC) 10.0.1 20200430 (Red Hat 10.0.1-0.14)
Host Linux Kernel: 5.6.10-300.fc32.x86_64
"For proper viewing, take red pill now!" ;)
`. ___
__,' __`. _..----....____
__...--.'``;. ,. ;``--..__ .' ,-._ _.-'
_..-''-------' `' `' `' O ``-''._ (,;') _,'
,'________________ \`-._`-','
`._ ```````````------...___ '-.._'-:
```--.._ ,. ````--...__\-.
@AwlsomeAlex
AwlsomeAlex / init.rs
Created June 9, 2019 15:49
Small little Rust Executable to run as Linux Kernel /init when Statically Linked
use std::{thread, time};
fn main() {
let sleep_time = time::Duration::from_millis(1000000);
let now = time::Instant::now();
println!("\x1B[33mHello from Rust!\x1B[0m");
thread::sleep(sleep_time);
assert!(now.elapsed() >= sleep_time);
@AwlsomeAlex
AwlsomeAlex / factoral.java
Created October 5, 2018 17:51
Factoral Finder
import java.util.Scanner;
public class factorial {
public static void main(String[] args) {
Scanner n = new Scanner(System.in);
int num, total = 1;
System.out.println("+========================+");
System.out.println("| Factoral Finder - Java |");
System.out.println("+========================+");
System.out.println("Created by Alex Barris");
@AwlsomeAlex
AwlsomeAlex / great_grader.java
Created June 5, 2018 20:39
Finds the Weighted Average GPA for Classes (Specific School Standard)
import java.util.Scanner;
public class grader {
static Scanner n = new Scanner(System.in);
static Scanner s = new Scanner(System.in);
static Scanner c = new Scanner(System.in);
public static void displayTitle() {
System.out.println("");
@AwlsomeAlex
AwlsomeAlex / guess_my_number.java
Created May 31, 2018 03:23
Guess My Number: Multiplayer+Single Player Guessing Game in Java for Computer Science 2
// Created by AwlsomeAlex (GNU GPLv3)
// Project For CS2 - Guess My Number!
import java.util.Scanner;
import java.util.Random;
public class guess_multiplayer {
// Global Variables
static Scanner n = new Scanner(System.in);
static int guess = 0, counter = 0;
static int number = numberGenerator();
@AwlsomeAlex
AwlsomeAlex / HS002.8xp
Created March 28, 2018 01:27
Automated Solver for Density and Molar Mass [Gas Laws] [Compatible with TI-84 Plus CE]
Disp "Haddock Solver - g/L +"
Disp "g/mole"
Disp ""
Disp ""
Disp "Please Select a Calcuation"
Disp "=========================="
Disp "1) Density"
Disp "2) Molar Mass"
Disp "3) Information"
Prompt C
@AwlsomeAlex
AwlsomeAlex / HS001.8xp
Last active March 28, 2018 01:27
Automated Solver for the Chemistry Equation (PV=nRT) [Gas Laws] [Compatible with TI-84 Plus CE]
Disp "Haddock Solver - PV=nRT"
Disp ""
Disp "Please Select a Calcuation"
Disp "=========================="
Disp "1) Pressure"
Disp "2) Volume"
Disp "3) Mass (g)"
Disp "4) Temperature (*C)"
Disp "5) Information"
Prompt C