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 | |
| $gemeentes = [ | |
| 'Aa en Hunze', | |
| 'Aalburg', | |
| 'Aalsmeer', | |
| 'Aalten', | |
| 'Achtkarspelen', | |
| 'Alblasserdam', | |
| 'Albrandswaard', |
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
| // it ain't pretty but it works | |
| // grab all the beer_user pivot records from a table and the corresponding commentable records | |
| $comments = \DB::table('users') | |
| ->select('beer_user.id', 'comments.comment', 'comments.commentable_id', 'comments.created_at') | |
| ->join('beer_user', 'users.id', '=', 'beer_user.id') | |
| ->join('comments', 'beer_user.id', '=', 'comments.commentable_id') | |
| ->where('beer_user.user_id', $id) | |
| ->where('comments.commentable_type', 'App\Beer') | |
| ->get(); |
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 | |
| class A | |
| { | |
| public static $var = "I'm set in A!<br>"; | |
| public static function getStatic() { | |
| echo static::$var; | |
| } | |
| public static function getSelf() { |
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
| phpunit ~/CodeCoverage --coverage-html |
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
| https://css-tricks.com/svg-artboard-sizing/ | |
| https://jsfiddle.net/7nyg1h8w/1/ |
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
| const mix = require('laravel-mix'); | |
| const DashboardPlugin = require('webpack-dashboard/plugin'); | |
| const webpack = require('webpack'); | |
| const path = require('path'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Mix Asset Management | |
| |-------------------------------------------------------------------------- | |
| | |
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
| <template> | |
| <div class="relative"> | |
| <input type="text" | |
| autocomplete="off" | |
| class="form-control" | |
| id="destination" | |
| name="destination" | |
| :placeholder="placeholder" | |
| v-model="query" | |
| @keydown="keydown"> |
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
| <template> | |
| <div class="filter"> | |
| <h4>{{ title }}</h4> | |
| <div class="checkbox" v-for="(value, key) in range"> | |
| <label> | |
| <input type="checkbox" :value="key" v-model.number="items"> | |
| <span class="value">{{ value }}</span> | |
| <span class="background"></span> |
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
| <template> | |
| <div class="filter"> | |
| <h4>{{ translation }}</h4> | |
| <div class="checkbox" v-for="(value, index) in range" :key="index"> | |
| <label> | |
| <input type="checkbox" :value="index" v-model.number="values"> | |
| <span class="value">{{ value }}</span> | |
| <span class="background"></span> |
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
| import(/* webpackChunkName: "js/svg/[request]" */ `resources/assets/images/svg/${this.name}.svg`) | |
| .then((module) => { | |
| this.svg = module; | |
| } | |
| ).catch(error => 'An error occured while loading the svg'); |
OlderNewer