Skip to content

Instantly share code, notes, and snippets.


Андрей Листочкин (Andrey Listochkin) listochkin

View GitHub Profile
View Uniform Teeth React

Примечание от Андрея: Это не моя вакансия, но я хочу помочь Павлу найти себе инженера в команду. Оригинальный текст ниже. Хочешь узнать больше - приходи в чат Frontend UA Jobs.

Привіт, хотів нагадати що ми все ще шукаємо Middle React Native розробника на класний продукт)

Хто ми шо ми:

Uniform Teeth - американська компанія котра вирівнює зуби за допомогою алайнерів (такі прозорі штуки на зубах, майже як Invisalign тільки ми кращі ;) Загалом людей тут під 150 чоловік, але конкренто інжинірингу близько 10 і ми зараз активно працюємо щоб це виправити. Це все ще стартап, в лютому підняли другий раунд інвестицій майже весь планють пустити на посилення команд з розробки.

Бізнес модель проста як двері: ви нам гроші - ми вам рівненькі зуби і чарівну усмішку через рік-два. Кешфлоу позитивний, ростемо як на дріжджах.

listochkin / 2018.js
Last active Nov 23, 2020 — forked from Jack-Works/2018.js
cRAzY eSnEXt (*all* proposals mixed in)
View 2018.js
#! Aaaaaaaaaaa this is JS!!!
// This file is mixing all new syntaxes in the proposal in one file without considering syntax conflict or correct runtime semantics
// Enjoy!!!
// Created at Nov 23, 2018
for await(const x of (new A //
|> do { //
case(?) { //
when {val}: class {
listochkin /
Created Oct 17, 2018
No root prompt for Turbo Boost Switcher on TouchID Macs

No root prompt for Turbo Boost Switcher on TouchID Macs


  1. Enable TouchID for sudo. Open /etc/pam.d/sudo and add auth sufficient before other rules.
  2. Remove Turbo Boost Switcher from login items
  3. Put to /usr/local/bin/
  4. chmod +x /usr/local/bin/
  5. Put turboboostswitcher.asroot.plist to ~/Library/LaunchAgents
  6. Run launchctl load ~/Library/LaunchAgents/turboboostswitcher.asroot.plist
listochkin /
Created Jul 9, 2018 — forked from andyshinn/
pbcopy over SSH


  • Add pbcopy.plist to your ~/Library/LaunchAgents/ folder.
  • Launch the listener with launchctl load ~/Library/LaunchAgents/pbcopy.plist.
  • Add RemoteForward 2224 in your ~/.ssh/config file under your Host * or specific hosts sections.
  • Add [ -n "$SSH_CLIENT" ] && alias pbcopy="nc localhost 2224" to your remote ~/.bash_profile or other shell profile.
  • Enjoy pbcopy remotely!
listochkin /
Created Jan 24, 2017 Verification

Keybase proof

I hereby claim:

  • I am listochkin on github.
  • I am listochkin ( on keybase.
  • I have a public key ASAsRsmUuljyfl6KLsdW5GxpyCXmMzFSUcFrnCxk3ukIhAo

To claim this, I am signing this object:

listochkin / index.html
Created Nov 24, 2016
React Hello World without a build
View index.html
<!DOCTYPE html>
<meta charset="UTF-8" />
<title>Hello World</title>
<script src=""></script>
<script src=""></script>
<script src=""></script>
listochkin /
Last active Sep 19, 2017
How to Enable Gitter Next in Franz

Switch to Gitter Next in Franz

  1. Open Franz DevTools. They don't have a UI for that but support team told me that Ctrl+Alt+Shift+Fn+Up will do it on Mac laptops. I assume Ctrl+Alt+Shift+PgUp shold work elsewhere.

  2. Franz is an Electron app. All chat windows are WebView elements and you can't inspect them. Select a webview element for Gitter (not the shadow DOM root inside it). Then open a console and type $0.openDevTools(). This is an Electron API.

  3. To turn on Gitter Next paste document.cookie='gitter_staging=staged;;path=/;expires=' + new Date( + 31536000000).toUTCString() into the console of the new DevTools window. This one-liner is from Gitter Support article.

  4. You may need to restart Franz after that. Enjoy!

listochkin / martin.js
Created Jun 7, 2016
Put it into a console :)
View martin.js
listochkin /
Last active May 31, 2016 — forked from thequux/
Multirust-compatible racer wrapper with OS X support

This wrapper automatically sets the RUST_SRC_DIRECTORY environment variable for whatever rust compiler is currently active, automatically creating a new checkout whenever necessary. This should be compatible with all of the multirust-alike tools, but it has only been tested with


Simply place this somewhere on your path before the main racer binary and set the execute bit.


listochkin /
Created Mar 29, 2016
Port of original Timsort from Python by Josh Bloch
// See the original at
// and the original description at
* Copyright 2009 Google Inc. All Rights Reserved.
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Sun designates this