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 | |
public function setFoo($foo) | |
{ | |
$this->foo = $foo; | |
return $this; | |
} |
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
{ | |
"name": "symfony/framework-standard-edition", | |
"description": "The \"Symfony Standard Edition\" distribution", | |
"license": "proprietary", | |
"autoload": { | |
"psr-0": { "": "src/" } | |
}, | |
"require": { | |
"php": ">=5.4.0", |
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
{% Minion gets some extra sizes | |
\PackageInfo{classicthesis}{A4 paper, MinionPro}% | |
\areaset[current]{312pt}{684pt}% 609 + 33 + 42 head \the\footskip 684 | |
\setlength{\marginparwidth}{7.5em}% | |
\setlength{\marginparsep}{2em}% | |
}{% Palatino or other | |
\PackageInfo{classicthesis}{A4 paper, Palatino or other} | |
\areaset[current]{420pt}{750pt} % ~ 336 * factor 2 + 33 head + 42 \the\footskip 336 | |
% \areaset{336pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip 10pt | |
\setlength{\marginparwidth}{7em}% |
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
// Using the Jenkins Groovy Post build plugin to execute the following after every build | |
// https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin | |
// It would be nice not to have to specify these here... the repo name should be available within the hudson | |
// api somehow, but I didn't know how to get it. The access token should maybe be saved in a config file, and | |
// read in at runtime? | |
GITHUB_REPO_NAME = 'myusername/myreponame' | |
GITHUB_ACCESS_TOKEN = 'my_github_api_v3_access_token' |
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
[X,Y]=meshgrid(-1:.1:3); | |
Z = rosenbrock(X,Y); | |
figure; | |
[C,h] = contour(X,Y,Z); | |
xlabel('x'); | |
ylabel('y'); | |
clabel(C,h); |
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
function z = rosenbrock(x,y) | |
z = 10*(y-x^2)^2 + (1-x)^2; | |
end |
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 ParserAugsburg extends ParserBase | |
{ | |
protected $hintRegexChild = '/\(([\d]{1,2}|,|\s)+\)/i'; | |
protected $openingTimes = array( | |
'1' => array('start' => '1100', 'end' => '1400'), | |
'2' => array('start' => '1100', 'end' => '1400'), |
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
#include <cmath> // sqrt | |
#include <cstdio> | |
#include <cstdlib> | |
#include <stack> | |
#include <vector> | |
#include <iostream> | |
using namespace std; | |
const unsigned int size = 5; |
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
{ | |
"status":200, | |
"executionTime":0.02356, | |
"data":[ | |
{ | |
"id":"1", | |
"lang":"de", | |
"title":"Danni Lowinski", | |
"tvdbID":150741 | |
}, |
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
{ | |
"status":200, | |
"executionTime":0.04375, | |
"data":[ | |
{ | |
"id":"1", | |
"lang":"de", | |
"title":"Danni Lowinski", | |
"tvdbID":150741, | |
"episodes":[ |