Skip to content

Instantly share code, notes, and snippets.

View josephst's full-sized avatar

Joseph Stahl josephst

View GitHub Profile
@josephst
josephst / download-tegrity-bookmarklet.md
Last active August 8, 2020 15:18
Download a Tegrity video

Tegrity Download

Install

  1. Create a new bookmark
  • In Firefox:
    1. Right click on bookmarks bar
    2. Select "New Bookmark..."
    3. Pick a name such as "Tegrity Downloader" and paste the following code below into the Location box
  • In Chrome:
    1. Right click on bookmarks bar
@josephst
josephst / setupWindows.md
Last active April 20, 2021 21:55
Setup for a new Windows system

Getting Windows set up for development and daily driver use

Similar guides for inspiration

Setting up a user profile

  • Install Windows with offline profile (no MSFT account) so that user folder is set correctly (rather than to a truncated email address)
  • Make sure BitLocker is enabled
  • Change name of computer (to something memorable, instead of DESKTOP-FDSFFE or some other random name)
@josephst
josephst / cy-v3releasenotes-cyv3.js
Created March 6, 2017 22:34
Snapshot of Cytoscape.js v3 for release notes
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.cytoscape=e()}}(function(){return function e(t,r,n){function i(o,s){if(!r[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=r[o]={exports:{}};t[o][0].call(c.exports,function(e){var r=t[o][1][e];return i(r?r:e)},c,c.exports,e,t,r,n)}return r[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,r){/*!
Cytoscape.js snapshot-83bfa21e86-1488832289752 (MIT licensed)
Copyright (c) The Cytoscape Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
th
@josephst
josephst / cy-v3releasenotes-common.js
Created March 6, 2017 22:27
Common data (elements, style) for v2 and v3 graphs
var stylesheet = [{
selector: 'node',
style: {
'height': 20,
'width': 20,
'background-color': '#18e018'
}
},
{
selector: 'edge',
@josephst
josephst / cy.js
Last active January 28, 2017 19:33
with arrow sizes, new caching
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.cytoscape = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/*!
Cytoscape.js snapshot-7df61cd4aa-1485631999420 (MIT licensed)
Copyright (c) The Cytoscape Consortium
Permission is hereby granted, free of charge, to any person obtai
{
"id": "1",
"fullName": "Joseph Stahl",
"email": "joseph.e.stahl@vanderbilt.edu",
"major": "Computer Science",
"school": "Engineering",
"approvedFor": [
{
"id": 1,
"name": "Laser cutter",
@josephst
josephst / webpack.config.js
Created November 29, 2016 20:23
webpack config for issue report
module.exports = {
entry: './src/main.js',
output: {
filename: './dist/bundle.js',
},
// sourcemaps
devtool: 'source-map',
resolve: {