Skip to content

Instantly share code, notes, and snippets.

@ferenczy
ferenczy / atom-get-lost-unsaved-buffers.js
Last active May 29, 2024 21:09
Get lost unsaved buffers in Atom editor: Load text content of all unsaved buffers stored by Atom for any project and print it to Developers tools console
/**
* Get lost unsaved buffers in Atom editor
*
* Load text content of all unsaved buffers stored by Atom for any project in IndexedDB and print it to Developers tools console
*
* Author: David Ferenczy Rogožan (https://ferenczy.cz)
*
* Instructions:
*
* 1. Start Atom
@ferenczy
ferenczy / vimium-solarized-dark-theme.css
Last active August 25, 2021 13:50
A color theme for famous Chrome extension Vimium by Phil Crosby based on also famous Ethan Schoonover's Solarized Dark color palette.
/***
*
* Solarized Dark theme for Vimium
* © Dawid Ferenczy 2018
*
* A color theme for famous Chrome extension Vimium by Phil Crosby based on also famous
* Ethan Schoonover's Solarized Dark color palette.
* https://github.com/philc/vimium
* https://ethanschoonover.com/solarized/#the-values
*
#!/bin/bash
function f()
{
sleep "$1"
echo "$1"
}
while [ -n "$1" ]
do
f "$1" &
shif

Keybase proof

I hereby claim:

  • I am ferenczy on github.
  • I am ferenczy (https://keybase.io/ferenczy) on keybase.
  • I have a public key whose fingerprint is 5503 C3FD E803 6FA8 F890 6634 A864 A330 EE1F E92B

To claim this, I am signing this object: