01Mar/16

WordPress Count Users Created Each Day Stats

Login to Mysql (notice username and password touch the -u and -p argument)

mysql> SHOW databases;

mysql> USE wpdb; NOTE: we can skip asking mysql to USE a database andRead More…

19Feb/16

Debian – See all files in packages with word in them – double xargs

Final:

Use this same technique to find out which files are missing from packages: http://ram.kossboss.com/see-filesfolderssymlinksetc-missing-debian-package/ ————– For example all of the packages that are mono. I want to see all of theRead More…

15Feb/16

Rsync thru SSH Error: protocol version mismatch — is your shell clean?

The problem / error: When doing an rsync over ssh file transfer I get this error.

Sidenote: The options -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null, so that I dont get that Host Key authenticationRead More…

11Jan/16

NOTE TO SELF: Samba Watch the Locks

Watching samba locks script:

smbstatus -L  just lists the headers, but it has an extra empty line at the end, and 3 header lines. We extract the important header line, and weRead More…