Skip to content

Instantly share code, notes, and snippets.

View kordless's full-sized avatar
🦥
sloth mode

Коrd Campbell kordless

🦥
sloth mode
  • Straight outta the 60s.
View GitHub Profile
@kordless
kordless / utterio.css
Created February 22, 2013 19:20 — forked from sudosoup/utterio.css
Stinky
/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
@kordless
kordless / utterio.css
Created February 23, 2013 02:45 — forked from sudosoup/utterio.css
Stinky
/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
@kordless
kordless / impress.css
Last active December 14, 2015 05:18 — forked from utterio/capybara.jpg
Simple Impress
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
@kordless
kordless / capybara.jpg
Last active December 14, 2015 07:49 — forked from utterio/capybara.jpg
Starter
capybara.jpg
{% macro form_field(field) -%}
{% set with_label = kwargs.pop('with_label', False) %}
{% set placeholder = '' %}
{% if not with_label %}
{% set placeholder = field.label.text %}
{% endif %}
<div class="control-group {% if field.errors %}error{% endif %}">
{% if with_label %}
<label for="{{ field.id }}" class="control-label">
{{ field.label.text }}{% if field.flags.required %} *{% endif %}:
@kordless
kordless / splunk.json
Last active August 29, 2015 14:08 — forked from replay/splunk_install.sh
This is the StackMonkey demo script for Splunk. Demos can be found here: https://www.stackmonkey.com/demo/
{
"image": {
"url": "http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img",
"name": "Ubuntu Trusty",
"container_format": "bare",
"disk_format": "qcow2"
},
"callback_url": "",
"ssh_keys": [
""
@kordless
kordless / openbazaar.json
Last active August 29, 2015 14:09 — forked from DoriftoShoes/stackstorm.json
This is the StackMonkey demo script for an OpenBazaar server. Demos can be found here: https://www.stackmonkey.com/demo/
{
"image": {
"url": "http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img",
"name": "Ubuntu Trusty",
"container_format": "bare",
"disk_format": "qcow2"
},
"callback_url": "",
"ssh_keys": [
""
@kordless
kordless / isTheWebsiteDown.js
Last active August 29, 2015 14:09 — forked from Marak/isTheWebsiteDown.js
Checks to see if a website is down
var http = require('http');
module['exports'] = function isTheWebSiteDown (hook) {
http.get(hook.params.url, function(res){
hook.debug(hook.params.url + " is up and running.")
hook.res.end('false');
}).on('error', function (){
hook.debug(hook.params.url + " is DOWN!")
hook.res.end('true');
});
@kordless
kordless / file.md
Last active August 29, 2015 14:17 — forked from MarcelMue/file.md

#Using the giantswarm CLI on Windows with boot2docker without a additional VM

####prerequisites:

  • Boot2docker should be running on your system and you should have access to it with boot2docker ssh
  • A filepath of your windows system should be mirrored in boot2docker (eg windows C:\\Users\Username should be boot2docker /c/Users/Username)
  • Have a decent console setup to make the following steps easier ( I use Console 2)

####Setup

  • Switch to your boot2docker with boot2docker ssh and download the swarm cli to a location mirrored by windows (eg your project folder) by executing curl -O http://downloads.giantswarm.io/swarm/clients/0.15.0/swarm-0.15.0-linux-amd64.tar.gz
  • run tar xzf swarm-0.15.0-linux-amd64.tar.gzat the same location