Skip to content

Instantly share code, notes, and snippets.

View jackhq's full-sized avatar

Jack Russell Software Company jackhq

  • Jack Russell Software Company, LLC
  • Mount Pleasant, SC 29464
View GitHub Profile
Quest do
order_request do
lab_order @patient_lab_order
submit_hl7
end
end
Hugo do
cloud "jack_apps" do
['pdf2swf','jackdocs','html2haml'].each do |app_name|
database "#{app_name}_production" do
...
end
balancer
app app_name do
...
class Base
name: "Base"
children: []
find: (name) ->
for child in this.children
if child.name == name
result: child
break
result
require 'sinatra'
require 'json'
before do
@widgets = [{:name => "widget1"},{:name => "widget2"}]
end
# get /widgets - list
get '/widgets' do
@widgets.to_json
Ti.UI.currentWindow.add(Ti.UI.createTextField({
color:'#336699',
height:35,
top:210,
left:200,
width:250,
borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,
keyboardType:Titanium.UI.KEYBOARD_DEFAULT,
returnKeyType:Titanium.UI.RETURNKEY_DEFAULT
var mainWin = Ti.UI.currentWindow;
var navbar = Titanium.UI.iPhone.createNavigationGroup({
window:mainWin
});
var search = Titanium.UI.createSearchBar({
showCancel:false,
height:40,
width:200,
cd public/stylesheets
curl -O http://jackhq.s3.amazonaws.com/ninesixty/reset.css
curl -O http://jackhq.s3.amazonaws.com/ninesixty/text.css
curl -O http://jackhq.s3.amazonaws.com/ninesixty/960.css
touch application.css
cd ../...
!!!
%html
%head
%title Rorproject
- %w{ reset text 960 application }.each do |css|
= stylesheet_link_tag css
= stylesheet_link_tag 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css'
= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"
= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js'
rm public/javascripts/*.js
touch public/javascripts/application.js
cd public/javascripts
curl -O http://github.com/rails/jquery-ujs/raw/59dd91d945570391f905b1e40444e5921dbc2b8f/src/rails.js
cd ../..
#header-wrap {
background-color: #000080;
color: #fff;
padding: 5px 0px;
}
#project {
border-bottom: 2px solid #000;
}