Shortcut | Description |
---|---|
Ctrl+Shift+P | command prompt |
Ctrl+Alt+P | switch project |
Ctrl+P | go to file |
Ctrl+G | go to line |
import javax.crypto.Cipher; | |
import javax.crypto.spec.SecretKeySpec; | |
import java.util.Base64.*; | |
//import org.apache.commons.codec.binary.Base64; | |
/** | |
* @author netkiller | |
* | |
*/ |
class Book { | |
String title; | |
String author; | |
Date date; | |
} | |
Book book1 = new Book("Refactoring", "Martin Fowler", new Date()); | |
Book book2 = new Book("Clean code", "Robert C. Martin", new Date()); | |
Book book3 = new Book("Test Driven Development", "Kent Beck", new Date()); |
Command | Shortcut |
---|---|
xfce4-screenshooter --fullscreen --clipboard |
Ctrl + PrtScrn |
xfce4-screenshooter --fullscreen --save /home/dianjuar/Pictures |
PrtScrn |
xfce4-screenshooter --region --clipboard |
Ctrl + Shift + PrtScrn |
xfce4-screenshooter --region --save /home/dianjuar/Pictures |
Shift + PrtScrn |
xfce4-screenshooter --window --clipboard |
Ctrl + Super + PrtScrn |
xfce4-screenshooter --window --save /home/dianjuar/Pictures |
Super + PrtScrn |
#!/usr/bin/env bash | |
set -e | |
# https://docs.docker.com/engine/install/ubuntu/ | |
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 2>/dev/null | |
sudo echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') bionic stable" > /etc/apt/sources.list.d/docker.list | |
sudo apt-get -y update |
# MySQL in Docker | |
docker run --name=mysql01 -p 3306:3306 mysql/mysql-server:latest | |
docker exec -it mysql01 mysql -uroot -p | |
# Enter the one time password generated from the docker run command | |
# and then change the root password | |
ALTER USER 'root'@'localhost' IDENTIFIED BY 'mypassword'; | |
# Create a user with your host IP address so it can connect from Buffalo | |
# outside the container | |
create user 'root'@'172.17.0.1' with password 'mypassword'; | |
GRANT ALL PRIVILEGES ON * . * TO 'root'@'172.17.0.1'; |
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.
In fact, it is merely an incompatible alternative, and not e