A sample project

Made by Daragh Test and Daragh Byrne

A sample project

Created: August 28th, 2014

-2

A Sample Project Title

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin egestas, elit a tincidunt aliquet, felis orci aliquet augue, a condimentum nulla mauris ac ipsum. In nec gravida augue, pharetra rutrum tortor. Maecenas ultrices ante mi, vitae varius lacus interdum a. 

Donec risus turpis, suscipit vitae nulla eu, blandit pellentesque metus. Sed a leo sem. 

Suspendisse id sapien mi. Integer sed urna urna. Pellentesque sit amet libero ex. Phasellus ac sapien in sem efficitur suscipit.

-1
-1
Some sample code
var map;
function initialize() {
  var mapOptions = {
    zoom: 8,
    center: new google.maps.LatLng(-34.397, 150.644)
  };
  map = new google.maps.Map(document.getElementById('map-canvas'),
      mapOptions);
}

google.maps.event.addDomListener(window, 'load', initialize);
Click to Expand
0
0

You can only upload up to 20MB

0
// pseudo code goes here
Click to Expand
0
Django Django - Pause Repeat
daniel brereton - https://vimeo.com/channels/staffpicks/134482681
0
Click to Expand
0
The King's Pawn
Rob Cristiano - https://vimeo.com/channels/staffpicks/132283541
0

sadlfjsdlkfjlksdjflsdkjf sd

0
Taken from such and such Click to Expand
0
class Picture < ActiveRecord::Base
  attr_accessible :user_id, :status
  attr_protected  :path # we don't want hackers change this and point it to nowhere, right?


  # Use Carrierwave for Upload?

  # mount_uploader :path, PictureUploader


  validates :status, :in => %w( shared public private )
  scope     :public, where( :status => "public" )

  # Favorite Association

  has_many :favorite_pictures, :class_name => "FavoritePicture"
  has_many :fav_users, :through => :favorite_pictures, :class_name => "User", :foreign_key => "user_id"
end
Click to Expand
x