Skip to content

Instantly share code, notes, and snippets.

Avatar

Evan Coury EvanDotPro

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