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
| ~/wp-cli.phar core download | |
| ~/wp-cli.phar core config --dbname=vuetest --dbuser=homestead --dbpass=secret | |
| ~/wp-cli.phar core install --title=Vuetest --url=http://vuetest.dev --admin_user=supervisor --admin_password=secret [email protected] |
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 Vue from 'vue'; | |
| import TWEEN from 'tween.js'; | |
| var scrollDownAnimation = false; | |
| var scrollDownFunction = function(el) { | |
| var scrolledToBottom = el.scrollHeight - el.scrollTop === el.clientHeight; | |
| if (scrolledToBottom) return; | |
| if (scrollDownAnimation) { | |
| scrollDownAnimation.stop(); |
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
| // scroll | |
| var parallaxEmts = $("[data-parallax]"); | |
| for (var x=0,max=parallaxEmts.length;x<max;x++) { | |
| var emt = $(parallaxEmts[x]); | |
| emt.data("page-y", emt.offset().top); | |
| }; | |
| function parallax() { | |
| if (documentIsHidden()) return; |
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
| location / { | |
| index index.php; | |
| ### main rewrite | |
| try_files $uri $uri/ /index.php?symphony-page=$uri&$args; | |
| } | |
| # Symphony admin redirects | |
| location ~ ^/symphony(/?.*)$ { |
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
| { | |
| "Opleiding_SK123ID": "10", | |
| "Brinnummer": "24GE", | |
| "Brinvolgnummer": 2, | |
| "Opleidingscode": 34035, | |
| "OpleidingscodeSamen": 34035, | |
| "NaamOpleiding": "Bedrijfskunde", | |
| "SoortOpleiding": "Bachelor", | |
| "SoortHo": "HBO", | |
| "Bekostiging": "Niet-Bekostigd", |
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
| location ~ ^/(wp-admin)/ { | |
| auth_basic "Restricted Access"; | |
| auth_basic_user_file /home/forge/domain/.htpasswd; | |
| location ~ .php$ { | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; | |
| fastcgi_index index.php; | |
| include fastcgi_params; | |
| } |
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
| rewrite ^([^.]*[^/])$ $1/ permanent; | |
| location ~* \.(css|js|eot|ttf|ttc|otf|woff|woff2)$ { | |
| add_header Access-Control-Allow-Origin *; | |
| } | |
| location /mathematics/ { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } |
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
| let mix = require('laravel-mix'); | |
| let glob = require('glob-all'); | |
| let PurgecssPlugin = require('purgecss-webpack-plugin'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Mix Asset Management | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Mix provides a clean, fluent API for defining some Webpack build steps |
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
| // $('.js-trail-canvas').drawTrail() | |
| var checkTrails = function() { | |
| $('.js-trail').remove(); | |
| ImagesLoaded(document.querySelector('.with-trail'), function() { | |
| $('.js-trail-container').each(function() { | |
| var $container = $(this); |
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
Show hidden characters
| { | |
| "env": { | |
| "browser": true, | |
| "es6": true, | |
| "node": true, | |
| "jquery": true | |
| }, | |
| "extends": "eslint:recommended", | |
| "parserOptions": { | |
| "sourceType": "module" |