Skip to content

Instantly share code, notes, and snippets.

View j-kan's full-sized avatar

Jim Kan j-kan

View GitHub Profile
@j-kan
j-kan / cv.clj
Created February 10, 2011 09:38
read and print most frequent words
(ns com.intangible-industries.cv
(:use [clojure.string :only [lower-case split]])
(:use [clojure.contrib.duck-streams :only [read-lines]]))
(def stopwords
(apply hash-set
(split "the a an and or of for in on to with by this that these those some other it its we our as but not do does is be are can was were which so from"
#"\s")))
@j-kan
j-kan / local-ip-media.diff
Created June 15, 2018 20:32
Changes to run locally via IP rather than "localhost"
diff --git a/gulpfile.js b/gulpfile.js
index 9888664f..3ab507e2 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -16,6 +16,9 @@ gulp.task('serve', function () {
connect.server({
root: 'src',
livereload: false,
+ // host: '192.168.99.107',
+ host: 'localhost',
@j-kan
j-kan / main.go
Created September 17, 2018 22:31
go misc
// etc.