This Gist helps to build and start a simple Rails application in a single Docker container (no docker-compose needed).
- Go to your projects folder
cd /home/user/my_projects- Run a temporary
ruby:2.xcontainer that will install Rails
| -- 1. Install ADB on your computer | |
| -- 2. adb backup -noapk com.freestylelibre.app.it | |
| -- 3. Decompress data with zlib support: | |
| -- printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" |cat - /tmp/data |gzip -dc >/tmp/out | |
| -- 4. go to apps/com.freestylelibre.app.it/f/ | |
| -- 5. open apollo.db and sas.db in a sqlite editor | |
| -- 6. copy notes.data into sas.db | |
| -- 7. run this query to have a diary with sensor scans and notes: | |
| SELECT strftime('%d/%m/%Y %H:%M:%S', datetime(timestampLocal/1000, 'unixepoch')), comment, glucoseValue, fastInsulinDose, slowInsulinDose, foodCarbs, foodType |
| <?php | |
| ################################################################ | |
| # THIS GIST HAS BEEN ABANDONED IN FAVOUR OF A COMPLETE LIBRARY # | |
| # PLEASE READ THE COMMENT ABOVE # | |
| ################################################################ | |
| namespace common\components; | |
| /** |