Skip to content

Instantly share code, notes, and snippets.

View KeironO's full-sized avatar
😀

Keiron O'Shea KeironO

😀
View GitHub Profile
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:

{
"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"
{
"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 / SOC2010.tsv
Created August 14, 2019 16:42
SOC2010 Codes
1115 Chief executives and senior officials
1116 Elected officers and representatives
1121 Production managers and directors in manufacturing
1122 Production managers and directors in construction
1123 Production managers and directors in mining and energy
1131 Financial managers and directors
1132 Marketing and sales directors
1133 Purchasing managers and directors
1134 Advertising and public relations directors
1135 Human resource managers and directors