Skip to content

Instantly share code, notes, and snippets.

View martinffx's full-sized avatar
:shipit:
I may be slow to respond.

Martinffx martinffx

:shipit:
I may be slow to respond.
View GitHub Profile
#!/bin/bash
DEPOLY_FOLDER=$1
# Install dependencies
sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2 unzip
sudo yum-config-manager \
--add-repo \
@martinffx
martinffx / dokku.log
Created October 2, 2016 11:57
dokku git push failure log
gp dokku master
+ case "$(lsb_release -si)" in
++ lsb_release -si
+ export DOKKU_DISTRO=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
@martinffx
martinffx / ruby-build.log
Created May 4, 2013 08:30
stack trace for failed build of rbx-2.0.0-rc1 on Arm
This file has been truncated, but you can view the full file.
~/.rbenv/sources/rbx-2.0.0-rc1 ~/code/jse-api
HTTP/1.0 200 OK
Content-Type: binary/octet-stream
Content-Length: 471759
Connection: keep-alive
Date: Mon, 25 Mar 2013 10:26:08 GMT
Last-Modified: Wed, 12 Dec 2012 18:53:11 GMT
ETag: "36c852831d02cf90508c29852361d01b"
Accept-Ranges: bytes
Server: AmazonS3
@martinffx
martinffx / index.html
Created February 21, 2013 11:44
grouped bar graph
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
@martinffx
martinffx / gist:4386695
Last active December 10, 2015 05:18
install_pkgs broken on 1.3.0.rc4
$ rails s
/home/martinr/.rvm/gems/ruby-1.9.3-p327-turbo@global/gems/bundler-1.2.3/lib/bundler/runtime.rb:74:in `require': /home/martinr/.rvm/gems/ruby-1.9.3-p327-turbo/gems/rvm-capistrano-1.3.0.rc4/lib/rvm/capistrano.rb:116: syntax error, unexpected '\n', expecting tASSOC (SyntaxError)
/home/martinr/.rvm/gems/ruby-1.9.3-p327-turbo/gems/rvm-capistrano-1.3.0.rc4/lib/rvm/capistrano.rb:190: syntax error, unexpected keyword_do_block, expecting keyword_end
rvm_install_pkgs.each do |pkg|
^
/home/martinr/.rvm/gems/ruby-1.9.3-p327-turbo/gems/rvm-capistrano-1.3.0.rc4/lib/rvm/capistrano.rb:191: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
run "#{File.join(rvm_bin_path, "rv...
^
/home/martinr/.rvm/gems/ruby-1.9.3-p327-turbo/gems/rvm-capistrano-1.3.0.rc4/lib/rvm/capistrano.rb:191: syntax error, unexpected ',', expecting keyword_end
...h, "rvm")} pkg install #{pkg}", :shell => "#{rvm_install_she...
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {