This file contains hidden or 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>Fetch Image</title> | |
| <script type="text/javascript" src="index.js"></script> | |
| <link href="index.css" rel="stylesheet" type="text/css"/> | |
| </head> | |
| <body> | |
| <h3>Fetch Image From URL:</h3> | |
| <div style='font-weight:bold'>Title</div> | |
| <input id="imgTitle" type="text"></input> |
This file contains hidden or 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
| Titanium.UI.setBackgroundColor('#000'); | |
| var tab_group = Ti.UI.createTabGroup(); | |
| var win = Titanium.UI.createWindow({ }); | |
| win.hideTabBar(); | |
| var edit = Titanium.UI.createButton({title:'Move'}); | |
| win.setRightNavButton(edit); | |
| var data = [ | |
| {title: 'foo'}, |
This file contains hidden or 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
| Titanium.UI.setBackgroundColor('#000'); | |
| var tabGroup = Titanium.UI.createTabGroup(); | |
| var win = Titanium.UI.createWindow({ | |
| title:'Tab', | |
| backgroundColor:'#fff' | |
| }); | |
| var tab = Titanium.UI.createTab({ |
This file contains hidden or 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
| # | |
| # Inspired by | |
| # http://dev.rubyonrails.org/svn/rails/plugins/account_location/lib/account_location.rb | |
| # | |
| module SubdomainAccounts | |
| def self.included( controller ) | |
| controller.helper_method(:account_domain, :account_subdomain, :account_url, :current_account, :default_account_subdomain, :default_account_url) | |
| end | |
| protected |
This file contains hidden or 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
| # mongo_template.rb | |
| # remove unneeded defaults | |
| run "rm public/index.html" | |
| run "rm public/images/rails.png" | |
| run "rm public/javascripts/controls.js" | |
| run "rm public/javascripts/dragdrop.js" | |
| run "rm public/javascripts/effects.js" | |
| run "rm public/javascripts/prototype.js" |
This file contains hidden or 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
| App = SC.Application.create( | |
| /** @scope Chase.prototype */ { | |
| NAMESPACE: 'App', | |
| VERSION: '0.1.0', | |
| // This is your application store. You will use this store to access all | |
| // of your model data. You can also set a data source on this store to | |
| // connect to a backend server. The default setup below connects the store | |
| // to any fixtures you define. |
This file contains hidden or 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
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl http://npmjs.org/install.sh | sh |
This file contains hidden or 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
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl http://npmjs.org/install.sh | sh |
This file contains hidden or 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 Job = { | |
| data : [ | |
| "We are glad to see you here. This site is dedicated to", | |
| "poetry and to the people who make poetry possible", | |
| "poets and their readers. FamousPoetsAndPoems.com is", | |
| "a free poetry site. On our site you can find a large", | |
| "collection of poems and quotes from over 631 poets", | |
| "Read and Enjoy Poetry", | |
| "I, too, sing America", |
OlderNewer