Skip to content

Instantly share code, notes, and snippets.

View KeironO's full-sized avatar
😀

Keiron O'Shea KeironO

😀
View GitHub Profile
{
"A": {
"subheadings": {
"A01": {
"codes": {
"A01.1": "Hemispherectomy",
"A01.2": "Total lobectomy of brain",
"A01.3": "Partial lobectomy of brain",
"A01.8": "Other specified",
"A01.9": "Unspecified"
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
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
@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 {
}
import random
import string
def misspell(phrase, p):
new_phrase = []
words = phrase.split(' ')
for word in words:
outcome = random.random()
if outcome <= p:
ix = random.choice(range(len(word)))
[keo7@shitter fiotest]$ sudo fio --name=write_throughput --directory=$TEST_DIR --numjobs=8 \
> --size=10G --time_based --runtime=60s --ramp_time=2s --ioengine=libaio \
> --direct=1 --verify=0 --bs=1M --iodepth=64 --rw=write \
> --group_reporting=1
^[[D^C
[keo7@shitter fiotest]$ ^C
[keo7@shitter fiotest]$ sudo fio --name=write_throughput --directory=. --numjobs=8 --size=10G --time_based --runtime=60s --ramp_time=2s
--ioengine=libaio --direct=1 --verify=0 --bs=1M --iodepth=64 --rw=write --group_reporting=1
write_throughput: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=64
...
@KeironO
KeironO / keybase.md
Created October 12, 2021 19:43
keybase.md

Keybase proof

I hereby claim:

  • I am keirono on github.
  • I am keirono (https://keybase.io/keirono) on keybase.
  • I have a public key ASAewBOhh-pOEwEcLAZHgTWO1LBeNvJUiJViIJK5rIPvJQo

To claim this, I am signing this object:

{
"components": {
"schemas": {
"NewUserAccount": {
"properties": {
"access_control": {
"enum": [
"ADM",
"MOD",
"PRI",
<record>
<boolean id="preload" value="false"/>
<boolean id="amap" value="false"/>
<list id="maps">
<record from="2082082528" to="graphics/pictures/club/2082082528/logo"/>
<record from="2082082528_s" to="graphics/pictures/club/2082082528/icon"/>
</list>
</record>
@KeironO
KeironO / curry.md
Last active March 22, 2020 05:51
Anti-capitalist liberal metropolitan elite vegetarian curry

Anti-capitalist liberal metropolitan elite vegetarian curry

Ingredients

Main bits and bobs

  • 3 chopped brown onions
  • 2 x 400g tins chickpeas, drained (ofc)
  • 2 tins of chopped tomatoes
  • 2 red peppers, deseeded and chopped
  • A decent amount of tomato puree.
  • A bit of fresh coriander (not needed, but it’s good to be a glutinous capitalistic pig sometimes)

For the paste