Skip to content

Instantly share code, notes, and snippets.

View canuk's full-sized avatar

Reuben Thiessen canuk

  • Stanford University
  • Greater San Diego, CA
  • 01:09 (UTC -07:00)
  • LinkedIn in/reubenthiessen
View GitHub Profile
@canuk
canuk / ca.md
Created September 15, 2020 03:45 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@canuk
canuk / ai-engineer-summit-workshop-2023.ipynb
Created October 8, 2023 19:41 — forked from markhng525/ai-engineer-summit-workshop-2023.ipynb
ai-engineer-summit-workshop-2023.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@canuk
canuk / airports.json
Created October 10, 2023 17:18 — forked from tdreyno/airports.json
JSON data for airports and their locations
This file has been truncated, but you can view the full file.
[
{
"code": "AAA",
"lat": "-17.3595",
"lon": "-145.494",
"name": "Anaa Airport",
"city": "Anaa",
"state": "Tuamotu-Gambier",
"country": "French Polynesia",
@canuk
canuk / qualtrics_highlight_text.js
Created July 24, 2024 00:04
This code pulls in data from an external source and turns it into a patch of "highlightable" text that a user can select words (or groups of words if the paragraph is longer than 200 words)
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
var $this = jQuery(this.questionContainer);
var question_text = $this.find('.QuestionText').text().split("|end_question|");
var question_stem = question_text[0]
// remove the piped-in text from the question stem by replacing it with just the original question_stem
$this.find('.QuestionText').text(question_stem);