Skip to content

Instantly share code, notes, and snippets.

View mauriciosilva's full-sized avatar

mauricio silva mauriciosilva

  • --
  • San Francisco
View GitHub Profile
{
"rooms":
[
{
"floor": "6th",
"key": "ca",
"text": "Castro",
"desc": "King Street Side",
"img" : "castro.png"
},
demos.ConferenceRooms = new Ext.Panel({
cls: 'card conference_card',
html: '<div>find you conference room here</div>'
});
demos.ConferenceRooms.castro = new Ext.Panel({
cls: 'card conference_card',
html: "<div>This is china town</div>"
});
demos.ConferenceRooms.chinatown = new Ext.Panel({
cls: 'card conference_card',
@mauriciosilva
mauriciosilva / gist:814059
Created February 7, 2011 06:14
new_rooms
rooms = [{
"floor": "6th",
"key": "ca",
"text": "Castro",
"desc": "King Street Side",
"img" : "castro.png",
"leaf": true
},
{
"floor": "6th",
@mauriciosilva
mauriciosilva / current .vimrc
Created February 8, 2011 19:24
as of 2/8/2011
set tabstop=2
set shiftwidth=2
set smarttab
set nocompatible
set autoindent
set paste
syntax on
color pablo
### Pow for node
require "net/http"
class ProxyApp
def call(env)
begin
request = Rack::Request.new(env)
headers = {}
env.each do |key, value|
require 'rubygems'
require 'mini_magick'
image_path ="/Users/mauriciosilva/Projects/akqa/audi/audi_mobile/public/images/360"
Dir.foreach(image_path) do |f|
next if f == '.' or f == '..' or f == 'sizer.rb' or f == '.DS_Store'
img = MiniMagick::Image.new(f)
set tabstop=2
set shiftwidth=2
set smarttab
set nocompatible
set autoindent
set hlsearch
set paste
set showcmd
set ruler
set background=dark
set tabstop=2
set shiftwidth=2
set smarttab
set nocompatible
set autoindent
set hlsearch
set paste
set showcmd
set ruler
set background=dark
gem 'rails', '3.1.0'
gem 'haml'
gem 'haml-rails'
gem 'mongoid', '2.0.0.rc.6'
gem 'bson_ext', '~> 1.2'
gem 'configy'
layout = <<-LAYOUT
!!! 5
%html