Skip to content

Instantly share code, notes, and snippets.

View bacongobbler's full-sized avatar

Matthew Fisher bacongobbler

View GitHub Profile
#!/bin/bash -ex
CONTROLLER=deis.mydomain.com
rsync -Pav --exclude=docs/ --exclude=htmlcov/ --exclude=logs/ --exclude=venv/ --exclude=.git/ \
--exclude='contrib/vagrant/nodes' --exclude='deis/local_settings*' --exclude='*.pyc'\
$HOME/Projects/deis/* deis@$CONTROLLER:/opt/deis/controller
ssh deis@$CONTROLLER 'sudo restart deis-server ; sudo restart deis-worker'
#!/usr/bin/env bash
source ~/venv/bin/activate
deis register http://local.deisapp.com:8000 --username=bacongobbler --email=mmm@bacon.com --password=qwerty
deis login http://local.deisapp.com:8000 --username=bacongobbler --password=qwerty
deis keys:add ~/.ssh/id_rsa.pub
deis init dev local.deisapp.com --hosts=local.deisapp.com --auth=~/.vagrant.d/insecure_private_key
alias nse='sudo nsenter -p -u -m -i -n -t'
* * * ***** ddddd eeeeeee iiiiiii ssss
* * * * * * d d e e i s s
* * ***** ***** d d e i s
***** * * * d d e i s
* * * * * * d d eee i sss
***** * * ***** d d e i s
* ***** * * d d e i s
* * * * * * d d e e i s s
***** ***** * * ddddd eeeeeee iiiiiii ssss
#!/usr/bin/env bash
source ~/venv/bin/activate
deis register http://local.deisapp.com:8000 --username=test --password=test --email=test@test.com
deis login http://local.deisapp.com:8000 --username=test --password=test
deis keys:add ~/.ssh/id_rsa.pub
deis init dev local.deisapp.com --hosts=local.deisapp.com --auth=~/.vagrant.d/insecure_private_key
Oct 08 16:33:45 deis-3 systemd-journal[27561]: Permanent journal is using 27.5M (max allowed 1.6G, trying to leave 2.4G free of 7.8G available → current limit 1.6G).
Oct 08 16:33:45 deis-3 kernel: docker0: port 5(veth6523) entered forwarding state
Oct 08 16:33:45 deis-3 kernel: BTRFS info (device sda9): csum failed ino 6892 off 778240 csum 526251335 expected csum 2036106506
Oct 08 16:33:45 deis-3 systemd-coredump[27543]: Detected coredump of the journal daemon itself, diverted to /var/lib/systemd/coredump/core.systemd-journal.0.4a6291559c904cc5ba545486fe14c515.373.1412786025
Oct 08 16:33:45 deis-3 systemd-journal[27561]: Journal started
Oct 08 16:33:45 deis-3 systemd-networkd[1180]: veth6523 : gained carrier
Oct 08 16:33:45 deis-3 systemd-networkd[1180]: veth6523 : link configured
Oct 08 16:33:45 deis-3 systemd[1]: systemd-journald.service: main process exited, code=dumped, status=7/BUS
Oct 08 16:33:45 deis-3 systemd[1]: Unit systemd-journald.service entered failed state.
Oct 08 16:33:45 deis-3 systemd-journal[27561]: Permanent journal is using 27.5M (max allowed 1.6G, trying to leave 2.4G free of 7.8G available → current limit 1.6G).
Oct 08 16:33:45 deis-3 kernel: docker0: port 5(veth6523) entered forwarding state
Oct 08 16:33:45 deis-3 kernel: BTRFS info (device sda9): csum failed ino 6892 off 778240 csum 526251335 expected csum 2036106506
Oct 08 16:33:45 deis-3 systemd-coredump[27543]: Detected coredump of the journal daemon itself, diverted to /var/lib/systemd/coredump/core.systemd-journal.0.4a6291559c904cc5ba545486fe14c515.373.1412786025
Oct 08 16:33:45 deis-3 systemd-journal[27561]: Journal started
Oct 08 16:33:45 deis-3 systemd-networkd[1180]: veth6523 : gained carrier
Oct 08 16:33:45 deis-3 systemd-networkd[1180]: veth6523 : link configured
Oct 08 16:33:45 deis-3 systemd[1]: systemd-journald.service: main process exited, code=dumped, status=7/BUS
Oct 08 16:33:45 deis-3 systemd[1]: Unit systemd-journald.service entered failed state.
#!/bin/bash
export GOPATH=${WORKSPACE}
export DEV_REGISTRY=${HOST_IPADDR}:5000
export PATH=$PATH:${GOPATH}/bin
export DEIS_TEST_APP=example-clojure-ring
cd src/github.com/deis/deis
tests/bin/test-latest.sh
@bacongobbler
bacongobbler / bashrc.sh
Created February 3, 2015 03:58
bash PS1: flipping tables since 2014
function __gen_ps1() {
local EXIT="$?"
PS1=""
local RCol='\[\e[0m\]'
local Red='\[\e[0;31m\]'
local Gre='\[\e[0;32m\]'
local BYel='\[\e[1;33m\]'
local BBlu='\[\e[1;34m\]'
><> cd docker-registry-driver-swift
><> docker build .
Sending build context to Docker daemon 132.1 kB
Sending build context to Docker daemon
Step 0 : FROM registry
registry:latest: The image you are pulling has been verified
27d47432a69b: Pull complete
5f92234dcf1e: Pull complete
51a9c7c1f8bb: Pull complete