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> | |
<b-container> | |
<b-row align-h="center"> | |
<div v-if="!signedIn"> | |
<b-button variant="success" @click="signIn">Sign in with Cognito</b-button> | |
</div> | |
<div v-if="signedIn"> | |
<h4>Welcome, {{ username }}!</h4> | |
<b-button variant="danger" @click="signOut">Sign out</b-button> |
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 | |
v-if="loadedFilters && Object.keys(loadedFilters).length > 0 && filtersType" | |
class="active-filters"> | |
<h4 class="applied-filters-text">{{ $tc('filters.applied_filters') }}:</h4> | |
<div | |
v-for="(loadedFilter, key) in loadedFilters" | |
:key="key" | |
class="filter-btn-group btn-group mr-2" |
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
[[snippets]] | |
description = "ping" | |
command = "ping 8.8.8.8" | |
tag = ["network", "google"] | |
output = "" | |
[[snippets]] | |
description = "Connect to mysql via mycli" | |
command = "mycli mysql://root@localhost:3306/ -p root" | |
tag = ["mycli", "mysql", "tool"] |
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
orderedStatuses() { | |
return this.statuses.all.reduce((status, acc) => { | |
acc.push("...") | |
return acc | |
}, []) | |
}, |
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
agency-structure-active.svg | |
biling-finance-active.svg | |
candidates-active.svg | |
clients-locations-active.svg | |
dashboard-active.svg | |
documents-compliance-active.svg | |
files | |
internal-users-active.svg | |
job-schedule-active.svg | |
rate-edit.svg |
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 Navigo from "navigo" | |
const router = new Navigo(null, true, "#!") | |
import Page1 from "./pages/page-one" | |
import Page2 from "./pages/page-two" | |
router | |
.on("/mixins", function() { | |
Page1.run() | |
}) |
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
get sub-agencies | jq '[.data[] | paths(strings) | add] | unique[]' |
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
get sub-agencies | jq '.data | group_by(.parent_id)[] | {(.[0].parent_id|tostring): [.[] | .id]}' |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] | |
</IfModule> |
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
// This is the webpack config used for unit tests. | |
var utils = require('./utils') | |
var webpack = require('webpack') | |
var merge = require('webpack-merge') | |
var baseWebpackConfig = require('./webpack.base.conf') | |
var webpackConfig = merge(baseWebpackConfig, { | |
// use inline sourcemap for karma-sourcemap-loader | |
module: { |
NewerOlder