This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title":"SPS Canvas -> Metabase Link", | |
"scopes":[], | |
"extensions":[ | |
{ | |
"domain":"spstools.summitps.org", | |
"tool_id":"sps-canvas-metabase", | |
"platform":"canvas.instructure.com", | |
"settings":{ | |
"text":"SPS Analytics", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script | |
src="https://code.jquery.com/jquery-3.2.1.min.js" | |
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" | |
crossorigin="anonymous"> | |
</script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.min.js"></script> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env osascript -l JavaScript | |
function run(argv) { | |
var to = argv[0]; | |
var msg = argv[1]; | |
console.log("Sending message", "'" + msg + "'", "to", to); | |
messages = Application('Messages'); | |
var service; | |
for (var i in messages.services) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am brettcvz on github. | |
* I am brettcvz (https://keybase.io/brettcvz) on keybase. | |
* I have a public key whose fingerprint is D7C1 CB53 CFA5 D6C8 3856 ECA8 0784 1CD7 F723 9F7C | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacat -r -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor | ncat -k --send-only -l -p 1337 > server_output.txt & | |
ssh -R 1339:localhost:1337 hopscotch.inkmobility.com & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//To use this, in another file call | |
//require("./gm-composite.js")(gm.prototype); | |
//You can then do gm("baseImage.png").composite(gm("watermark.png"), "SouthEast", function(err, composite_gm_obj){...}); | |
var gm = require('gm'); | |
var randInt = function(min, max) { | |
return Math.floor(min + (Math.random() * (max-min))); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var jcrop_api; | |
var changeCrop = function(c){ | |
//alert(c.w); | |
var url = $('#convert_url_link').attr('href'); | |
var cropparams = [Math.floor(c.x),Math.floor(c.y),Math.floor(c.w),Math.floor(c.h)].join(); | |
newurl = url.replace(/crop=[0-9]+,[0-9]+,[0-9]+,[0-9]+/, 'crop='+cropparams); | |
$('#convert_url_link').attr('href', newurl ); | |
$('#process-image-thumb').attr('src', newurl ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Replace the previous script tag with this one --> | |
<script type="text/javascript"> | |
$(function() { | |
//Put your Filepicker.io API key here: | |
filepicker.setKey('A9gfeq0CMTMeP1dR86vcxz'); | |
//Zencoder API key | |
var zenKey = 'ce887203717c4417267eeb7b59b55885'; | |
$('a').click(function(e) { | |
e.preventDefault(); // This keeps the normal link behavior from happening | |
//Specifying all the extensions that zencoder can handle, you may want to choose a subset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this just before the </head> tag --> | |
<script type="text/javascript"> | |
$(function() { | |
//Put your Filepicker.io API key here: | |
filepicker.setKey('A9gfeq0CMTMeP1dR86vcxz'); | |
$('a').click(function(e) { | |
e.preventDefault(); // This keeps the normal link | |
// behavior from happening | |
filepicker.pickAndStore({},{location: 's3'}, | |
function(fpfiles){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" | |
lang="en-US"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; | |
charset=utf-8" /> | |
<title>Zencoder Dropzone</title> | |
<!-- jQuery Include --> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<!-- Filepicker.io Include --> |
NewerOlder