Skip to content

Instantly share code, notes, and snippets.

{
"status":200,
"executionTime":0.04375,
"data":[
{
"id":"1",
"lang":"de",
"title":"Danni Lowinski",
"tvdbID":150741,
"episodes":[
{
"status":200,
"executionTime":0.02356,
"data":[
{
"id":"1",
"lang":"de",
"title":"Danni Lowinski",
"tvdbID":150741
},
#include <cmath> // sqrt
#include <cstdio>
#include <cstdlib>
#include <stack>
#include <vector>
#include <iostream>
using namespace std;
const unsigned int size = 5;
<?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'),
function z = rosenbrock(x,y)
z = 10*(y-x^2)^2 + (1-x)^2;
end
[X,Y]=meshgrid(-1:.1:3);
Z = rosenbrock(X,Y);
figure;
[C,h] = contour(X,Y,Z);
xlabel('x');
ylabel('y');
clabel(C,h);
// 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'
{% 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}%
{
"name": "symfony/framework-standard-edition",
"description": "The \"Symfony Standard Edition\" distribution",
"license": "proprietary",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.4.0",
<?php
public function setFoo($foo)
{
$this->foo = $foo;
return $this;
}