Skip to content

Instantly share code, notes, and snippets.

View tschallacka's full-sized avatar

Tschallacka tschallacka

View GitHub Profile
[13:01:58] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[13:01:58] [main/INFO] [FML/]: Forge Mod Loader version 7.10.84.1217 for Minecraft 1.7.10 loading
[13:01:58] [main/INFO] [FML/]: Java is OpenJDK Client VM, version 1.7.0_65, running on Linux:i386:3.13.0-24-generic, installed at /usr/lib/jvm/java-7-openjdk-i386/jre
[13:01:58] [main/DEBUG] [FML/]: Java classpath at launch is /home/mdibbets/.minecraft/libraries/net/minecraftforge/forge/1.7.10-10.13.1.1217/forge-1.7.10-10.13.1.1217.jar:/home/mdibbets/.minecraft/libraries/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar:/home/mdibbets/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar:/home/mdibbets/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/mdibbets/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/mdibbets/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/mdibbets/.minecraft/libr
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101) [SimpleChannelInboundHandler.class:?]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:101) [SimpleChannelInboundHandler.class:?]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
at io.netty.channel.Simpl
public function boot() {
Event::listen('backend.page.beforeDisplay',function($controller) {
$controller->addCss('/plugins/exitcontrol/exitusers/assets/css/font-awesome.min.css');
}) ;
}
# ===================================
# List Column Definitions
# ===================================
columns:
sorter:
label: Priority
select: traveltour_to_tourtrip_buttons.sortorder
sortable: true
@tschallacka
tschallacka / Ideone.java
Last active February 7, 2020 13:49
Implementation of treemap test
/**
Copyright 2020 Tschallacka
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR O
/* package whatever; // don't place package name! */
/**
Copyright 2020 Tschallacka
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
FROM ubuntu:16.04
RUN PACKAGES="\
php-cli \
php-mysql \
php-intl \
php-xml \
php-curl \
php-dom \
" && \
@tschallacka
tschallacka / Seeder.php
Created November 2, 2022 19:39
Bigbridge importer example
<?php
declare(strict_types=1);
use Symfony\Component\Console\Output\OutputInterface;
use BigBridge\ProductImport\Api\Importer;
use Magento\Catalog\Api\ProductRepositoryInterface;
use Magento\Framework\Exception\NoSuchEntityException;
use BigBridge\ProductImport\Api\Data\SimpleProduct;
use BigBridge\ProductImport\Api\Data\SimpleProductFactory;
use BigBridge\ProductImport\Api\ImportConfigFactory;
use BigBridge\ProductImport\Api\ImporterFactory;
@tschallacka
tschallacka / AOP_magic_attributes_in_php.php
Created February 29, 2024 16:08
Using attributes to get "AOP" execution of attributes in php. The only caveat is that you need to extend a baseclass, and need to use private methods or methods starting with a _ so __call can work.
<?php
interface RunnableAttribute
{
public function run($object, ReflectionMethod $method, $args);
}
#[Attribute]
class CacheOutput implements RunnableAttribute
{