Skip to content

Instantly share code, notes, and snippets.

@rjfranco
rjfranco / anime-movie-classics.md
Last active November 11, 2020 06:28
Anime Movie Classics

Anime Movie Classics

This is a list of films I plan to watch this year, hoping to have movie nights over at my place. Figured I'd put the list somewhere shareable so I can seek contributions easily. The checkboxes are meant to indicate if they have been watched as part of the event, some entries are being added as already watched however because although we don't plan to watch them, they definitely should count as an anime movie classic.

Various or Uknown Directors

  • Devilman
  • Memories
  • Neo-Tokyo

Satoshi Kon

@kerrizor
kerrizor / gist:7086979
Created October 21, 2013 16:46
Parsing an iCal feed in Ruby
require 'rical'
require 'open-uri'
url = "[iCal feed URL here]"
open(url) do |ics|
#RiCal.parse returns an array of RiCalendar objects
@calendars = RiCal.parse(ics)
end
@davidcelis
davidcelis / zelda-battery.sh
Created December 18, 2012 00:28
Output a Zelda-style heart meter for your MacBook's battery level. On the command line. Based on an idea from @stephencelis, executed by myself. For a tmux version, see https://gist.github.com/4324139
#!/usr/bin/env zsh
#
# Works best with blinking text; the last heart will blink
# when you have less than 25% of your battery life remaining.
BATTERY="$(pmset -g ps | awk 'NR==2' | perl -pe 's/.*?(\d+)%.*/\1/')"
if [[ $BATTERY -lt 25 ]]; then
echo "\e[5;31m♥\e[0;31m♡♡\e[0m"
elif [[ $BATTERY -lt 50 ]]; then
@jhelwig
jhelwig / ant-clean-debug-install-all
Created July 15, 2012 17:25
Android CLI helpers
#!/bin/bash
# This assumes that there is a file named .activity-to-launch where the sole
# contents are the name of the activity to launch on each device.
#
# For example:
# net.technosorcery.rally.ts_200/net.technosorcery.rally.ts_200.MainActivity
ant clean