Skip to content

Instantly share code, notes, and snippets.

View bmsimons's full-sized avatar
🚀
Ready for take-off!

Bart Simons bmsimons

🚀
Ready for take-off!
View GitHub Profile
@bmsimons
bmsimons / README.md
Last active June 4, 2022 14:30
Mount sshfs as a systemd service for a host with password authentication

Do not forget to:

  • chmod 700 the mountshare.sh script.
  • run systemctl daemon-reload before you systemctl enable mountshare.service.
@bmsimons
bmsimons / Dockerfile
Created June 3, 2022 17:59
Simple Dockerfile for deploying a Plex Server
FROM ubuntu:jammy
ENV DEBIAN_FRONTEND="noninteractive"
RUN \
apt update && \
apt install -y curl && \
curl -o /tmp/plexmediaserver.deb -L https://downloads.plex.tv/plex-media-server-new/1.26.2.5797-5bd057d2b/debian/plexmediaserver_1.26.2.5797-5bd057d2b_amd64.deb && \
dpkg -i /tmp/plexmediaserver.deb && \
rm -f /tmp/plexmediaserver.deb && \
@bmsimons
bmsimons / demo-csv-data.csv
Last active March 27, 2018 16:56
Just some random CSV data
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 8. in line 1.
Datum;Jaar;Mnd;Dag;Ticvanri;Ticvan;Richt;Hm;Oorz;Begt;StUur;StMin;Eindt;EindUur;EindMin;Zwaarte;GemLeng;Duur;Dagnr;Weeknr;Dagsoort;G_L;Provinci;Routelet;Routenum;Routeoms;Naam_Van;Naam_Naa;Hm_Van;Hm_Naar;Traj_Van;Traj_Naa;Flricht;FilesAgvWerk;IdWerk
20180101;2018;1;1;76122;7612;2;41,1;0D8;1342;13;42;1358;13;58;37,45;2274,29;16,46;1;1;7;2,27;8;A;16;A16;Klaverpolder;'s-Gravendeel;43,1;41,1;Breda;Rotterdam;Rotterdam; ;
20180101;2018;1;1;80021;8002;1;42,6;0D8;1615;16;15;1632;16;32;45,4;2619,23;17,33;1;1;7;2,61;6;A;2;A2;Abcoude;Vinkeveen;40,6;42,6;Utrecht;Amsterdam;Utrecht; ;
20180101;2018;1;1;83301;8330;1;52,4;313;1500;15;0;1523;15;23;59,21;2509,18;23,6;1;1;7;2,5;8;A;27;A27;Everdingen;Lexmond;54,4;52,4;Gorinchem;Utrecht;Gorinchem; ; 
20180102;2018;1;2;70222;7022;2;23,4;9CE;1723;17;23;1802;18;2;155,55;3913,2;39,75;2;1;1;3,91;7;A;1;A1;Naarden-Vesting;Blaricum;20,4;23,4;Amsterdam;Amersfoort;Amersfoort; ; 
20180102;2018;1;2;70291;7029;1;31,1;0B4;1325;13;25;1340;13;40;30,5;2000;15,25;2;1;1;2;6;A;1;A1;Eembrugge;Soest;
Verifying my Blockstack ID is secured with the address 1FbkL2tdv2wuJG9g19DSRe9tijvbdJGYjV https://explorer.blockstack.org/address/1FbkL2tdv2wuJG9g19DSRe9tijvbdJGYjV
Verifying my Blockstack ID is secured with the address 1FbkL2tdv2wuJG9g19DSRe9tijvbdJGYjV https://explorer.blockstack.org/address/1FbkL2tdv2wuJG9g19DSRe9tijvbdJGYjV
@bmsimons
bmsimons / gist:1bcf6e3f220056e888867e8a6b1630da
Created November 15, 2016 21:48
Default Shuttle Configuration
{
"_comments": [
"Valid terminals include: 'Terminal.app' or 'iTerm'",
"In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.",
"Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available",
"For more information on how to configure, please see http://fitztrev.github.io/shuttle/"
],
"editor": "default",
"launch_at_login": false,
"terminal": "Terminal.app",
@bmsimons
bmsimons / ALLWINDOWSONTECHBENCH.md
Last active May 11, 2019 04:27
Download all Windows ISOs directly from Microsoft with a trick

Just run the following JavaScript bookmarklet on https://www.microsoft.com/en-us/software-download/windows10 to reveal all Windows versions.

$("select#product-edition").html("<option value selected value='selected'>Select edition</option><option value='2'>Windows 7 Home Basic SP1 </option><option value='4'>Windows 7 Professional SP1 </option><option value='6'>Windows 7 Home Premium SP1 </option><option value='8'>Windows 7 Ultimate SP1 </option><option value='10'>Windows 7 Home Premium N SP1 </option><option value='12'>Windows 7 Professional N SP1 </option><option value='14'>Windows 7 Ultimate N SP1 </option><option value='16'>Windows 7 Professional K SP1 </option><option value='18'>Windows 7 Professional KN SP1 </option><option value='20'>Windows 7 Home Premium K SP1 </option><option value='22'>Windows 7 Home Premium KN SP1 </option><option value='24'>Windows 7 Ultimate KN SP1 </option><option value='26'>Windows 7 Ultimate K SP1 </option><option value='28'>Windows 7 Starter SP1 </option><option value