Skip to content

Instantly share code, notes, and snippets.

Writing in Markdown

Markdown is a quick and simple way to write formatted documents in plaintext. It is easy to read as plaintext, but is designed to convert to HTML for easy web publishing. Writing in plaintext rather than proprietary formats such as Word has many advantages:

  • simple - dont waste time in complex and frustrating formatting in Word that will be deleted by publishers anyway. This keeps your distractions to a minimum.
  • sharable - any device can open and read plaintext.
  • preservable - markdown is plaintext which is easy for digital preservation, unlike Word.
  • version controlable - you can use the full power of Git or other version control systems.

Use Git locally to collaborate

Set up shared repository

Create a directory on the shared drive to hold the repository, then git init --bare. By convention, bare repos are given the extension .git.

cd /t/
mkdir newRepo.git

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.

@evanwill
evanwill / wgetNotes.md
Created August 31, 2016 18:45
wget notes

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.

@evanwill
evanwill / openRefineTips.md
Created August 31, 2016 18:32
openrefine tips

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

PocketCHIP stuff

Utility

build in calculator: xcalc

use the built in browser: surf http://google.com (need help, man surf)

get a text browser: sudo apt-get install lynx

@evanwill
evanwill / grub_boot_order.md
Created July 20, 2016 04:31
update grub boot order

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"

@evanwill
evanwill / osxOpenRefine.md
Last active March 29, 2021 10:03
installing OpenRefine on Mac

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 / etherpadsetup.md
Last active June 9, 2016 22:13
set up etherpad on a cloud vm

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