Skip to content

Instantly share code, notes, and snippets.

@wallyuva
wallyuva / parallels-reset.sh
Created February 24, 2017 17:20
Reset Parallels' trial
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%[email protected] -r 1
var data = [
{
column1: 1.0,
column2: 2.0
},
{
column1: 1.1,
column2: 2.0
},
{
@wallyuva
wallyuva / questionResponse.json
Created December 9, 2016 15:41
Question Response Sample
{
question: {
questionId: '',
response: [
// HISTORICAL
{
score: ''
answerId: ''
},
{
@wallyuva
wallyuva / install-studyplan-pre-commit.sh
Last active April 19, 2016 17:09
Studplan pre-commit hook for adding uuids
#!/bin/sh
# This script will install a Git pre-commit hook that adds UUIDs
# to assignments in studyplans
# curl -fL https://gist.githubusercontent.com/wallyuva/15e625c7959459c82604ecde098539aa/raw/install-studyplan-pre-commit.sh | sh
# Uninstall:
# rm .git/hooks/pre-commit
# in each repository that you've added this to.