Skip to content

Instantly share code, notes, and snippets.

@flyingeek
flyingeek / README.md
Last active March 12, 2024 17:49
wmo stations used in editolido
@flyingeek
flyingeek / sudoku.ipynb
Last active October 18, 2020 14:56
recursive sudoku solver - Jupyter Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@flyingeek
flyingeek / README.md
Last active August 21, 2021 11:26
Karabiner Elements (Mac OSX) complex modification to remap keypad comma to period
  • remap comma keypad key to period (Useful for french AZERTY users).
  • remap shift+command+. to shif+command+fn+. in finder (Useful for french AZERTY users).
  • remap capslock to escape on single press, capslock to ctl on press and hold, but only in Terminal.
  • remap capslock to meta (command+control+option+shift) unless in Terminal.
  • SuperDuper mode from jasonrudolph

To install:

  • import this complex modification rule by using this url: karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/flyingeek/b0889580110020dc82e2e327fd8ed87e/raw/keypadcommatoperiod.json
  • import this complex modification rule by using this url: karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/flyingeek/b0889580110020dc82e2e327fd8ed87e/raw/c62345869f4a0d99373d71ec76841d449e84a944/toggle_hidden_files_in_finder_without_fn.json

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@flyingeek
flyingeek / keybase.md
Created April 3, 2020 20:25
keybase proof

Keybase proof

I hereby claim:

  • I am flyingeek on github.
  • I am flyingeek (https://keybase.io/flyingeek) on keybase.
  • I have a public key ASBuY1RXDUxIIFRXx1Xh4zljbaVoAw1ockmG6t8AyKTNPgo

To claim this, I am signing this object:

@flyingeek
flyingeek / README.md
Last active January 13, 2024 20:30
scriptable-pdfjs-demo.js a demo (sort of) for scriptable-pdfs

This is a sort of demo file for scriptable-pdfjs

First copy scriptable-pdfjs.html into your Scriptable Documents folder.

Then copy paste below in a new script. Run and watch your console !

@flyingeek
flyingeek / README.md
Last active March 26, 2020 11:28
WPTS_OCA.csv - Liste des points d’entrée océaniques (fish points) pour editolido/lidojs

Fichier à copier dans Editorial pour editolido. Vous pouvez utiliser l'Installateur

@flyingeek
flyingeek / afc2datis.py
Last active January 14, 2016 20:30
Extraction des terrains OACI disposant d'un D-ATIS à partir du PDF AFC_07JAN.pdf. En sortie un fichier texte contenant juste un code OACI 4 lettres par ligne pour les terrains qui ont un D-ATIS
import re
import subprocess
import sys
pdf_file = '/Users/Eric/Downloads/AFC_07JAN.pdf'
text_file = '/Users/Eric/Desktop/D-ATIS_AFC_07JAN.txt'
# pdftotext is required
# OSX: install HomeBrew then brew install poppler
# Windows: bad luck ?