Skip to content

Instantly share code, notes, and snippets.

View vpiskunov's full-sized avatar

Vladyslav Piskunov vpiskunov

View GitHub Profile
@vpiskunov
vpiskunov / firebase-slow-build.log
Created September 12, 2019 17:19
firebase-slow-build.log
nmopm run servedebug:ios
]133;C;
> calendar-tracker-ns-app@0.1.0 debug:ios /Users/vpiskunov/code/nativescript/calendar-tracker/calendar-tracker-ns-app
> npm run setup-webpack-config && tns debug ios --env.development
> calendar-tracker-ns-app@0.1.0 setup-webpack-config /Users/vpiskunov/code/nativescript/calendar-tracker/calendar-tracker-ns-app
> node ./node_modules/vue-cli-plugin-nativescript-vue/lib/scripts/webpack-maintenance pre
copying CLI 3 version of webpack.config.js to project
@vpiskunov
vpiskunov / log
Last active June 1, 2019 11:18
Log of vue-cli-plugin-nativescript-vue failing after install with .env logging (#dev/7a96d91)
$ vue-cli-service serve --mode development.web --dashboard
api.service.mode - development.web
vue cli - flags - [ 'development', 'web' ]
env - { development: true, web: true }
platform - web
starting webConfig
INFO Starting development server...
clean-webpack-plugin: /Users/vpiskunov/code/nativescript/test-plugin-debug/dist/**/* has been removed.
@vpiskunov
vpiskunov / .eslintrc.js
Last active May 11, 2019 12:34
Vue CLI 3: fix for airbnb-base .eslint errors on project creation (UI)
module.exports = {
"extends": [
"plugin:vue/essential",
// this is default in Vue CLI 3 (UI), however it requires-in eslint-config-airbnb-base, which contains an error
// triggering "import/no-cycle" was not defined. Weirdly, it is listed in eslint-config-airbnb-base as added/fixed
// in current version (4.1.0). For now, use airbnb-base instead
// "@vue/airbnb",
"airbnb-base",
],
"rules": {
<html>
<head>
<title>Debounce</title>
</head>
<body>
<button id="rocketButton" onclick="rocket.toggle()">Launch that rocket!</button>
<script>
let timeout = null;
let rocket = {
launched: false,