All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login
's Avatar

portalzine

Joined 10 months ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 13
portalzine's Avatar

portalzine / Codekit - Timestamp Hook

0 likes
0 forks
1 files
Last active 9 months ago
Add current timestamp to files, when compiling
Codekit Hook
1 NOW=`date "+%a %Y-%m-%d %T"`
2 sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH
portalzine's Avatar

portalzine / Contract Killer 3.md

0 likes
0 forks
1 files
Last active 9 months ago
Documents Legal

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : Feb 3rd 2020

portalzine's Avatar

portalzine / Translate Slugs (Umlaute)

0 likes
0 forks
1 files
Last active 10 months ago
Hook WordPress
1 add_filter( 'sanitize_title', '_translate_slug_umlauts', 5, 3 );
2 /**
3 * Transliterates German umlauts in post slugs for both the classic and block editors.
4 *
5 * @param string $title The sanitized title.
6 * @param string $raw_title The title prior to any sanitization.
7 * @param string $context The context in which the sanitization is occurring.
8 *
9 * @return string The modified title with German umlauts transliterated.
10 */
Newer Older

Powered by Opengist ⋅ Load: 110ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ Data Privacy