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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
# Netzwerkbrücke mhdev VM (bestehender Stack) | |
config.vm.define :mhdev do |mhdev_config| | |
mhdev_config.vm.network :bridged, :mac => "0800275e32c0" | |
end | |
end |
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
<?php | |
/* | |
* This file is part of the Symfony package. | |
* | |
* (c) Fabien Potencier <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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 'spec_helper' | |
describe SharesController do | |
render_views | |
describe '#create' do | |
it "should redirect to Login if user is not logged in" do | |
post :create, :share => { :facebook_id => 'abc', :address_id => 7 } | |
response.should redirect_to login_path |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="css/default.css" | |
rel="stylesheet" | |
type="text/css" | |
media="screen, projection" /> |
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
class Foo | |
def calculate_for_events(events) | |
@events = events | |
self | |
end | |
def between(time) | |
@start_time = time | |
self |
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
<?php | |
abstract class cCommandLineTool implements cCommandLineToolInterface extends cTool { | |
const TYPE_DECLARED = 0; | |
const TYPE_BOOLEAN = 1; | |
private $sCronjobTitle = NULL; | |
private $sCronjobDescription = NULL; | |
private $aArguments = array(); |
NewerOlder