https://github.com/backup-manager/laravel/blob/master/README.md#scheduling-backups
https://www.youtube.com/watch?v=vWXy0R8OavM
| 1. cmd+shift+p | |
| 2. Type phpcs and install it | |
| 3. Preferences > Package Settings > Php Code Sniffer > User settings |
| /** | |
| * Laravel / jQuery AJAX code example | |
| * See conversation here: http://laravel.io/forum/04-29-2015-people-asking-about-jquery-ajax | |
| * | |
| * Drop this code into your App/Http/routes.php file, and go to /ajax/view in your browser | |
| * Be sure to bring up the JavaScript console by pressing F12. | |
| */ | |
| // This is your View AJAX route - load this in your browser | |
| Route::get('/ajax/view', function () { |
ini namanya RESTful routing
Route::get();
Route::post();
Route::put();
Route::patch();
Route::delete();
Route::any();
https://www.apachefriends.org/download.html
https://getcomposer.org/Composer-Setup.exe
pilih php.exe di -> /xampp/php/php.exe
| /** | |
| * TypeKit Fonts | |
| * | |
| * @since Theme 1.0 | |
| */ | |
| function theme_typekit() { | |
| wp_enqueue_script( 'theme_typekit', '//use.typekit.net/xxxxxxx.js'); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'theme_typekit' ); |
| // Removes no-sidebar class from the body_class array on Panel Pages. | |
| add_filter('body_class', function (array $classes) { | |
| if ( is_page_template('panel-page.php') ) { | |
| unset( $classes[array_search('no-sidebar', $classes)] ); | |
| } | |
| return $classes; | |
| }, 12 ); |