Skip to content

Instantly share code, notes, and snippets.

# https://github.com/uBlockOrigin/uAssets/pull/3517
twitch-videoad.js application/javascript
(function() {
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; }
var realFetch = window.fetch;
window.fetch = function(input, init) {
if ( arguments.length >= 2 && typeof input === 'string' && input.includes('/access_token') ) {
var url = new URL(arguments[0]);
url.searchParams.forEach(function(value, key) {
url.searchParams.delete(key);
{
"textures": {
"bucket": "blocks/iron_block",
"liquid": "blocks/water_still"
},
"elements": [
{ "comment": "top outer - west",
"from": [ 0, 9, 2 ],
"to": [ 1, 16, 14 ],
"faces": {
> packageDeclaration
DATA: package
> qualifiedName
DATA: nl
DATA: .
DATA: grum
DATA: .
DATA: grummifier
< qualifiedName
DATA: ;
foo(foo(1,2,2,4));
foo(
foo(
1,
2,
2,
4
)
);
// Meh first version is saner
interface Location extends Position, BlockLocation {
}
interface BlockLocation extends BlockPosition, Locatable {
}
interface Locatable {
World getWorld();
erikbroes@db-dev1:~/src/WhoisParentPOM (master)$ rm -rf /home/erikbroes/.m2/repository/; ../tools/apache-maven-3.0.2/bin/mvn -X clean
Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
Java version: 1.6.0_07, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-sun-1.6.0.07/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.24-etchnhalf.1-amd64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /home/erikbroes/src/tools/apache-maven-3.0.2/conf/settings.xml
[DEBUG] Reading user settings from /home/erikbroes/.m2/settings.xml
[DEBUG] Using local repository at /home/erikbroes/.m2/repository
package org.bukkit;
import java.io.ObjectInputStream.GetField;
/**
* Represents the inventory
* @author Grum
*/
public interface Inventory {
/**
2010-12-01 20:11:46 [WARNING] Failed to handle packet: java.lang.NullPointerException
java.lang.NullPointerException
at ep.a(SourceFile:1048)
at ew.b(SourceFile:42)
at jh.a(jh.java:109)
at hc.a(SourceFile:126)
at bi.a(SourceFile:223)
at jh.a(jh.java:42)
at dr.a(dr.java:76)
at net.minecraft.server.MinecraftServer.h(SourceFile:269)
java.lang.Exception
at [World] eo.a(eo.java:719)
at [Block] ga.a(SourceFile:386)
at [Block] ga.a_(SourceFile:370)
at [BlockFlowing] ar.f(ar.java:132)
at [BlockFlowing] ar.a(ar.java:115)
at [World] eo.a(eo.java:1372)
at [World] eo.f(eo.java:1289)
at [WorldServer] ev.f(SourceFile:29)
at net.minecraft.server.MinecraftServer.h(SourceFile:265)
private void f(eo parameo, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
// if what (eo, x, y, z )
if (l(parameo, paramInt1, paramInt2, paramInt3)) {
// blockId = eo.getBlockId(x,y,z)
int i = parameo.a(paramInt1, paramInt2, paramInt3);
// if not air
if (i > 0) {
// if this is lava
if (this.bs == jw.g) {
// make lava noises! (where does it set to obsidian/cobble?