This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some test gist. I can save it and edit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! 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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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($) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://localhost/federationmetadata/2007-06/federationmetadata.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios'); | |
const fs = require('fs-extra'); | |
const path = require('path'); | |
const DISCOURSE_URL = 'https://aha.betterexplained.com'; | |
const OUTPUT_DIR = 'discourse_export'; | |
// Configuration for categories to export | |
const EXPORT_CATEGORIES = [ | |
{ id: 5, name: 'Community Guides' }, |