Switch between stacked and grouped layouts using sequenced transitions! Animations preserve object constancy and allow the user to follow the data across views. Animation design by Heer and Robertson. Colors and data generation inspired by Byron and Wattenberg.
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | |
echo "Configure Computer Name" | |
$computerName = Read-Host 'Enter New Computer Name' | |
Write-Host "Renaming this computer to: " $computerName -ForegroundColor Yellow | |
Rename-Computer -NewName $computerName | |
echo "Fixing time" | |
Set-TimeZone "W. Australia Standard Time" | |
net start w32time |
# should works on any cloud-init enabled hypervisor (openstack.. ) | |
# start from a ubuntu minimal install | |
# we need to shrink down the used space to move it in a tmpfs of 700MB | |
while ! ssh -o ConnectTimeout=2 -p 22 ubuntu@$instanceIP; do sleep 1; done | |
# make sure we are on the highest kernel, so we can delete all the others ... | |
sudo apt update && sudo apt dist-upgrade -y && sudo apt install lsof && sudo reboot |
wpa_supplicant.conf |
#!/bin/bash | |
if [[ -z "$NGROK_TOKEN" ]]; then | |
echo "Please set 'NGROK_TOKEN'" | |
exit 2 | |
fi | |
if [[ -z "$USER_PASS" ]]; then | |
echo "Please set 'USER_PASS' for user: $USER" |
This clock's "hour" hand is really a degree hand. It points to the longitude where it is solar noon. The minutes and seconds point to the minutes and seconds of the location where it is solar noon. This is partly bases off of New Earth Time, but adjusted to fit geography more.
Based off of: bl.ocks.org/tomgp/6475678 http://bl.ocks.org/mbostock/4364903 and http://bl.ocks.org/mbostock/4597134
TODO: Make the clock less hard coded between the northern and southern hemisphere.
import time | |
import random | |
class MatrixFibonacci: | |
A = [[1, 1], | |
[1, 0]] | |
def __init__(self): | |
self.__memo = {} |
This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. This is an attempt to improve on this visualization. The chart employs conventional margins and a number of D3 features:
You can see it fully rendered here: http://bl.ocks.org/ClashTheBunny/83d21db6af87fdc90cc4
Be sure to "Open in a new window", so you can see the second graph: http://bl.ocks.org/ClashTheBunny/raw/83d21db6af87fdc90cc4/
- d3.csv - load and parse data
- d3.scale.ordinal - x-position encoding and color encoding
{ | |
"id": "ti6yn", | |
"project": "", | |
"properties": { | |
"name": "photobooth", | |
"environment": { | |
"runtime": "html", | |
"src": "preview/iframe.html", | |
"width": 300, | |
"height": 300, |