Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View n3tn0de's full-sized avatar
💻
I may be slow to respond.

Aleksei Vishniakov n3tn0de

💻
I may be slow to respond.
View GitHub Profile
import sys
import argparse
import subprocess
parser = argparse.ArgumentParser(
formatter_class=argparse.ArgumentDefaultsHelpFormatter
)
parser.add_argument("-d", "--display", type=str, default=":0", help="xrandr display")
parser.add_argument("-i", "--input", type=str, default="HDMI-1", help="xrandr input")
parser.add_argument("width", type=int, help="Width in pixels")
@n3tn0de
n3tn0de / id_rsa.pub
Last active November 22, 2018 20:22
SSH key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCw4PA28uFl5BcKzBvGWhR2GX/0TqGmjROmoFFbFp3+cYH0XXA5+0XZ1ZmiLvi3LA3PYmGLkxUNg5bBC/Th1P5qAQv2NQpkiIKPBNAGEa65FwSNVVGpyYlppQRdHMESaCCu8zSMUQlwPohD6cwd76DdhFg9HS+Yy+EltAFlIKzpPwr2qlJpBuoXVZxYZGjUZRlnfkHMnIRVnP8l8wKeqRR1rqG9K5OhXAq24upZzxYy3Yh0p9RGu6Y8BQvX/xe9bYmw/ImREu8o9BDnGB0qrVg979AzhAMirfFPQYZ54vNZiJNB4/WY1Y0+LEpPPDqrxrAhOT5w7DNCmRhBPV1Ie1C6B3RHfJEnBOYiggGLJql3+KzjXaxULCAx9JA9lGSjVW1yNSliunJ+NjJClHme+//Y4EAFkQpzk1l3LUqZtO+FgZ9ERYsb2IDaso1QuXAy2dTDWmpUktP6zDBWRn9C+f7YlWCVV/EjO4D8dN+mJWu6kAvkOPFss0B6lDzKuHwGt6BksqtbQ8wNKNxc0G0JEZDPJOG6dm/7KfVVgcP92Gy+X/DgOYqg5IFJEb6oWtlBszLg5Xr9XrUb9d8GpC98w9XSWOvFt96fvbhF1MZ7t+1VafubLutFZGc/1LF8DHeJlbkNp99NTDRtyPWejiMFSqtY9JL37EIeRzzgAJlO0muQdQ== n3tn0de@gmail.com
@n3tn0de
n3tn0de / launch.json
Created July 12, 2018 14:54
vscode-chrome-cra-attach
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.1.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
@n3tn0de
n3tn0de / ...Dotfiles and configs
Last active March 19, 2024 06:54
Dotfiles & Configs
Dotfiles & Configs
@n3tn0de
n3tn0de / README.md
Last active March 8, 2017 19:50
change-extention-ignore

change-extention-ignore

Usage

change-extention-ignore.bat <directory> <target> <new-extention> [<ignored-files>]

To ignore more than one file specify the filenames separated by /.

Example

We want to change files' extention in ./Test/ from .txt to .bat, but preserve extention of test-ignore.txt.

Keybase proof

I hereby claim:

  • I am n3tn0de on github.
  • I am n3tn0de (https://keybase.io/n3tn0de) on keybase.
  • I have a public key ASCzQJuK1oPzhrVOKshc4wS1vNPTaxPkeKPpkqucc-eRHgo

To claim this, I am signing this object: