Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name ___ChromeExtention_Keyboard
// @version 1
// @grant none
// @run-at document-start
// @include /^https:\/\/(lichess\.org|lichess\.dev|mskchess\.ru)\/(\w{8}|\w{12})(\/white|\/black)?$
// The original script and inspiration by Vempele: https://gist.github.com/Vempele/46333e85e33b6d488c3ffb131942272d
// ==/UserScript==
(() => {
@farukuzun
farukuzun / proxy.pac
Last active April 15, 2020 19:30 — forked from sahal/proxy.pac
Proxy Auto Configuration - SOCKS5 Sample
function FindProxyForURL(url, host)
{
return "SOCKS5 192.168.8.141:8080;";
}
@farukuzun
farukuzun / ARCH_INSTALL.MD
Last active October 14, 2018 15:50 — forked from heppu/ARCH_INSTALL.MD
Installing Arch with GPT, dm-crypt, LUKS, LVM and systemd-boot, XPS 15

Create bootable USB

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

Boot from USB and set prepare system

loadkeys <your-keymap>
@farukuzun
farukuzun / reverse-ssh-tunnel.service
Created February 9, 2018 15:56 — forked from samos123/reverse-ssh-tunnel.service
/etc/systemd/system/reverse-ssh-tunnel.service to keep a reverse ssh tunnel restarted automatically
[Unit]
Description=Phone Home Reverse SSH Service
ConditionPathExists=|/usr/bin
After=network.target
[Service]
User=sshtunnel
ExecStart=/usr/bin/ssh -NTC -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o StrictHostKeyChecking=no -i /home/sshtunnel/.ssh/id_rsa -R 22223:localhost:22 user@remote-ssh-server
# Restart every >2 seconds to avoid StartLimitInterval failure
RestartSec=3
@farukuzun
farukuzun / VMBuster.c
Last active August 29, 2015 14:06 — forked from c0d3inj3cT/VMBuster.c
#include <windows.h>
#include <stdio.h>
#include <TlHelp32.h>
#include <Setupapi.h>
#include <string.h>
void vmx_check();
void process_name_check();
void class_name_check();
void cpuid_check();