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
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
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
class LoginPresenter: | |
def __init__(self): | |
self.response = 0 | |
def present_response(self, response): | |
self.response = response | |
class User: | |
def __init__(self, userid, username, password): |
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
require "YAML" | |
# My very first Ruby code ever. | |
class LoginInteractor | |
attr_accessor :presenter | |
def initialize(presenter) | |
@presenter = presenter | |
end |
Language | Status |
---|---|
PHP | OK |
Java | OK |
Android SDK | OK |
Android SDK Test | OK |
Objective-C | X |
IOS-SDK | X |
IOS-Testing | X |
Ruby | OK |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
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
@mixin border-radius($radius) { | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; | |
} | |
@mixin border-shadow($horizontal, $vertical, $blur, $spread, $color) { | |
-webkit-box-shadow: $horizontal $vertical $blur $spread $color; | |
box-shadow: $horizontal $vertical $blur $spread $color; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites> | |
<testsuite name="Bws Library" tests="30" assertions="78" failures="0" errors="0" time="0.027137"> | |
<testsuite name="Bws\Entity\ArticleTest" file="/Applications/XAMPP/xamppfiles/htdocs/shop/tests/Bws/Entity/ArticleTest.php" namespace="Bws\Entity" fullPackage="Bws.Entity" tests="2" assertions="2" failures="0" errors="0" time="0.003171"> | |
<testcase name="testGetSetEan" class="Bws\Entity\ArticleTest" file="/Applications/XAMPP/xamppfiles/htdocs/shop/tests/Bws/Entity/ArticleTest.php" line="17" assertions="1" time="0.002627"/> | |
<testcase name="testGetSetDescription" class="Bws\Entity\ArticleTest" file="/Applications/XAMPP/xamppfiles/htdocs/shop/tests/Bws/Entity/ArticleTest.php" line="23" assertions="1" time="0.000544"/> | |
</testsuite> | |
<testsuite name="Bws\Interactor\AddToBasketTest" file="/Applications/XAMPP/xamppfiles/htdocs/shop/tests/Bws/Interactor/AddToBasketTest.php" namespace="Bws\Interactor" fullPackage="Bws.Interactor" tests="6" asserti |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<coverage generated="1402691128"> | |
<project timestamp="1402691128"> | |
<package name="Bws\Entity"> | |
<file name="/Applications/XAMPP/xamppfiles/htdocs/shop/src/Bws/Entity/Article.php"> | |
<class name="Article" namespace="Bws\Entity"> | |
<metrics methods="12" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="18" elements="30" coveredelements="30"/> | |
</class> | |
<line num="47" type="method" name="setEan" crap="1" count="25"/> | |
<line num="49" type="stmt" count="25"/> |
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 | |
class ChangeLogisticPartnerInteractor | |
{ | |
/** @var ChangeLogisticPartnerValidator */ | |
private $changeLogisticPartnerValidator; | |
public function execute($changeToId) | |
{ | |
// High level Policy |
OlderNewer