Let's say you want to host domains first.com and second.com.
Create folders for their files:
| kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu" |
| <?php | |
| use Illuminate\Support\ServiceProvider; | |
| class SampleServiceProvider extends ServiceProvider { | |
| public function boot() { | |
| $this->publishWithRespect([ | |
| dirname(__DIR__, 1) . '/src/Models/' => [ | |
| 'path' => config('package.models_path'), |
| <?php | |
| /** | |
| only works for routes that using laravel action's[1] invoke | |
| as handler. result consists of route's name, | |
| uri, method and action's rules. | |
| 1) https://github.com/lorisleiva/laravel-actions | |
| */ | |
| use Illuminate\Support\Facades\Route; |
| let deferredPrompt = null; | |
| let installed = false; | |
| let initiated = false; | |
| export default { | |
| init() { | |
| initiated = true; | |
| window.addEventListener('beforeinstallprompt', (e) => { | |
| // Prevent Chrome 67 and earlier from automatically showing the prompt | |
| e.preventDefault(); |
| ```` | |
| import React, { Component } from 'react'; | |
| import { Text, View, StyleSheet } from 'react-native'; | |
| export default class ProgressBar extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| }; | |
| } |
| $ncode = '0011111111'; | |
| $ncodeArray = str_split($ncode); | |
| $sum = 0; | |
| for($i=0; $i<10; $i++) { | |
| $sum = intval($ncodeArray[$i])*($i+1); | |
| } | |
| $mod11 = $sum%11; | |
| if($mod11 < 2) { | |
| if(intval($mod11) === intval($ncodeArray[9])) { | |
| return true; |
| $ncode = '0011111111'; | |
| $ncodeArray = str_split($ncode); | |
| $sum = 0; | |
| for($i=0; $i<10; $i++) { | |
| $sum = intval($ncodeArray[$i])*($i+1); | |
| } | |
| $mod11 = $sum%11; | |
| if($mod11 < 2) { | |
| if(intval($mod11) === intval($ncodeArray[9])) { | |
| return true; |
| var baseUrl = 'http://localhost:9900/'; | |
| var buildUrl = function(path) { | |
| return baseUrl+path; | |
| } | |
| var request = function(method, path, data, callback) { | |
| var datatype = "json"; | |
| url = buildUrl(path); | |
| console.log("---------REQUEST TO "+url+" WITH method "+method); |