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 | |
| # Check if the CSL app is running | |
| pid=$(ps -ax | grep -m1 'Cities_Skylines/Cities.app' | grep -v grep | awk '{print $1}') | |
| if [[ $pid ]] | |
| then | |
| echo "Cities is running under pid: $pid" | |
| echo "Quitting Cities.." | |
| osascript -e 'quit app "Cities"' | |
| sleep 4 |
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
| <?php namespace App\Http\Controllers; | |
| /* * ** | |
| * | |
| * MySQL database script for full schema migrations in Laravel 5. | |
| * | |
| * 1. Place this file inside app/Http/controllers/ | |
| * | |
| * 2. In this file, edit the index() method to customize this script to your needs. | |
| * - inside $migrate->ignore(), you pass in an array of table |
NewerOlder