Creating paths in PythonLet's say you had this tree:
/home/me/example.com/passenger_wsgi.py
/home/me/example.com/virtualenv
In the Python script, to refer to the directory t…Read More
Fix init sequence in Raspberry PiIf the init sequence gets broken and you can't get to a shell on a Raspberry Pi (I'm using 3 model B), you can boot into recovery mode this way.
Hit…Read More
sed basicsTo replace all instances of http://www.youtube in html files to https://www.youtube:
find . -name "*.html" -exec sed -i 's|http://www.youtube|https:/…Read More
Verifying OpenSSL certificates
Verifying that a certificate is issued by a CA
How to use OpenSSL on the command line to verify that a certificate was issued by a specific CA, give…Read More
0 comments:
Post a Comment