How to separate projects? Wireframes & Designs should be on different projects (ex: CBRE Wireframes, CBRE Designs).
Each different project type has a subset of related skin, viewports & configurations when previewing the screens.
- Desktop (Web) video
| OldHttpRequest = Turbolinks.HttpRequest | |
| class Turbolinks.CachedHttpRequest extends Turbolinks.HttpRequest | |
| constructor: (_, location, referrer) -> | |
| super(this, location, referrer) | |
| requestCompletedWithResponse: (response, redirectedToLocation) -> | |
| @response = response | |
| @redirect = redirectedToLocation | |
How to separate projects? Wireframes & Designs should be on different projects (ex: CBRE Wireframes, CBRE Designs).
Each different project type has a subset of related skin, viewports & configurations when previewing the screens.
| # lib/tasks/db.rake | |
| namespace :db do | |
| desc "Dumps the database to db/APP_NAME.dump" | |
| task :dump => :environment do | |
| cmd = nil | |
| with_config do |app, host, db, user| | |
| cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump" | |
| end | |
| puts cmd |
| # parse date/time in detected time zone | |
| time_zone_name = params[:time_zone] | |
| time_zone = ActiveSupport::TimeZone.new(time_zone_name || Time.zone.name) | |
| time_string = "#{params[:date]} #{params[:time]}" | |
| time_in_time_zone = time_zone.parse time_string |
| require 'rubygems' | |
| require 'mechanize' | |
| FIRST_NAME = 'FIRST_NAME' | |
| LAST_NAME = 'LAST_NAME' | |
| PHONE = 'PHONE' | |
| EMAIL = '[email protected]' | |
| PARTY_SIZE = 2 | |
| SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |
| if [ -f "$rvm_path/scripts/rvm" ]; then | |
| source "$rvm_path/scripts/rvm" | |
| if [ -f ".rvmrc" ]; then | |
| source ".rvmrc" | |
| fi | |
| if [ -f ".ruby-version" ]; then | |
| rvm use `cat .ruby-version` | |
| fi |
| #! /usr/bin/env python | |
| from boto.ses.connection import SESConnection | |
| import os | |
| import sys | |
| import subprocess | |
| import socket | |
| TMPFILE = '/var/run/postgresql/last-wal-archive-error-file.tmp' | |
| if __name__ == '__main__': |
| # Usage: redis-cli publish message.achannel hello | |
| require 'sinatra' | |
| require 'redis' | |
| conns = Hash.new {|h, k| h[k] = [] } | |
| Thread.abort_on_exception = true | |
| get '/' do |
| # Usage: redis-cli publish message hello | |
| require 'sinatra' | |
| require 'redis' | |
| conns = [] | |
| get '/' do | |
| erb :index | |
| end |