Skip to content

Instantly share code, notes, and snippets.

Kalid Azad kazad

Block or report user

Report or block kazad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View e.tex
\newcommand{\growth}{\color{c1}}
\newcommand{\unitQuantity}{\color{c2}}
\newcommand{\unitInterest}{\color{c3}}
\newcommand{\unitTime}{\color{c4}}
\newcommand{\perfectly}{\color{c5}}
\newcommand{\compounded}{\color{c6}}
$$\growth e
\plain =
\perfectly \lim_{n\to\infty}
@kazad
kazad / build.sh
Created Sep 11, 2015
Softcover build script
View build.sh
shopt -s expand_aliases
alias softcover-docker='docker run -v $(pwd):/opt/book -w /opt/book --rm=true --entrypoint /usr/local/bin/softcover kazad/softcover'
# Move and convert in place
rm chapters/*.md
cp src/* chapters/
# sync images
pushd images
rsync -rv --include '*/' --include '*.png' --include '*.jpg' --include '*.jpeg' --exclude '*' --prune-empty-dirs /Users/kazad/Dropbox/servers/betterexplained.com/wp-content/uploads/calculus .
View test
https://localhost/federationmetadata/2007-06/federationmetadata.xml
@kazad
kazad / fourier.html
Created Jun 25, 2014
BetterExplained Fourier Example
View fourier.html
<html>
<head>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
<script src="//ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>
<!--
TODO:
@kazad
kazad / mt-github.user.js
Created Sep 5, 2012
Github / MindTouch integration
View mt-github.user.js
// ==UserScript==
// @name MindTouch/Github integration
// @version 1.0
// @namespace http://mindtouch.com/github
// @description Make github better for MindTouch employees
// @include https://github.com/*/Deki*
// loading code from from http://userscripts.org/scripts/review/123588
function main($) {
@kazad
kazad / gist:3628157
Created Sep 4, 2012
Leftronic API Access
View gist:3628157
#!/bin/bash
#Which
Grep="`/usr/bin/which grep`"
Awk="`/usr/bin/which awk`"
Cat="`/usr/bin/which cat`"
Sed="`/usr/bin/which sed`"
Curl="`/usr/bin/which curl`"
# Scrape Nagios
View fancybox.css
/*! fancyBox v2.1.0 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
View gist:1228104
Some test gist. I can save it and edit.
You can’t perform that action at this time.