Skip to content

Instantly share code, notes, and snippets.

Robert Wildling rowild

  • Vienna
Block or report user

Report or block rowild

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@edPratt
edPratt / mac-osx-node-npm.md
Last active Aug 30, 2019
Fixing npm On Mac OS X; When npm install -g does not work
View mac-osx-node-npm.md

Nuke Everything node/npm related

(If you have setup another prefix)
rm -rf .npm-global

sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf ~/.npm
brew uninstall node --ignore-dependencies node
rm -rf /usr/local/lib/node_modules

@atomjar
atomjar / product_style
Last active Sep 13, 2019
Stylesheet for Vue Mastery's Intro to Vue course
View product_style
body {
font-family: tahoma;
color:#282828;
margin: 0px;
}
.nav-bar {
background: linear-gradient(-90deg, #84CF6A, #16C0B0);
height: 60px;
margin-bottom: 15px;
@kagarlickij
kagarlickij / powerlevel9k.zsh-theme
Last active May 29, 2019
This is my config for Powerlevel9k theme for ZSH located in ~/.oh-my-zsh/custom/themes/powerlevel9k
View powerlevel9k.zsh-theme
# vim:ft=zsh ts=2 sw=2 sts=2 et fenc=utf-8
################################################################
# powerlevel9k Theme
# https://github.com/bhilburn/powerlevel9k
#
# This theme was inspired by agnoster's Theme:
# https://gist.github.com/3712874
################################################################
################################################################
@NamelessCoder
NamelessCoder / AdditionalConfiguration.php
Created Mar 12, 2017
Using namelesscoder/typo3-cms-multilevel-cache
View AdditionalConfiguration.php
<?php
/*
* Demonstrates how to configure `namelesscoder/typo3-cms-multilevel-cache` for
* added L1 (runtime) and L2 (memcached) caches on existing database-backed caches.
*
* Tip: if your site changes frequently, consider assigning a low expiration time
* on the "default_memcached" cache configuration.
*/
@NamelessCoder
NamelessCoder / injectionmethods.md
Last active Dec 6, 2018
Why you should never use @Inject in TYPO3 Extbase
View injectionmethods.md

This mini-article describes the methods of dependency injection, what each method implies in terms of both performance and simplicity.

  1. Constructor injection

This method is half manual and quite well known. Declare your classes' dependencies as constructor and pass the dependencies when you construct your instances. This approach completely skips the automation around detection of injections - but performs the best of all methods.

@marcj
marcj / do-it.sh
Last active Jun 23, 2018
OSX PhpStorm, better performance - more FPS using OpenGL
View do-it.sh
cp /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions ~/Library/Preferences/WebIde*
echo -ne "\n-Dawt.useSystemAAFontSettings=lcd\n-Dawt.java2d.opengl=true" >> ~/Library/Preferences/WebIde*/phpstorm.vmoptions
@jonathanpath
jonathanpath / _z-index.scss
Last active Jun 23, 2018
Z-index Sass scale
View _z-index.scss
// ----------------------
// == Z-index scale (inspired by https://gist.github.com/fat/1f6da6b3bd0311a1f8a0)
// ----------------------
// Z-Index Scale (private vars)
// --------------------------------------------------
$zindex-1: 100;
$zindex-2: 200;
$zindex-3: 300;
$zindex-4: 400;
@himynameisdave
himynameisdave / gradient-animation.less
Last active Sep 8, 2019
Mixins for Animating Between Gradients
View gradient-animation.less
.gradient-animation( @start, @end, @transTime ){
background-size: 100%;
background-image: linear-gradient(@start, @end);
position: relative;
z-index: 100;
&:before {
background-image: linear-gradient(@end, @start);
content: '';
display: block;
height: 100%;
@oliverthiele
oliverthiele / LocalConfiguration.php
Created Dec 11, 2014
Redis Configuration in TYPO3
View LocalConfiguration.php
<?php
return array(
// ...
'SYS' => array(
'caching' => array(
'cacheConfigurations' => array(
'cf_cache_hash' => array(
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend',
'options' => array(
'database' => 10,
@lambdalisue
lambdalisue / install_gui_application_darwin.sh
Created Nov 13, 2014
Install Mac OS X Gui Application via Homebrew Cask
View install_gui_application_darwin.sh
#!/usr/bin/env bash
#==============================================================================
# Install Mac OS X GUI Application via brew cask
#==============================================================================
brew cask install google-chrome
brew cask install thunderbird
brew cask install dropbox
brew cask install copy
brew cask install slack
brew cask install the-unarchiver
You can’t perform that action at this time.