Skip to content

Instantly share code, notes, and snippets.

Alan Kang akngs

Block or report user

Report or block akngs

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
View README.md

Some images ;)

@akngs
akngs / .block
Last active Dec 16, 2017
Curvature Blindness Illusion
View .block
license: gpl-3.0
@akngs
akngs / .block
Last active Dec 11, 2017
Interactive and visual explanation of SVG path's "arc" command
View .block
license: gpl-3.0
@akngs
akngs / .block
Last active Dec 2, 2017
D3 implementation of an agent-based predator-prey model.
View .block
license: gpl-3.0
@akngs
akngs / wordfreq.md
Last active Nov 26, 2017
Extract frequent words from URL
View wordfreq.md

How to run

  1. Install Python 3
  2. Install KoNLPy
  3. Run python wordfreq.py --xpath './/div[@class="statement"]/div[@class="content glossary"]/text()' --url http://pokr.kr/meeting/1933823653/dialog
@akngs
akngs / read_vs_skim.js
Last active Aug 3, 2017
GA custom event trigger which tracks reading behavior
View read_vs_skim.js
<script>
try {
document.addEventListener("DOMContentLoaded", function() {
var accumScrollMove = 0;
// Set it 1 msecs to avoid div by zero error
var accumScrollTime = 1;
var latestScrollTop = 0;
var latestScrollAt = new Date();
function checkScroll() {
@akngs
akngs / index.js
Created Jul 10, 2017
Gist from mistakes.io
View index.js
"hello, world"; // edit this to begin
@akngs
akngs / index.html
Created May 29, 2016
Simple d3 example
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Simple d3 example</title>
<script src="//d3js.org/d3.v3.min.js"></script>
</head>
<body>
<script>
d3.select("body").append("p").text("New paragraph!");
@akngs
akngs / track_external_links.js
Created May 27, 2016
GA external link tracker
View track_external_links.js
@akngs
akngs / README.md
Last active Jan 17, 2016 — forked from mbostock/.block
Canvas Donut for retina display
View README.md
You can’t perform that action at this time.