!pip install streamlit
!npm install localtunnel
!streamlit run http://app.py &>/dev/null&
!npx localtunnel --port 8501
- Adapt display scaling (1.3), icon sizes (48), font sizes (9), fixed font DPI (125) in system settings
- Adapt icon sizes (48) in Dolphin settings
- Adapt
layout.css.devPixelsPerPx
in Firefoxabout:config
(1.3) - https://unix.stackexchange.com/questions/568793/increase-system-tray-icon-size-in-kde (2)
- https://steamcommunity.com/discussions/forum/1/1698294337768975733/
- Install AWS CLI following https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html#cliv2-linux-install
- Configure with provided CSV file:
aws configure import –csv file://credentials.csv
- Sync bucket:
aws s3 sync s3://bucket-name local-folder
- Add user with home directory:
sudo useradd -m username
- As user, change default shell:
chsh -s /bin/bash
- Set temp. password:
sudo passwd username
- Create group:
sudo groupadd groupname
- Add users:
usermod -a -G groupname username
- Make shared directory:
sudo mkdir /home/groupname
- Set group for shared directory:
sudo chgrp groupname /home/groupname
- Add write access for group:
sudo chmod g+w /home/groupname
- "Set GID" for group (all files created owned by group):
sudo chmod 2775 /home/groupname
- Change to different user to test:
su - username
source activate environment
conda update --all
- On a Mac, we might need to run first:
git config --global core.trustctime false
- Rebase:
git rebase -i --root
- Edit according to instructions
- Set commit date as author date:
git filter-branch -f --env-filter 'GIT_COMMITTER_DATE=$GIT_AUTHOR_DATE; export GIT_COMMITTER_DATE'
- Force push:
git push origin +master
- In case of errors:
git rebase --abort
sudo apt install packages
- In
/etc/ssh/sshd_conf
, setUsePrivilegeSeparation
tono
- In
/etc/ssh/sshd_conf
, temporarily enable plaintext passwords - In
/etc/ssh/sshd_conf
, change port (e.g. to 23) to avoid confusion with Windows SSH server sudo service ssh restart
- Add alternative port as a new rule to Windows firewall
- On the client:
ssh-copy-id user@server
- In
/etc/ssh/sshd_conf
, re-disable plaintext passwords
To fix Could not load host key ...
error:
sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
- On the client:
ssh-copy-id user@server
- On the server, in
etc/ssh/sshd_config
:PasswordAuthentication no
sudo apt-get install ufw
sudo ufw allow ssh
sudo ufw enable
sudo apt install fail2ban
Shortcuts (Blender):
Shift + A
: New objectE
: Extrude face, edge, or verticeF
: Create face or edge between selected verticesTab
: Edit mode/object modeCtrl + Tab
: Mesh modeS
: ScaleG
: MoveR
: RotateMiddle button
: Rotate view
NewerOlder