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
http://www-01.ibm.com/support/knowledgecenter/linuxonibm/liabo/liabokickoff.htm |
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 -eu | |
# Reference https://docs.docker.com/engine/installation/ubuntulinux/ | |
[ "$(id -u)" != "0" ] && echo "You must run this script as root." && exit 1 | |
. /etc/os-release | |
[ "${NAME,,}" != "ubuntu" ] && echo "Sorry, this script doesn't support the distribution $NAME" && exit 1 | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
. /etc/lsb-release | |
echo "deb https://apt.dockerproject.org/repo ubuntu-${DISTRIB_CODENAME,,} main" > /etc/apt/sources.list.d/docker.list |
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
[krunner][Global Shortcuts] | |
run command=Meta+R; Alt+F2 | |
run command on clipboard contents=Alt+Shift+F2 | |
[kwin][Global Shortcuts] | |
Activate Window Demanding Attention=Ctrl+Alt+A | |
Decrease Opacity=none | |
Expose=Ctrl+F9 | |
ExposeAll=Ctrl+F10; Launch (C) | |
ExposeClass=Ctrl+F7 |
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
rsync --archive --compress --partial --append --delete --numeric-ids \ | |
--exclude=/rootfs/cdrom/* --exclude=/rootfs/dev/* --exclude=/rootfs/media/* --exclude=rootfs/mnt/* \ | |
--exclude=/rootfs/proc/* --exclude=/rootfs/run/* --exclude=/rootfs/sys/* --exclude=/rootfs/tmp/* \ | |
/var/lib/lxc/${container}/ user@desthost:/var/lib/lxc/${container} |
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
# https://hub.docker.com/_/mediawiki/ | |
FROM mediawiki:latest | |
# Change the repository location of the repository for people who lives in Japan. | |
RUN VAR=$(grep -E '^deb .*' /etc/apt/sources.list | head -1 | awk '{print $3}') && \ | |
echo "deb http://ftp.jp.debian.org/debian/ stretch ${VAR} main contrib non-free" > /etc/apt/sources.list && \ | |
echo "deb http://ftp.jp.debian.org/debian ${VAR}-updates main contrib" >> /etc/apt/sources.list | |
# https://www.mediawiki.org/wiki/Extension:Math/advancedSettings#Installing_texvc | |
RUN apt-get update && \ |
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 | |
bash -- <(curl -o- https://raw.githubusercontent.com/TsutomuNakamura/platform-display/master/index.sh 2> /dev/null) 'Happy birthday Toki!' |
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 | |
# Run KVM with iPXE boot | |
mkdir -p /var/kvm/distros/ubuntu-server-22.04/ | |
virt-install --pxe \ | |
--boot uefi \ | |
--name ubuntu-desktop-22.04 \ | |
--connect=qemu:///system \ | |
--vcpus=2 \ | |
--memory 16384 \ |