Skip to content

Instantly share code, notes, and snippets.

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@twaurisch
twaurisch / cache-warmer-3.sh
Created September 15, 2021 11:36 — forked from chales/cache-warmer-3.sh
A couple of simple options to parse sitemap.xml to warm the cache or for other actions such as generating memory_profiler checks.
# This can be added to your cron job to run right after Drupal's cron or combine them into a single command so
# that it automatically executes when the cron run completes.
wget -q http://www.example.com/sitemap.xml -O - | egrep -o "http://www\.example\.com[^<]+" | wget -q -i - -O /dev/null --wait 1
@twaurisch
twaurisch / FormEngine.php
Created May 20, 2015 17:17
XCLASS FormEngine.php to backport feature request #24906 for TYPO3 6.2 LTS, max. characters configuration for TCA field type "text"
<?php
namespace BTU\BtuDevlib\Xclass\Backend\Form;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class FormEngine extends \TYPO3\CMS\Backend\Form\FormEngine {
/**
* Backport from TYPO3 7.x
* Changeset: 9a6a133c9aa3db73ba9983a9cdd1cd28467de03c