Skip to content

Instantly share code, notes, and snippets.

# =Split Reuters-21578
# =(Found at: http://www.daviddlewis.com/resources/testcollections/reuters21578/)
# =SGML files into separate TXT files
#
# Documents selected are those from LEWIS SPLIT that have at least one topic.
# Documents (only the body of text) are put in directories according to their type (train/test) and topic.
# Documents with more than one topic are written in more than one folder.
# Only documents that have a topic listed in 'used_topics' Array are selected.
# This pre-processing is useful for text categorization applications.
#
# update-alternative (install) ## ubuntu 14.04 vm install using ruby2.0* set of packages
sudo update-alternatives --install /usr/bin/ruby ruby2.0 /usr/bin/ruby2.0 9
sudo update-alternatives --install /usr/bin/erb erb2.0 /usr/bin/erb2.0 9
sudo update-alternatives --install /usr/bin/gem gem2.0 /usr/bin/gem2.0 9
sudo update-alternatives --install /usr/bin/irb irb2.0 /usr/bin/irb2.0 9
sudo update-alternatives --install /usr/bin/rake rake2.0 /usr/bin/rake2.0 9
sudo update-alternatives --install /usr/bin/rdoc rdoc2.0 /usr/bin/rdoc2.0 9
sudo update-alternatives --install /usr/bin/ri ri2.0 /usr/bin/ri2.0 9
sudo update-alternatives --install /usr/bin/testrb testrb2.0 /usr/bin/testrb2.0 9
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@m3mike
m3mike / keybase.md
Last active November 28, 2021 04:53

Keybase proof

I hereby claim:

  • I am m3mike on github.
  • I am m3 (https://keybase.io/m3) on keybase.
  • I have a public key whose fingerprint is 6523 1D9D 4FDC 9148 BF00 4011 AD60 BD02 9FDE 3022

To claim this, I am signing this object: