Skip to content

Instantly share code, notes, and snippets.

View rogeralmeida's full-sized avatar

Roger Almeida rogeralmeida

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rogeralmeida on github.
  • I am rogeralmeida (https://keybase.io/rogeralmeida) on keybase.
  • I have a public key ASAnTGSPpn8vThoqPLbe6pMOUw6cke6M1-eTPclHrJiGKwo

To claim this, I am signing this object:

@rogeralmeida
rogeralmeida / .todo.cfg
Created July 13, 2019 05:16
todo-txt configuration example
# If there is a todo.txt file in the current directory, it will use current directory as base dir
if [ -f todo.txt ]
then
export TODO_DIR="$(pwd)"
else
export TODO_DIR="$HOME/Dropbox/todo"
fi
export TODO_FILE="$TODO_DIR/todo.txt"
export DONE_FILE="$TODO_DIR/done.txt"
export REPORT_FILE="$TODO_DIR/report.txt"
/*!
* jQuery JavaScript Library v1.8.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
@rogeralmeida
rogeralmeida / development.log
Created November 27, 2012 01:20
development log
Started GET "/admin/zones/new" for 10.0.2.2 at 2012-11-27 01:53:34 +0100
Processing by Spree::Admin::ZonesController#new as HTML
Spree::Preference Exists (0.3ms) SELECT 1 AS one FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/app_configuration/allow_ssl_in_development_and_test' LIMIT 1
Spree::Preference Load (0.2ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."name" = 'allow_ssl_in_development_and_test' LIMIT 1
Spree::User Load (0.5ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."id" = 1 LIMIT 1
Spree::Order Load (0.4ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."user_id" = 1 AND "spree_orders"."completed_at" IS NULL ORDER BY created_at ASC LIMIT 1
 (0.4ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = 1 AND "s
source 'https://rubygems.org'
gem 'rails', '3.2.9'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'pg'
# Gems used only for assets and not required
vagrant@lucid32:/vagrant$ bundle install
/home/vagrant/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Using rake (10.0.2)
Using i18n (0.6.1)
Using multi_json (1.3.7)
Using activesupport (3.2.9)
Using builder (3.0.4)
Using activemodel (3.2.9)
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).