Skip to content

Instantly share code, notes, and snippets.


ildar nizamov niya3

  • Positive Technologies
  • Nizhny Novgorod, Russia
View GitHub Profile
View firefox.ini
# отключить выход по Ctrl-Q
browser.quitShortcut.disabled = true
# отключить выход после закрытия последней вкладки
browser.tabs.closeWindowWithLastTab = false
# отключить DevTools по Crtl-Shift-C (?) = ""
devtools.enabled = false
devtools.toolbox.selectedTool = ""
niya3 / 50-expert.conf
Created Nov 25, 2019
kensington expert mouse x11 config
View 50-expert.conf
# /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
niya3 /
Created Nov 12, 2018
Quick lint for gitlab-ci.yml file
#!/usr/bin/env python3
import gitlab
import sys
g = gitlab.Gitlab(url='', ssl_verify=False)
with open('.gitlab-ci.yml', 'r') as gitlabci:
content =
except FileNotFoundError:
niya3 / python_basics.ipynb
Last active Sep 17, 2018
Python 3 basics
View python_basics.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
niya3 / m.cpp
Last active Jul 20, 2018
simple ASAN expample
View m.cpp
#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];
niya3 / .bashrc
Last active Jul 2, 2018
trackball linux settings
View .bashrc
xset mouse 6 4 #pointer acceleration with threshold
niya3 / manjaro
Last active Apr 16, 2018
Basic installation of Manjaro 17.1.7 KDE at UEFI and nvidia optimus card laptop
View manjaro
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
$ wget
$ 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!