👁️🗨️
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
usort($array, function($a, $b) { | |
return strnatcmp($a['key'],$b['key']); | |
}); |
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 | |
/** | |
* Plugin Name: WP Breakout | |
* Version: 0.0.1 | |
* Description: Do not activate. Click "Visit plugin site". | |
* Plugin URI: /wp-content/plugins/breakout/breakout.php | |
* Update URI: # | |
* | |
* Put me in /wp-content/plugins/breakout/breakout.php | |
* or upload me in a "breakout.zip" file. |
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 | |
// http://thisismywww.com/blog/2018/09/minesweeper-in-php/ | |
// edited the above for some Discord fun. | |
// Note: 9x9 is prolly maximum grid | |
// 10x10 will leave off the last emoji for some reason | |
class MineSweeper { |
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 | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateCsvDataTable extends Migration | |
{ | |
/** | |
* Run the migrations. |