NB Linux only
- OS: install
rr
package via your package manager or build it with instruction - OS: set
sudo sysctl kernel.perf_event_paranoid=1
- IDE:
Run - Record and debug
- IDE:
Run - Debug saved trace
DISCLAMER | |
I don't know how to configure and install nvidia/bumblebee properly. | |
Now `inxi -G` gives drivers 'kernel' for intel and 'N/A' for nvidia. | |
I. On working machine download and burn iso to USB device at /dev/sdb | |
$ wget https://sourceforge.net/projects/manjarolinux/files/archive/17.1.7/kde/manjaro-kde-17.1.7-stable-x86_64.iso/download | |
$ wget https://sourceforge.net/projects/manjarolinux/files/archive/17.1.7/kde/manjaro-kde-17.1.7-stable-x86_64.iso.sha256/download | |
$ sha256sum -c ./manjaro-kde-17.1.7-stable-x86_64.iso.sha256 | |
$ sudo dd bs=4M if=./manjaro-kde-17.1.7-stable-x86_64.iso of=/dev/sdb status=progress #CAUTION! Be careful with 'of' destination! |
xset mouse 6 4 #pointer acceleration with threshold |
#include <iostream> | |
int f(){ | |
const int M = 55500; | |
//int N = M + 3; | |
int N = M - 1; | |
int *a = new int[M]; | |
a[N] = 14; | |
return a[N]; | |
} |
#!/usr/bin/env python3 | |
import gitlab | |
import sys | |
g = gitlab.Gitlab(url='https://gitlab.com', ssl_verify=False) | |
try: | |
with open('.gitlab-ci.yml', 'r') as gitlabci: | |
content = gitlabci.read() | |
except FileNotFoundError: |
# /usr/share/X11/xorg.conf.d/50-expert.conf | |
Section "InputClass" | |
Identifier "Kensington Expert Mouse" | |
MatchProduct "Kensington Expert Mouse" | |
MatchIsPointer "on" | |
Driver "evdev" | |
Option "Buttons" "9" | |
#xinput --set-button-map 'Kensington Expert Mouse' 2 1 3 4 5 6 7 0 9 |
NB Linux only
rr
package via your package manager or build it with instructionsudo sysctl kernel.perf_event_paranoid=1
Run - Record and debug
Run - Debug saved trace
# ~/.config/systemd/user/fluidsynth.service | |
[Unit] | |
Description=FluidSynth launched in server mode | |
After=sound.target | |
[Service] | |
ExecStart=/usr/bin/fluidsynth -a pulseaudio -m alsa_seq -i -l -s -p FluidSynth /usr/share/soundfonts/default.sf2 | |
[Install] | |
WantedBy=default.target |
https://medium.com/testcult/intro-to-test-framework-pytest-5b1ce4d011ae
pyenv install 3.7.12
~/.pyenv/versions/3.7.12/bin/python3 -m venv $ENV_DIR
source $ENV_DIR/bin/activate