Skip to content

Instantly share code, notes, and snippets.

View EvanDotPro's full-sized avatar

Evan Coury EvanDotPro

  • X @EvanDotPro
View GitHub Profile
weierophinney / rtut.zsh
Created February 11, 2014 20:17
PHPUnit test runner using inotifywait
# Copyright (c) 2014, Joshua Thijssen
# Copyright (c) 2014, Matthew Weier O'Phinney
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
Phyks /
Last active May 7, 2019 21:02
Fetch Google "Now" answers from the CLI. Usage: `python3 QUERY`.
#!/usr/bin/env python3
import sys
import urllib.parse
import html2text
import scrapy
from scrapy.crawler import CrawlerProcess
results = []