selinux, zstd, flatpak, thinkfan, thinkpad t430, thinkpad t480, tailscale, vscode, nix, rpm-fusion, disable network connectivity check, battery charge threshold, gnome, nautilus, ptyxis-terminal, boxes, celluloid, declarative system changes
This file contains hidden or 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
| docker exec -u git -it -w /tmp $(docker ps -qf 'name=^<NAME_OF_DOCKER_CONTAINER>$') bash -c '/usr/local/bin/gitea dump --config /data/gitea/conf/app.ini' |
This file contains hidden or 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
| -- disconnect all other sessions connected to the database 'syscit' | |
| USE master; | |
| GO | |
| ALTER DATABASE syscit SET SINGLE_USER WITH ROLLBACK IMMEDIATE; | |
| GO | |
| -- drop the database 'syscit' if it exists | |
| IF EXISTS (SELECT name FROM sys.databases WHERE name = N'syscit') | |
| BEGIN | |
| DROP DATABASE syscit; | |
| END |
Follow the following instructions:
- Install the C compiler through
sudo dnf group install "C Development Tools and Libraries" - Install the kernel headers
sudo dnf install kernel-devel - Download the latest drivers (replace with URL from nvidia website)
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/550.54.14/NVIDIA-Linux-x86_64-550.54.14.run chmod a+x NVIDIA-Linux-x86_64-550.54.14.run sudo ./NVIDIA-Linux-x86_64-550.54.14.run
This file contains hidden or 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
| import requests | |
| import datetime | |
| import json | |
| import urllib | |
| session_data = { | |
| 'sessionId': '[AWS_ACCESS_KEY_ID]', | |
| 'sessionKey': '[AWS_SECRET_ACCESS_KEY]', | |
| 'sessionToken': '[AWS_SESSION_TOKEN]' | |
| } |
GNOME comes with libsecret. You can use libsecret to store your git credentials:
sudo apt install libsecret-1-0 libsecret-1-dev libglib2.0-dev
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
This file contains hidden or 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
| - Open "about:config"; | |
| - Search for "security.tls.version.min"; | |
| - Set value to 1. |
This file contains hidden or 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
| # https://docs.ansible.com/ansible/latest/modules/dconf_module.html | |
| # | |
| # To determine what dconf keys and values to use, you can run `dconf watch /` | |
| # in a terminal as you make changes in settings or tweaks. You can also use | |
| # `dconf read <key>` and `dconf write <key> <value>` to experiment with various | |
| # settings. The dconf-editor application is also useful for exploring various | |
| # keys along with their descriptions. | |
| - hosts: localhost | |
| tasks: |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com, example2.com, and example1.com/images on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
NewerOlder