Skip to content

Instantly share code, notes, and snippets.

View ligustah's full-sized avatar

André Bierlein ligustah

View GitHub Profile
@ligustah
ligustah / waitForKeyElements.js
Created April 12, 2021 15:56 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@ligustah
ligustah / designer.html
Created October 7, 2015 18:40
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@ligustah
ligustah / designer.html
Created August 23, 2015 08:30
designer
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@ligustah
ligustah / main.go
Created May 5, 2015 11:10
Weird behavior around value method errors
package main
import (
"log"
)
type ErrorType struct {
}
func (e ErrorType) Error() string {
module tojsons
import json
local orig_toJSON = json.toJSON
local function obj2Table(value : instance) {
local t = {}
foreach(k, v; fieldsOf(value)) {
if(isInstance(v))
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