Skip to content

Instantly share code, notes, and snippets.

View AdamMagaluk's full-sized avatar
🚀

Adam Magaluk AdamMagaluk

🚀
View GitHub Profile
{
"alg": "RS256",
"typ": "JWT",
"x5c": [
"MIICvzCCAaegAwIBAgICBnowDQYJKoZIhvcNAQELBQAwADAgFw0yMjEyMTIxNDMyNDRaGA8yMTIyMTIxMjE0MzI0NFowADCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ9ZAcATK9bnV39w2Z4/COdXRqExVHLaPamfrVps6fKEEUK6HF5XbkrUt6Ifv0BNE31KBbsY5X2MZ08GUbYFiBjLu3wqZBV+pAHaWNTU7u98PMzsNyryJa6uAcDvLWpGVI2oJCbUNRJL8nX0Gfn3/PI9iXx+vUbfCcm01D7AdsWz+fcLxxna48p/wvMresxpXPBfOYJKh/h10FM+Sq/+5AGXtkZEwJ8J1/xlS1YrhqlJce3kA3u6lixjp+Lav44kwfPlDcZxLT+nXvPZxSbGZuCLlr8HO47+9lAEjybvApcSeav+YEFBonMSeBxdT+N4+cKQxb2WHaNCi3GOa5SXLfcCAwEAAaNBMD8wDgYDVR0PAQH/BAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDATAOBgNVHQ4EBwQFAQIDBAYwDQYJKoZIhvcNAQELBQADggEBAHIc4VBoziyHZFAuIrxtVGYaSAw6XT85zbybDOIu4syfgbQoSJWdhreYEtBoe0n7wdGIQjydIy6fcaHlU4fWZnD2Vp3WP7biiVBDzAzjeXluy57lIZe0pRsjIAww4tO3Pesu+UIVoS5DNgoilKuKcbQMKtz891TXNqbOXtDSYF/oPgbCwoajUiwiInq5eRFV9MXqPFtD0VvNwzaTrcScZ0k8w1ZPVurYDE16jbjoV5yBHwevbpetPzsIiq9gzYnDAVVoJyWZNeiDpux/9sXzCUMXQojywoTOaNxlys2VMyoo0dMeLuyF4dwW8+ZYDO+x3iB17a0OozZPQBDY78KTR14"
],
"x5t": "giXGhVKE4nfI
@AdamMagaluk
AdamMagaluk / README.md
Last active May 8, 2017 14:09 — forked from leesheppard/README.md
Homebrew Formula patching old ImageMagick release 6.9.7-10

Install

brew install https://gist.githubusercontent.com/AdamMagaluk/6d190d95839387d7ebbfcdc7cfbad2f8/raw/6d190d95839387d7ebbfcdc7cfbad2f8/imagemagick.rb

Pin this version

To prevent upgrades you can pin this version.

brew pin imagemagick
var spdy = require('spdy');
var http = require('http');
var agent = spdy.createAgent({
host: 'localhost',
port: 3000,
spdy: {
plain: true,
ssl: false
}
@AdamMagaluk
AdamMagaluk / example.js
Last active August 29, 2015 14:24
Example Zetta Properties
var zetta = require('zetta');
var LED = require('zetta-led-mock-driver');
zetta()
.properties({ location: 'Home' })
.use(LED)
.listen(1337);
zetta()
.use(function(server) {
var program = require('commander');
program
.command('create [name]', 'install one or more packages')
.command('delete [query]', 'search with optional query')
.parse(process.argv);
console.log(program.args)
@AdamMagaluk
AdamMagaluk / server.js
Created February 3, 2015 15:40
Papertrail with Zetta
var zetta = require('zetta');
var winston = require('winston');
var Papertrail = require('winston-papertrail').Papertrail;
winston.add(Papertrail, { hostname: 'hub-hostname',
host: process.env.PAPERTRAIL_HOST,
port: process.env.PAPERTRAIL_PORT });
zetta()
.logger(function(log) {
@AdamMagaluk
AdamMagaluk / device_registry.js
Created January 30, 2015 14:57
Zetta With Custom DB Locations
var util = require('util');
var zetta = require('zetta');
var DeviceRegistry = module.exports = function(path) {
zetta.DeviceRegistry.call(this, { path: path, collection: 'devices' });
};
util.inherits(DeviceRegistry, zetta.DeviceRegistry);
ssh [email protected] 'echo 'robot16' > /etc/hostname && sync && reboot'
- using `npm install zetta --save`
- Remove bonescript dep from repo
- missing linking
- app looks confusing for a workshop.
- missing building a driver
@AdamMagaluk
AdamMagaluk / api.md
Created September 1, 2014 23:58
EpicMix Mobile API
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/weather.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/terrain.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/lifts.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/mountaincams.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/roadconditions.ashx

Query Param