Skip to content

Instantly share code, notes, and snippets.

# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
<?php
if( mail("pzuraq@gmail.com", "Test email from PHP", "msmtp as sendmail for PHP") )
echo "it works!";
else
echo "fail!";
?>
'use strict';
/* http://docs.angularjs.org/#!angular.service */
// Declare app level module which depends on filters, and services
angular.module('case', [ 'case.services' ]).
config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/inventory', {templateUrl: 'partials/inventory.html', controller: InventoryCtrl});
$routeProvider.when('/inventory/:currentPage', {templateUrl: 'partials/inventory.html', controller: InventoryCtrl});
$routeProvider.when('/inventory/:currentPage/:_id', {templateUrl: 'partials/inventory.html', controller: InventoryCtrl});
/*global App*/
window.App = Ember.Application.create();
// Router
App.Router.map(function() {
this.resource('inventory', function(){
this.route('review');
this.resource('vehicle', { path: '/vehicle/:stock_no' }, function(){
/*global App*/
window.App = Ember.Application.create();
// Router
App.Router.map(function() {
this.resource('inventory', function(){
this.route('review');
this.resource('vehicle', { path: '/vehicle/:stock_no' }, function(){
App.InventoryReviewController = Ember.ArrayController.extend({
needs: ["inventory"],
inventoryBinding: 'controllers.inventory',
addVehicle: function(vehicle) {
vehicle.set('active', true);
}
});
/*global App*/
window.App = Ember.Application.create();
// Router
App.Router.map(function() {
this.resource('inventory', function(){
this.route('review');
this.resource('vehicle', { path: '/vehicle/:stock_no' }, function(){
App.InventoryController = Ember.ArrayController.extend({
content: App.Vehicle.all(),
active: function() {
return this.content.filterProperty('active', true);
}.property('content.@each.active').cacheable()
});
/*global App*/
window.App = Ember.Application.create();
// Router
App.Router.map(function() {
this.resource('inventory', function(){
this.route('review');
this.resource('vehicle', { path: '/vehicle/:stock_no' }, function(){
LoadError: no such file to load -- bundler/setup
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
~/Websites/case/config/boot.rb:6
~/Websites/case/config/application.rb:1:in `require'
~/Websites/case/config/application.rb:1
~/Websites/case/config/environment.rb:2:in `require'
~/Websites/case/config/environment.rb:2
~/Websites/case/config.ru:3:in `require'
~/Websites/case/config.ru:3