Skip to content

Instantly share code, notes, and snippets.

View alessiomaffeis's full-sized avatar

Alessio Maffeis alessiomaffeis

View GitHub Profile
@alessiomaffeis
alessiomaffeis / translate_text.scpt
Last active February 22, 2017 13:15
Translate text to English in AppleScript
on run {input, parameters}
set encodedText to do shell script "perl -MURI::Escape -lne 'print uri_escape($_)' <<<" & quoted form of (input as text)
# Replace with "Firefox", "Google Chrome", or your browser of choice
tell application "Safari"
activate
open location "https://translate.google.com/#auto/en/" & encodedText
end tell
end run
@alessiomaffeis
alessiomaffeis / keybase.md
Created September 4, 2016 11:02
Keybase proof

Keybase proof

I hereby claim:

  • I am alessiomaffeis on github.
  • I am maffeis (https://keybase.io/maffeis) on keybase.
  • I have a public key whose fingerprint is 64E1 433B AA82 E33C 38F5 B9DD D9C0 A87F 8BCE 3957

To claim this, I am signing this object: