Skip to content

Instantly share code, notes, and snippets.

Jim Kan j-kan

Block or report user

Report or block j-kan

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
@j-kan
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 () {
connect.server({
root: 'src',
livereload: false,
+ // host: '192.168.99.107',
+ host: 'localhost',
@j-kan
j-kan / cv.clj
Created Feb 10, 2011
read and print most frequent words
View cv.clj
(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")))
You can’t perform that action at this time.