This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../cool-clock/cool-clock.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
) | |
type ErrorType struct { | |
} | |
func (e ErrorType) Error() string { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module tojsons | |
import json | |
local orig_toJSON = json.toJSON | |
local function obj2Table(value : instance) { | |
local t = {} | |
foreach(k, v; fieldsOf(value)) { | |
if(isInstance(v)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mobspawn metadata: 91 00 00 00 00 10 00 52 00 00 00 08 7F | |
mobspawn metadata: 91 00 00 00 00 10 00 52 00 00 00 00 7F | |
update #46729 metadata: 52 00 00 00 06 7F | |
//after taming (same packet for each of the wolves) | |
update #46535 metadata: 91 00 08 4C 69 67 75 73 74 61 68 10 05 52 00 00 00 14 7F | |
update #53378 metadata: 91 00 08 4C 69 67 75 73 74 61 68 10 05 52 00 00 00 14 7F | |
//for tamed wolves | |
/sitting down |