start new:
tmux
start new with session name:
tmux new -s myname
<?php | |
/** | |
* bccalc | |
* | |
* @author Steven Harris | |
* @license MIT | |
*/ | |
/** |
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
########################################### | |
# IMPORTANT NOTE: | |
# | |
# As of asuswrt-merlin 380.67 Beta, you | |
# can now configure SSL certificates from | |
# the Webui, making these instructions | |
# unnecessary. | |
########################################### | |
<llppconfig> | |
<ui-font size='18'> | |
<![CDATA[/home/earnest/.local/share/fonts/Fontin-Regular.otf]]> | |
</ui-font> | |
<defaults zoom='100' | |
auto-scroll-step='12' | |
horizontal-scroll-step='24' | |
case-insensitive-search='true' | |
uri-launcher='$BROWSER "%s"' |
/* | |
* Save a text file locally with a filename by triggering a download | |
*/ | |
var text = "hello world", | |
blob = new Blob([text], { type: 'text/plain' }), | |
anchor = document.createElement('a'); | |
anchor.download = "hello.txt"; | |
anchor.href = (window.webkitURL || window.URL).createObjectURL(blob); |
To remove a submodule you need to:
-- Allow changing a property with by zoom-adjusted amount | |
function zoom_invariant_add(prop, amt) | |
amt = amt / 2 ^ mp.get_property_number("video-zoom") | |
mp.set_property_number(prop, mp.get_property_number(prop) + amt) | |
end | |
-- Resets the pan if the entire image would be visible | |
function zoom_check_center() | |
local zoom = mp.get_property_number("video-zoom") | |
local rot = mp.get_property_number("video-rotate") * math.pi / 180 |
#!/bin/bash | |
# === INFO === | |
# NoVPN | |
# Description: Bypass VPN tunnel for applications run through this tool. | |
VERSION="3.0.0" | |
# Author: KrisWebDev | |
# Requirements: Linux with kernel > 2.6.4 (released in 2008). | |
# This version is tested on Ubuntu 14.04 and 19.10 with bash. | |
# Main dependencies are automatically installed. |
#!/bin/bash | |
# === INFO === | |
# ForceVPN | |
# Description: Force VPN tunnel for specific applications. | |
# If the VPN is down => blackhole the app network traffic. | |
# Better than a killswitch. IPv4. | |
VERSION="2.3.0" | |
# Author: KrisWebDev | |
# Requirements: Linux with kernel > 2.6.4 (released in 2008). |