Skip to content

Instantly share code, notes, and snippets.

@GochoMugo
GochoMugo / Makefile
Last active August 29, 2015 14:03
A Makefile to install the latest Addon SDK from Mozilla.org
.PHONY: download_cfx, find_cfx, install_cfx, clean
init:
make install_cfx
download_cfx:
@wget -q -O cfx.zip https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.zip
@mkdir temp cfx
@unzip -q cfx.zip -d temp
@cp -r temp/*/. cfx
@GochoMugo
GochoMugo / prism-markdown.js
Last active April 19, 2019 00:11
Prism-Markdown
/*
* This piece of code uses jQuery
*
* I'm also using Showdown to convert my markdown to html.
* You can get a copy from
* http://softwaremaniacs.org/playground/showdown-highlight/showdown.js
*
* I'm also using Prism.js from http://prismjs.com/
* to syntax-highlight my code.
*