From 4d22be66fa731a7021f8b1c35aaa24e946eed32c Mon Sep 17 00:00:00 2001 From: Chris Allen Date: Wed, 2 Dec 2015 00:02:31 -0600 Subject: [PATCH] code file --- code_to_learn_from.md | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 code_to_learn_from.md diff --git a/code_to_learn_from.md b/code_to_learn_from.md new file mode 100644 index 0000000..b2ee570 --- /dev/null +++ b/code_to_learn_from.md @@ -0,0 +1,52 @@ +# Note! + +Code listed isn't necessarily complete or a usable product. The point is that the resource linked is mostly code and code that a beginner with a grasp of the basics could learn something from. + +# My stuff + +- https://github.com/bitemyapp/bloodhound Elasticsearch, mostly datatypes to describe Elasticsearch's query API and JSON parsing/generation. + +- https://github.com/bitemyapp/blacktip Distributed k-ordered unique id service. Directly mimicking Flake which was itself based on Snowflake. Not correct/safe as I'm not using the system's monotonic clock. + + +# Users that write code people should learn from + +- https://github.com/michaelxavier + +- https://github.com/nikita-volkov somewhat advanced but pokes some interesting stuff + + +# File operations + +- https://gist.github.com/twopoint718/cac0bbe52fd5f0d3b1be Enumerates files in a directory and organizes them by file extension + +- https://gist.github.com/bitemyapp/2311fcbfa152ce0980ed Filewriter example from the Haskell.org wiki I believe + +# Web apps + +- https://github.com/bitemyapp/shawty-prime This URL shortener written in Scotty is explained in detail in [Haskell Programming](http://haskellbook.com) + +- https://github.com/thoughtbot/carnival Yesod app. Sort of an open source clone of Disqus. + +# Chat + +## IRC bots + +- https://wiki.haskell.org/Roll_your_own_IRC_bot + +- https://github.com/Lokathor/haizod + +## Slack stuff + +### Slack API client + +- https://hackage.haskell.org/package/slack-api + +### Slack bot libraries/frameworks + +- https://github.com/hlian/linklater + + +## Chat application in Servant + React + +- https://github.com/farnoy/chat frontend is coffeescript, but the backend is in Haskell