layout | title | permalink | gallery-key |
---|---|---|---|
gallery |
A Gallery! |
/a-gallery/ |
my-holiday-photos |
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
// Name: BBC Sounds Player | |
// Description: Stream a radio station from BBC Sounds | |
// Author: Josh Davenport-Smith | |
// Twitter: @jdprts | |
import "@johnlindquist/kit"; | |
import { WidgetAPI } from "@johnlindquist/kit/types/pro"; | |
const PLAYER_WIDTH = 180; | |
const PLAYER_HEIGHT = 195; |
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
// Name: NTS Live | |
// Description: Stream NTS Live Channel 1 or 2 | |
// Author: Vogelino, extended by Josh Davenport-Smith | |
// Twitter: @soyvogelino, @jdprts | |
import "@johnlindquist/kit"; | |
const PLAYER_HEIGHT = 76; | |
const PLAYER_WIDTH = 205; |
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
// Name: NTS Live | |
// Description: Stream NTS Live Channel 1 or 2 | |
// Author: Vogelino, extended by Josh Davenport-Smith | |
// Twitter: @soyvogelino, @jdprts | |
import "@johnlindquist/kit"; | |
const PLAYER_HEIGHT = 76; | |
const PLAYER_WIDTH = 205; |
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
// Name: NTS Live | |
// Description: Stream NTS Live Channel 1 or 2 | |
// Author: Vogelino, extended by Josh Davenport-Smith | |
// Twitter: @soyvogelino, @jdprts | |
import "@johnlindquist/kit"; | |
const PLAYER_HEIGHT = 76; | |
const PLAYER_WIDTH = 205; |
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
// Name: NTS Live | |
// Description: Stream NTS Live Channel 1 or 2 | |
// Author: Vogelino, extended by Josh Davenport-Smith | |
// Twitter: @soyvogelino, @jdprts | |
import "@johnlindquist/kit"; | |
const PLAYER_HEIGHT = 76; | |
const PLAYER_WIDTH = 205; |
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
// Name: NTS Live | |
// Description: Stream NTS Live Channel 1 or 2 | |
// Author: Vogelino, extended by Josh Davenport-Smith | |
// Twitter: @soyvogelino | |
// Shortcut: | |
import "@johnlindquist/kit"; | |
const PLAYER_HEIGHT = 76; | |
const PLAYER_WIDTH = 205; |
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
// Name: Open Notion URL in Notion App | |
import "@johnlindquist/kit" | |
const url = await arg('What is the Notion URL?'); | |
if (!url.includes('notion.so')) { | |
throw new Error('Not a Notion URL'); | |
} |
I hereby claim:
- I am joshdavenport on github.
- I am joshdavenport (https://keybase.io/joshdavenport) on keybase.
- I have a public key whose fingerprint is 2D49 23A5 62CA 7C03 53CF 943F 3A9E 02A6 CED7 1D27
To claim this, I am signing this object:
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
(function() { | |
/** | |
* Super simple to use, inspect the field (input, select, whatever) with developer tools and run this code from a | |
* bookmarklet, pasted into console or even as a snippet. You'll be prompted with the field where you can copy it | |
* for whatever you may need it for :) | |
*/ | |
function getMageConfigPathFromInput(inputElement) { | |
var splitFieldName = inputElement.attributes['name'].value.replace('groups','').replace(/\[/g,'').split(']'); | |
return /section\/(.*?)\//g.exec(window.location.href)[1] + '/' + splitFieldName[0] + '/' + splitFieldName[2]; | |
} |