First, create a custom configuration with this structure:
dbStatus: {
timeoutIncrement: 5 * 1000,
initialTimeout: 5 * 1000,
maxTimeout: 60 * 1000,
dbOnline: true
}
First, create a custom configuration with this structure:
dbStatus: {
timeoutIncrement: 5 * 1000,
initialTimeout: 5 * 1000,
maxTimeout: 60 * 1000,
dbOnline: true
}
# replace sdx and sdy with your corresponding disks | |
dd if=/dev/sdx | pv | dd of=/dev/sdy |
// ==UserScript== | |
// @name DIM Quickfilters | |
// @description Add a quick filter dropdown for DIM | |
// | |
// @author jjspace | |
// @namespace http://github.com/jjspace | |
// @downloadURL https://gist.github.com/jjspace/b9dec89b1aa68ee9356270b6507bc27c/raw/dimQuickfilters.user.js | |
// | |
// @version 1.0.6 | |
// @updateUrl https://gist.github.com/jjspace/b9dec89b1aa68ee9356270b6507bc27c/raw/dimQuickfilters.user.js |
#!/bin/bash | |
cwd=`pwd` | |
USER=username | |
PASS=password | |
SLUG=your_slug # this is the project team name you see in the url | |
repoUrl=`curl -s --user ${USER}:${PASS} "https://api.bitbucket.org/2.0/workspaces?q=slug=\"${SLUG}\"" | jq -r '.values[] | .links.repositories.href'` | |
for i in {1..2}; do |
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
curl -fsSL https://get.docker.com -o get-docker.sh
DRY_RUN=1 sudo sh ./get-docker.sh
But default x11vnc on Ubuntu 18.04 also crashes with many Qt applications.
Compile x11vnc with a patch using instructions here: https://gist.github.com/mangoliou/407d6a39a60d128610c20c4143f39f0d
Create a password for vncserver
mkdir -p ~/.vnc
vncpasswd ~/.vnc/passwd