HTTP/2 200
date: Wed, 30 Jul 2025 06:29:37 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"6335782c5b3fcb1b2a1e4d694c199f1c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=e4UpqSbT2Re6xxJ5isFi7w8M54462LMqrkFOL85%2FzOND%2Flj0IbBGKWk7EMJM%2FvGmmFyPQH7sd%2B%2B1hYdW91VvkvDGoixZeOR8r1Xi6n922m4rKXZvYPwPfSLrZFQ9WVhv2w2XyX%2Bepwoov98X1S58GBvUjJhE9J8BH2lfBcmmUcEBPAhCLZWnfv6IkrfGPxySgyF86p277YF5ksm907E8bRN%2BCnatYm34QqyZvIRTe8wzRV6nPcVfP23BcOSSET6iMNLrZxHTJKcrF7rzWxxEJQ%3D%3D--3CFtWHIA%2BKaScsHu--wNV0jvE598A4n6mA4%2BmvCQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.607798928.1753856976; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 06:29:36 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 06:29:36 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EA4C:117E6F:454C15:59EE37:6889BBD0
paulusm’s gists · GitHub
Instantly share code, notes, and snippets.
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
// Sources
// https://dayoneapp.com/blog/journal-prompts/
// https://www.yourdictionary.com/articles/reflective-journal-prompts
// find a good one? email me - paulusm gmail com
const addPrompt = function(){
const prompts = [
"Describe a time when you stood up for someone else. How did it make you feel about yourself?",
"What are your best qualities? How do they shape who you are?",
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
var getFeedForTag = function ( ) {
//Get the selected form options
var selectedTag = document . getElementById ( "tag" ) ;
console . log ( "Selected tag - " + selectedTag . value ) ;
// Build our API URL
var mixUrl = "https://api.mixcloud.com/search/?q=" + selectedTag . value + "&type=tag" ;
//Create the request
var req = new XMLHttpRequest ( ) ;
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
git push dokku master
+ export DOKKU_HOST_ROOT=/home/dokku
+ DOKKU_HOST_ROOT=/home/dokku
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
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
# Based on "Introduction to Text Mining with R for Information Professionals"
# https://journal.code4lib.org/articles/11626
# Topic Modelling using Tidy Text from
# https://tidytextmining.com/topicmodeling.html
# Interview data from
# https://figshare.com/authors/Kevin_Sanders/601331
# Uncomment to install these if needed
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
// The user list
var nodes = [
{ id :"Bob" , label :"Bob" , url :"https://www.example.org/~bob" } ,
{ id :"Alice" , label :"Alice" , url :"https://www.example.org/~alice" } ,
{ id :"Fred" , label :"Fred" , url :"https://www.example.org/~fred" } ,
] ;
var edges = [ ] ;
$ ( ) . ready ( function ( ) {
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
var VCTranslate = function ( e ) {
"use strict" ;
var coreMission = "defeating our Dalek overlords" ;
var nouns = [ "cake" , "crisps" , "nuts" , "class As" , "drugs" , "alcohol" ] ;
var activities = [ "smooching" , "drinking heavily" , "forgetting where they live" , "the debauchery" ] ;
var adjectives = [ "immature" , "scary" , "lovely" , "epic" , "fruity" , "gorgeous" ]
var nounCount = 0 , activityCount = 0 , adjIndex ;
// Find the span elements on the page
var spans = document . getElementsByTagName ( "span" ) ;
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
<!DOCTYPE html>
< html lang ="en ">
< head >
< title > MadLib JavaScript Example</ title >
< meta charset ="utf-8 ">
< style >
body {font-family : helvetica, sans-serif; font-size : 2em ;}
input {font-family : helvetica, sans-serif; font-size : 1em ; display : block; margin : auto; }
# output {padding : 2% 10% 2% 5% ;}
</ style >
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
var feed = "https://info.uwe.ac.uk/news/xml/uwenewsrss.xml" ;
var api = "https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=displayFeed&output=json&q=" + encodeURIComponent ( feed ) ;
//This creates a script element to make a "jsonp" request each time the page is requested
var script = document . createElement ( 'script' ) ;
script . src = api ;
document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( script ) ;
//use the data that comes back to put into the HTML div
var displayFeed = function ( data ) {
// loop through the feed items
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
<form action =" saveform.php" method =" post" >
<label for = " name" >Name:</label >
<input type = " text" id = " name" name = " name" value = " enter your name" >
<label for = " comment" >Comment:</label >
<textarea id = " comment" name = " comment" rows = " 10" cols = " 25" value = " comment" >
Please give me feedback!
</textarea >
<input type = " submit" value = " Save Comment" id = " submit" >
</form >
You can’t perform that action at this time.