Skip to content

Instantly share code, notes, and snippets.

@johnmurrayvi
johnmurrayvi / ng-stacktrace
Last active December 18, 2015 13:38
nightingale xul-9 stacktrace
jmurray@jjmvi-AMD-ubuntu:/mnt/git/nightingale/nightingale/compiled/dist$ gdb ././nightingale-bin 9615
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
@johnmurrayvi
johnmurrayvi / 51-android.rules
Last active November 26, 2021 14:41
Udev permission for android devices
## Acer
#SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0600", OWNER="<username>"
## ASUS
#SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0600", OWNER="<username>"
## Dell
#SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0600", OWNER="<username>"
## Foxconn
@johnmurrayvi
johnmurrayvi / bst.hpp
Created December 24, 2011 20:41
binary search tree w/ iterators and parent-aware children
#ifndef BST_H
#define BST_H
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <queue>
using namespace std;
template <class TKey>