template: project version: 1.0 project: [Project Title] description: [Description] owner: [Owner] deadline: [YYYY-MM-DD] okrs:
- OBJECTIVE: Grow Our Global Business
- KR: Hit our global sales target of $100 Million in Sales
template: project version: 1.0 project: [Project Title] description: [Description] owner: [Owner] deadline: [YYYY-MM-DD] okrs:
I hereby claim:
To claim this, I am signing this object:
apiVersion: v1 | |
kind: Template | |
metadata: | |
creationTimestamp: null | |
name: swn | |
objects: | |
- apiVersion: v1 | |
kind: BuildConfig | |
metadata: | |
creationTimestamp: null |
apiVersion: v1 | |
kind: Template | |
metadata: | |
creationTimestamp: null | |
name: swn | |
objects: | |
- apiVersion: v1 | |
kind: BuildConfig | |
metadata: | |
creationTimestamp: null |
#!/usr/bin/env ruby | |
require 'fastimage' | |
FWIDTH = 1024 | |
FHEIGHT = 600 | |
workdir = Dir.pwd | |
Dir.foreach(workdir) { |item| |
# This is an example of a bring your own (byo) host inventory | |
# Create an OSEv3 group that contains the masters and nodes groups | |
[OSEv3:children] | |
masters | |
nodes | |
#etcd | |
#lb | |
# Set variables common for all OSEv3 hosts |
sudo dnf install rpmdevtools fedora-packager nodejs npm libgit2-devel libgnome-keyring-devel | |
sudo npm install -g npm@2 | |
sudo npm install -g inherits@2 | |
git clone https://github.com/nylas/N1 | |
script/build (takes a very long time) | |
script/grunt mkrpm | |
find rpm in /tmp/nylas-build/rpm/ |
# Helper function for our fancy prompt. | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
# Fancy prompt function | |
function proml { | |
local BLUE="\[\033[0;34m\]" | |
local RED="\[\033[0;31m\]" | |
local LIGHT_RED="\[\033[1;31m\]" |
#!/bin/bash | |
RESTORE=false | |
RESTORE_DIR='' | |
while getopts ":r:" OPT; do | |
case $OPT in | |
r) | |
RESTORE_DIR="$OPTARG" | |
RESTORE=true |
function get_eth0_ipaddr() { | |
eth0_ip=$(ip addr list eth0 | grep 'inet ' | tr -s ' ' | cut -d ' ' -f 3 | cut -d '/' -f 1) | |
echo "${eth0_ip}" | |
} | |
function get_public_ipaddr() { | |
public_ip=$(curl -s ipecho.net/plain) | |
echo "${public_ip}" | |
} |