Skip to content

Instantly share code, notes, and snippets.

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 / 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
@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.

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.

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

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 Jekyll Deploy command

jekyll-deploy adds a new jekyll command, accessed on the command line as jekyll deploy. It allows you to add a custom config to quickly deploy the site after build to a different destination.

install

Create a file in root project directory called Gemfile that contains:

@evanwill
evanwill / flickrdownload.md
Created October 6, 2016 08:56
get stuff off flickr

Need to download metadata from flickr?

You can bulk download stuff from flickr very easily now (which is a great feature), by going to Camera Roll, selecting things, and clicking download. Or you can bulk download your sets/albums now as well. This is handy, but it doesnt export any metadata you added to the photos in the system.

Unfortunately, I found none of the apps are very stable. The most recent and least broken apps are:

Burn SD or USB for Raspberry Pi and more!

MILL-Mini 2017-01-27. This session will take you through the Why and How of burning ISO/IMG files to SD or USB for single board computers or installing Linux.

Background

Burning a disk image or bootable USB stick is an important task if you want to use Raspberry Pi or Linux. When you buy a Windows, Chromebook, or Mac computer, the operating system (OS) comes pre-installed. However, if you are interested in running Linux or other open OS, you will most likely have to install it yourself.