This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Automatically activate Git projects' virtual environments based on the | |
# directory name of the project. Virtual environment name can be overridden | |
# by placing a .venv file in the project root with a virtualenv name in it | |
function workon_cwd { | |
# Check that this is a Git repo | |
GIT_DIR=`git rev-parse --git-dir 2> /dev/null` | |
if [ $? == 0 ]; then | |
if [ $GIT_DIR == ".git" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) ;; You might already have this line | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/")) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) ;; You might already have this line | |
(setq pfl-packages | |
'( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv-initialize-interactive-shells) ;; if you want interactive shell support | |
(venv-initialize-eshell) | |
(defun activate-corresponding-virtual-env () | |
(interactive) | |
(require 'fiplr) | |
(let ((dirname (file-name-nondirectory (fiplr-root)))) | |
(message dirname) | |
(if (member "eureka-template" (venv-list-virtualenvs)) | |
(venv-workon dirname)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In order to generate the datasets the workflow would be like following: | |
The data is loaded into the mysql|riak|redis container and then changes to the data are made. | |
For bootstrapping we could load the data we have from our current dumps/backups. | |
We must ensure that the data directories for the services are mounted as volumes. | |
After we've made the changes to the data we want to export this. For this we'll do. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '1' > /sys/class/scsi_disk/2\:0\:0\:0/device/rescan | |
fdisk /dev/sda | |
partprobe | |
pvcreate /dev/sda4 | |
vgextend system /dev/sda4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i partman-auto/disk string /dev/sda | |
d-i partman-auto/method string lvm | |
d-i partman-lvm/device_remove_lvm boolean true | |
d-i partman-lvm/device_remove_lvm_span boolean true | |
d-i partman-md/device_remove_md boolean true | |
d-i partman-auto/purge_lvm_from_device boolean true | |
d-i partman-auto-lvm/new_vg_name string system | |
d-i partman-lvm/confirm boolean true | |
d-i partman/alignment string "optimal" | |
d-i partman-auto-lvm/guided_size string max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "phusion/ubuntu-14.04-amd64" | |
if Vagrant.has_plugin?("vagrant-cachier") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.76-b04 mixed mode): | |
"Executor #4 for master : executing projobs-production-merge #109" prio=10 tid=0x00007f004406c000 nid=0xc232 runnable [0x00007f00adb14000] | |
java.lang.Thread.State: RUNNABLE | |
at java.io.FileOutputStream.write(Native Method) | |
at java.io.FileOutputStream.write(FileOutputStream.java:295) | |
at hudson.plugins.timestamper.TimestamperOutputStream.write(TimestamperOutputStream.java:102) | |
at hudson.plugins.ansicolor.AnsiHtmlOutputStream.write(AnsiHtmlOutputStream.java:157) | |
at java.io.FilterOutputStream.write(FilterOutputStream.java:125) | |
at hudson.plugins.ansicolor.AnsiColorBuildWrapper$2.eol(AnsiColorBuildWrapper.java:102) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 09, 2015 9:11:16 AM hudson.Proc$LocalProc join | |
WARNING: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information | |
java.lang.Exception | |
at hudson.Proc$LocalProc.join(Proc.java:329) | |
at hudson.Proc.joinWithTimeout(Proc.java:168) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1587) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1277) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1268) | |
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2327) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'guard/plugin' | |
require 'yaml' | |
module ::Guard | |
class Fig < ::Guard::Plugin | |
class FigProxy | |
def build(service = nil) | |
system "fig build #{service}" |