This file contains 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://github.com/michael-ciniawsky/postcss-load-config | |
const purgecss = require('@fullhuman/postcss-purgecss') | |
const conf = require('./quasar.conf')() | |
const ie = conf.supportIE ? ['./node_modules/quasar/src/ie-compat/*.js'] : [] | |
const plugins = conf.framework.plugins.map(plug => { | |
return `./node_modules/quasar/src/plugins/${plug}.js` | |
}) |
This file contains 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
:root { | |
--metrology-hue: 335; /* Enter values between 0 and 359 to change the color of the theme. */ | |
--metrology-accent: var(--metrology-hue), 100%, 38%; | |
--metrology-highlight: var(--metrology-hue), 100%, 60%; | |
--metrology-complement: calc(var(--metrology-hue) - 50), 100%, 28%; | |
/* Dark Theme */ | |
--metrology-background: 0, 0%, 0%; |
This file contains 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
#!/bin/bash | |
echo Install Mac App Store apps first. ( xcode ) | |
read -p "Press any key to continue… " -n1 -s | |
echo '\n' | |
# Check that Homebrew is installed and install if not | |
if test ! $(which brew) | |
then | |
echo " Installing Homebrew" |
This file contains 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="row items-center"> | |
<div class="col-auto"> | |
<q-btn | |
size="sm" | |
dense | |
round | |
flat | |
:icon="mdiChevronLeft" | |
@click="modMonth(-1)" |
This file contains 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
export class ZQueue { | |
functions = [] | |
autoRun = false | |
running = false | |
context = {} | |
constructor (config = {}) { | |
return this.options(config) | |
} |
This file contains 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
var LayerRenamer, layerRenamer; | |
function range(start, end) { | |
var foo = []; | |
for (var i = start; i <= end; i++) { | |
foo.push(i); | |
} | |
return foo; | |
} |
This file contains 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> | |
<div class="row q-col-gutter-sm q-mb-md q-px-md q-pt-md"> | |
<div class="col flex items-center q-gutter-sm"> | |
<q-input | |
v-model="zFromUs" | |
label="From" | |
outlined | |
dense | |
mask="##-##-####" |
This file contains 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 VuexPersist from 'vuex-persist' | |
import Cookies from 'js-cookie' | |
export default ({ store, ssrContext }) => { | |
// Cookie Store for user/auth (ssr ajax auth) | |
const cookieModules = ['user'] | |
const startsWithCookieRegex = new RegExp(`^(${cookieModules.join('|')})/`) | |
new VuexPersist({ | |
filter: mutation => startsWithCookieRegex.test(mutation.type), | |
restoreState: key => { | |
try { |
This file contains 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
function flatten(arr, depth = Infinity, result = []) { | |
if(!Array.isArray(arr)) return null | |
for (const value of arr) { | |
if (depth > 0 && Array.isArray(value)) { | |
if (depth > 1) { | |
flatten(value, depth - 1, result) | |
} else { | |
result.push(...value) | |
} | |
} else { |
This file contains 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> | |
<div class="row items-center"> | |
<div class="col-auto" style="align-self: stretch;"> | |
<q-btn flat class="full-height q-py-lg" size="sm" icon="fas fa-chevron-left" @click="move(-col)" aria-label="previous slide"/> | |
</div> | |
<div class="col"> | |
<div :class="{'slider-loading': loading, slider: !loading}" ref="slideWrapper" :style="currentSlideHeightStyle"> | |
<div |
NewerOlder