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 downloadString(text, fileType, fileName) { | |
var blob = new Blob([text], { type: fileType }); | |
var a = document.createElement('a'); | |
a.download = fileName; | |
a.href = URL.createObjectURL(blob); | |
a.dataset.downloadurl = [fileType, a.download, a.href].join(':'); | |
a.style.display = "none"; | |
document.body.appendChild(a); | |
a.click(); |
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 Koa = require('koa') | |
const consola = require('consola') | |
const { Nuxt, Builder } = require('nuxt') | |
const router = require("./routes"); | |
const app = new Koa() | |
// Import and Set Nuxt.js options | |
const config = require('../nuxt.config.js') | |
config.dev = app.env !== 'production' |
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
<div id="app"> | |
<v-app> | |
<v-content> | |
<v-container> | |
<v-form > | |
<v-container @click="showDetails()"> | |
<v-row class="some-class"> | |
<v-col cols="3" sm="3" v-for="p in placeholders" :key="p"> | |
<v-text-field :placeholder="p" single-line outlined > | |
</v-text-field> |
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
Show hidden characters
{ | |
"cmd": ["/path/to/your/groovy/executable $file_name"], | |
"selector": "source.groovy", | |
"file_regex": "[ ]*at .+[(](.+):([0-9]+)[)]", | |
"shell": true, | |
"env": { | |
"JAVA_HOME": "/path/to/your/java/home" | |
} | |
} |