Please report (suspected) security vulnerabilities to [email protected]. You will receive a response from us within 48 hours. If we can confirm the issue, we will release a patch as soon as possible depending on complexity but historically within a few days.
This file contains hidden or 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
<?php | |
add_filter('sanitize_title', 'dnb_transliterate_slug', 5, 3); | |
function dnb_transliterate_slug($title, $raw_title = NULL, $context = 'query') { | |
// Hacky hook due to hacky core, see | |
// http://core.trac.wordpress.org/ticket/16905 | |
if ($raw_title != NULL) { | |
$title = $raw_title; // undo remove_accents | |
} |
This file contains hidden or 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
# on client computers for synergy networks the cursor is invisible due | |
# to the fact that there is no mouse or keyboard plugged in ;) | |
gsettings set org.gnome.settings-daemon.plugins.cursor active false |
This file contains hidden or 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
# finds out current ram setup and limits (for upgrades) | |
sudo dmidecode -t memory |
This file contains hidden or 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
{ | |
"rules": { | |
"no-todo": true, | |
"textlint-rule-no-start-duplicated-conjunction": true, | |
"max-comma": { | |
"max": 3 | |
}, | |
"no-exclamation-question-mark": true, | |
"no-dead-link": { | |
"checkRelative": true, |
This file contains hidden or 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
<?php | |
// Hide license notifications | |
// dnb 2020-09-18 | |
// hide updraft plus notices about expired licenses | |
function dnb_remote_updraft_license_notifications() { | |
echo '<style> | |
.updraftupdatesnotice-updatesexpired, | |
.updraftupdatesnotice-updatesexpiringsoon { | |
display: none !important; |
I hereby claim:
- I am davidsneighbour on github.
- I am pkollitsch (https://keybase.io/pkollitsch) on keybase.
- I have a public key ASAKBUx6t6v3pyUBOT6jBGkYuXAM41hgdIWSqrM7WsJQ8wo
To claim this, I am signing this object:
I hereby claim:
- I am davidsneighbour on github.
- I am davidsneighbour (https://keybase.io/davidsneighbour) on keybase.
- I have a public key ASBtuonlUXfO53uYGBRrDdoD-i5D4CjciF22fyZJslXZngo
To claim this, I am signing this object:
This file contains hidden or 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
float = "cast.toFloat" | |
int = "cast.toInt" | |
string = "cast.toString" | |
after = "collections.After" | |
append = "collections.Append" | |
apply = "collections.Apply" | |
complement = "collections.Complement" | |
delimit = "collections.Delimit" | |
dictionary = "collections.Dictionary" | |
first = "collections.First" |
This file contains hidden or 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
#!/bin/bash | |
function echo_warning() { | |
local message="$1" | |
# ANSI escape sequence for bold red text | |
echo -e "\033[1;31m#######################################################################\033[0m" | |
echo -e "\033[1;31m${message}\033[0m" | |
echo -e "\033[1;31m#######################################################################\033[0m" | |
} |