Skip to content

Instantly share code, notes, and snippets.

View J-Curragh's full-sized avatar
🏠
Working from home

J-Curragh

🏠
Working from home
View GitHub Profile
@J-Curragh
J-Curragh / diagnose4.csv
Created November 30, 2022 00:59
Dataset for COM499 Artificial Intelligence Assignment 2
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 15 columns, instead of 14. in line 6.
0,Male,Dublin,119.7810709,249.9756233,12.21362552,616.7474831,-67.80144086,2245.29535,-173.3570671,,247.4228637,651.4013304,-527.9255605,0
1,Female,London,19.53075024,134.7216323,-6.651758619,-1047.258296,403.3493599,,-56.12056108,323.4114365,2694.009119,766.4436796,-313.1900497,2
2,Female,,21.26043788,-532.9337564,4.203863088,-899.6991095,-325.9463209,964.0397103,35.87143546,873.7018793,1158.964157,877.331952,-386.1709448,0
3,Female,London,89.68788193,-919.7088149,0.27428583,-2944.513415,175.1853927,-753.9527233,74.91032154,328.9564052,1363.73516,207.1466718,,2
4,,Belfast,179.9572871,717.1833642,-12.87479712,-3960.304794,-286.928998,-1888.159139,61.08741712,424.5543856,3898.100368,228.1186402,-3.960440756,2
5,Male,London,-40.25053566,688.0747559,13.98597298,-1000.794322,-176.1715296,-1039.329766,21.38115657,-497.4129412,671.4899744,-265.6222047,157.8040447,2
6,Female,London,98.55363347,-1458.815047,4.990671611,-1295.525892,-9.846345821,-1475.666393,-82.49200179,53.49850884,-525.899306,-380.751208,-72.3142323
@J-Curragh
J-Curragh / alacritty.yml
Created February 20, 2022 20:05
Alacritty Config
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Import additional configuration files
#
# Imports are loaded in order, skipping all missing files, with the importing
# file being loaded last. If a field is already present in a previous import, it
# will be replaced.
#
# All imports must either be absolute paths starting with `/`, or paths relative
# to the user's home directory starting with `~/`.
@J-Curragh
J-Curragh / add_entry.sh
Created February 3, 2022 18:08
freedesktop.org desktop entry install script
#!/bin/sh
echo "Validating the desktop entry..."
desktop-file-validate $1
if [ $? -ne 0 ]; then
exit 1
fi
echo "The desktop entry has been validated."
@J-Curragh
J-Curragh / App.java
Last active September 28, 2021 23:30
Java tutorial 1
package selection;
import java.util.Scanner;
public class App {
/**
* Bonus rating from 1 to 3. Each rating provides a percentage bonus
* amount based on their pay.