Skip to content

Instantly share code, notes, and snippets.

View InspectorClick's full-sized avatar

Dave InspectorClick

View GitHub Profile
@InspectorClick
InspectorClick / gist:fe2a61d9ab0ff1bb21b8050a1e9c71bc
Created February 7, 2018 04:07
vscode settings - vetur - wrap attributes
{
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
}
}
}
@InspectorClick
InspectorClick / gist:252a4690aa617f6d8c73f72c4dde4183
Created January 31, 2018 14:49
Plex - Print out a list of all media (under a specific category)
// Windows
a) Open a command prompt where the Plex Media Scanner.exe resides
// In my case - E:\Plex\Plex Media Server.exe
b) List out the libraries (keys)
"Plex Media Scanner.exe" --list
--list will show all libraries with an associated key
// 2: Films
@InspectorClick
InspectorClick / dialogs-in-vuetify-electron.vue
Created January 30, 2018 15:12
Getting Started With Standard Dialogs in Electron using Vuetify-Electron
<template>
<v-layout row wrap>
<v-flex sm12>
<v-card dark color="secondary">
<v-card-text class="px-0">
<v-btn color="primary" @click="openFile()">Open File</v-btn>
<v-btn color="primary" @click="saveFile()">Save File</v-btn>
<v-flex sm6 offset-sm3>
<v-text-field
v-model="textAreaValue"