Skip to content

Instantly share code, notes, and snippets.

@zikes
zikes / .zshrc
Last active November 14, 2022 03:45
Using kube-ps1 with P9K
# Enable the kube-ps1 oh-my-zsh plugin
plugins = (
git
kube-ps1
)
# The output of the kube_ps1 function is text, so it can be used
# directly as a custom p9k segment
POWERLEVEL9K_CUSTOM_KUBE_PS1='kube_ps1'
@pfeiferbit
pfeiferbit / cache-redis.php
Created June 9, 2016 12:06
Configure TYPO3 6.2 to use Redis as LRU Cache. Put in typo3conf/conf.d/ and include via typo3conf/AdditionalConfiguration.php or merge array with LocalConfiguration.php.
<?php
/**
* @see: typo3_src/typo3/sysext/core/Configuration/DefaultConfiguration.php
*/
/**
* If phpredis extension exists, set cache backends to redis
*/
if (extension_loaded('redis')) {