Skip to content

Instantly share code, notes, and snippets.

View robcee's full-sized avatar
🌶️
one million scovilles

Rob Campbell robcee

🌶️
one million scovilles
View GitHub Profile
@robcee
robcee / cbc-mp3.m3u
Created August 26, 2022 16:16 — forked from nevillepark/README.md
CBC MP3 stream urls
#EXTM3U
#PLAYLIST:CBC Radio Streams
#EXTINF:-1,CBC Music (Atlantic)
http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_hfx
#EXTINF:-1,CBC Music (Central)
http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_wpg

Writing an Actor

A Simple Hello World

Here's a simple Hello World actor. It is a global actor (not associated with a given browser tab).

let protocol = require("devtools/server/protocol");

let {method, Arg, Option, RetVal} = protocol;

Web Console output rewrite, bug 778766

This document describes the ongoing work for the Web Console output rewrite / reimplementation. Feedback is requested.

WORK IN PROGRESS!

Current issues

Issues currently affecting the Web Console output:

  • page navigation/reload issues:
@robcee
robcee / remote.js
Created August 16, 2012 15:27
Creating a remote debugger server
/**
* Creating a remote debugger server.
*/
Cu.import("resource://gre/modules/devtools/dbg-server.jsm");
if (!DebuggerServer.initialized) {
DebuggerServer.init(function() true);
DebuggerServer.addBrowserActors();
}
DebuggerServer.closeListener();
@robcee
robcee / quotes
Created May 28, 2012 13:36 — forked from paulrouget/quotes
What robcee says
<robcee> where's my hat?,
-------
<robcee> u r teh smartest,
-------
<robcee> I WILL TAKE THIS BULLET FOR YOU,
-------
* robcee swears violently
* robcee continues swearing,
-------
<robcee> hey everybody, forget email. Let's all go skiing. (toboggans also acceptable),
@robcee
robcee / VMSetupExample.md
Last active December 17, 2015 23:19
Setting up SSH, Firewall, etc on a VM

VM Setup Instructions

Log in to your machine

ssh 111.111.111.111 -l root

Add wheel group

sudo /usr/sbin/groupadd wheel

@robcee
robcee / gist:2437511
Created April 21, 2012 14:51
Sample BrowserID + Nginx + Proxy setup (can work for node, django, flask, etc)
upstream gunicorn_frontends {
# We define the binding of the gunicorn web server
server 127.0.0.1:8000;
}
# we need to redirect www since browserid thinks www and non-www are different
server {
listen 80;
server_name www.yourdomain.com;
rewrite ^ http://yourdomain.com$uri permanent;
#!/bin/bash
# $Author: Mihai Sucan <mihai.sucan@gmail.com>$
# $Date: 2011-05-02 21:10:35 $
# usage:
# moztests -hud
# runs the HUDService tests
# moztests -ws
# runs the Workspace tests