Skip to content

Instantly share code, notes, and snippets.

View tomasnorre's full-sized avatar
🐘

Tomas Norre Mikkelsen tomasnorre

🐘
View GitHub Profile
$ php test.php
PHP Fatal error: Uncaught TypeError: Return value of doStuff() must be of the type bool, int returned in test.php:10
Stack trace:
#0 test.php(13): doStuff()
#1 {main}
thrown in test.php on line 10
Fatal error: Uncaught TypeError: Return value of doStuff() must be of the type bool, int returned in test.php:10
Stack trace:
#0 test.php(13): doStuff()
<?php
namespace AOE\SchedulerTimeline\ViewHelpers;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
/**
* Class IncreaseViewHelper
*
*/
class IncreaseViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
{
"name": "tomasnorre/typo3v7",
"type": "project",
"require": {
"typo3/cms": "^7.6"
},
"config": {
"vendor-dir": "vendor",
"bin-dir": "bin"
},
{
"version": "6.4.0",
"objects": Array[9][
{
"id": "849db510-00ec-11e8-9d54-43eefacdabed",
"type": "visualization",
"updated_at": "2018-09-19T18:43:37.483Z",
"version": 1,
"attributes": {
"title": "KubernetesNamespace",

Keybase proof

I hereby claim:

  • I am tomasnorre on github.
  • I am tomasnorre (https://keybase.io/tomasnorre) on keybase.
  • I have a public key ASDr-tUaUNqWATS8IwG9OTUozMMSDtc5q1-N6QL1suItOQo

To claim this, I am signing this object:

(1/1) #1476050190 TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException
Unable to generate a URL for the named route "wizard_element_browser" because this route was not found.
in /var/www/fritdrop/latest/web/typo3/sysext/backend/Classes/Routing/UriBuilder.php line 93
public function buildUriFromRoute($name, $parameters = [], $referenceType = self::ABSOLUTE_PATH)
{
$this->loadBackendRoutes();
if (!isset($this->routes[$name])) {
throw new RouteNotFoundException('Unable to generate a URL for the named route "' . $name . '" because this route was not found.', 1476050190);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700,500,300);@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,700,500,300);@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}[src$="blue.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA5Njg4IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}[src$="red.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRjQ0MzM2IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtMmgydjJ6bTAtNGgtMlY3aDJ2NnoiLz48L3N2Zz4=)}[src$="yellow.png
build-monitor-plugin
blueocean-pipeline-api-impl
rvm
hipchat
blueocean-personalization
workflow-cps-global-lib
promoted-builds
pipeline-stage-tags-metadata
warnings
ruby-runtime
@tomasnorre
tomasnorre / letsencrypt_2017.md
Created November 3, 2017 08:43 — forked from tolleiv/letsencrypt_2017.md
How to setup Let's Encrypt for Nginx on Ubuntu 16.04 (including IPv6, HTTP/2 and A+ SLL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 16.04 (including IPv6, HTTP/2 and A+ SLL rating)

There are two main modes to run the Let's Encrypt client (called Certbot):

  • Standalone: replaces the webserver to respond to ACME challenges
  • Webroot: needs your webserver to serve challenges from a known folder.

Webroot is better because it doesn't need to replace Nginx (to bind to port 80).

In the following, we're setting up mydomain.com. HTML is served from /var/www/mydomain, and challenges are served from /var/www/letsencrypt.

@tomasnorre
tomasnorre / README.md
Created March 3, 2017 17:45 — forked from ralphschindler/README.md
Docker (For Mac) De-facto Host Address Alias (10.254.254.254) - "The 10254 Trick".

Docker (Mac) De-facto Standard Host Address Alias

This launchd script will ensure that your Docker environment on your Mac will have 10.254.254.254 as an alias on your loopback device (127.0.0.1). The command being run is ifconfig lo0 alias 10.254.254.254

Installation

Copy/Paste the following in terminal with sudo (must be root as the target directory is owned by root)...

sudo curl -o /Library/LaunchDaemons/com.ralphschindler.docker_10254_alias.plist https://gist.githubusercontent.com/ralphschindler/535dc5916ccbd06f53c1b0ee5a868c93/raw/com.ralphschindler.docker_10254_alias.plist