Skip to content

Instantly share code, notes, and snippets.


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

View GitHub Profile
listochkin / emoji-regex.js
Created December 1, 2021 10:43
Emoji Regular Expression for JavaScript
View emoji-regex.js
// adapted from
export const emojiRegex =
View Uniform Teeth React

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

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

Хто ми шо ми:

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

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

listochkin / 2018.js
Last active March 24, 2022 03:15 — 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 October 17, 2018 15:27
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 July 9, 2018 12:24 — 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 January 24, 2017 01:13 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 November 24, 2016 12:35
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 September 19, 2017 06:16
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 June 7, 2016 15:25
Put it into a console :)
View martin.js
listochkin /
Last active May 31, 2016 22:45 — 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.