Skip to content

Instantly share code, notes, and snippets.

View bobmaerten's full-sized avatar
🏠
Working from home

Bob Maerten bobmaerten

🏠
Working from home
  • Level UP Solutions
  • Valenciennes, France
View GitHub Profile
@bobmaerten
bobmaerten / .gitattributes
Last active August 3, 2024 03:02 — forked from jeromedalbert/.gitattributes
Automatically resolve Git merge conflicts in Rails schema.rb by picking the most recent date in the conflict (works with Rails 6 and recent versions of Git). The following files should be in your home ~ directory.
db/schema.rb merge=railsschema
@bobmaerten
bobmaerten / ubuntu_ruby_install.sh
Created March 9, 2012 13:56
Ubuntu Ruby install - rbenv and ruby-build
#!/bin/bash
# pre-requisites
sudo apt-get install curl libssl-dev
# Install rbenv
# https://github.com/sstephenson/rbenv
cd ~
git clone git://github.com/sstephenson/rbenv.git .rbenv
@bobmaerten
bobmaerten / postinstall_ubuntu_11.10.sh
Created October 6, 2011 10:26 — forked from alejandro/ubuntu
Getting ready for a developer machine. Ubuntu 11.10
#!/usr/bin/env bash
echo "Using apt-get to install OS packages so let's update it first ..."
sudo apt-get update -y
echo "Installing OS packages. You will be prompted for your password ..."
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev vim zsh -y
echo "Installing Utility packages."
sudo apt-get install ubuntu-restricted-extra chromium-browser