Skip to content

Instantly share code, notes, and snippets.

@tizot
tizot / monitor.py
Last active March 24, 2017 11:20
Script to send a notification on Pushbullet when a command has finished. See details in comment.
#!/usr/local/bin/python3
from argparse import ArgumentParser
from socket import gethostname
import subprocess
import arrow
import requests
@tizot
tizot / update-ner.ipynb
Created January 4, 2018 14:12
How to update spaCy's named-entity recognizer?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tizot
tizot / wikiwand.py
Created April 12, 2020 12:36
Alfred workflow to search on Wikiwand
# encoding: utf-8
"""
This workflow requires the python module `alfred-workflow` (https://github.com/deanishe/alfred-workflow).
To install it on your system, follow the tutorial on `alfred-workflow` documentation website and
replace the python script by this one.
"""
import sys
from workflow import Workflow3 as Workflow, ICON_WEB, ICON_WARNING, web