Skip to content

Instantly share code, notes, and snippets.

@ankurk91
ankurk91 / xdebug-mac.md
Last active September 20, 2025 11:22
php xDebug v3 on Ubuntu/Mac and phpStorm

🪲 Install and Configure xDebug v3 on MacOS for PhpStorm 🐘

  • Assuming that you have already installed php and apache via Homebrew

  • Install xDebug php extension

pecl channel-update pecl.php.net
pecl clear-cache

pecl install xdebug
@markhowellsmead
markhowellsmead / nextprevious.ts
Created May 21, 2014 11:49
Next/previous navigation using TypoScript in TYPO3
# Next / previous
# Generates links to the previous and next pages in the same level as the current page
# Define the terms for "next page" and "previous page" in the TS constants, or amend
# the following code to use Locallang files.
# 17.12.2013 mhm.li | m@mhm.li
lib.nextprevious = COA
lib.nextprevious {
wrap = <div class="turn">|</div>
@marioBonales
marioBonales / .bashrc
Created January 19, 2012 03:56
Default .bashrc for ubuntu
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace