{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}
{% if item.env is defined %}
{% for var, value in item.env.items() %}
{% if value %}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* automatically generated by rust-bindgen 0.69.4 */ | |
pub const MYSQL_AUTODETECT_CHARSET_NAME: &[u8; 5] = b"auto\0"; | |
pub const MYSQL_ERRMSG_SIZE: u32 = 512; | |
pub const MYSQL50_TABLE_NAME_PREFIX: &[u8; 10] = b"#mysql50#\0"; | |
pub const MYSQL_UNIX_ADDR: &[u8; 16] = b"/tmp/mysql.sock\0"; | |
pub const MYSQL_PORT: u32 = 3306; | |
pub const MYSQL_CONFIG_NAME: &[u8; 3] = b"my\0"; | |
pub const MYSQL_VERSION_ID: u32 = 100808; | |
pub const MYSQL_SERVER_VERSION: &[u8; 15] = b"10.8.8-MariaDB\0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# https://github.com/nextdns/cname-cloaking-blocklist | |
# Add this script to /etc/cron.weekly and make it executable | |
file=/tmp/pihole-nextdns.$$ | |
Cleanup() { | |
rm -f $file | |
} | |
trap Cleanup EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
That’s one of the real strengths of Docker: the ability to go back to a previous commit. The secret is simply to docker tag the image you want. | |
Here’s an example. In this example, I first installed ping, then committed, then installed curl, and committed that. Then I rolled back the image to contain only ping: | |
$ docker history imagename | |
IMAGE CREATED CREATED BY SIZE | |
f770fc671f11 12 seconds ago apt-get install -y curl 21.3 MB | |
28445c70c2b3 39 seconds ago apt-get install ping 11.57 MB | |
8dbd9e392a96 7 months ago 131.5 MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# By B Shea Dec2018 | |
# https://www.holylinux.net | |
# Test for OpenSSL - if not installed stop here. | |
if ! [[ -x $(which openssl) ]]; then | |
printf "\nOpenSSL not found or not executable.\nPlease install OpenSSL before proceeding.\n\n" | |
exit 1 | |
fi |
DavMail is a java application which could use swt for a tray-icon, which has worked fine since somewhere during and before Ubuntu 16.04 with some tweaks.
But it does not work anymore in Gnome-Shell environments. This can be mitigated via some small adjustments and installing a Gnome-Shell Extension.
First install the following gnome-shell extension Minimize to Tray.
NewerOlder