sudo apt -t bullseye-backports install linux-headers-amd64
sudo apt -t bullseye-backports install linux-image-amd64
# optional
sudo apt -t bullseye-backports install linux-firmware
sudo grub-probe -t device /boot/grub # in my case results: /dev/sdc2
# pick result from above command and:
sudo grub-install /dev/sdc
sudo update-grub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MySQL [xxx]> desc teste; | |
+----------------+------------------+------+-----+---------+-------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+----------------+------------------+------+-----+---------+-------+ | |
| int_positivo | int(10) unsigned | YES | | NULL | | | |
| int_sinalizado | int(11) | YES | | NULL | | | |
+----------------+------------------+------+-----+---------+-------+ | |
2 rows in set (0,003 sec) | |
MySQL [xxx]> set sql_mode = 'STRICT_TRANS_TABLES'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # pactl list sinks short | |
X_AUDIO1=alsa_output.pci-0000_08_00.4.analog-stereo | |
# pactl list sources short | |
X_AUDIO2=alsa_input.usb-Kingston_HyperX_SoloCast-00.analog-stereo | |
gpu-screen-recorder -o ~/clips -c mp4 -f 60 -r 15 -w DP-2 -a "$X_AUDIO1.monitor" -a "$X_AUDIO2" | |
# obs: infelizmente gravando mic e output n funciona. Mas só gravando audio do desktop funciona |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# adicionando em 19/02/2022 para apps flatpak iniciarem no cinnamon | |
XDG_CURRENT_DESKTOP=GNOME | |
# Stop minimizing with BorderlessFullscreen | |
# https://steamcommunity.com/app/281990/discussions/0/357286119110496701/ | |
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 | |
# refresh rate multiple displays (this is only for GNOME with NVIDIA) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; #CMD uwsgi --ini uwsgi.ini --threads 2 | |
[uwsgi] | |
chdir = /code | |
http-socket = 0.0.0.0:8051 | |
http-enable-proxy-protocol = 1 | |
;workers = 3 | |
processes = 5 | |
module = <PROJECT>.wsgi:application | |
env = DJANGO_SETTINGS_MODULE=<PROJECT>.settings.$(APP_ENVIRONMENT) | |
single-interpreter = true |
- open
dconf-editor
- navigate to
org.gnome.desktop.input-sources xkb-options
- add/append to the list (array):
'kpdl:dot'
- Save!
Short way: gsettings set org.gnome.desktop.input-sources xkb-options "['kpdl:dot']"
//gsettings set org.gnome.desktop.input-sources xkb-options "['kpdl:comma']"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from: https://askubuntu.com/questions/816610/numeric-keypad-switch-comma-to-period-german-keyboard-layout | |
setxkbmap de -option kpdl:dot | |
# OR | |
# /etc/default/keyboard | |
# KEYBOARD CONFIGURATION FILE | |
# XKBMODEL="pc105" |
From: https://youtrack.jetbrains.com/issue/IDEA-112533
- Run ibus-setup (from command-line)
- Switch to Emoji tab
- Click the ... button next to Unicode Code Point
- Modify (or delete) the shortcut, click Apply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# compilado no debian bullseye (testing) | |
export PHP_SOURCE_DIR=~/Downloads/php-5.5.30 | |
export OPENSSL_PREFIX_DIR=/opt | |
# se não der pra usar o openssl dev (libssl?) do OS, baixar os fontes | |
wget https://ftp.openssl.org/source/old/1.0.2/openssl-1.0.2s.tar.gz | |
cd ./openssl-1.0.2s | |
./config --prefix=$OPENSSL_PREFIX_DIR --openssldir=$OPENSSL_PREFIX_DIR/openssl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/modprobe.d/local.conf | |
options snd-hda-intel dmic_detect=0 | |
options snd-hda-intel index=0 |