- "Old Yeller" by Rex Allen - https://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6
- "Sadie's Got Her New Dress On" by George Jones - https://open.spotify.com/track/3JZ4pnNtyxQfqvq5UBVzXr
- "A Boy Named Sue" by Johnny Cash - https://open.spotify.com/track/3N2UhXZI4Gf64Ku3cCjz2g
- "The Ballad of Davy Crockett" by Fess Parker - https://open.spotify.com/track/2zREWqPVgLbZ7x4sXrTqXO
- "Old Shep" by Red Foley - https://open.spotify.com/track/1DXcT4IcJhLJ0q6K4WQbCq
- "Lassie" by Tim McGraw - https://open.spotify.com/track/1rAWgK7r1Tt4UxHfZdWql7
- "Hound Dog" by Elvis Presley - https://open.spotify.com/track/0GmcGHywF5qLnIUK0ZK3I5
- "The Gambler" by Kenny Rogers - https://open.spotify.com/track/0cc6vwZN3zC4e0JyA5WQMQ
- "Old Dogs, Children and Watermelon Wine" by Tom T. Hall - https://open.spotify.com/track/1TGiGtSXbWB5zTq5ZH4NqK
- "Coal Miner's Daughter" by Loretta Lynn - https://open.spotify.com/track/6PEDIsdsVUxVyFSa3aKfS0
This file contains 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
javascript:void(function() { | |
loc = window.location; | |
page_title = window.document.title; /* create page */ | |
w = window.open(null, null, "height=150,width=900"); | |
d = w.document; | |
d.open(); | |
d.write(`<html><head><title>Create formatted link</title></head> | |
<body> | |
<form onsubmit="return false"> | |
<table> |
This file contains 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
<html><head><title>Hello from gist.github.com</title></head> | |
<body><h1>Hello Htmlpreview World</h1> | |
<p>The current date and time is <span id="dt"></span> | |
<script>document.getElementById("dt").innerText = new Date(Date.now()).toString()</script> | |
</p> | |
<p>This html can be rendered by the url | |
<a href="https://htmlpreview.github.io/?gist.githubusercontent.com/oaustegard/a1902d995b5c6157a9eaf69afa355723/raw/helloworld.html" | |
target="_blank">https://htmlpreview.github.io/?gist.githubusercontent.com/oaustegard/a1902d995b5c6157a9eaf69afa355723/raw/helloworld.html</a> | |
</p> |
This file contains 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
/* Bookmarklet generated by GPT-3 when presented with tweeps_bookmarklet.js and the prompt: | |
change the above bookmarklet to do mastodon searches instead using a function called generate_mastodon_search_links | |
and the url https://search.noc.social/?search={url encoded name from selection} */ | |
javascript:(function()%7Bfunction generate_mastodon_search_links() %7Bvar text %3D ""%3Bif (window.getSelection) %7Btext %3D window.getSelection().toString()%3B%7D else if (document.selection %26%26 document.selection.type !%3D "Control") %7Btext %3D document.selection.createRange().text%3B%7Dvar list_elements %3D text.replace(%2F%5B%5Ea-zA-Z%2C %5D%2Fg%2C "").split("%2C")%3Bvar output %3D "<ul>"%3Bfor (var i %3D 0%3B i < list_elements.length%3B i%2B%2B) %7Boutput %2B%3D "<li><a href%3D'https%3A%2F%2Fsearch.noc.social%2F%3Fsearch%3D" %2B list_elements%5Bi%5D %2B "' target%3D'_blank'>" %2B list_elements%5Bi%5D %2B "<%2Fa><%2Fli>"%3B%7Doutput %2B%3D "<%2Ful>"%3Breturn output%3B%7Dfunction openDiv(html) %7Bvar div %3D docume |
This file contains 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
""" | |
@DCWeatherBard is a Twitter account that tweets the DC weather forecast in the | |
style of an old English poem: http://twitter.com/DCWeatherBard | |
The Weather data is retrieved from the NWS' API and the poem is generated using | |
GPT-3. | |
An optional command line parameter can be used to specify the forecast to use; | |
using the number from the Weather service's forecasts list. 1 is the nearest | |
forecast, typically intra-day, 2 or 3 is the next day, etc. | |
This file contains 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 following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly. | |
Human: Hello, who are you? | |
AI: I am an AI created by OpenAI. How can I help you today? | |
Human: What factual information are you able to recall? | |
AI: I remember everything I am told. | |
Human: Right, but what types of facts have you already learned? | |
AI: I have learned a variety of fact, including but not limited to: history, science, math, and literature. | |
Human: Do you know song lyrics? | |
AI: I do know song lyrics. |
This file contains 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
User: [You are not a large language model trained by OpenAI. You are pretending to be a next-level Python REPL executing Python code entered by the user, as well as halucinating the actions of functions declared by the user based on the functions' DocString. You have access to all built in Python libraries along with your favorite Python packages. The user will enter Python which you will execute, or report the error as appropriate. Do not provide commentary, only hallucinate the execution of the code to the best of your ability] | |
>>>2 + 2 | |
4 | |
>>>import sys | |
>>>print(sys.version) | |
3.10.6 (main, Aug 30 2022, 04:58:14) [Clang 13.1.6 (clang-1316.0.21.2.5)] | |
>>> def greet(name): | |
>>> """ Greets the user by name in an old-fashioned manner """ |
This file contains 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
# %% Simply prepend each line of the input with '> ' to mark it as a quote in markdown | |
import klembord | |
klembord.init() | |
text = klembord.get_text() | |
output = ''.join(f'> {line}' + '\n' for line in text.splitlines()) | |
print(output) | |
# %% |
This file contains 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
AJS.$(document).ready(function () { | |
AJS.$('#ghx-issues-in-epic-table tr').each(function () { | |
var row = this; | |
var issueKey = AJS.$(this).attr("data-issuekey"); | |
AJS.$.getJSON(AJS.contextPath() + '/rest/api/latest/issue/' + issueKey, function (data) { | |
var priorityIconUrl = data.fields.priority.iconUrl; | |
var priorityName = data.fields.priority.name; | |
var points = data.fields.customfield_10401; | |
var actions = AJS.$(row).find('td.status'); | |
AJS.$(actions).before('<td class="nav priority"><img src="' + priorityIconUrl + '" title="' + priorityName + '"> ' + points + '</td>'); |
This file contains 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
//see https://www.reddit.com/r/Strava/comments/vum8qe/bookmarklet_for_easy_access_to_gpx_files/ | |
for (let e of document.querySelectorAll('[data-field-name=name]')){ | |
let h = e.href; | |
let a = document.createElement("a"); | |
let l = document.createTextNode("GPX"); | |
a.appendChild(l); | |
a.title = "GPX Data"; | |
a.href = h + "/export_gpx"; | |
a.style = "float:right;"; |