This file contains 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 | |
################################################################################ | |
# | |
# Automated creation of virtual floppy disk with data | |
# | |
# Usage with default config: | |
# * Copy your data to a folder called 'input' | |
# * run the script: $ ./create-virtual-floppy.sh | |
# * The virtual floppy disk with data can be found timestamped in a 'output' folder | |
# |
This file contains 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 | |
# Usage: Assuming a vagrant based kubernetes (as in https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagrant-single.html), run this script in the same folder of the Vagrantfile (where you would normally do "vagrant up") | |
# * Then insert the password (by default: kubernetes) | |
# * Browse localhost:9090 | |
USERNAME='kubernetes' | |
PASSWORD='kubernetes' | |
function main() { |
This file contains 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 python | |
import requests | |
# from pprint import pprint | |
import json | |
import time | |
import yaml | |
import pandas as pd | |
from pandas import DataFrame |
This file contains 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
// Download an edX course as Markdown a file | |
// | |
// Usage: | |
// * Go to edX course webpage | |
// * Enroll | |
// * Get in (audit course, for example) | |
// * Open web browser console (tested on Chromium) | |
// * Paste code | |
// * Press intro | |
function extracttion() { |
OlderNewer