Skip to content

Instantly share code, notes, and snippets.

View NatKarmios's full-sized avatar
⚗️
Research engineering at Imperial College

Nat Karmios NatKarmios

⚗️
Research engineering at Imperial College
View GitHub Profile
@NatKarmios
NatKarmios / InductionTasks_Section2_Task1_Code.java
Created August 27, 2016 20:39
Year 12 Induction Tasks for Computer Science at Twyford. [By Nat Karmios]
package com.karmios.nat.ComputingWork.InductionTasks.Section2.Task1;
import java.util.Scanner;
public class Code {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
// Prompt the user to enter their weight in pounds
@NatKarmios
NatKarmios / kruskal.md
Last active September 7, 2016 20:59
Kruskal's Algorithm, Implemented in Python

Output of kruskal(graphExamples["1a"], print_result=True):

EG: 13
AC: 15
AB: 18
DE: 19
BE: 21
FG: 27

Tree total: 113

package com.karmios.nat.computingwork.paper1.fundamentals_of_data_structures.mid_term_test.oop;
@SuppressWarnings({"WeakerAccess", "unused"})
public class Course {
private String name;
private Teacher teacher;
public Course(String name, Teacher teacher) {
this.name = name;
this.teacher = teacher;

EQP Draft

My frist draft question for my EPQ:

"How does functional programming in multi-paradigm languages (e.g. Java, Python) compare to purely functional languages?"

My first choice supervisor:

Mr Dawkins

@NatKarmios
NatKarmios / Debug.java
Created January 22, 2018 16:33
Nat's handy utils classes ;)
package com.karmios.nat.computingwork.utils;
@SuppressWarnings("unused")
public final class Debug {
public static boolean print(boolean b) {
System.out.println(b);
return b;
}
public static byte print(byte b) {
@NatKarmios
NatKarmios / timetable.txt
Created March 24, 2018 15:14
CS + Maths timetable
__________████████_____██████
_________█░░░░░░░░██_██░░░░░░█
________█░░░░░░░░░░░█░░░░░░░░░█
_______█░░░░░░░███░░░█░░░░░░░░░█
_______█░░░░███░░░███░█░░░████░█
______█░░░██░░░░░░░░███░██░░░░██
_____█░░░░░░░░░░░░░░░░░█░░░░░░░░███
____█░░░░░░░░░░░░░██████░░░░░████░░█
____█░░░░░░░░░█████░░░████░░██░░██░░█
___██░░░░░░░███░░░░░░░░░░█░░░░░░░░███
@NatKarmios
NatKarmios / PersonalStatement.txt
Created April 1, 2018 19:53
Nat's Personal Statement
Ever since my first "Hello, world!" when I was 11 year old, I have lived and breathed Computer Science.
As of Year 7, I have been learning various programming languages in order to better understand the world of computers. Beginning with Codecademy's Python course and fiddling with Minecraft servers and plugins, I am now particularly fluent in Python, Java and JavaScript (along with Linux experience), and I am working on adding C/C++ and Haskell to that list.
After earning my A* in Computing GCSE a year early, I studied to become an Oracle Certified Associate Java SE 8 Programmer, passing the exam in May 2016. This opened my eyes to how the Java compiler "thinks" about code, and improved my attitude towards code as a developer.
Of course, my understanding of Computer Science has had practical applications; from personal computer use and entertainment to academics and employment, my prowess with computers has helped me every step of the way.
I currently work part time for NowComms, a small marketing compan
abacc
ablewhaccets
ablocc
abococcet
abovedecc
abricocc
achecc
acc-acc
accee
accees
@NatKarmios
NatKarmios / words_end_cc.txt
Last active December 21, 2018 16:10
I did it for the memes, ok?
abacc
ablocc
abovedecc
abricocc
achecc
ack-acc
a-clocc
acocc
acrocc
Adirondacc
@NatKarmios
NatKarmios / minim-m.sh
Created October 7, 2019 03:48
Minimize/restore scripts using xdotool (and a dash of dmenu)
#!/usr/bin/env bash
# minimizes the currently focused window
current_window=$(xdotool getactivewindow) && \
echo $current_window >> ~/.minim && \
xdotool windowunmap $current_window