Skip to content

Instantly share code, notes, and snippets.

View fbecart's full-sized avatar

Florent Bécart fbecart

View GitHub Profile
@fbecart
fbecart / gist:10209826
Created April 8, 2014 23:45
Prank for Vinch
function sudo() { say "Of course Vinch\!" ; /usr/bin/sudo $* ; }

Keybase proof

I hereby claim:

  • I am fbecart on github.
  • I am fbecart (https://keybase.io/fbecart) on keybase.
  • I have a public key whose fingerprint is 7F33 FD6A DA69 552A D44C E725 21EC 1CA0 414E 21D7

To claim this, I am signing this object:

@fbecart
fbecart / Leo-Anki.js
Last active May 1, 2024 19:57
Bookmarklet to export Leo Trainer words to an Anki deck.
/**
* This bookmarklet makes it possible to transfer words from Leo Trainer to Anki.
* It is configured for fr-de (French to German) translations, but can easily be
* adapted to other languages.
*
* Prerequisites:
* - a Leo account (http://www.leo.org/) with a few words saved in the trainer
* - an Anki account (https://ankiweb.net/account/register)
*
* 1. Crunch the following code and add it to your bookmarks