I hereby claim:
- I am lachlanarthur on github.
- I am lachlan (https://keybase.io/lachlan) on keybase.
- I have a public key whose fingerprint is E818 A2FB 0842 D306 F059 42C9 EA0F 46EF FCCA E2A0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/*! | |
* grid layout mode for Isotope | |
* based on cellsByRows layout | |
*/ | |
( function( window ) { | |
'use strict'; | |
function GridDefinition( LayoutMode ) { |
.ui-datepicker { | |
margin-bottom: @line-height-computed; | |
background-color: @panel-bg; | |
border: 1px solid transparent; | |
border-radius: @panel-border-radius; | |
.box-shadow(0 1px 1px rgba(0,0,0,.05)); | |
border-color: @panel-default-border; | |
a { | |
border-radius: @border-radius-base; |
$VideoURL = Read-Host -Prompt 'Adult Swim video page URL' | |
$Temp = "temp_" + ( $VideoURL -replace '[<>:"/\\|?*]','_' ) | |
New-Item -ItemType Directory -Path "./$($Temp)" -Force | Out-Null | |
if ( -not ( Test-Path "./$($Temp)/Video_Page.html" ) ) { | |
"Downloading webpage..." | Write-Host | |
Invoke-WebRequest $VideoURL -OutFile "./$($Temp)/Video_Page.html" | |
} |
sprintf`There are ${0} monkeys in the ${1}.`( '10', 'tree' );
// > There are 10 monkeys in the tree.
const linkTemplate = sprintf`<a href="${0}" ${2}>${1}</a>`;
linkTemplate('/contact/', 'Contact Us');
linkTemplate('https://example.com', 'Open Preview', 'target="_blank"');
$E = [char]0x001b | |
$CB_Reset = "$E`[0m" | |
$C_Default = "$E`[39m" | |
$C_Black = "$E`[30m" | |
$C_Red = "$E`[31m" | |
$C_Green = "$E`[32m" | |
$C_Yellow = "$E`[33m" | |
$C_Blue = "$E`[34m" |
! add exception to EasyList rule to let YouTube track video progress | |
@@||s.youtube.com/api/stats/watchtime* | |
www.hackertyper.com###menu | |
www.engineeringtoolbox.com##.adblo | |
! 05/12/2018, 17:27:38 All Medium sites - Old | |
! ##head[prefix*="medium-com"] + body .metabar | |
! ##head[prefix*="medium-com"] + body .js-followState |
<?php | |
/** | |
* Add `<optgroup>` support to `<select>` fields. | |
* | |
* Create optgroups by adding options with values `optgroup-something`. | |
* All subsequent options will be in the group. | |
* | |
* @param string $choice_markup The current option HTML | |
* @param array $choice The current choice data |
/** | |
* Toggle a class between child elements. Make a simple gallery fader! | |
* | |
* @param {Element} parent The wrapper element | |
* @param {string} activeClass Class to add to active child | |
* @param {number} timeout Milliseconds to wait between children | |
* @returns {() => void} Stop function that ends the fader | |
* | |
* @fires `beforeNext` Event fires before switching to new child. Bubbles. Cancelable with `preventDefault()`. | |
* - `e.target` => Current child |