Skip to content

Instantly share code, notes, and snippets.

View rye's full-sized avatar
🦀
wranglin' Cow<T>'s

Kris Rye rye

🦀
wranglin' Cow<T>'s
View GitHub Profile
#!/bin/bash
for i in raid{5,6,10};
do
echo ">>> Benchmarking $i..."
sudo bonnie++ -c 1 -d /$i -s 524288 -n 1024 -m $i -u root -bf 2>&1 | sudo tee $i.out
echo ">>> Done!"
echo ">>> Cleaning up... (sync; echo 3 > /proc/sys/vm/drop_caches)"
sudo sync

Keybase proof

I hereby claim:

  • I am rye on github.
  • I am krstfrye (https://keybase.io/krstfrye) on keybase.
  • I have a public key ASC7DhUX31cMaKAPn_s5ZWQ2HZVfBik5EhE_2h-_8V-bWwo

To claim this, I am signing this object:

@rye
rye / naughty_list
Last active December 9, 2019 17:38
A list of IP addresses that have tried (and failed) to log into my systems.
1.55.17.162
1.186.45.250
1.245.61.144
2.136.131.36
2.139.199.51
2.152.111.49
2.228.149.174
3.92.185.11
3.94.79.149
3.133.90.152
This file has been truncated, but you can view the full file.
{"type":"FeatureCollection","name":"tl_2010_18157_tabblock10","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4269"}},"features":[{"type":"Feature","properties":{"STATEFP10":"18","COUNTYFP10":"157","TRACTCE10":"011100","BLOCKCE10":"2091","GEOID10":"181570111002091","NAME10":"Block 2091","MTFCC10":"G5040","UR10":"U","UACE10":"46018","UATYP10":"U","FUNCSTAT10":"S","ALAND10":5977,"AWATER10":0,"INTPTLAT10":"+40.4033248","INTPTLON10":"-086.9067438"},"geometry":{"type":"Polygon","coordinates":[[[-86.906101,40.403435],[-86.906192,40.403378],[-86.906447,40.403234],[-86.906528,40.403189],[-86.907525,40.402703],[-86.90778,40.40258],[-86.907886,40.402529],[-86.907555,40.402832],[-86.906565,40.403743],[-86.906235,40.404047],[-86.906208,40.403924],[-86.906127,40.403557],[-86.906101,40.403435]]]}},{"type":"Feature","properties":{"STATEFP10":"18","COUNTYFP10":"157","TRACTCE10":"001501","BLOCKCE10":"1004","GEOID10":"181570015011004","NAME10":"Block 1004","MTFCC10":"G5040","UR10":"U","UACE10":"46018","UATYP10