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
# 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 |
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
<?php | |
if( mail("[email protected]", "Test email from PHP", "msmtp as sendmail for PHP") ) | |
echo "it works!"; | |
else | |
echo "fail!"; | |
?> |
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
'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}); |
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
/*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(){ |
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
/*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(){ |
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
App.InventoryReviewController = Ember.ArrayController.extend({ | |
needs: ["inventory"], | |
inventoryBinding: 'controllers.inventory', | |
addVehicle: function(vehicle) { | |
vehicle.set('active', true); | |
} | |
}); |
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
/*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(){ |
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
App.InventoryController = Ember.ArrayController.extend({ | |
content: App.Vehicle.all(), | |
active: function() { | |
return this.content.filterProperty('active', true); | |
}.property('[email protected]').cacheable() | |
}); |
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
/*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(){ |
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
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 |
OlderNewer