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
(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
body { | |
font-family: tahoma; | |
color:#282828; | |
margin: 0px; | |
} | |
.nav-bar { | |
background: linear-gradient(-90deg, #84CF6A, #16C0B0); | |
height: 60px; | |
margin-bottom: 15px; |
# 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 | |
################################################################ | |
################################################################ |
<?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. | |
*/ |
This mini-article describes the methods of dependency injection, what each method implies in terms of both performance and simplicity.
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.
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 |
// ---------------------- | |
// == 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; |
.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%; |
<?php | |
return array( | |
// ... | |
'SYS' => array( | |
'caching' => array( | |
'cacheConfigurations' => array( | |
'cf_cache_hash' => array( | |
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend', | |
'options' => array( | |
'database' => 10, |
#!/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 |