Skip to content

Instantly share code, notes, and snippets.

@AaronV
AaronV / MissingOnClickDetector.cs
Created September 11, 2018 16:49
Detect missing methods in scene UnityEvents.
/*
* Based on code found here: https://stackoverflow.com/questions/42784338/unity-missing-warning-when-button-has-missing-onclick/42788400?noredirect=1#comment91506017_42788400
*/
#if UNITY_EDITOR
using System;
using System.Reflection;
using UnityEngine;
using UnityEngine.UI;
public class MissingOnClickDetector : MonoBehaviour
@AaronV
AaronV / PassthroughService.js
Created January 26, 2017 17:20
Demandware Controller -> Pipeline passthrough service
/*
Run with:
PassthroughService.pass(exports, "MyPipelineName", [
"myPipelineMethod",
...
]);
*/
var Pipeline = require('dw/system/Pipeline');
@AaronV
AaronV / log.js
Created November 2, 2015 01:07
Shortcut to log to document.write
var log = (function() {
var line = 0;
return function(string) {
document.write(line++ + ": " + string + "<br/>");
console.log(string);
}
}());
#################################################################################
# start and stop the vpn from the command line from now on with these two commands
# or rename the aliases as you see fit.
#################################################################################
alias startvpn="sudo launchctl load -w /Library/LaunchDaemons/net.juniper.AccessService.plist; open -a '/Applications/Junos Pulse.app/Contents/Plugins/JamUI/PulseTray.app/Contents/MacOS/PulseTray'"
alias quitvpn="osascript -e 'tell application \"PulseTray.app\" to quit';sudo launchctl unload -w /Library/LaunchDaemons/net.juniper.AccessService.plist"
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13dawnmidi.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13rodneyvdeath.mp3
http://www.podtrac.com/pts/redirect.mp3/audio.wnyc.org/radiolab/radiolab073113.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13oliver.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13allyschoice.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/rl_extras/rl_extras062713solid.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13everything.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13babygirl.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab_podcast/radiolab_podcast13bugmusic.mp3
http://www.podtrac.com/pts/redirect.mp3/audio4.wnyc.org/radiolab/radiolab043013.mp3