JavaScript

MathJax Cheatsheets and Introduction

MathJax is a JavaScript library that allows people to embed mathematical formulas in web pages using various formats like TeX, MathML, and ASCIImath. MathJax is installed on this website, so anyone can use it in the forum, blogs, and wiki.

Sample output: MathJax allows users to enter TeX and get back formulas like this:

$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$

How to Programatically Invite People to Slack Chatrooms

There are scripts that one can use (like Slakin) that let you create user registration forms for Slack. I was poking around in the Slakin code and the Slack API and I extracted the part that actually invites the users. You can use this code to create your own custom invite tools for Slack.

Here is an example of how to invite a user to Slack with Python 3: