Skip to content

Instantly share code, notes, and snippets.

View katychuang's full-sized avatar

Dr. Kat katychuang

View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Generated with d3-generator.com -->
<html>
<head>
<title>Bar Chart</title>
<meta http-equiv="X-UA-Compatible" content="IE=9">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v2.min.js"></script>
@katychuang
katychuang / List.md
Last active August 29, 2015 14:04
Haskell Ethnography Ideas

I'm new to Haskell and have been asked to document my experience of learning this language, as it'd be valuable to the community. I will be using a research method from Anthropology, called Ethnography. The outcome of this ethnography is field notes.

What are field notes?

Field notes refer to transcribed notes or the written account derived from data collected during observations and interviews. There are many styles of field notes, but all field notes generally consist of two parts: descriptive in which the observer attempts to capture a word-picture of the setting, actions and conversations; and reflective in which the observer records thoughts, ideas, questions and concerns based on the observations and interviews.

To make best use of time (and not make this a full time gig), I'm asking the Haskell Community for ideas on where I should focus my attention, or "case studies". Feel free to comment below or tweet me [@katychuang](http://twitter.com/katychua

@katychuang
katychuang / participation.md
Last active August 29, 2015 14:02
organizer notes for data mascara

Data Mascara: NYC Python's data themed office hours, Monday evenings 7-9pm

###Speakers:

Chatting about basic skills is useful, or even best practices would be really interesting everyone attending. You can talk about a project you've worked on or pick a theme from the list of themes.

###Volunteers:

It doesn't matter what level of Python you have, we welcome everyone's help. From setting up and cleaning up for events, to finding speakers and interesting topics - more folks help things go smoother. If you would like to share your expertise in Python, stop by to help answer questions!

<!DOCTYPE html>
<meta charset="utf-8">
<style>
#boroughs {
stroke: grey;
stroke-width: 2px;
fill: #C4CAC5;
}
</style>
@katychuang
katychuang / remove_brew-mongo_osx.sh
Last active January 30, 2024 12:20
remove mongodb that was installed via brew
#!/usr/bin/env sh
# first check to see if mongo service is running. you can't delete any files until the service stops so perform a quick check.
launchctl list | grep mongo
# NOTE: the pipe | symbol means the commands on the right performs on the output from the left
# grep is a string search utility. `grep mongo` means search for the substring mongo
# use the unload command to end the mongo service. this is required to 'unlock' before removing the service.
# first look for the file to delete
MONGO_SERVICE_FILE=$(ls ~/Library/LaunchAgents/*mongodb*)
@katychuang
katychuang / README.md
Last active August 29, 2015 13:58
Installing GHC from binary (OSX/Linux)
@katychuang
katychuang / README.md
Last active August 29, 2015 13:57
The New York City Haskell Hackathon

The first Hac NYC, a Haskell hackathon/get-together will be held April 4-6 in New York City.

You must officially register with [the registration form][1] to attend.

Official information can be found on the [wiki page][2].


@katychuang
katychuang / osx10.9_ghc7.6.md
Created February 18, 2014 18:26
Installing & Building GHC with OSX Mavericks GHC

Were you trigger happy with the installation of OSX Mavericks? Here are quick steps to bring your haskell back. Tips referenced from cartazio:

  1. Make sure you have xcode 5 cli tools for OSX Mavericks installed. Go to that link, download and install.

  2. Get the proper gcc version. Open up your terminal and type brew install apple-gcc42 and then followed by brew link apple-gcc42. Test things out with a fresh new terminal window and type which gcc-4.2. Note that you may have to update brew update. (you may have to uninstall or brew update, or brew link apple-gcc42)

$ brew install apple-gcc42
==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after