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
Quest do | |
order_request do | |
lab_order @patient_lab_order | |
submit_hl7 | |
end | |
end |
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
Hugo do | |
cloud "jack_apps" do | |
['pdf2swf','jackdocs','html2haml'].each do |app_name| | |
database "#{app_name}_production" do | |
... | |
end | |
balancer | |
app app_name do | |
... |
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
class Base | |
name: "Base" | |
children: [] | |
find: (name) -> | |
for child in this.children | |
if child.name == name | |
result: child | |
break | |
result | |
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 'sinatra' | |
require 'json' | |
before do | |
@widgets = [{:name => "widget1"},{:name => "widget2"}] | |
end | |
# get /widgets - list | |
get '/widgets' do | |
@widgets.to_json |
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
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 | |
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
var mainWin = Ti.UI.currentWindow; | |
var navbar = Titanium.UI.iPhone.createNavigationGroup({ | |
window:mainWin | |
}); | |
var search = Titanium.UI.createSearchBar({ | |
showCancel:false, | |
height:40, | |
width:200, |
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
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 ../... |
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
!!! | |
%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' |
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
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 ../.. |
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
#header-wrap { | |
background-color: #000080; | |
color: #fff; | |
padding: 5px 0px; | |
} | |
#project { | |
border-bottom: 2px solid #000; | |
} |
OlderNewer