~/add_cert.sh my.intra.net
you will be asked for your password to add thit to keychain
- downloads pem file
- adds to trusted root certificates
Crostini is the Linux (LXD, a project initiated by Ubuntu publisher Canonical) container for ChromeOS. When enabled it creates a new container with the hostname "penguin" and an initial user whose user/login name is derived from the Gmail alias of the logged in Google account.
This is incovenient for a lot of reasons, not the least of which is that it makes working with NFSv3 shares and ssh keys on and for other hosts tedious (userids are everything to NFSv3, as login names are for ssh).
These are the steps to rename that default user and group:
In what follows "oldusername" is your existing username in penguin, while "newusername" is what you want it to be.
namespaces - overview of Linux namespaces http://man7.org/linux/man-pages/man7/namespaces.7.html
mount_namespaces - overview of Linux mount namespaces
Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew
This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew.
This guide favors OpenJDK
This guide favors free, simple, and permissive licensing whenever possible, so we will favor OpenJDK over Oracle JDK because OpenJDK is licensed GNU GPL with a linking exception. For more information, see Oracle now requires a subscription to use Java SE (2018).
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
https://*.github.com/*
https://*.github.io
# .pythonrc | |
# | |
# to activate put this in your .bashrc or .zshrc file | |
# export PYTHONSTARTUP=~/.pythonrc | |
# | |
# reminder: does not work work with python -i | |
# you have to use this in every script: | |
# | |
# import os | |
# if os.path.isfile(os.environ['PYTHONSTARTUP']): |
#!/bin/bash | |
# docker installation on Ubunutu 16.04+ | |
# source https://www.dockerfile.de/docker-tutorial-installation | |
# remove any old docker | |
sudo apt-get remove docker docker-engine docker.io | |
# install prerequisites | |
sudo apt-get install \ | |
apt-transport-https \ |
[Unit] | |
Description=Keeps a tunnel to 'remote.example.com' open | |
After=network-online.target | |
[Service] | |
User=tunel | |
#ISTALLL | |
# sudo mv autossh.service /etc/systemd/system/ | |
# sudo systemctl enable autossh.service | |
# sudo apt install autossh |