Install your choice of Ubuntu/Debian/Mint or its derivative as you would
Run this in Terminal
#!/bin/sh | |
# Go to home directory | |
cd ~ | |
# https://stackoverflow.com/questions/22510705/get-the-latest-download-link-programmatically | |
# Determine latest version: | |
latestVer=$(curl 'https://repo.anaconda.com/archive/' | | |
grep -oP 'href="Anaconda3-\K[0-9]+\.[0-9]+' | | |
sort -t. -rn -k1,1 -k2,2 | head -1) |
#!/bin/sh | |
LIST_OF_APPS="vim tightvncserver gparted snapd" #xfce4 xfce4-goodies | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y $LIST_OF_APPS | |
# chromium-browser https://chromium.woolyss.com/ | |
sudo add-apt-repository ppa:canonical-chromium-builds/stage |
https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-6.19.325-Linux-x64.deb | |
#!/bin/sh | |
# Go to home directory | |
cd ~ | |
# https://stackoverflow.com/questions/22510705/get-the-latest-download-link-programmatically | |
# Determine latest version: | |
latestVer=$(curl 'https://www.realvnc.com/download/file/viewer.files/' | |
#!/bin/sh | |
apt install gnome-panel \ | |
gnome-settings-daemon \ | |
metacity \ | |
nautilus \ | |
gnome-terminal -y | |
apt install tigervnc-standalone-server \ | |
tigervnc-xorg-extension \ | |
tigervnc-viewer -y |
**1\. Hardcode DNS server in docker daemon.json** | |
* Edit `/etc/docker/daemon.json` | |
{ | |
"dns": ["10.1.2.3", "8.8.8.8"] | |
} | |
* Restart the docker daemon for those changes to take effect: | |
`sudo systemctl restart docker` |
#!/bin/bash | |
cd /data/inst/anaconda/bin | |
source activate | |
# conda update -y -n base -c defaults conda | |
conda create -n jupyter -c rapidsai -c nvidia -c numba -c pytorch -c conda-forge -c defaults python=3.6 | |
conda install -y -n jupyter -c rapidsai -c nvidia -c numba -c pytorch -c conda-forge -c defaults \ |
version: "3.3" | |
services: | |
caddy: | |
image: abiosoft/caddy:1.0.3-no-stats | |
container_name: caddy | |
hostname: caddy | |
restart: unless-stopped | |
volumes: |
My objective is to have some production files ignored on specific branches. Git doesn't allow to do it.
My solution is to make a general .gitignore
file and add .gitignore.branch_name
files for the branches I want to add specific file exclusion.
I'll use post-checkout hook to copy those .gitignore.branch_name in place
of .git/info/exclude
each time I go to the branch with git checkout branch_name
.
[ 0.000000] Booting Linux on physical CPU 0x0 | |
[ 0.000000] Linux version 5.4.98 (vivek@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15798-95359dac82)) #0 SMP Mon Feb 15 15:54:28 2021 | |
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d | |
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
[ 0.000000] OF: fdt: Machine model: Linksys EA9500 | |
[ 0.000000] Memory policy: Data cache writealloc | |
[ 0.000000] Hit pending asynchronous external abort (FSR=0x00001c06) during first unmask, this is most likely caused by a firmware/bootloader bug. | |
[ 0.000000] On node 0 totalpages: 65536 | |
[ 0.000000] Normal zone: 288 pages used for memmap | |
[ 0.000000] Normal zone: 0 pages reserved |