Skip to content

Instantly share code, notes, and snippets.

Jason Parrott Moncader

Block or report user

Report or block Moncader

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2a5341a859836ccb554894501da27108
11-16 15:48:53.611 20335-20335/? I/WCNSS_FILTER: ibs_msm_serial_clock_vote: vote UART CLK ON using UART driver's ioctl()
11-16 15:48:53.646 20307-20341/? W/bt_smp: smp_br_connect_callback is called on unexpected transport 2
11-16 15:48:53.646 20307-20341/? W/bt_btif: bta_dm_acl_change info: 0x0
11-16 15:48:53.646 20307-20341/? E/bt_btif: bta_gattc_rebuild_cache: bta_gattc_rebuild_cache
11-16 15:48:53.646 20307-20328/? D/bt_btif_dm: remote version info [54:ab:3a:fc:15:14]: 0, 0, 0
11-16 15:48:53.647 20307-20328/? E/BluetoothRemoteDevices: state12newState0
11-16 15:48:53.649 20307-20328/? D/BtGatt.GattService: onConnected() - clientIf=7, connId=7, address=54:AB:3A:FC:15:14
11-16 15:48:53.650 12989-13001/? D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=7 device=54:AB:3A:FC:15:14
11-16 15:48:53.651 12989-6849/? D/BluetoothGatt: requestConnectionPriority() - params: 1
11-16 15:48:53.655 20307-20318/? D/BtGatt.GattService: connectionParameterUpdate() - address=54:AB:3A:FC:15:14params=1 interval=9/12
View designer.html
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<polymer-element name="my-element">
@Moncader
Moncader / gist:5011288
Created Feb 22, 2013
Pretending to be an Array (like DOMTokenList needs to do)
View gist:5011288
function DOMTokenList() {
Object.defineProperty(this, 'length', {
enumerable: true,
configurable: false,
get: function() {
var tLargestNumber = -1;
var tKeys = Object.keys(this);
var tTemp, tKey;
for (var i = 0, il = tKeys.length; i < il; i++) {
@Moncader
Moncader / gist:3521832
Created Aug 30, 2012
JS Class Style Inheriting
View gist:3521832
function inherit(pThis, pBase) {
pThis.prototype = Object.create(pBase.prototype);
pThis.prototype.constructor = pThis;
pThis.prototype.super = pBase.prototype;
}
function Animal() {
this.type = 'animal';
this.num = 34;
}
You can’t perform that action at this time.