This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM install node and npm | |
| REM see https://github.com/coreybutler/nvm-windows | |
| REM install php and composer | |
| REM see https://www.php.net/ and https://getcomposer.org/download/ and setup env var | |
| REM clone firefly-iii on github | |
| composer install | |
| composer update | |
| php artisan firefly-iii:verify-database-connection | |
| php artisan firefly-iii:upgrade-database | |
| php artisan firefly-iii:correct-database |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "net/http" | |
| "os/signal" | |
| "syscall" | |
| "time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # I don't know it's correct or not; at least it works for me. | |
| {YOUR_COMMAND} & # make sure your command will end | |
| pid=$! | |
| kill -s STOP ${pid} | |
| sudo stdbuf -oL tcplife -p ${pid} -s > otuput.csv & | |
| tcplife_pid=$! | |
| sleep 5 | |
| kill -s CONT ${pid} | |
| wait ${pid} |