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 Vue from 'vue' | |
import Router from 'vue-router' | |
import Store from '../store' | |
Vue.use(Router) | |
let router = new Router({ | |
mode: 'history', | |
routes: [ | |
/** |
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
module.exports = (Router, Joi, fileOperations) => { | |
const { services } = require('../common/configurations') | |
// Diagnostics. | |
const factoryForDiagnostics = require('../mixins/diagnostics') | |
const diagnostics = factoryForDiagnostics({ log4js: fileOperations.log4js, nameOfChannel: 'default', level: 'debug' }) | |
// Mixins. |
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
const { | |
} = require('googleapis') | |
const stream = require('stream') | |
const configurationsForApplication = require('../../common/configurations') | |
const RedisFactory = require('../../modules/redis') | |
const clientForRedis = RedisFactory(configurationsForApplication.databases.Redis) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
<title>D3</title> | |
<style> | |
html { | |
background-color: rgba(62, 62, 62, 0.95); |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Text on a path, using Fabric!</title> | |
<link href="styles.css" rel="stylesheet"> | |
<script src="https://unpkg.com/fabric@4.3.0/dist/fabric.js"></script> | |
<script src="text-on-a-path.js"></script> | |
</head> | |
<body> | |
<canvas ref="canvas" id="canvas" class="canvas"></canvas> |
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
# Add to ".bashrc" or ".bash_profile". | |
find_command () { | |
# find command. | |
# Usage: find_command term | |
if [ "$1" ]; then | |
history | grep -i $1 | |
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
$(document).ready(function(){ | |
var objDateTimeTags = new Object({ | |
// The Dublin Core Metadata Initiative (DCMI) ( http://dublincore.org/about-us/ ). | |
option1: function () { | |
var datetime_published = $("meta[name='DC.Date']").attr("content"); | |
return validation(datetime_published); | |
}, | |
option2: function () { | |
var datetime_published = $("dc\\:date").text(); | |
return validation(datetime_published); |