When I tried svn up, I got an error.
1 2 3 4 5 6 7 E200030: sqlite[S11]: database disk image is malformed ```I found a solution on [stackoverflow](https://stackoverflow.com/questions/13675615/svn-cleanup-sqlite-database-disk-image-is-malformed).``` sqlite3 .svn/wc.db "pragma integrity_check" sqlite3 .svn/wc.db "reindex nodes" sqlite3 .svn/wc.db "reindex pristine"
Manage my redis service with systemctl
Author: @hackedunit
I just fixed a bug.
Install pre-requisities 1 2 $ sudo apt-get install tcl8.6-dev ```2. Install Redis $ cd /tmp
$ wget http://download.redis.io/redis-stable.tar.gz
$ tar xzvf redis-stable.tar.gz
$ cd redis-stable
$ make
$ make test
$ sudo make install
$ sudo mkdir /etc/redis
$ sudo cp /tmp/redis-stable/redis.conf /etc/redis
$ sudo vi /etc/redis/redis.conf
…
how to install mysqlclient in python2/python3 on windows 10
Installing mysqlclient on windows is very cumbersome.
here is a simple way :
According to the version of python, download the corresponding file on this page.
- python2.7:
- 32 bit: mysqlclient‑[version]‑cp27‑cp27m‑win32.whl
- 64 bit: mysqlclient‑[version]‑cp27‑cp27m‑win_amd64.whl
- python3.7:
- 32 bit: mysqlclient‑[version]‑cp37‑cp37m‑win32.whl
- 64 bit: mysqlclient‑[version]‑cp37‑cp37m‑win_amd64.whl
2. install it
- command: pip install mysqlclient‑[version]‑cp37‑cp37m‑xxx.whl
3. done