- Setup some kind of automation so this can happen regularly.
- Consider python or charm.sh to run everything
- My async solution using parallel is ok, but async.io or something pythonic might be nice.
- Go could handle this really well, so that's a consideration as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| #-- Dave Wallraff | |
| # -- bdmorin@gmail.com | |
| ### bootstrap crostini container | |
| # curl -sL https://gist.githubusercontent.com/bdmorin/54e15b22a57eea69be8b880fa2569225/raw/6517ceb92a750597875c92ad35f227eb0a3747e1/crostini-bootstrap.sh | bash | |
| # Do all this in ansible, duh | |
| # wrap in a function for curl|bash |
I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha --> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" /> | |
| <title>stdin</title> | |
| </head> | |
| <body> | |
| <pre> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # authornote: i need to change all mentions of blackhole -> transferdir or something | |
| # tested on macos, YMMV | |
| # Gist: https://gist.github.com/bdmorin/d3c53e0f495f4947bf61fb55e1c85310 | |
| # Set ur putio oath token | |
| OAUTH_TOKEN=$(cat ${HOME}/.putio_oauth) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 927,1514c927 | |
| < <script language="JavaScript" type="text/javascript"> | |
| < // Copyright (C) 2017 Comcast Cable Communications, LLC | |
| < // Contact Us: http://customer.xfinity.com/contact-us/ | |
| < // Intended use of this message is to display critical and time sensitive notifications to customers. | |
| < /* | |
| < This program is free software; you can redistribute it and/or | |
| < modify it under the terms of the GNU General Public License | |
| < as published by the Free Software Foundation; either version 2 | |
| < of the License, or (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Yes you can do this in ansible | |
| jdir = "~/jupyterLocal" | |
| mkdir -p ${jdir} | |
| pip install virtualenv | |
| pip install virtualenvwrapper | |
| TMPFILE=$(mktemp) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global: | |
| evaluation_interval: 15s | |
| rule_files: | |
| - smokeping.rules | |
| scrape_configs: | |
| - job_name: 'blackbox_icmp' | |
| metrics_path: /probe | |
| params: | |
| module: [icmp] | |
| scrape_interval: 1s |
