Skip to content

Instantly share code, notes, and snippets.


Chase Nordengren semicolonsnet

View GitHub Profile
semicolonsnet /
Created Jun 10, 2019
A document for testing Markdown stylesheets that includes all the basic Markdown elements

Markdown Test

Why are you closed? Tell us why you're closed. Tell us why you're closed. Why, why, why are you closed? I want to go shopping in the East Centre.

Why are you -- why are you closing your doors? Why are you locking your doors to the public? Why? Tell us the reason, why? Why? Why?

Heading 2

Tell us the reason.

semicolonsnet / network-data-conversion.r
Created May 9, 2019
Various functions for converting social network data into different formats in R
View network-data-conversion.r
csvtomatrix <- function (Y) {
# Converts CSV into data matrix
dimnames(Y.m) <- list (Y[,1],Y[,1])
# Returns data matrix
semicolonsnet / Export All Skim.scpt
Created Mar 14, 2019
AppleScript to output notes from all PDFs in a directory as "Notes as Markdown", using my template for the Skim PDF editor.
View Export All Skim.scpt
set this_folder to ""
set export_folder to ""
set these_files to every file of folder this_folder whose name extension is "pdf"
end tell
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
set fileName to name of item i of these_files
set savePath to export_folder & ":" & fileName & ".md"
tell application "Skim"
open this_file
semicolonsnet / Make List.applescript
Created May 29, 2015
Makes a Reminders list from a text file template (each line is a new task)
View Make List.applescript
tell application "System Events"
set QueueList to display dialog "List Name" default answer ""
set listName to text returned of result
tell application "Reminders"
set myList to make new list
set name of myList to listName
set myFile to "FILE NAME HERE"
set myText to read myFile
set theList to paragraphs of myText
You can’t perform that action at this time.