Skip to content

Instantly share code, notes, and snippets.

António Cascalheira cascalheira

  • Arcos de Valdevez
Block or report user

Report or block cascalheira

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View controllers.application.js
import Ember from 'ember';
import DS from 'ember-data';
/**
* Returns true iff the number passed in is even
* @param {Number} x
* @return {Boolean}
*/
function isEven(x) {
return x % 2 == 0;
View gist:4169551
Process: Chocolat [43902]
Path: /Applications/Chocolat.app/Contents/MacOS/Chocolat
Identifier: com.chocolatapp.Chocolat
Version: 1.4.3 (1.4.3)
Code Type: X86-64 (Native)
Parent Process: launchd [156]
User ID: 501
Date/Time: 2012-11-27 16:57:10.279 +0000
OS Version: Mac OS X 10.8.2 (12C60)
View gist:3859638
Process: Chocolat [35748]
Path: /Applications/Chocolat.app/Contents/MacOS/Chocolat
Identifier: com.chocolatapp.Chocolat
Version: 1.3.2 (1.3.2)
Code Type: X86-64 (Native)
Parent Process: launchd [235]
User ID: 501
Date/Time: 2012-10-09 16:43:01.771 +0100
OS Version: Mac OS X 10.8.2 (12C54)
View gist:3738370
!!!
%html
%body
%table
%tr
%th Name
%th Costumer
- @galleries.each do |gallery|
%tr
%td= link_to gallery.name, gallery_path(gallery.id)
View gist:3736731
/ Copied this:
- unless @orders_new.empty?
%li
= form_tag('/management/orders/batch/') do
= hidden_field_tag "do", "print"
%table
%tr
%th
%input#selectall{:type => "checkbox"}
You can’t perform that action at this time.