REKEY *NOT* REVOKE!!

Silly!! Hosed myself and Revoked the UCC cert instead of rekeying it! Luckily, GoDaddy kept this within their terms, and I only had to pay a $15 restocking fee + the difference to make up a full year since the original purchase date (they can only sell certs by the full year). After that, it[…]

DateTime TypeError – Unicode

Ran into an error running Justin’s code (http://git.zx2c4.com/PhotoFloat/about/): TypeError: can’t compare datetime.datetime to unicode (When I uploaded a newly edited PNG from GIMP and ‘scan’ updated my cache). So I did a quick bit of debugging: PhotoFloat/scanner# python -m pdb ./main.py ../web/albums/ ../web/cache/ > PhotoFloat/scanner/main.py(3)() -> from TreeWalker import TreeWalker (Pdb) b PhotoAlbum.py:42 Breakpoint 1[…]

Centos SSH Public keys

Make and copy your public key: [Blogpost 74](https://hwcdi.com/blogpost/74/Enable_Key_based_SSH_%28for_machine_to_machine_talking_%28backup%2C_etc%29%29) then [root@STG1 colin]# chmod 700 .ssh/ [root@STG1 colin]# chmod 600 .ssh/authorized_keys [root@STG1 colin]# restorecon -Rv .ssh/

NGINX Multitenancy

#excerpt of nginx.conf: server { listen 80; server_name zfsftw.com; location / { root /usr/local/www/nginx-dist/zfsftw; index index.html; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/local/www/nginx-dist; } } server { listen 80; server_name hwcdi.com; #access_log logs/host.access.log main; ## redirect http to https ## rewrite ^ https://$server_name$request_uri? permanent; #error_page 404 /404.html; # redirect[…]