Skip to content

Instantly share code, notes, and snippets.

Avatar

David Bovill opn

View GitHub Profile
@opn
opn / podcast.json
Created Nov 3, 2020
Podcast JSON Feed example
View podcast.json
{
"version": "https://jsonfeed.org/version/1",
"user_comment": "This is a podcast feed. You can add this feed to your podcast client using the following URL: http://therecord.co/feed.json",
"title": "The Record",
"home_page_url": "http://therecord.co/",
"feed_url": "http://therecord.co/feed.json",
"items": [
{
"id": "http://therecord.co/chris-parrish",
"title": "Special #1 - Chris Parrish",
View wiki_server_start_error.txt
/root/.nvm/versions/node/v6.11.3/lib/node_modules/wiki/node_modules/ws/lib/websocket.js:348
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (/root/.nvm/versions/node/v6.11.3/lib/node_modules/wiki/node_modules/coffeescript/lib/coffeescript/register.js:53:36)
@opn
opn / livecode.localtest.me.caddyfile
Created Apr 17, 2018
livecode.localtest.me.caddyfile
View livecode.localtest.me.caddyfile
https://livecode.localtest.me,
http://livecode.localtest.me {
gzip
tls self_signed
proxy / livecode:80 {
transparent
}
}
@opn
opn / commons server
Created Apr 17, 2018
A basic docker-compose.override.yml for creating a commons server container layer for livecode server
View commons server
version: "2.2"
services:
proxy:
volumes:
- "./image-transporter.localtest.me.caddyfile:/etc/proxy.d/image-transporter.localtest.me.caddyfile"
- "./livecode.localtest.me.caddyfile:/etc/proxy.d/livecode.localtest.me.caddyfile"
images:
image: dobbs/image-transporter
init: true
@opn
opn / rest.livecode.world controller: youtube.lc
Created Dec 1, 2017
This is Revigniter controller 'youtube.lc' from the domain 'rest.livecode.world'.
View rest.livecode.world controller: youtube.lc
<?rev
put "index,recentFirst,recentBullets,oldestFirst,recentMarkdown,oldestBullets,fetchAll,fetchThumb,transportAgain" into gControllerHandlers
startUsingLibraries
on index
fedwiki_DeconstructDroppedURL $_POST_RAW, droppedURL, droppedHtml
put youtube_ParseDropUrl (droppedURL) into pageJSON
fedwiki_ReturnJSON pageJSON
end index
@opn
opn / rest.livecode.world controller: echo.lc
Last active Nov 17, 2017
This is Revigniter controller 'echo.lc' from the domain 'rest.livecode.world'.
View rest.livecode.world controller: echo.lc
<?lc
/* = DESCRIPTION =
--
The echo.lc controller can be found at: echo.lc
Here is some test help
Below we declare the global variables gControllerHandlers AND gData
And put the public method names that we wish to expose into gControllerHandlers
--
*/
@opn
opn / rest.livecode.world controller: mediawiki.lc
Last active Nov 17, 2017
This is Revigniter controller 'mediawiki.lc' from the domain 'rest.livecode.world'.
View rest.livecode.world controller: mediawiki.lc
<?lc
/* = DESCRIPTION =
--
The mediawiki.lc controller can be found at: mediawiki.lc
Here is some test help
Below we declare the global variables gControllerHandlers AND gData
And put the public method names that we wish to expose into gControllerHandlers
--
*/
@opn
opn / rest.livecode.world controller: map.lc
Last active Nov 11, 2017
This the is Revigniter controller 'map.lc' from the domain 'rest.livecode.world'.
View rest.livecode.world controller: map.lc
<?lc
/* = DESCRIPTION =
--
The map.lc controller can be found at: map.lc
Here is some test help
Below we declare the global variables gControllerHandlers AND gData
And put the public method names that we wish to expose into gControllerHandlers
--
*/
View hosting.permanent.wiki-1502974031671
jquery-migrate-1.4.1.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
client.max.js:2 Window Name: hosting.permanent.wiki
client.max.js:3302 wiki.local.get welcome-visitors.json
client.max.js:2086 Array(2)
client.max.js:3330 wiki.origin.get welcome-visitors.json
client.max.js:3302 wiki.local.get ipfs.json
client.max.js:2086 Array(2)
client.max.js:3330 wiki.origin.get ipfs.json
client.max.js:2122 got view Object
client.max.js:2824 .page keys Array(2)
@opn
opn / rest.livecode.world stack: lib_Slack.livecodescript
Created Aug 5, 2017
This library interfaces with the Slack REST API.
View rest.livecode.world stack: lib_Slack.livecodescript
script "lib_Slack"
--> MetaData
-
license: GPLv3
name: lib_Slack
type: library
version: 0.2
--> Slack