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 ( 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 ./ ../web/albums/ ../web/cache/ > PhotoFloat/scanner/ -> from TreeWalker import TreeWalker (Pdb) b Breakpoint 1[…]

Centos SSH Public keys

Make and copy your public key: [Blogpost 74]( 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; 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; #access_log logs/host.access.log main; ## redirect http to https ## rewrite ^ https://$server_name$request_uri? permanent; #error_page 404 /404.html; # redirect[…]