Skip to content

Instantly share code, notes, and snippets.

View rdougan's full-sized avatar

Robert Dougan rdougan

View GitHub Profile
this.getMain().orientate(orientation);
Ext.define('MyContainer', {
extend : 'Ext.Container',
config : {
layout : {
type : 'vbox',
align : 'stretch'
},
items: {
{
xtype : 'personlist',
@rdougan
rdougan / response.json
Created December 31, 2011 15:16
Example response of rob_halifax - https://github.com/rdougan/rob_halifax
{
"accounts": [
{
"figures": [
{
"Balance": 5046.0
},
{
"Money available": 5024.3
},
/*jshint eqeqeq: false */
/*global Ext: false */
sudo gem uninstall compass (remove all)
sudo gem uninstall sass (remove all)
sudo gem install compass -v 0.11.4
sudo gem uninstall sass
git clone https://github.com/nex3/sass.git "sass-clone"
cd sass-clone
git checkout stable
git submodule init
git submodule update
sudo rake install
rob in ~/github/sencha/sdk/extjs
± |touch-2.0.0 ✗| → compass compile resources/sass/ --force --time
overwrite resources/sass/../css/ext-all-access.css (3.041s)
overwrite resources/sass/../css/ext-all-gray.css (2.927s)
overwrite resources/sass/../css/ext-all-scoped.css (3.619s)
overwrite resources/sass/../css/ext-all.css (3.916s)
overwrite resources/sass/../css/ext-ie-scoped.css (3.293s)
overwrite resources/sass/../css/ext-ie.css (3.304s)
overwrite resources/sass/../css/ext-sandbox.css (3.999s)
overwrite resources/sass/../css/ext-standard-scoped.css (2.387s)
@if not $supports-gradients or $compile-all {
.#{$prefix}nlg {
@if $grid-header-background-gradient != null {
.#{$prefix}grid-header-ct,
.#{$prefix}column-header {
background: repeat-x 0 top;
background-image: theme-background-image($theme-name, 'grid/column-header-bg.gif');
}
}
@rdougan
rdougan / .profile
Created April 1, 2011 09:06
My .profile file
# Paths
export PATH=/Applications/TextMate.app/Contents/Resources:$PATH
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
export PATH=/opt/apache/bin:$PATH
export PATH=/opt/php5/bin:$PATH
export PATH=/usr/local/mysql/bin:$PATH
export PATH=/usr/local/pgsql/bin:$PATH
export PATH=/Users/Robert/github/ivy/bin:$PATH
new Ext.Panel({
fullscreen: true,
layout : 'card',
style: 'background:red',
defaults: {xtype:'panel'},
items: [
{
#! /usr/bin/env ruby
require 'rubygems'
require 'mechanize'
# Enter your username and password
login = ''
password = ''
# Enter your sortcode and account number.
# this appears on the first page when you login, it should be a link and should look like this: