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
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! |
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
xset mouse 6 4 #pointer acceleration with threshold |
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
#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]; | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/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: |
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
# /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 |
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
# отключить выход по Ctrl-Q | |
browser.quitShortcut.disabled = true | |
# отключить выход после закрытия последней вкладки | |
browser.tabs.closeWindowWithLastTab = false | |
# отключить DevTools по Crtl-Shift-C (?) | |
devtools.toolbox.host = "" | |
devtools.enabled = false | |
devtools.toolbox.selectedTool = "" |
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
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
# ~/.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 |
OlderNewer