Skip to content

Instantly share code, notes, and snippets.

View KeironO's full-sized avatar
😀

Keiron O'Shea KeironO

😀
View GitHub Profile
@KeironO
KeironO / started.sparql
Created September 13, 2022 10:19
Getting Started SPARL
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix snomedct: <http://purl.bioontology.org/ontology/SNOMEDCT/>
SELECT ?x
WHERE {
}
Computer Information:
Manufacturer: ASRock
Model: B550M Phantom Gaming 4
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 5600X 6-Core Processor
CPU Family: 0x19
CPU Model: 0x21
Computer Information:
Manufacturer: ASRock
Model: B550M Phantom Gaming 4
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 5600X 6-Core Processor
CPU Family: 0x19
@KeironO
KeironO / uploadfhir.sh
Created June 15, 2024 18:42
Upload UK Core to HAPI FHIR hack script - run twice.
#!/bin/bash
# Define variables
ZIP_FILE="hl7fhirukcorer4.zip"
FHIR_SERVER_URL="http://localhost:8080/fhir"
# Create a temporary directory to extract the zip file
TEMP_DIR=$(mktemp -d)
# Unzip the file
@KeironO
KeironO / results.csv
Created July 7, 2024 17:53
2024 General Election Results CSV
Code Party Votes
E14001263 Conservative 19671
E14001263 Liberal Democrat 14869
E14001263 Labour 8753
E14001263 Reform UK 8216
E14001263 Green 2310
E14001263 Hampshire Independents 185
E14001264 Labour 24073
E14001264 Conservative 8783
E14001264 Green 4468
@KeironO
KeironO / sync-mp3.sh
Created November 23, 2024 19:50
sync-mp3.sh
#!/bin/bash
# Ensure dependencies are installed
if ! command -v rsync &> /dev/null; then
echo "rsync is required but not installed. Please install it with 'sudo apt install rsync'."
exit 1
fi
if ! command -v sqlite3 &> /dev/null; then
echo "sqlite3 is required but not installed. Please install it with 'sudo apt install sqlite3'."