Skip to content

Instantly share code, notes, and snippets.

View make.log
[2016-12-07 12:39:49] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/ramon/.rvm/src/ruby-1.9.3-p551
GEM_HOME=/home/ramon/.rvm/gems/ruby-1.9.3-p551
PATH=/home/ramon/.rvm/gems/ruby-1.9.3-p551/bin:/home/ramon/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/ramon/.rvm/rubies/ruby-1.9.3-p551/bin:/home/ramon/.rvm/bin:/home/ramon/.nvm/versions/node/v6.9.1/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin:/home/ramon/.cabal/bin:/bin:/home/ramon/npm/bin:/home/ramon/.opam/system/bin:/usr/local/bin:/home/ramon/.cabal/bin:/bin:/home/ramon/npm/bin:/home/ramon/.opam/system/bin
GEM_PATH=/home/ramon/.rvm/gems/ruby-1.9.3-p551:/home/ramon/.rvm/gems/ruby-1.9.3-p551@global
command(2): __rvm_make -j8
@ramonsnir
ramonsnir / git-pushu.sh
Created Jul 16, 2016
/usr/local/bin/git-pushu (assumes that you always like your `origin` remote)
View git-pushu.sh
#!/bin/bash
if ( git status | grep "origin" -q ); then
git push $@
else
branch_name="$(git symbolic-ref HEAD 2>/dev/null)"
git push --set-upstream origin "${branch_name##refs/heads/}"
git push $@
fi
@ramonsnir
ramonsnir / Dockerfile
Created Feb 21, 2016
leaking docker-compose
View Dockerfile
FROM node:4.3.1
ADD . .
RUN npm install
CMD node test.js
@ramonsnir
ramonsnir / msgpack-increment.lua
Created Jan 26, 2016
Simple Lua script for our test
View msgpack-increment.lua
--[[
ARGUMENTS
KEYS:
1 - key
ARGV:
1 - sub-key to increment
--]]
-- unpack data, or empty data
local data = redis.call("get", KEYS[1])
@ramonsnir
ramonsnir / .bashrc
Last active Jan 25, 2016
Ramon.bgptheme
View .bashrc
# your other stuff...
# git prompt
GIT_PROMPT_THEME=Ramon
GIT_PROMPT_ONLY_IN_REPO=0
GIT_PROMPT_FETCH_REMOTE_STATUS=0
. ~/.bash-git-prompt/gitprompt.sh
@ramonsnir
ramonsnir / prepare.sh
Last active Nov 8, 2016
Eetoul Codeship prepare script
View prepare.sh
#!/bin/bash
set -e
# Keep in sync with elixir_buildpack.config (heroku config)
#export GIT_VERSION="v2.8.2" # set by Codeship
#export ERLANG_VERSION="18.0" # set by Codeship
#export ELIXIR_VERSION="v1.0.5" # set by Codeship
#export LIBGIT2_VERSION="v0.22.1" # set by Codeship
export INSTALL_PATH="$HOME/cache"