Notes

Linux, WebDev and other…

python

Convert single mysql insert statements to one statement with multiple VALUES lists

I needed to convert multiple mysql insert statements to statements with multiple VALUE lists to insert several rows at a time. I have not found any tool for that, so I wrote this script in Python. Thankfully I found a non-validating SQL parser module for Python, so this task became very easy. You must install […]

,

Reuse an old laptop or netbook as a VPS backup solution

Introduction I have an old unused netbook – Asus eee 900HD. It’s very small and has 160GB HDD. I decided to install there debian and reuse it as a VPS backup solution. My netbook is behind NAT, connected to home router by fast ethernet cable, so the plan is to repeat these steps: Make a […]

, ,