Used for giving wired devices (such as femtocells) access to the internet without access to local devices.
Following is rules required assuming subnet desired is 192.168.71.1/24
.
/* | |
I use Firefoxes new vertical tabs with a tiling window manager. | |
The close window button isn't needed | |
The tab close buttons are too easy to hit when in collapsed sidebar mode, I'll just use middle mouse or ctrl+w instead | |
*/ | |
.titlebar-buttonbox-container { display:none } | |
#vertical-tabs .tab-close-button.close-icon { display:none !important } |
#!/usr/bin/env python3 | |
import sys | |
import os | |
from typing import NamedTuple | |
import subprocess | |
def printc(text, colour): | |
"""Print text in color.""" | |
colours = { |
# Replace /dev/video4 with your webcam | |
mplayer -noborder \ | |
-geometry 320x240+1600+840 \ | |
-tv driver=v4l2:width=320:height=240:device=/dev/video4 tv:// |
#!/usr/bin/env python3 | |
import requests | |
from requests.auth import HTTPBasicAuth | |
import click | |
from tqdm import tqdm | |
from pathlib import Path | |
import os.path | |
import subprocess | |
from glob import glob |
xsacdb-next: | |
image: wjdp/xsacdb:next | |
container_name: xsacdb-next | |
restart: "no" | |
command: /bin/bash -c "/app/bin/predeploy.sh; /usr/bin/supervisord -c /app/supervisord.conf" | |
volumes: | |
- /storage/xsacdb/next/conf:/app/conf | |
- /storage/xsacdb/next/media:/app/media | |
depends_on: | |
- postgres |
############## Subsurface CRASH LOG ############### | |
################ SYSTEM INFO ################ | |
Date: Tue Jul 3 21:16:35 BST 2018 | |
Subsurface Options: | |
Subsurface version: | |
Arch: x86_64 | |
Kernel: Linux 4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 | |
Release: Ubuntu 16.04.4 LTS (Xenial Xerus) | |
############## END SYSTEM INFO ############## |
I hereby claim:
To claim this, I am signing this object:
# Title: Jekyll Image Tag | |
# Modified by: Will Pimblett: @wjdp | |
# Changes made to speed up (15 seconds -> 0.01 seconds) mean that images that | |
# change DO NOT get updated if the filenames still match | |
# Original Authors: Rob Wierzbowski : @robwierzbowski | |
# | |
# Description: Better images for Jekyll. | |
# | |
# Download: https://github.com/robwierzbowski/jekyll-image-tag |
class AnimatedScroll | |
constructor: (scrollEnd, scrollDuration) -> | |
@scrollStart = window.scrollY | |
@scrollStep = Math.PI / scrollDuration | |
@cosParameter = (@scrollStart - scrollEnd) / 2 | |
@scrollEnd = scrollEnd | |
@scrollDuration = scrollDuration | |
@scrollCount = 0 |