Skip to content

Instantly share code, notes, and snippets.

Found dream job

Sergey Lukin sergeylukin

Found dream job
Block or report user

Report or block sergeylukin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sergeylukin / init.lua
Last active Nov 5, 2019
Hammerspoon Hyper key configuration
View init.lua
--Reload config
local hyper = { "cmd", "alt", "ctrl", "shift" }
hs.hotkey.bind(hyper, "0", function()
hs.reload(){title="Hammerspoon", informativeText="Config loaded"}):send()
--Resize windiows
hs.window.animationDuration = 0
hs.hotkey.bind(hyper, "h", function()

Keybase proof

I hereby claim:

  • I am sergeylukin on github.
  • I am sergeylukin ( on keybase.
  • I have a public key ASAT5Q5Fzp-1mB8mJYAXvkD_DA4ifS2gloH3vCl-CMDa1Qo

To claim this, I am signing this object:

View enlgish_to_gettext.php
define('MY_APP_DIR', __DIR__ . '/src');
function rsearch($folder, $pattern) {
$dir = new RecursiveDirectoryIterator($folder);
$ite = new RecursiveIteratorIterator($dir);
$files = new RegexIterator($ite, $pattern, RegexIterator::GET_MATCH);
$fileList = array();
foreach($files as $file) {
sergeylukin / error_handler_slack.php
Created Nov 4, 2018
Sends error to Slack via Webhook
View error_handler_slack.php
// Set your Slack WEBHOOK here
// Register function that will be executed in the end of PHP runtime
* Sends a message to channel on Slack, example:
sergeylukin / error_handler_slack.php
Created Oct 17, 2018
Send PHP fatal errors to Slack
View error_handler_slack.php
function FriendlyErrorType($type)
case E_ERROR: // 1 //
return 'E_ERROR';
case E_WARNING: // 2 //
sergeylukin / test.json
Created Apr 3, 2018
testing rtl values
View test.json
"ch1": 1,
"ch2": 1,
"ch3": 1,
"title": "כפר סבא",
"ch4": 1,
"ch5": 1,
"ch6": 1,
"ch7": 1,
"ch8": 1,
sergeylukin / karabiner.json
Created Apr 3, 2018
Karabiner configuration for playing F-117A on OS X
View karabiner.json
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500
"rules": [
sergeylukin /
Created Jul 12, 2017
face recognition ubuntu install
sudo apt-get update
sudo apt-get install build-essential
//sudo apt-get install python3-setuptools
//sudo easy_install3 pip
sudo apt-get install libboost-all-dev
sudo apt-get install python3-dev python3-pip python3-tk python3-lxml python3-six
sergeylukin /
Created Nov 23, 2016
Run searchable local go lang documentation server
godoc -goroot=/usr/local/go -index -index_files=/tmp/godoc_index.db -write_index
godoc -v -goroot=/usr/local/go -http=:6060 -index -index_files=/tmp/godoc_index.db
View 2d.js
* The contents of this file were written by Kevin Lindsey
* copyright 2002 Kevin Lindsey
* This file was compacted by jscompact
* A Perl utility written by Kevin Lindsey (
You can’t perform that action at this time.