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
"jspm": { | |
"directories": { | |
"jspmPackages": "vendor" | |
}, | |
"configFile": "config/jspm.js", | |
"dependencies": { | |
"handlebars": "handlebars.js@1.3.0", | |
"jquery": "^1.11.0", | |
"qunit": "github:jquery/qunit@^1.12.0", | |
"ember-qunit": "github:rwjblue/ember-qunit@0.1.5", |
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
Trying to get from sth like: | |
'<cmp:sideBySideEditor />' | |
// '<div><cmp:MdEditor state="sideBySideEditor"/></div>' | |
And have the macro output: | |
"sideBySideEditor.render(state.sideBySideEditor)" | |
// "h('div', MdEditor.render(state.sideBySideEditor))", |
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
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
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
This is a test ;) |
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 gems | |
gem 'cucumber' | |
gem 'cucumber-rails' | |
gem 'rspec' | |
gem 'rspec-rails' | |
gem 'webrat' | |
gem "thoughtbot-factory_girl" | |
# generate Cucumber infrastructure | |
run './script/generate cucumber' |
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
#======================= | |
# Gem | |
#======================= | |
function gem_init_version { | |
rake version:write | |
rake version:bump:minor | |
} | |
function gem_version { | |
rake version |
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
git clone git://github.com/snusnu/datamapper_on_rails3.git | |
cd datamapper_on_rails3 | |
gem bundle | |
bin/rake db:create | |
bin/rake db:automigrate | |
./script/server | |
open http://localhost:3000/people |
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
$(function() { | |
$(".sortable").sortable({cursor: 'pointer'}); | |
$(".sortable").disableSelection(); | |
}); | |
$(function(){ | |
//all hover and click logic for buttons | |
$(".fg-button:not(.ui-state-disabled)") | |
.hover( | |
function(){ |
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
WEB APP ARCHITECTURE | |
----------- | |
Client MVC | |
* Sproutcore | |
* mobile app wrapper - See screencast - San Diego rails group | |
* Rails 3 - REST services | |
- Data Mapper | |
- Key Value store |
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
The names after the ':' are the corresponding brews I found for my installed ports (Macports). I also added a few useful ones I didn't have installed as ports before. Many of these entries are identical and could be autogenerated with a script. | |
autoconf:autoconf213 | |
boost:boost | |
bzip2:pbzip2 | |
expat:expat | |
gettext:gettext | |
git-core:git | |
gmp:gmp | |
httperf:httperf |