Skip to content

Instantly share code, notes, and snippets.

Brian Takashi Hooper btakashi

  • M3, Inc.
  • Tokyo, Japan
Block or report user

Report or block btakashi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
btakashi / gist:1094784
Created Jul 20, 2011
#7 Daimon-scala problem, reverse case
View gist:1094784
class CaseReversibleString(s:String) {
def reverseCases = (for (c <- s.toCharArray) yield {
if (c.isUpper) c.toLower
else c.toUpper
implicit def string2CaseReversibleString(s:String) = new CaseReversibleString(s)
btakashi /
Created Dec 8, 2015
Installation notes for GPU-enabled Theano on AWS
# Fix the /tmp directory from my previous AMI, which was a symlink to /mnt/tmp (nonexistent)
sudo rm /tmp
sudo mkdir /tmp
sudo chmod 777 /tmp
# Upgrade Ubuntu packages
sudo apt-get update
sudo apt-get upgrade
# Install Theano dependencies (from:
You can’t perform that action at this time.