Skip to content

Instantly share code, notes, and snippets.

View dgleba's full-sized avatar
😁
.

dgleba dgleba

😁
.
View GitHub Profile
@dgleba
dgleba / index.html
Created February 26, 2023 19:06
VueJS CRUD (VueJS Version 2)
<div class="container">
<h1>Vue JS CRUD (Based on Vue JS version 2)</h1>
<main id="app">
<router-view></router-view>
</main>
</div>
<template id="product">
<div>
<h2>{{ product.name }}</h2>
@dgleba
dgleba / nextcloud-caddy-docker.md
Created January 22, 2023 01:06 — forked from tmo1/nextcloud-caddy-docker.md
Nextcloud behind Caddy as a reverse proxy, using Docker

Introduction

This is a guide to deploying Nextcloud behind a Caddy reverse proxy, both running in Docker containers (an official Nextcloud one and a caddy-docker-proxy one), with the goal of implementing as much as possible via docker-compose files. This is much more difficult than it should be, for a variety of reasons:

  • As with Docker versions of software in general, documentation of the software does not always apply to the Docker versions, and the Docker documentation does not always include the Docker equivalent ways of doing things.

  • Docker images do not always expose the desired configuration knobs of the underlying software.

  • Nextcloud requires special configuration to run correctly behind a reverse proxy (and again, some of the instructions for this configuration requires modification for

@dgleba
dgleba / index.html
Created January 2, 2022 17:00
Login Form | Vue
<div id="app">
<div class="login-page">
<transition name="fade">
<div v-if="!registerActive" class="wallpaper-login"></div>
</transition>
<div class="wallpaper-register"></div>
<div class="container">
<div class="row">
@dgleba
dgleba / filterable-table-with-vue-js.markdown
Created January 17, 2021 16:44
Filterable Table With Vue.js
// ==UserScript==
// @name gheil Google Bookmarks fix
// @match https://www.google.com/bookmarks/*
// @grant none
// @require https://code.jquery.com/jquery-1.12.4.min.js
// @require https://code.jquery.com/ui/1.12.1/jquery-ui.js
// ==/UserScript==
// greg heil(cc-by-sa)18/07/09
var DONE = 0;
var MAX_SUGGESTIONS=108;
@dgleba
dgleba / index.html
Created March 23, 2019 17:50
Vuetify Template
<div id="app">
<v-app>
<v-content>
<v-container grid-list-xl>
<!-- -->
</v-container>
</v-content>
</v-app>
</div>
@dgleba
dgleba / _vue-material-vuetify.markdown
Last active February 8, 2019 04:19
vue material autocomplete won't select, vuetify works, but css is off a little. 2019-02-07
@dgleba
dgleba / _vuetify-autocomplete-dg-works.markdown
Last active February 5, 2019 19:30
vuetify autocomplete dg-works
# FoxUSA/OpenNote Offline Progressive Web App
https://github.com/FoxUSA/OpenNote/blob/master/docs/Install.md
_____________
@dgleba
dgleba / ubuntu-cli-install-android-sdk.sh
Created October 15, 2018 03:33 — forked from zhy0/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make # NDK stuff