In your command-line run the following commands:
brew doctor
brew update
# Docker Compose for WordPress with Data Persistence | |
# | |
# Resources | |
# https://medium.com/@tatemz/local-wordpress-development-with-docker-3-easy-steps-a7c375366b9 | |
# https://hub.docker.com/_/wordpress/ | |
# https://hub.docker.com/r/_/mariadb/ | |
# https://stackoverflow.com/a/39208187/648844 | |
# https://github.com/nezhar/wordpress-docker-compose | |
# | |
version: "2" |
In your command-line run the following commands:
brew doctor
brew update
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
libnfc supports UUID writable cards and even has some dedicated tools for them.
However it doesn't work with some of the cards found on eBay that are even simpler to use. Sector 0 is unlocked and can be written without any additional commands. libnfc requires a small patch to get it working.
Following has been tested under ArchLinux with modified libnfc 1.5.1, mfoc 0.10.2 and a SCL3711 dongle.
The patch is fairly simple, open libnfc-1.5.1/utils/nfc-mfclassic.c and comment 2 lines (it was lines 384 and 385 for me):
// Try to write the trailer