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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8'><meta name="robots" content="noindex"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel='stylesheet prefetch' href='http://rawgit.com/angular/bower-material/master/angular-material.css'> | |
<style> | |
.site-sidenav { | |
background-color: red; | |
} |
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
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
golang-go-linux-amd64 golang-src | |
Recommended packages: | |
golang-go.tools | |
The following NEW packages will be installed: | |
golang-go golang-go-linux-amd64 golang-src | |
debconf: unable to initialize frontend: Dialog |
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
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "phusion/ubuntu-14.04-amd64" |
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
#!/bin/bash | |
apt-get update | |
apt-get install -y \ | |
php5 \ | |
php5-fpm \ | |
php5-cli \ | |
php5-curl \ | |
php5-gd \ | |
php5-memcached \ |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
#!/usr/bin/env php | |
<?php | |
if ($argc < 2) { | |
printf('Usage: %s <filename>' . PHP_EOL, $argv[0]); | |
exit(1); | |
} | |
if (!file_exists($argv[1])) { | |
printf('File %s was not found' . PHP_EOL, $argv[1]); |
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 | |
//autoloader | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use Aws\S3\S3Client; | |
use Aws\S3\Enum\CannedAcl; | |
//init client | |
$s3Client = S3Client::factory(array( | |
'key' => '<key>', | |
'secret' => '<secret>', |
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
<tr> | |
<td>Umsatzsteuer (67) 19,00 % aus {{ advice.sumNetValue|number_format(2, ',', '.') }}</td> | |
<td style="text-align: right">{{ advice.sumSalesTax|number_format(2, ',', '.') }}</td> | |
</tr> |
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 | |
//old | |
$this->breadcrumbs[] = array( | |
'name' => $translator->trans('Home'), | |
'path' => $this->generateUrl('_index', array()), | |
); | |
//new | |
$this->breadcrumbs[] = [ | |
'name' => $translator->trans('Home'), | |
'path' => $this->generateUrl('_index', []), |
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
/* | |
* Author: Frido Koch | |
* Email: [email protected] | |
* License: CC BY-NC-SA 3.0 DE | |
* http://creativecommons.org/licenses/by-nc-sa/3.0/de/ | |
*/ | |
package sheet10; | |
import static org.junit.Assert.*; |
NewerOlder