Skip to content

Instantly share code, notes, and snippets.

@L33tCh
L33tCh / speedtest2api
Last active August 25, 2018 20:54 — forked from linosteenkamp/speedtest2api.sh
Execute speedtest-cli and write results to speedtest-api
#!/bin/bash
# URL for speedtest-api (Change this to match your setup)
URL="localhost:3000/api/test/create"
# Path to speedtest-cli (Change this to match the path to your speedtest-cli executable)
SPEEDTEST_CLI_PATH="/usr/bin/speedtest-cli"
# Input Field Seperator for splitting the CSV result into an array
IFS=","
@L33tCh
L33tCh / 0_reuse_code.js
Last active August 29, 2015 14:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console