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
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
| 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| # 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
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| # calculating RSI (gives the same values as TradingView) | |
| # https://stackoverflow.com/questions/20526414/relative-strength-index-in-python-pandas | |
| def RSI(series, period=14): | |
| delta = series.diff().dropna() | |
| ups = delta * 0 | |
| downs = ups.copy() | |
| ups[delta > 0] = delta[delta > 0] | |
| downs[delta < 0] = -delta[delta < 0] | |
| ups[ups.index[period-1]] = np.mean( ups[:period] ) #first value is sum of avg gains |