Put location on...
References: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition
https://developers.google.com/web/fundamentals/device-access/user-location/obtain-location?hl=en
#!/bin/sh | |
### | |
# vpngate.net client for OpenWRT | |
# | |
# This script allows to pull server list from vpngate public VPN server registry and filter | |
# it by country, score, maximum ping and uptime. | |
# | |
# Once server that matches requested criteria found, script will setup openvpn | |
# instance via UCI and perform connection test. |
#!/bin/bash | |
# disable the output of messages to the console if users log in under non-existent names | |
exec 2>/dev/null | |
# name of the group that is allowed access on weekends | |
group="admin" | |
# check if the user $ PAM_USER belongs to the admin group: no - 0, yes -1 | |
check_group=$(id -Gn $PAM_USER | grep -w $group | awk '{print $2}' | wc -l) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.min.css"/> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> |
<!DOCTYPE html> | |
<html lang="en" > | |
<head> | |
<meta charset="UTF-8"> | |
<title>Digital Clock</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> | |
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Share+Tech+Mono'><link rel="stylesheet" href="./style.css"> | |
</head> | |
<body> |
# Encode inputfile.tar.gz as a series of video frames | |
# Frames are written to frames/frameNNNN.png | |
from PIL import Image | |
with open('inputfile.tar.gz', 'rb') as f: | |
data = f.read() | |
WIDTH = 120 | |
HEIGHT = 90 | |
CHUNK_SIZE = int((WIDTH * HEIGHT) / 8) |
license: apache-2.0 | |
height: 800 |
license: MIT | |
height: 1600 | |
scrolling: no | |
border: no |
Added all of the Farmers' Markets data into the kMeans Library by @emilbayes, thank you!
Exploring the idea of using the areas around the centroids to exaggerate that cluster when it deviates from the rest of the clusters. This originates from the question "Which features in each cluster differentiate it from the rest?"