Skip to content

Instantly share code, notes, and snippets.

VM268:2
Pusher : Event recd : {"event":"client-ice-10","data":[{"candidate":"a=candidate:718709169 1 udp 2113937151 10.0.0.12 53479 typ host generation 0\r\n","id":"audio","label":0,"from":18198}],"channel":"presence-production-1"} VM268:2
Pusher : No callbacks on presence-production-1 for client-ice-10 VM268:2
Pusher : Event recd : {"event":"client-ice-10","data":[{"candidate":"a=candidate:718709169 1 udp 2113937151 10.0.0.12 53479 typ host generation 0\r\n","id":"audio","label":0,"from":18198},{"candidate":"a=candidate:718709169 2 udp 2113937151 10.0.0.12 53479 typ host generation 0\r\n","id":"audio","label":0,"from":18198}],"channel":"presence-production-1"} VM268:2
Pusher : No callbacks on presence-production-1 for client-ice-10 VM268:2
Pusher : Event recd : {"event":"client-ice-10","data":[{"candidate":"a=candidate:718709169 1 udp 2113937151 10.0.0.12 53479 typ host generation 0\r\n","id":"audio","label":0,"from":18198},{"candidate":"a=candidate:718709169 2 udp 2113937151 10.0.0.12 53479 typ host generat
Verifying myself: My Bitcoin username is +tommoor. https://onename.io/tommoor
@tommoor
tommoor / gist:725540ca17a47cd3b586
Created January 21, 2015 19:32
docker dir delete
docker@boot2docker:~$ mkdir haha
docker@boot2docker:~$ ls -la
total 16
drwxr-sr-x 7 docker staff 220 Jan 21 19:27 ./
drwxrwxr-x 3 root staff 60 Jan 21 19:27 ../
-rw-rw-r-- 1 docker staff 86 Jan 21 19:27 .ash_history
-rw-r--r-- 1 docker staff 446 Jan 21 19:27 .ashrc
drwx------ 2 docker staff 100 Jan 21 19:27 .docker/
drwxr-sr-x 3 docker staff 60 Jan 21 19:27 .local/
-rw-r--r-- 1 docker staff 920 Jan 21 19:27 .profile
@tommoor
tommoor / gist:68b6a726b444323379b1
Created September 1, 2015 23:58
Electron crash report
Process: Electron Helper [20614]
Path: /Users/USER/*/Speak.app/Contents/Frameworks/Electron Helper.app/Contents/MacOS/Electron Helper
Identifier: com.github.electron.helper
Version: 0
Code Type: X86-64 (Native)
Parent Process: Speak [20612]
Responsible: Terminal [240]
User ID: 501
Date/Time: 2015-09-01 16:07:03.986 -0700
@tommoor
tommoor / gist:1e37324a3e61cbd004e0
Created September 2, 2015 00:01
Electron crash
Process: Electron Helper [20436]
Path: /Users/USER/*/Speak.app/Contents/Frameworks/Electron Helper.app/Contents/MacOS/Electron Helper
Identifier: com.github.electron.helper
Version: 0
Code Type: X86-64 (Native)
Parent Process: Speak [20434]
Responsible: Terminal [240]
User ID: 501
Date/Time: 2015-09-01 16:00:27.686 -0700
@tommoor
tommoor / gist:1193229
Created September 4, 2011 18:00
Temporary profiling solution for Codeigniter Mongo_db library
<?php
public function get($collection = "")
{
if (empty($collection))
{
show_error("In order to retreive documents from MongoDB, a collection name must be passed", 500);
}
if (isset($this->wheres['_id']) and ! ($this->wheres['_id'] instanceof MongoId))
@tommoor
tommoor / copy-modules.js
Created October 1, 2015 14:12
NPM3 Electron Grunt
var exec = require('child_process').exec;
var chalk = require('chalk');
var path = require('path');
var _ = require('underscore');
var fs = require('fs-extra');
module.exports = function(grunt) {
var getModuleKeys = function(data) {
var list = [];
@tommoor
tommoor / gist:3832472
Created October 4, 2012 09:20
Buffer info/configuration endpoint (WIP)
{
"services":{
"twitter":{
"name":"Twitter",
"character_limit":140,
"schedule_limit":288,
"icons":{
"16":"http:\/\/static.bufferapp.com\/images\/services\/twitter-16x16.png",
"32":"http:\/\/static.bufferapp.com\/images\/services\/twitter-32x32.png",
"64":"http:\/\/static.bufferapp.com\/images\/services\/twitter-64x64.png"
{
"id": "56350d79653535000d1d0000",
"event": "channel.created",
"created_at": "2015-11-09T19:29:05",
"params": {
"id": "5640f4023139651b21020000",
"name": null,
"path": "meeting",
"public": true,
"public_url": "https://speak.io/meeting",
@tommoor
tommoor / gist:4357543
Created December 22, 2012 04:53
500 Server error in HelpScout API.
<?php
try {
$hs = ApiClient::getInstance();
$hs->setKey('REMOVED');
$customers = $hs->getCustomers(1, null, null, null, 'user@domain.com');
// found a single customer for this email address
if ($customers->getCount() == 1)
{