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
Homebrew is the way of the future.. | |
1. Save list of installed ports | |
2. Uninstall macports | |
3. Install Homebrew | |
4. Install old ports using brew | |
1. Save list of installed ports | |
---------------------------- | |
1. port installed > ports_installed.txt |
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 |
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 install_mpfr { | |
lib_name=$1 | |
if [ ! -d $lib_name ] | |
then | |
if [ ! -f $lib_name.tar.bz2 ]; then | |
curl -O http://www.mpfr.org/mpfr-current/$lib_name.tar.bz2 | |
fi | |
tar xjf $lib_name.tar.bz2 | |
cd $lib_name | |
./configure |
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
DRAFT | |
----- | |
The idea is to find the fingerprint over every type of 'application' and sign the app with a signature, using configurable application matchers. | |
An application can have multiple application signatures. | |
Fx a client-server app My-Blog could consist of | |
- client app = Sproutcore | |
- server app = Rails app | |
The My-Blog app would then contain both a Sproutcore and Rails signature file |
OlderNewer