Skip to content

Instantly share code, notes, and snippets.

View runewizard's full-sized avatar

Taras Zubchevskyi runewizard

View GitHub Profile
@runewizard
runewizard / README.md
Created August 30, 2025 18:53 — forked from xiexingwu/README.md
Wezterm - Quake/Quick Terminal using Hammerspoon (optional Aerospace)

Quick Terminal setup for Wezterm

Make Wezterm behave like Ghostty's Quick Terminal, i.e. use a keybind to focus/hide a scratch terminal that always stays on top.

wezterm_quickterm

Keybind: Alt-`

  • First press: Spawns a wezterm terminal with workspace "_scratch" and focuses it in the middle of the screen.
  • Subsequent pressees: Hides the terminal if it is focused. Otherwise bring the terminal to the centre and focus.
@runewizard
runewizard / links - bfcache.md
Created June 26, 2022 16:46 — forked from victor-homyakov/links - bfcache.md
Ссылки для презентации "BFCache, или Туда и обратно"
@runewizard
runewizard / APIs affecting bfcache.md
Created June 26, 2022 16:46 — forked from victor-homyakov/APIs affecting bfcache.md
API, которые влияют на попадание страницы в bfcache
  • ✔︎ - не мешает попаданию страницы в bfcache
  • ✘ - запрещает попадание страницы в bfcache
  • пустая ячейка - влияние неизвестно
API Firefox Safari Chromium IE
Подписка на beforeunload
Подписка на unload
Незавершённые запросы XHR/fetch ✘ в планах прерывать запрос и вызывать onerror при восстановлении страницы
Незавершённые запросы за ресурсами ✘ кроме favicon
@runewizard
runewizard / links - writing fast code for react and typescript.md
Created June 26, 2022 16:46 — forked from victor-homyakov/links - writing fast code for react and typescript.md
Ссылки для презентации "Код на React и TypeScript, который работает быстро"
@runewizard
runewizard / links - memory limits, leaks and non-standard optimization methods.md Ссылки для презентации "Память и её утечки в Chrome и Node.js. Нестандартные способы оптимизации памяти в Node.js." GDG Минск 2021
@runewizard
runewizard / links - task scheduler in browser, or do not freeze the page.md Ссылки для презентации "Планировщик задач: не замораживаем страницу" Podlodka Frontend Crew 2021
@runewizard
runewizard / github-actions-notes.md
Created May 5, 2022 07:06 — forked from br3ndonland/github-actions-notes.md
Getting the Gist of GitHub Actions
@runewizard
runewizard / iterm2.md
Created April 17, 2022 09:11 — forked from squarism/iterm2.md
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)

Array Element implicit any, type has no index signature

Element implicitly has an 'any' type because type 'MyFancyType' has no index signature.",

class MyPerson {
  public name: string;
  public subscriptions: MyFancyType[];
  
  constructor(name: string, subscriptions: MyFancyType){...}
}