I hereby claim:
- I am PerpetualBeta on github.
- I am jhollin (https://keybase.io/jhollin) on keybase.
- I have a public key whose fingerprint is 9547 E5D6 4590 94C5 D627 F8BC 1616 3E98 79D4 DF03
To claim this, I am signing this object:
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
'use strict'; | |
const version = 'v1.17l::'; | |
const staticCacheName = version + 'pwa'; | |
const pagesCacheName = version + 'pages'; | |
const imagesCacheName = version + 'assets'; | |
const offlinePage = '/local-offline.html'; | |
const weblogSlug = '/weblog/'; | |
const cacheList = [ |
#!/bin/bash | |
PING_TIMEOUT=2 | |
PING_ADDRESS=8.8.8.8 | |
PING_STATUS=false | |
EXTERNAL_IP_LABEL='IP Address (external): ' | |
ACQUIRE_EXTERNAL_IP='/usr/local/bin/wget -qO- http://ipecho.net/plain' | |
EXTERNAL_IP_ADDRESS="$(eval "$ACQUIRE_EXTERNAL_IP")" | |
EXTERNAL_IP="${EXTERNAL_IP_LABEL}${EXTERNAL_IP_ADDRESS}" | |
VPN_STATUS=false |
#!/usr/bin/env php | |
<?php | |
/* Inspired by: https://github.com/MattWilcox/Adaptive-Images */ | |
# BEGIN: Configuration | |
$config = array ( | |
'breakpoints' => array(10, 80, 480, 768, 820, 1024, 1280, 1640), | |
'group_breakpoints' => TRUE, // if TRUE, will group the images into folders for each breakpoint |
-- Run this script | |
SELECT CONCAT('DROP DATABASE `', schema_name, '`;') AS stmt | |
FROM information_schema.schemata | |
WHERE schema_name NOT IN ('information_schema', 'performance_schema', 'mysql') | |
ORDER BY SCHEMA_NAME; | |
-- Copy the output into your clipboard | |
SET FOREIGN_KEY_CHECKS = 0; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Traverse a directory starting at $path and change the permissions of all files | |
# or folders (determined with options) to $permissions | |
helpText=$"Usage: ${0##*/} -(f|d) permissions path"; | |
permissions=$2; | |
path=$3; | |
if [[ $path ]] |
# /bin/sh | |
if [ "$(whoami)" != 'root' ]; then | |
echo 'This script must be run as "root".' | |
echo 'Enter password to elevate privileges:' | |
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P ) | |
SELF=`basename $0` | |
sudo $SCRIPTPATH'/'$SELF | |
exit 1 | |
fi |
(function($){ | |
$.fn.extend({ | |
fixedTableHeader: function(options) { | |
var defaults = { wrapper : null, offset : 0 }; | |
options = $.extend(defaults, options); | |
return this.each(function() { | |
var o = options; | |
if (o.wrapper === null) { $(this).wrap('<div class="w" />'); o.wrapper = $('.w'); } | |
var scrollbarWidth = function(){var a=$('<div style="width:50px;height:50px;overflow:hidden;position:absolute;top:-200px;left:-200px;"><div style="height:100px;"></div></div>');$('body').append(a);var b=$('div',a).innerWidth();a.css('overflow-y','auto');var c=$('div',a).innerWidth();$(a).remove();return b-c;}; | |
$(this).clone().appendTo(o.wrapper).wrap('<div class="b" />'); |