Skip to content

Instantly share code, notes, and snippets.

View 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 Nov 8, 2016
Mesos on OSX
View mesosOSX.md

mesos osx

Install Mesos/Marathon/Docker on OSX (native)

Prequististes

homebrew

http://brew.sh/

View json-server-2
{
"business": [
{
"id": 1,
"name": "duff industries",
"city": "springfield"
},
{
"id": 2,
"name": "moe's tavern",
View json-server-1
{
"user": [
{
"id": 1,
"name": "bart simpson",
"gender": "m"
},
{
"id": 2,
"name": "lisa simpson",
View marathon.tmpl
{
"container": {
"type": "DOCKER",
"docker": {
"network": "HOST",
"image": "registry.marathon.mesos:5000/jenkins-dockerclient:${BUILD_NUMBER}"
},
"volumes": [
{
View 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,
View swipe.json
{
"sad": {
"1": "Sad",
"3": "Stressed",
"2": "Nervous",
"4": "Angry"
},
"why": {
"1": "Work",
"3": "Money",
@cromark
cromark / uri.js
Created Apr 21, 2012 — forked from jlong/uri.js
URI Parsing with Javascript
View uri.js
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"
View cms.xml
<?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>