height: 900 scrolling: no border: yes
TELEGRAM_TOKEN="945865147:AAFBT_GKRgIYvWrRorYbnUSXZsIRvK354C8" | |
TELEGRAM_CHAT="680273290" |
<!DOCTYPE html> | |
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]><html class="lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]><html class="lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html> <!--<![endif]--> | |
<head> | |
<title>Visual + JSON-stat: simple line chart</title> | |
<!-- DO NOT DO THIS IN PRODUCTION --> | |
<!-- github.io and json-stat.org ARE NOT CDNs! Link to your own copies or to a CDN. --> |
license: gpl-3.0 |
Pinch apart to split the viewport in two, so you can do parallel reading. Pinch together to recombine. Only tested on iPhone & iPad; should work on other multitouch devices?; doesn't do anything (or make any sense) on non-touch single-pointer mouse/trackpad devices, whatever we're calling that classic category these days. But you can see it demo'ed in this tweet.
WHY:
The Web is missing lenses and mirrors and such, I think — images! maps! — fundamental mechanics for getting various views on the same underlying content. We have the freedom to paint any pixel according to any arbitrary rule, and yet it's weirdly hard to . . . like, hold your place in a long document, as one would with a finger marking a page in a book as you skim ahead. Sometimes I highlight the last sentence I read with the mouse so it jumps out when I scroll back up, which is a nice near-unconscious hack that takes advantage of something I know about how document state work
apt-get install chromium-chromedriver --yes | |
apt-get install xvfb --yes | |
pip install PyVirtualDisplay xvfbwrapper selenium | |
echo ''' | |
from pyvirtualdisplay import Display | |
from selenium import webdriver | |
display = Display(visible=0, size=(1024, 768)) | |
display.start() | |
opts = webdriver.ChromeOptions() |
# put file in /etc/systemd/system/ | |
[Unit] | |
Description=Update DNS entry for this host to current IP | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/sh /usr/local/bin/cloudflare-ddns.sh |
license: mit |
#!/usr/bin/env bash | |
set -e | |
# usage: | |
# $ ./encode.sh [INPUT_FILE] | |
# | |
# NOTE: The output directory is defined in the script (below) because I use this script with Hazel | |
# START CONFIGURATION ================== |
• All steps to a clean OVH VPS install
• Script to make a VPS more secure(This Gist)
• Scripts to install Potherca projects on OVH VPS
In 2019 I moved various web-apps I have created to a VPS (hosted by OVH).