Collecting Events to Google Analytics using ClojureScript

When you’re building a side project, chances are you need to collect user events so that you can understand user behaviors better and eventually improve your product.

So recently I made a small ClojureScript library for that, it supports web apps or chrome extensions. Check it out at https://github.com/whatacold/google-analytics, it also contains a demo project using shadow-cljs as the build tool.

Hope it helps, and give it a star ⭐ on GitHub and share it if it does, thanks!

[Read More]

Rewrite of a Flask Web App in Clojure

Intro

A few years ago, I made a simple web app in Flask to deal with some text processing problems from my daily work. It has two main features:

  • Feature #1: generating compile_commands.json for GNU Makefile projects written in C/C++ using the output of the make command. Because, unlike CMake, the make command can't generate it.
  • Feature #2: extract text using Python regex. It's handy when I feel like sed/awk/grep's line-oriented processing isn't enough for the task at hand.

BTW, I'm improving my English by watching YouTube videos every single day; If you're also learning English, or any languages, LanguagePuppy can definitely help you. It's a Chrome extension I developed using Clojure. Check it out:

[Read More]