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:
#!/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" | |
} |
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" |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?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; |
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.
{ | |
"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, |
# finds out current ram setup and limits (for upgrades) | |
sudo dmidecode -t memory |
# 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 |
<?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 | |
} |