I hereby claim:
- I am sdenike on github.
- I am sdenike (https://keybase.io/sdenike) on keybase.
- I have a public key whose fingerprint is 1339 AE37 66EE 8779 47A5 6CB6 682F C1B9 5664 39BD
To claim this, I am signing this object:
#!/bin/bash | |
LOCKFILE=/tmp/.wb.lck | |
HOST=web01.fisys.us | |
BACKUPHOST=25.23.239.150 | |
DOCROOT=/var/www | |
EXCLUDEDB='schema\|mysql' | |
EXCLUDE=.git | |
DATE=`date +%Y-%m-%d.%H%M` | |
#TIME=`time|grep real|awk '{print $2}'` | |
BACKUPFILE=/mnt/backup/$HOST.backup-$DATE.tar.bz2 |
I hereby claim:
To claim this, I am signing this object:
root@ubuntu:/# ab -c 1000 -n 10000 http://localhost/misc/wp_dev/index.php | |
This is ApacheBench, Version 2.3 <$Revision: 1430300 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 1000 requests | |
Completed 2000 requests | |
Completed 3000 requests | |
Completed 4000 requests |
Verifying myself: My Bitcoin username is +sdenike. https://onename.io/sdenike |
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
Using Laravel Valet for localhost development, So it installs
dnsmasq
with it. dnsmasq runs on port53
, The default DNS port. So we setup dnscrypt-proxy on port5300
with the default config files in this gist.
brew install dnscrypt-proxy
<?php | |
// PHP memory limit for this site | |
define( 'WP_MEMORY_LIMIT', '128M' ); | |
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit. | |
// Database | |
define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database. | |
define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users) | |
// Explicitely setting url |
(^|\.)googlevideo\.com$ | |
(^|\.)m\.youtube\.com$ | |
(^|\.)muscdn\.com$ | |
(^|\.)musical\.ly$ | |
(^|\.)s\.youtube\.com$ | |
(^|\.)tiktok\.com$ | |
(^|\.)www\.youtube\.com$ | |
(^|\.)youtu\.be$ | |
(^|\.)youtube-ui\.l\.google\.com$ | |
(^|\.)youtube\.com$ |
If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:
$ git config --global commit.gpgsign true
([OPTIONAL] every commit will now be signed)$ git config --global user.signingkey ABCDEF01
(where ABCDEF01
is the fingerprint of the key to use)$ git config --global alias.logs "log --show-signature"
(now available as $ git logs
)$ git config --global alias.cis "commit -S"
(optional if global signing is false)$ echo "Some content" >> example.txt
$ git add example.txt
$ git cis -m "This commit is signed by a GPG key."
(regular commit
will work if global signing is enabled)