Skip to content

Instantly share code, notes, and snippets.

@cromark
cromark / keybase.md
Created November 26, 2016 20:59
keybase.md

Keybase proof

I hereby claim:

  • I am cromark on github.
  • I am cromark (https://keybase.io/cromark) on keybase.
  • I have a public key ASBDM5d0iZMzoc5jWVioWNpFp70oiezm1tB8ltZEcokQ4wo

To claim this, I am signing this object:

@cromark
cromark / mesosOSX.md
Last active November 8, 2016 00:19
Mesos on OSX

mesos osx

Install Mesos/Marathon/Docker on OSX (native)

Prequististes

homebrew

http://brew.sh/

{
"business": [
{
"id": 1,
"name": "duff industries",
"city": "springfield"
},
{
"id": 2,
"name": "moe's tavern",
{
"user": [
{
"id": 1,
"name": "bart simpson",
"gender": "m"
},
{
"id": 2,
"name": "lisa simpson",
art=mar
FOO=bar
{
"container": {
"type": "DOCKER",
"docker": {
"network": "HOST",
"image": "registry.marathon.mesos:5000/jenkins-dockerclient:${BUILD_NUMBER}"
},
"volumes": [
{
@cromark
cromark / LICENSE
Last active August 29, 2015 14:25 — forked from shevron/LICENSE
Copyright (c) 2015, Shahar Evron
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
{
"sad": {
"1": "Sad",
"3": "Stressed",
"2": "Nervous",
"4": "Angry"
},
"why": {
"1": "Work",
"3": "Money",
@cromark
cromark / uri.js
Created April 21, 2012 12:07 — forked from jlong/uri.js
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.host; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
<?xml version="1.0" encoding="UTF-8"?>
<providers>
<hospital>
<id>07003F</id>
<name>WEST HAVEN VA MEDICAL CENTER</name>
<address>
<street>950 CAMPBELL AVENUE</street>
<city>WEST HAVEN</city>
<state>CT</state>