使用echo $XDG_SESSION_TYPE
即可得知是x11
還是wayland
。
KDE登入畫面SDDM左下角點選Plasama (Wayland)
工作階段
GNOME 42後已預設使用GNOME,登入時GDM右下角齒輪會有GNOME
與GNOME on Xorg
的選項。
# CLI | |
sudo apt update -y | |
sudo apt install -y \ | |
git curl \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ | |
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \ | |
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \ | |
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \ | |
rbenv apache2-utils |
<# | |
Powershell Module 7-Zip - 7-Zip commands for PowerShell | |
The functions in this module call 7za.exe, the standAlone version of 7-zip to perform various tasks on 7-zip archives. | |
Place anywhere, together with 7za.exe and 7zsd.sfx. 7za.exe is required for all operations; 7zsd.sfx for creating self | |
extracting archives. | |
http://www.7-zip.org | |
Import-Module [Your path\]7-Zip |
A Beginners Guide To Things To Do After Installing Ubuntu.
sudo apt update && sudo apt upgrade
Ubuntu has several repositories from where it provides software for your system. Enabling all these repositories will give you access to more software and proprietary drivers.
autocomplete="off"
onto <form>
element;<input>
with autocomplete="false"
as a first children element of the form.<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> | |
<!-- Facebook sharing information tags --> | |
<meta property="og:title" content="*|MC:SUBJECT|*" /> | |
<title>*|MC:SUBJECT|*</title> |
# This code follows the naming convention here: | |
# https://google.github.io/styleguide/pyguide.html#316-naming | |
from enum import Enum | |
import os | |
import jwt | |
from flask import redirect, g, flash, request, current_app |
Sharing how I setup my steam deck to run golang / php / nodejs / redis / mariadb|mysql