Zach Thomae

  • Archive
  • RSS
  • Ask me anything

gen_nocorrect

gen_nocorrect: A shell (written for zsh) function for turning a list of commands into nocorrect aliases.

Example input:

jsc
mplayer
ipython

Example output:

# Aliases for nocorrect commands. Automatically generated
alias jsc="nocorrect jsc"
alias mplayer="nocorrect mplayer"
alias ipython="nocorrect ipython"
https://gist.github.com/4553009
    • #programming
    • #code
    • #shell script
    • #zsh
  • 4 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
[RIM] will stand alone as the only mobile solutions provider focused on IT first and the needs of users later.
Rob Enderle, Why 2013 Is RIM’s BlackBerry Year
    • #RIM
    • #BlackBerry
    • #fail
    • #tech
  • 4 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

split_keep.py

split_keep.py - A simple python function for splitting a string by multiple “splitters”, remembering the splitter used each time.

What it does: Takes a string and a list of splitters and splits the string by each of them. Basically, returns a list containing all of the splitters found in the input string, along with all of the characters found between them.

https://gist.github.com/4440324
    • #code
    • #python
    • #gist
    • #bad ideas
  • 4 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

soundstretch.sh

soundstretch.sh - A silly shell script for recursively finding mp3 files and making copies that are sped up +40%.

What it does: Recursively searches for mp3s* in a given GETDIR, making faster copies in the same relative location in a copy of the directory tree rooted in the PUTDIR specified.

* Will skip over files with the extension .fast.mp3, so as to not speed songs up twice.

Key line:

find "$GETDIR"
    -type f \( -iname "*.mp3" -a ! -iname "*.fast.mp3" \)
    -exec bash -c 'convertFile "{}" "$PUTDIR" $FORCE $VERBOSE' ';'
https://gist.github.com/4281336
    • #bash
    • #shell script
    • #code
    • #gist
  • 5 months ago
  • 2
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Introducing Comparative Word Clouds

Comparative word cloud

What is a comparative word cloud?

Comparative word clouds are like normal word clouds, except they compare two different sources of text.

Read More

    • #word clouds
    • #charts
    • #code
    • #visualization
    • #data
  • 8 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
Everything about this, from the twitter bird tweeting a dislike button to the phrase “ethically icky,” is awesome. http://instagr.am/p/O4dpMKRLCg/
Pop-upView Separately

Everything about this, from the twitter bird tweeting a dislike button to the phrase “ethically icky,” is awesome. http://instagr.am/p/O4dpMKRLCg/

  • 8 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Batman and the Bomb

WARNING: This post is about a major spoiler for The Dark Knight Rises.

Read More

    • #dark knight rises
    • #nuclear bomb
    • #helicopter
    • #new york city
  • 10 months ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
'\x3ciframe width=\x22500\x22 height=\x22281\x22 src=\x22http://www.youtube.com/embed/rqb84E9XqjU?wmode=transparent\x26autohide=1\x26egm=0\x26hd=1\x26iv_load_policy=3\x26modestbranding=1\x26rel=0\x26showinfo=0\x26showsearch=0\x22 frameborder=\x220\x22 allowfullscreen\x3e\x3c/iframe\x3e'

Lady gaga fugue on guitar (by matthewguitars)

Source: youtube.com

  • 10 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

11 Days of Mozart: The most popular composers on WPR, updated

I updated my script to take start/end dates and a number of composers to print results for as (optional) arguments from the command line, and wrapped the functionality inside a class.

To test it out, I made it fetch data going back to the first day I could find archives for, May 12th, 2010. The results are similar to the results for this year, with more shifting at the bottom of the list.

Results:

Read More

    • #wisconsin
    • #public radio
    • #classical music
    • #mozart
    • #ruby
    • #code
  • 10 months ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
The bookstore goes meta http://instagr.am/p/Mq63gAxLDa/
Pop-upView Separately

The bookstore goes meta http://instagr.am/p/Mq63gAxLDa/

  • 10 months ago
  • 1
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
Page 1 of 5
← Newer • Older →

About

UW-Madison CS student. This is my mind palace.

Twitter

loading tweets…

Top

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union