http://ip_livebox_tv:8080/remoteControl/cmd?operation=10
http://ip_livebox_tv:8080/remoteControl/cmd?operation=01&key=code_touche&mode=numéro_mode
| // component importing and mutating state from store.js (all getters, mutations, actions) | |
| // reference = https://austincooper.dev/2019/08/09/vue-observable-state-store/ | |
| <template> | |
| <div> | |
| <div>Radius: {{ radius }}</div> | |
| <div>Color: {{ color }}</div> | |
| <button @:click="setRadius(0)">Reset radius</button> | |
| <button @:click="fetchColorFromApi">Fetch color</button> | |
| </div> | |
| </template> |
http://ip_livebox_tv:8080/remoteControl/cmd?operation=10
http://ip_livebox_tv:8080/remoteControl/cmd?operation=01&key=code_touche&mode=numéro_mode
| <?php | |
| Route::group(['prefix' => 'admin'], function () | |
| { | |
| Voyager::routes(); | |
| Route::post('logout', ['uses' => 'Auth\LoginController@logout'])->name('voyager.logout'); | |
| Route::post('login', ['uses' => 'Auth\LoginController@login'])->name('voyager.postlogin'); | |
| Route::get('login', ['uses' => 'Auth\LoginController@showLoginForm'])->name('voyager.login'); | |
| }); |
| #! /bin/sh | |
| # Installation | |
| # - Move this to /etc/init.d/myservice | |
| # - chmod +x this | |
| # | |
| # Starting and stopping | |
| # - Start: `service myservice start` or `/etc/init.d/myservice start` | |
| # - Stop: `service myservice stop` or `/etc/init.d/myservice stop` |
| <?php | |
| class TimeoutException extends RuntimeException {} | |
| class Timeout | |
| { | |
| private $active; | |
| public function set($seconds) | |
| { |
| <VirtualHost *:80> | |
| ServerAdmin {USER}@cslavoie.com | |
| ServerName {DOMAIN} | |
| ServerAlias www.{DOMAIN} | |
| ServerAlias {USER}.localhost | |
| ServerAlias {USER}.static.cslavoie.com | |
| DocumentRoot {DOC_ROOT} | |
| <Directory {DOC_ROOT}> |