Problem with SSD corruption on power failure .. flactuation

only enterprise-class SSDs can be relied upon (at all) for safe behavior on power fail.

The enterprise-class SSDs have super-capacitors that store enough power to write all data stored in the RAM within the SSD on power fail, and vendors charge three times as much as they do for consumer class SSDs.

Some vendors do certify their SSDs, but you should check them under real power-fail conditions, like pulling the plug.

It is better to use an Arduino with a relay for experimenting with cutting off power.

mysql python 3 mac

  548  pip install –egg http://dev.mysql.com/get/Downloads/Connector-Python/mysql-co‌​nnector-python-2.1.4‌​.zip

  549  pwd

  550  python manage.py 

  551  pip list

  552  pip install mysql-connector-python-rf

  553  python manage.py 

  554  pip install MySQL-python

  555  pip install mysql-python

  556  brew install mysql-connector-c 

  557  pip install mysql-python

  558  pip install MySQL-python

  559  pip install MySQL-python

  560  export PATH=$PATH:/usr/local/mysql/bin/

  561  pip install MySQL-python

  562  pip install MySQL-python

  563  pip install pymysql

  564  python manage.py 

  565  python manage.py 

  566  pip install MySQL-python

  567  pip3 install mysql-connect-python

  568  pip3 install http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.0.4.zip

  569  pip install mysqlclient

Turn any Linux host into proxy hosts very easy

you can turn any Linux computer into a SOCKS5 (and SOCKS4) proxy in just one command:

ssh -N -D 0.0.0.0:1080 localhost

And it doesn’t require root privileges. The ssh command starts up dynamic -D port forwarding on port1080 and talks to the clients via SOCSK5 or SOCKS4 protocols, just like a regular SOCKS5 proxy would! The -N option makes sure ssh stays idle and doesn’t execute any commands on localhost.

If you also wish the command to go into background as a daemon, then add -f option:

ssh -f -N -D 0.0.0.0:1080 localhost

To use it, just make your software use SOCKS5 proxy on your Linux computer’s IP, port 1080, and you’re done, all your requests now get proxied.