See the snippets "guide.md" and "redis.md" below.
If you're wanting to run Docker Swarm on your Raspberry Pi checkout these instructions:
See the snippets "guide.md" and "redis.md" below.
If you're wanting to run Docker Swarm on your Raspberry Pi checkout these instructions:
| #!/bin/bash | |
| # Set variables | |
| DB_NAME="database" | |
| TMP_DB="tmp-db" | |
| DB_USER="transfer_user_mysql" | |
| CNF_PATH="$HOME/.transfer_user.cnf" | |
| WORK_PATH="$HOME/db_transfers" | |
| FULLDATE=$(date +"%Y-%d-%m %H:%M") | |
| NOW=$(date +"%Y-%m-%d-%H-%M") |
| // MySQL to Google Spreadsheet By Pradeep Bheron | |
| // Support and contact at pradeepbheron.com | |
| function myMySQLFetchData() { | |
| var conn = Jdbc.getConnection('jdbc:mysql://127.0.0.1:3306/employee_db', 'username', 'pass'); // Change it as per your database credentials | |
| var stmt = conn.createStatement(); | |
| var start = new Date(); // Get script starting time | |
| <?php | |
| require_once('config.php'); | |
| $dbf_file = 'KESZLET.DBF'; | |
| $dbf_table_columns = 'CIKKSZAM, DARAB'; | |
| // Set temp table in db to work with for update (will perform a JOIN with product table) | |
| $temp_table = 'TMP-vega_import_stock'; | |
| // Set column names for product model and quantity in temp table | |
| $temp_table_columns = ["product_model_identifier" => 'model_sku',"product_quantity" => 'qty']; | |