Skip to content

Instantly share code, notes, and snippets.

Jude Mwenda jmwenda

Block or report user

Report or block jmwenda

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jmwenda
jmwenda / NOTES.md
Created Jan 17, 2018 — forked from DenisIzmaylov/NOTES.md
Step By Step Guide to Configure a CoreOS Cluster From Scratch
View NOTES.md

Step By Step Guide to Configure a CoreOS Cluster From Scratch

This guide describes how to bootstrap new Production Core OS Cluster as High Availability Service in a 15 minutes with using etcd2, Fleet, Flannel, Confd, Nginx Balancer and Docker.

Content

View index.html
<html>
<body>
<svg width="1000" height="500" xmlns="http://www.w3.org/2000/svg"><g transform="translate(.5,.5)"><g class="cell" transform="translate(694,186)"><rect width="148" height="309" style="fill: rgb(191, 105, 105); fill-opacity: 1; stroke: rgb(255, 255, 255);"></rect><title>Arborist Dead Dying Hazardous Tree: 129</title><text x="74" y="154.5" dy=".35em" text-anchor="middle" style="font-size: 11px; font-family: Arial, Helvetica;">Arborist Dead Dying Hazardous Tree</text></g><g class="cell" transform="translate(283,174)"><rect width="169" height="102" style="fill: rgb(191, 116, 105); fill-opacity: 1; stroke: rgb(255, 255, 255);"></rect><title>Plumbing Single Family/Duplex: 49</title><text x="84.5" y="51" dy=".35em" text-anchor="middle" style="font-size: 11px; font-family: Arial, Helvetica;">Plumbing Single Family/Duplex</text></g><g class="cell" transform="translate(702,5)"><rect width="140" height="181" style="fill: rgb(191, 127, 105); fill-opacity: 1; stroke: rgb(255, 255, 255);"></rect><title>HVAC Si
View gist:12426c0c184e22fa9530050230992b01
// javascript code
//
// script_name: Drum beat (no loops)
//
// author: The EarSketch Team
//
// description: Musical repetition created without code loops
//
//
//
View gist:c6d37b19720fa9e60b1bd680b27fa49f
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e016530488a7 dokku/my-new-app:latest "/start web" 7 minutes ago Up 7 minutes my-new-app.web.1
200a90c8c2af dokku/judemwenda:latest "/start web" 3 hours ago Up 3 hours judemwenda.web.1
d2e819ecfaa8 postgres:9.6.1 "/docker-entrypoin..." 5 hours ago Up 5 hours 5432/tcp dokku.postgres.judemwenda
0815de5df377 sameersbn/bind:latest "/sbin/entrypoint...." 6 weeks ago Up 2 days 53/tcp, 0.0.0.0:53->53/udp, 0.0.0.0:10000->10000/tcp bind
View gist:19601ec6a26c043dc9b3bcbaffe02dd5
OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g-fips 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to gitlab.com [52.167.219.168] port 22.
debug1: Connection established.
debug1: identity file /home/dokku/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/dokku/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/dokku/.ssh/id_dsa type -1
View gist:70ba64367744a7644f4bcc4ef939f1da
git push dokku master
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
View gist:123c4ce66017cc43c58a79b973bd2b68
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
View gist:a5f01c246ed6d8259438578faec9288f
Total 0 (delta 0), reused 0 (delta 0)
To dokku@server.com:judemwenda
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@server.com:judemwenda'
View index.html
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Emigrate</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/game.css" type="text/css" />
<script src="js/game.js"></script>
View gist:082cdd184544e3d9d27b5cb64184565d
npm install -g npm
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
You can’t perform that action at this time.