Skip to content

Instantly share code, notes, and snippets.


Casey Watts caseywatts

View GitHub Profile
caseywatts / 0
Last active Feb 22, 2019
Generate Graphviz Files for Project
View 0

short url:

Graphviz is like markdown, for diagrams.

It's a tool that can transform text input into a "directed graph" output, which is nodes pointing to other nodes. You can use it for architecture diagrams, DB diagrams, documentation for users, etc.


You'll want to use a tool with a two-pane layout - the left side is the source text, the right side is the image output.

sukima / maybe.js
Last active Dec 30, 2015
Simple Maybe monad utility for dealing with lookup on objects, etc. (1.8kb minified)
View maybe.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory();
} else {
rain1024 /
Last active Nov 19, 2020
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
View application.js
$('.submittable').live('change', function() {
You can’t perform that action at this time.