$( 'body' );
$$( 'button' );
$$<HTMLInputElement>( 'form#contact input' );
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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" |
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"');
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* grid layout mode for Isotope | |
* based on cellsByRows layout | |
*/ | |
( function( window ) { | |
'use strict'; | |
function GridDefinition( LayoutMode ) { |
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:
NewerOlder