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.Message = Ember.Object.extend({ | |
id: null, | |
text: null, | |
created_at: null, | |
persisted: false, | |
place: null, | |
user: null, | |
comments: [] | |
}); |
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
{ | |
messages: [ | |
{ | |
id: 4, | |
text: "Felix still stucks", | |
created_at: "2012-08-24T00:17:29Z", | |
owner: { | |
id: 1, | |
first_name: "test", | |
last_name: "testerson", |
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
# application.js | |
//= require jquery | |
//= require jquery_ujs | |
//= require jquery.cookie | |
//= require ember | |
//= require jquery.tokeninput | |
//= require bootstrap-modal | |
//= require dashboard/index |
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
$("#add_friend").on('ajax:success', function(data, status, xhr){ | |
console.log(this); | |
console.log($(this)); | |
$(this).after('<p>Friend request successfully sent! And now you wait</p>').fadeIn('slow'); | |
$(this).remove().fadeOut('slow'); | |
}); | |
= link_to "Someone Friend this Fucker", friendships_path(:user_id => current_user.id, :friend_id => @user.id), :remote => true, :method => :post, :id => 'add_friend' |
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
require 'rubygems' | |
require 'spork' | |
#uncomment the following line to use spork with the debugger | |
#require 'spork/ext/ruby-debug' | |
ENV["RAILS_ENV"] ||= 'test' | |
Spork.prefork do | |
# Loading more in this block will cause your tests to run faster. However, | |
# if you change any configuration or code from libraries loaded here, you'll | |
# need to restart spork for it take effect. |
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
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do | |
watch('config/application.rb') | |
watch('config/environment.rb') | |
watch(%r{^config/environments/.+\.rb$}) | |
watch(%r{^config/initializers/.+\.rb$}) | |
watch('Gemfile') | |
watch('Gemfile.lock') |
This file has been truncated, but you can view the full file.
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
/usr/bin/env python -c import numpy | |
==> Downloading http://download.osgeo.org/gdal/gdal-1.9.0.tar.gz | |
Already downloaded: /Users/chrisbull/Library/Caches/Homebrew/gdal-1.9.0.tar.gz | |
/usr/bin/tar xf /Users/chrisbull/Library/Caches/Homebrew/gdal-1.9.0.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/gdal/1.9.0 --mandir=/usr/local/Cellar/gdal/1.9.0/share/man --disable-debug --with-local=/usr/local/Cellar/gdal/1.9.0 --with-threads --with-libtool --with-libtiff=internal --with-geotiff=internal --with-pcraster=internal --with-pcidsk=internal --with-bsb --with-grib --with-pam --with-libz=/usr --with-png=/usr/X11 --with-expat=/usr --with-jpeg=/usr/local --with-jpeg12 --with-gif=/usr/local --with-curl=/usr/bin/curl-config --with-sqlite3=/usr/local --without-grass --without-libgrass --without-cfitsio --without-netcdf --without-ogdi --without-hdf4 --without-hdf5 --without-openjpeg --without-jasper --without-xerces --without-epsilon --without-spatialite --without-libkml --without-poppler --without-podofo --with-freexl=no |
This file has been truncated, but you can view the full file.
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
/usr/bin/env python -c import numpy | |
==> Downloading http://download.osgeo.org/gdal/gdal-1.9.0.tar.gz | |
Already downloaded: /Users/chrisbull/Library/Caches/Homebrew/gdal-1.9.0.tar.gz | |
/usr/bin/tar xf /Users/chrisbull/Library/Caches/Homebrew/gdal-1.9.0.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/gdal/1.9.0 --mandir=/usr/local/Cellar/gdal/1.9.0/share/man --disable-debug --with-local=/usr/local/Cellar/gdal/1.9.0 --with-threads --with-libtool --with-libtiff=internal --with-geotiff=internal --with-pcraster=internal --with-pcidsk=internal --with-bsb --with-grib --with-pam --with-libz=/usr --with-png=/usr/X11 --with-expat=/usr --with-jpeg=/usr/local --with-jpeg12 --with-gif=/usr/local --with-curl=/usr/bin/curl-config --with-sqlite3=/usr/local --without-grass --without-libgrass --without-cfitsio --without-netcdf --without-ogdi --without-hdf4 --without-hdf5 --without-openjpeg --without-jasper --without-xerces --without-epsilon --without-spatialite --without-libkml --without-poppler --without-podofo --with-freexl=no |
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
HOMEBREW_VERSION: 0.9 | |
HEAD: 942f6922525fe65b080915c3dec7da58fa661c92 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: 8-core 64-bit sandybridge | |
OS X: 10.7.4 | |
Kernel Architecture: x86_64 | |
Xcode: 4.3.2 | |
GCC-4.0: N/A | |
GCC-4.2: N/A |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by configure, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --prefix=/usr/local/Cellar/gdal/1.9.0 --mandir=/usr/local/Cellar/gdal/1.9.0/share/man --disable-debug --with-local=/usr/local/Cellar/gdal/1.9.0 --with-threads --with-libtool --with-libtiff=internal --with-geotiff=internal --with-pcraster=internal --with-pcidsk=internal --with-bsb --with-grib --with-pam --with-libz=/usr --with-png=/usr/X11 --with-expat=/usr --with-jpeg=/usr/local --with-jpeg12 --with-gif=/usr/local --with-curl=/usr/bin/curl-config --with-sqlite3=/usr/local --without-grass --without-libgrass --without-cfitsio --without-netcdf --without-ogdi --without-hdf4 --without-hdf5 --without-openjpeg --without-jasper --without-xerces --without-epsilon --without-spatialite --without-libkml --without-poppler --without-podofo --with-freexl=no --with-dods-root=no --witho |
NewerOlder