Skip to content

Instantly share code, notes, and snippets.

View borland667's full-sized avatar

Osvaldo Demo borland667

View GitHub Profile
DO $$
DECLARE
r RECORD;
BEGIN
FOR r IN
(
SELECT table_name
FROM information_schema.tables
WHERE table_schema=current_schema()
)
@borland667
borland667 / keybasee.md
Created November 4, 2020 15:18
keybase.md

Keybase proof

I hereby claim:

  • I am borland667 on github.
  • I am borland (https://keybase.io/borland) on keybase.
  • I have a public key ASBTZR5mF-WOhGnm99prfLSqFq62pXxaEC4PUv4Fw3ABTwo

To claim this, I am signing this object:

@borland667
borland667 / keybase.md
Created November 4, 2020 15:11
keybase.md

Keybase proof

I hereby claim:

  • I am borland667 on github.
  • I am borland (https://keybase.io/borland) on keybase.
  • I have a public key ASBTZR5mF-WOhGnm99prfLSqFq62pXxaEC4PUv4Fw3ABTwo

To claim this, I am signing this object:

@borland667
borland667 / flatten.py
Last active August 15, 2017 23:25
Flatten any nested list
# Flatten an array in python
#
# [[1,2,[3]],4] -> [1,2,3,4]
#
#
# Implemented with a recursive generator function
# and using yield from syntax from python 3.3
#
from collections import Iterable

This is a quick script to convert notes from Tomboy to Evernote.

Usage

pip install -r requirements.txt
mkdir export/
python tomboy-export.py <tomboy-dir>