Skip to content

Instantly share code, notes, and snippets.

View mabahamo's full-sized avatar

Manuel Bahamóndez-Honores mabahamo

View GitHub Profile
@mabahamo
mabahamo / group :development
Last active August 29, 2015 13:57
Gemas para desarrollo
group :development, :test do
gem "rspec-rails"
gem "jasminerice"
gem "bullet"
gem 'better_errors'
gem 'binding_of_caller'
gem 'sqlite3'
gem "factory_girl_rails"
end
# Source: https://gist.github.com/mabahamo/9133779
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# Ignore bundler config
/.bundle
#!/usr/bin/env bash
apt-get -y update
#ubuntu:
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev git-core python-setuptools libpq-dev sqlite3 libsqlite3-dev
#debian
#apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev git-core python-setuptools libpq-dev sqlite3 libsqlite3-dev gcc
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz
tar -xvzf ruby-1.9.3-p448.tar.gz
cd ruby-1.9.3-p448/
@mabahamo
mabahamo / apcupsd.conf
Created August 9, 2011 13:53
archivos públicos de configuracion
UPSCABLE usb
UPSTYPE usb
DEVICE
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3