On Ubuntu
sudo apt-get install python3-virtualenv
sudo apt-get install python3-setuptools
DocX
convert -verbose -quality 100 -fill "rgba(255,255,255,1.00)" -density 300 -alpha off test.docx test_docx.png
convert -verbose -quality 100 -fill "rgba(255,255,255,1.00)" -density 300 -alpha off test.pdf test_pdf.png
If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.
Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.
If in doubt about what git is doing when you run these commands, just
Open the nanorc file:
nano ~/.nanorc
Turn on line-numbers feature by pasting the following into the nanorc:
set linenumbers
Prepare database dump using mysqldump
:
mysqldump -u [username] -p [databaseName] --compatible=postgresql --default-character-set=utf8 > database.sql
Clone mysql-postgresql-converter
project:
git clone [email protected]:lanyrd/mysql-postgresql-converter.git
openssl rand -base64 12 | cut -c1-12
for cont in $(podman ps -q); do podman exec -it ${cont} /bin/bash -c "pip install django-request-logging"; done
Patch:
import logging
logger = logging.getLogger('django.db')
logger.level = logging.DEBUG
Now we can:
Here is my personally successful approach to convert an existing Bitbucket hg repo to a new Bitbucket git repo. In this example, I invented a repo with the name "SimonSays". I used Windows 8.1.
language: python | |
# ===== Linux ====== | |
os: linux | |
dist: xenial | |
python: | |
- 2.7 | |
- 3.6 | |
- 3.7 | |
- 3.8 | |
- 3.9 |