Skip to content

Instantly share code, notes, and snippets.

View qq99's full-sized avatar

Anthony Cameron qq99

View GitHub Profile
@qq99
qq99 / install.html
Created August 6, 2015 06:33
Example of simple HTML file to install a fxos app
<!DOCTYPE html>
<head>
<script>
function installApplication () {
var manifestLocation = window.location.protocol + "//" + window.location.host + "/manifest.webapp";
console.log("Attempting to install from", manifestLocation);
var installApp = navigator.mozApps.install(manifestLocation);
// Successful install
{
"version" : "0.0.4",
"name" : "echoplexus",
"launch_path" : "/",
"installs_allowed_from" : ["*"],
"developer": {
"name": "Anthony Cameron",
"url": "https://echoplex.us"
@qq99
qq99 / gist:1323b8620b2f9dceeb50
Created July 27, 2014 21:52
Georgify, modified by qq99, originally from Tuhin Kumar
@charset "utf-8";
/* CSS Document */
@-moz-document domain(news.ycombinator.com) {
/* Georgify for Hacker News by Tuhin Kumar (http://tuhinkumar.com) */
body center table {background-color: #ffffff!important; width:700px!important; max-width:700px!important}
table {background-color: #ffffff!important; width:700px!important;}
tbody tr td {background-color: #ffffff!important;}
@qq99
qq99 / gist:a5040a9f70e95558a84e
Created July 7, 2014 20:16
Preferences.sublime-settings
{
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
"ensure_newline_at_eof_on_save": true,
"find_selected_text": true,
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
@qq99
qq99 / keybase.md
Created March 24, 2014 20:09
keybase.md

Keybase proof

I hereby claim:

  • I am qq99 on github.
  • I am qq99 (https://keybase.io/qq99) on keybase.
  • I have a public key whose fingerprint is 1526 F390 8C30 3502 322B E217 80E3 471A A3B4 3694

To claim this, I am signing this object:

@qq99
qq99 / nginx.conf
Created January 19, 2014 04:01 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048