Skip to content

Instantly share code, notes, and snippets.

View JeffreyMFarley's full-sized avatar

Jeff Farley JeffreyMFarley

View GitHub Profile
@IanColdwater
IanColdwater / twittermute.txt
Last active April 22, 2024 17:26
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
  • Kendrick Lamar - DAMN.
  • Declan McKenna - What do you Think About The Car
  • Vulfpeck - Mr. Finish LIne
  • Chris Thile & Brad Mehldau (Self-titled)
  • Chris Thile, Yo Yo Ma, Edgar Meyer - Bach Trios
  • Yemi Alade - Black Magic
  • Rostam - Half-Light
  • SOHN - Rennen
  • Cloud Nothings - Life Without Sound
  • Chris Stapleton - From A Room: Volumes 1 and 2
@ascott1
ascott1 / 2017favs.md
Last active December 15, 2017 14:37

Albums I Liked Best in 2017

These aren’t necessarily the best albums of the year, but are the ones that I most enjoyed.

  • Big Thief - Capacity
  • Cigarettes After Sex - s/t
  • Father John Misty - Pure Comedy
  • Jay Som - Everybody Works
  • Chuck Johnson - Balsams
  • Iron & Wine - Beast Epic

Favorite albums of 2016

Made without much thought or deliberation. In no particular order:

  • Frank Ocean - Blonde
  • Lambchop - FLOTUS
  • Kevin Morby - Singing Saw
  • Mitski - Puberty 2
  • Whitney - Light Upon the Lake
  • Car Seat Headrest - Teens of Denial
@kalimar
kalimar / gist:1a23222b59fd0208f88d
Last active March 14, 2016 11:51
Ruby Retro 2016
@mreschke
mreschke / nginx.conf
Last active February 18, 2024 04:41
Nginx config for multiple laravel sites based on /api/v1 url paths
# This config will host your main [Laravel] GUI application at /, and any additional [Lumen] webservices at /api/v1 and /api/v2...
# This also works perfectly for all static file content in all projects
# This is full of debug comments so you can see how to print debug output to browser! Took me hours to nail this perfect config.
# Example:
# http://example.com - Main Laravel site as usual
# http://example.com/about - Main Laravel site about page as usual
# http://example.com/robots.txt - Main Laravel site static content as usual
# http://example.com/api/v1 - Lumen v1 api default / route
# http://example.com/api/v1/ - Lumen v1 api default / route
@etienned
etienned / extractdocx.py
Last active November 21, 2022 13:56
Simple function to extract text from MS XML Word document (.docx) without any dependencies.
try:
from xml.etree.cElementTree import XML
except ImportError:
from xml.etree.ElementTree import XML
import zipfile
"""
Module that extract text from MS XML Word document (.docx).
(Inspired by python-docx <https://github.com/mikemaccana/python-docx>)
@nschneid
nschneid / POSMappings.txt
Created September 7, 2013 15:50
Scripts for working with part-of-speech tagsets: describing the morphosyntactic attributes encoded by tags, and converting between different tagsets. Cf. https://gist.github.com/nschneid/4231292
# http://nlp.cs.nyu.edu/wiki/corpuswg/AnnotationCompatibilityReport
# Table 1: Part of Speech Compatibility
# (Initial Version from Manning and Schutz 1998, pp. 141-142)
# Extended to cover Claws1 and ICE
# cf. http://www.scs.leeds.ac.uk/ccalas/tagsets/brown.html
# Nathan Schneider, 2011-02-19:
# * Fixed some errors in brown column, e.g.: DT1 => DTI, PP0 => PPO, NRS => NPS
# * Added last column (Twitter tagset) and several special tags at the end
Category Examples Claws c5, Claws1 Brown PTB ICE Twitter
Adjective happy, bad AJ0 JJ JJ ADJ.ge A
@larsmans
larsmans / kmeans.py
Created February 14, 2013 13:38
k-means clustering in pure Python
#!/usr/bin/python
#
# K-means clustering using Lloyd's algorithm in pure Python.
# Written by Lars Buitinck. This code is in the public domain.
#
# The main program runs the clustering algorithm on a bunch of text documents
# specified as command-line arguments. These documents are first converted to
# sparse vectors, represented as lists of (index, value) pairs.
from collections import defaultdict