Skip to content

Instantly share code, notes, and snippets.

@eolant
eolant / Confirm.vue
Last active March 23, 2024 08:48
Vuetify Confirm Dialog component that can be used locally or globally
<template>
<v-dialog v-model="dialog" :max-width="options.width" :style="{ zIndex: options.zIndex }" @keydown.esc="cancel">
<v-card>
<v-toolbar dark :color="options.color" dense flat>
<v-toolbar-title class="white--text">{{ title }}</v-toolbar-title>
</v-toolbar>
<v-card-text v-show="!!message" class="pa-4">{{ message }}</v-card-text>
<v-card-actions class="pt-0">
<v-spacer></v-spacer>
<v-btn color="primary darken-1" text @click.native="agree">Yes</v-btn>
@xtolid
xtolid / Ubuntu_i3_kiosk.md
Created December 17, 2017 16:56
Ubuntu 16.04 Kiosk using i3 Window Manager & Cockpit

I recently found myself in need of a kiosk setup at work. I also wanted to be able to easily monitor these computers remotely, so this is the solution I have chosen.

We start off with a fresh image of Ubuntu 16.04 server from the Canonical website.

Ubuntu Server

I won't detail how to install this iso as there are hundreds of threads about this already. We will begin after the installation has completed and a reboot has been performed.

First, we will make sure our packages are up to date.