Skip to content

Instantly share code, notes, and snippets.

EvanWill evanwill

Block or report user

Report or block evanwill

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
@evanwill
evanwill / PiPoemsVPOD.md
Last active Mar 14, 2016
poetry remix for Pi Day 2016
View PiPoemsVPOD.md

Pi Py Poetry: Pi Day Remix

Its 3:14 on 3/14 (2016)! Time for some Vandal Poem of the Day (VPOD) poetry remix using OpenRefine and Python.

First, I grabbed all of the poems from VPOD at http://poetry.lib.uidaho.edu/

Then I parsed it all using OpenRefine.

I Refined it down to a table with these columns: title, author, poem, words, length. Each row represents one line from a poem in the corpus.

@evanwill
evanwill / un-lenovo.md
Created May 25, 2016
things to do when you get a new lenovo computer
View un-lenovo.md

Things to do when you get a new lenovo computer

  1. Uninstall everything from Lenovo! Its all sketchy bloatware and you don't need any of it at all. Win 10 has everything you need.
  2. Navigate over to C:\Program Files (x86)\Lenovo and look in all the directories there and click the unistall.exe files! Cause guess what? Lenovo put some even sleezer things in there that you can't uninstall via normal means. Then delete all the directories.
  3. Just to be sure--You dont need anything in this ^ directory! Customer Engagement Service (CCSDK) and others log your activities and send information to weird unsecure web locations! Yuck!
  4. Go into control panel, device manager, and update drivers for wifi, audio, video, intel power management.
  5. okay, it should be better now!
@evanwill
evanwill / etherpadsetup.md
Last active Jun 9, 2016
set up etherpad on a cloud vm
View etherpadsetup.md

How to set up Etherpad in a cloud VM

Set up an Ubuntu server, then follow these directions to get an instance of Etherpad up and running! For full documentation check out the Etherpad-lite wiki.

Install dependencies

sudo apt-get install gzip git-core curl python libssl-dev pkg-config build-essential apache2
@evanwill
evanwill / handyPiCommands.md
Last active Jun 21, 2016
list of handy commands for Raspberry Pi
View handyPiCommands.md

Handy Raspberry Pi Commands

First time set up

default password for “pi” is “raspberry”

First time set up: sudo raspi-config

update everything:

@evanwill
evanwill / osxOpenRefine.md
Last active Jul 1, 2016
installing OpenRefine on Mac
View osxOpenRefine.md

Install OpenRefine on Mac

Mac seems to have a few issues when trying to install OpenRefine. The official instructions are on the OpenRefine wiki, but this list brings together resources to trouble shoot some common issues.

  1. Open Refine needs Java JRE. OS X has a few issues with Java, many are documented at Oracle Java on Mac OS X. Older versions of Java are automatically disabled by OS X. Its best to go to the Java page and just download and install the most up-to-date version for Mac.
@evanwill
evanwill / grub_boot_order.md
Created Jul 20, 2016
update grub boot order
View grub_boot_order.md

How to update Grub boot order on multi boot system

When logged into Ubuntu, open terminal:

sudo nano /etc/default/grub

Change GRUB_DEFAULT= to the value you want, based on its position on the GRUB menu when your computer starts up (the top OS is 0). You can use the number or use the exact label like GRUB_DEFAULT="Ubuntu 15"

View vs_code.md
View openRefineTips.md

Handy OpenRefine Functions to Remember

OpenRefine Cross function

Use cross to retrieve columns from other OpenRefine projects based on a common column.

  1. Open the two projects you want to join
View wgetNotes.md

wget

Wget is a handy commandline utility for grabbing stuff off the web. It is built into most UNIX systems. If you are on windows, install Git for Windows which comes packaged with Git Bash, a very handy UNIX terminal emulator (note: check if Git Bash has wget installed by typing wget --version. If it is not installed, check this Gist). Another handy windows option is MobaXterm.

Check all the commands by typing wget --help in your terminal.

View ubuntutips.md

Ubuntu tips

Ubuntu is great, but here are some tips to fix some issues that I regularly encounter.

Mouse doesn't seem quite right

If its a logitech mouse, install solaar with Unity/gnome extensions, sudo apt-get install solaar-gnome3. Then unplug the mouse and restart the system. Or try lomoco to manually configure.

You can’t perform that action at this time.