Skip to content

Instantly share code, notes, and snippets.

Jim Kan j-kan

View GitHub Profile
j-kan / local-ip-media.diff
Created Jun 15, 2018
Changes to run locally via IP rather than "localhost"
View local-ip-media.diff
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 () {
root: 'src',
livereload: false,
+ // host: '',
+ host: 'localhost',
j-kan / cv.clj
Created Feb 10, 2011
read and print most frequent words
View cv.clj
(:use [clojure.string :only [lower-case split]])
(:use [ :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"
You can’t perform that action at this time.