- Paste the code snipped in the functions.php of the child theme
- Add
languages
folder to your child theme and add translated language files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal EnableDelayedExpansion | |
set fileDir=%~f1 | |
if exist "%fileDir%\config.rb" goto :build | |
:search | |
for /r "tokens=* delims=;" %%F in ("%fileDir%\..") do if not exist "%fileDir%\config.rb" ( | |
if "%fileDir%" neq "%%~fF" ( | |
set "fileDir=%%~fF" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gallery { | |
padding: 0; | |
list-style-type: none; | |
margin: 0 auto 18px; | |
} | |
.gallery .gallery-item { | |
float: left; | |
margin-top: 0; | |
text-align: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "cmd+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "cmd+shift+i", | |
"command": "editor.action.format", | |
"when": "editorTextFocus" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask_args appdir: '~/Applications' | |
tap 'caskroom/cask' | |
tap 'homebrew/bundle' | |
tap 'homebrew/core' | |
tap 'homebrew/dupes' | |
tap 'homebrew/php' | |
tap 'homebrew/versions' | |
brew 'curl', args: ['with-libssh2'] | |
brew 'gcc' | |
brew 'git' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************** | |
* PATTERN LAB NODE | |
* EDITION-NODE-GULP | |
* The gulp wrapper around patternlab-node core, providing tasks to | |
* interact with the core library and move supporting frontend assets. | |
******************************************************/ | |
import gulp from 'gulp'; | |
import path from 'path'; | |
import browserSyncLib from 'browser-sync'; | |
import minimist from 'minimist'; |
-
Install
twigjs-loader
via npm.$ npm i -D twigjs-loader
-
Extend Storybook's Webpack config to use the Twig loader.
main.js:
module.exports = { stories: [
Example of a similar email triaging system like HEY.com, but with a manual Sieve-Filter. For example, protonmail.com supports Sieve-Filters. See for other email clients in the info below.
The individual sections can be changed and extended by your liking.
require ["fileinto", "extlists"];
if anyof(header :contains "subject" "online purchase", header :contains "subject" "invoice", header :contains "subject" "order", header :contains "subject" "order")
{
# Everything related to orders, invoices and so on, goes to "Paper trail"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require ["fileinto", "extlists"]; | |
if anyof(header :contains "subject" "online purchase", header :contains "subject" "rechnung", header :contains "subject" "order", header :contains "subject" "artikel verschickt", header :contains "subject" "auftragsbestätigung", header :contains "subject" "sendung", header :contains "subject" "Bankdokumente") | |
{ | |
fileinto "Paper trail"; | |
} elsif anyof(exists "X-Gitlab-Issue-Id", address :is "from" ["notifications@tasks.clickup.com", "notes-reply@email.zeplin.io"]) | |
{ | |
fileinto "Issues"; | |
} elsif anyof(exists "X-Gitlab-Pipeline-Status", address :is "from" "status@notify.gitlab.com") | |
{ |
The regex is made for JavaScript regex engines.
It can, for example, be used in node, or pasted into search field of Visual Studio Code and used for a search/replace.
Search:
(\{%|\{\{)\s*(import|embed|include|source|extends|from)(\s*)(\(?['|"])(.*)(['|"]\)?)([\s\S]*?)(%\}|\}\})
OlderNewer