This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.ns("demos"); | |
Ext.setup({ | |
tabletStartupScreen: 'tablet_startup.png', | |
phoneStartupScreen: 'phone_startup.png', | |
icon: 'icon.png', | |
glossOnIcon: false, | |
onReady: function() { | |
var panel = new Ext.Panel({ | |
fullscreen: true, | |
layout: 'fit', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rooms": | |
[ | |
{ | |
"floor": "6th", | |
"key": "ca", | |
"text": "Castro", | |
"desc": "King Street Side", | |
"img" : "castro.png" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rooms = [{ | |
"floor": "6th", | |
"key": "ca", | |
"text": "Castro", | |
"desc": "King Street Side", | |
"img" : "castro.png", | |
"leaf": true | |
}, | |
{ | |
"floor": "6th", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=2 | |
set shiftwidth=2 | |
set smarttab | |
set nocompatible | |
set autoindent | |
set paste | |
syntax on | |
color pablo | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Pow for node | |
require "net/http" | |
class ProxyApp | |
def call(env) | |
begin | |
request = Rack::Request.new(env) | |
headers = {} | |
env.each do |key, value| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=2 | |
set shiftwidth=2 | |
set smarttab | |
set nocompatible | |
set autoindent | |
set hlsearch | |
set paste | |
set showcmd | |
set ruler | |
set background=dark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=2 | |
set shiftwidth=2 | |
set smarttab | |
set nocompatible | |
set autoindent | |
set hlsearch | |
set paste | |
set showcmd | |
set ruler | |
set background=dark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
OlderNewer