This file contains 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 | |
# | |
# Create a 8GB eMMC image for Tesla Model S/X MCU1 | |
# | |
# Example usage: ./mkteslaemmcimg.sh ./vinXXXXX.img ./develop-2019.20.2.1-16-5659e07dfd.img | |
# | |
set -e | |
FIRMWARE=$2 | |
IMAGE=$1 |
This file contains 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 | |
# | |
# Create a 8GB eMMC image for Tesla Model S/X MCU1 | |
# | |
# Example usage: ./mkteslaemmcimg.sh ./vinXXXXX.img ./develop-2019.20.2.1-16-5659e07dfd.img | |
# | |
set -e | |
FIRMWARE=$2 | |
IMAGE=$1 |
This file contains 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
<?php | |
// console/controllers/CronController.php | |
namespace console\controllers; | |
use Yii; | |
use yii\console\Controller; | |
use yii\console\Exception; | |
use yii\helpers\FileHelper; |