Permalink
Browse files

readme

  • Loading branch information...
1 parent 296c318 commit 1029f72125bb5f49e7ea00802754bb122373073a @zk committed May 14, 2012
Showing with 22 additions and 9 deletions.
  1. +0 −9 README
  2. +22 −0 README.md
View
9 README
@@ -1,9 +0,0 @@
-# nsfw
-
-Various web (and non-web) helpers and utilities.
-
-## License
-
-Copyright (C) 2010-2012 Zachary Kim
-
-Distributed under the Eclipse Public License, the same as Clojure.
View
@@ -0,0 +1,22 @@
+# nsfw
+
+Various web (and non-web) helpers and utilities.
+
+# Mongo
+
+Connection helper:
+
+ (parse-mongo-url "mongodb://foo:bar@localhost:27017/mydb")
+
+ ;; => {:username "foo"
+ ;; :password "bar"
+ ;; :host "localhost"
+ ;; :port 27107
+ ;; :db "mydb"}
+
+
+## License
+
+Copyright (C) 2010-2012 Zachary Kim
+
+Distributed under the Eclipse Public License, the same as Clojure.

0 comments on commit 1029f72

Please sign in to comment.