I hereby claim:
- I am bonesoul on github.
- I am bonesoul (https://keybase.io/bonesoul) on keybase.
- I have a public key ASBqoX-2UnLGJxxHpSzCLw_DK6jTeIJ2CQoFJLgobvDqvgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| { | |
| "_id" : ObjectId("5b2174ad0144acd7dc4e3e1a"), | |
| "game" : "5b2174ad0d58710f40d018bc", | |
| "year" : NumberInt(2018), | |
| "__v" : NumberInt(0), | |
| "createdAt" : ISODate("2018-06-13T19:46:53.105+0000"), | |
| "months" : { | |
| "6" : { | |
| "epoch" : NumberInt(1527800400), | |
| "days" : { |
| echo "net.ipv4.ip_local_port_range = 20000 65535" >> /etc/sysctl.conf && echo 20000 65535 > /proc/sys/net/ipv4/ip_local_port_range && echo "net.ipv4.tcp_tw_reuse = 1" >> /etc/sysctl.conf && echo "net.core.somaxconn=1638400" >> /etc/sysctl.conf && sysctl -p /etc/sysctl.conf |
| #!/bin/sh | |
| cd /var/www/YOURSITE.ORG | |
| date=`date +"%b-%d-%y-%H-%M-%S"` | |
| mysqldump -h SERVER_IP -u root -pPASSWORD --skip-extended-insert --skip-dump-date --databases DBNAME > db-backups/YOURSITE.ORG.sql | |
| git add -A | |
| git commit -m "Site backups for $date" | |
| git push | |
| git gc | |
| #fetch Gravatars | |
| use strict; | |
| use warnings; | |
| use LWP::Simple; | |
| use Digest::MD5 qw(md5_hex); | |
| use Thread::Pool::Simple; | |
| my $size = 90; |
| UPDATE wp_posts SET post_content=REPLACE(post_content, 'old-url', 'new-url') |