Skip to content

Instantly share code, notes, and snippets.

View colettesnow's full-sized avatar

Colette Snow colettesnow

View GitHub Profile
@colettesnow
colettesnow / runterminal.ahk
Created October 14, 2019 01:44
AutoHotkey script to start PowerShell 6 via Left Win Key + Enter.
LWin & Enter::
Run pwsh.exe
return

Keybase proof

I hereby claim:

  • I am colettesnow on github.
  • I am colettesnow (https://keybase.io/colettesnow) on keybase.
  • I have a public key ASBfjb_beoMrNWeXJekgr_2BtT62GKH1OM8Lec24aE3HTgo

To claim this, I am signing this object:

@colettesnow
colettesnow / functions.php
Created June 29, 2019 08:14
WordPress snippet: Disable pining to Pinterest of post content images.
<?php
add_filter( 'the_content', function( $content ) {
return str_replace( '<img ', '<img nopin="nopin" ', $content );
});
@colettesnow
colettesnow / functions.php
Created June 29, 2019 08:14
WordPress snippet: Disable pining to Pinterest of post content images.
<?php
add_filter( 'the_content', function( $content ) {
return str_replace( '<img ', '<img nopin="nopin" ', $content );
});
@colettesnow
colettesnow / usage.md
Created November 12, 2018 01:42
YouTube video player for Jekyll

{% include youtube.html video="eqp1vwV8usU" %}

@colettesnow
colettesnow / make_thumbs.bat
Created August 1, 2018 05:52
Batch file to make thumbnails of websites from a CSV file (for use with pyWinContext)
for /F "eol=; tokens=1,2* delims=," %%i in (%~1) do wkhtmltoimage --crop-h 1080 --crop-w 1440 -f png %%i %%j.png