Skip to content

Instantly share code, notes, and snippets.

View Benjamin-K's full-sized avatar

Benjamin Klix Benjamin-K

View GitHub Profile
@Benjamin-K
Benjamin-K / input.scss
Created November 6, 2020 11:10
Generated by SassMeister.com.
$lightblue: #75A8C1;
$darkgrey: #4B5255;
$middlegrey: #91A5AE;
$mediumblue: #32768E;
.test {
// Light blue 50 %
color: lightblue50;
color: mix(white, $lightblue, 50%);
@Benjamin-K
Benjamin-K / changeNodeVersion.sh
Created November 18, 2016 16:45
Change Version of Node
#!/bin/bash
# Clean the npm cache
sudo npm cache clean -f
# Install node globally
sudo npm install -g n
# Install the desired version of node (here stable, could also be a version like 4.4.2 etc)
sudo n stable
@Benjamin-K
Benjamin-K / 404.html
Last active August 29, 2015 14:23
Multilanguage NotFoundPage - editable in Neos-Backend
{namespace wm=WM\StarterKit\ViewHelpers}
<f:format.raw><wm:notFound path="{f:if(condition: path, then: path, else: '404')}" /></f:format.raw>
@Benjamin-K
Benjamin-K / EmailFinisher.php
Created February 20, 2015 14:13
TYPO3 Neos EmailFinisher
<?php
namespace WM\StarterKit\Finishers;
/**
* @author Benjamin Klix | die wegmeister gmbh
*/
class EmailFinisher extends \TYPO3\Form\Finishers\EmailFinisher {
/**
* Extends the functionality of the default parseOption() method