Skip to content

Instantly share code, notes, and snippets.

View EvanDotPro's full-sized avatar

Evan Coury EvanDotPro

  • Roave.com
  • USA»E»SS»OA»MW»LG»VSC»TU
  • X @EvanDotPro
View GitHub Profile
@Phyks
Phyks / google_now.py
Last active May 7, 2019 21:02
Fetch Google "Now" answers from the CLI. Usage: `python3 google_now.py QUERY`.
#!/usr/bin/env python3
import sys
import urllib.parse
import html2text
import scrapy
from scrapy.crawler import CrawlerProcess
results = []
@weierophinney
weierophinney / rtut.zsh
Created February 11, 2014 20:17
PHPUnit test runner using inotifywait
#!/bin/zsh
#
# 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.