I hereby claim:
- I am twkm on github.
- I am twkm (https://keybase.io/twkm) on keybase.
- I have a public key ASCjz35xi73O9AJgD2npxqcFH1F6dcrc390TWpWldV2SMQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1DtaqCvaV2wQwU38UKBRiMySASS7tfR9nB https://explorer.blockstack.org/address/1DtaqCvaV2wQwU38UKBRiMySASS7tfR9nB |
#!/bin/bash | |
# Text enclosed in {} throughout should be replaced with your desired values | |
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
# May also need to export $HOME: <https://bugs.launchpad.net/duplicity/+bug/758077> | |
# This seems to be necessary on a Mac crontab process | |
ulimit -n 4096 | |
if [ -r .last_backup ]; then | |
LAST_BACKUP=$(cat .last_backup) | |
else |
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: killswitch | |
# Required-Start: openvpn $network $remote_fs $syslog | |
# Required-Stop: openvpn $network $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: VPN Killswitch | |
# Description: This script uses UFW to ensure all traffic goes through VPN |
## Get Countries | |
gawk ' | |
BEGIN { | |
FS="\"*,\"*" | |
OFS="\",\"" | |
print "\"" "id", "name", "slug" "\"" | |
} | |
NR>1 { | |
slug = tolower($2) |
Loading jQuery via a Google Hosted Libraries allows it to load quicker, as other sites who have included it from Google's Hosted Libraries will ensure that jQuery is already available in the cache of many of your visitors' computers.
The following snippet of code will attempt to load jQuery from Google Hosted Libraries and fall back to a local version if it did not load correctly for any reason. Ensure that you update the path to your local version of jQuery in the code below.
<!-- Load jQuery via Google CDN, fall back to local version if not loaded -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
Quick reference for inserting JSON-LD in a page to use for Schema.org purposes within Google Tag Manager.
From this excellent Moz post.
<script>
(function()
{
This apache configuration can be added to the .htaccess file of a site to automatically keep staging and development versions from being indexed by Google and other search engines. No more worrying about whether or not noindex
is keeping live sites from being crawled by search engines!
# Check HTTP_HOST variable and set noindex, nofollow for hosts other than the live site
<IfModule mod_rewrite.c>
RewriteCond %{HTTP_HOST} ^domain\.com$
padding-bottom is calculated using the aspect ratio of the video. a 16:9 video has a padding-bottom of 56.25%, while a 4:3 video has a padding-bottom of 75%.
More detailed article at Smashing Magazine
.videowrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 35px;
height: 0;