Skip to content

Instantly share code, notes, and snippets.

View MrCsabaToth's full-sized avatar
🏠
Working from home

Csaba Toth MrCsabaToth

🏠
Working from home
View GitHub Profile
@MrCsabaToth
MrCsabaToth / SessionType.java
Created January 30, 2019 19:30 — forked from mressler/SessionType.java
sessionTypeUuid Disambiguation
package com.diamondkinetics.model.enums;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.diamondkinetics.model.json.SessionTypeSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@JsonSerialize(using = SessionTypeSerializer.class)
public enum SessionType {
@MrCsabaToth
MrCsabaToth / contactinfo_optimize_trace_composite2_unique.txt
Created April 18, 2016 19:08
Optimize trace output for a long runnign query
'{
"steps": [
{
"join_preparation": {
"select#": 1,
"steps": [
{
"expanded_query": "/* select#1 */ select `main_contactinfo`.`id` AS `id`,`main_contactinfo`.`first_name` AS `first_name`,`main_contactinfo`.`last_name` AS `last_name`,`main_contactinfo`.`club_name` AS `club_name`,`main_contactinfo`.`email` AS `email`,`main_contactinfo`.`team_name_id` AS `team_name_id`,`main_contactinfo`.`address` AS `address`,`main_contactinfo`.`city` AS `city`,`main_contactinfo`.`state` AS `state`,`main_contactinfo`.`zip` AS `zip`,`main_contactinfo`.`contact_type` AS `contact_type`,`main_contactinfo`.`relation` AS `relation`,`main_contactinfo`.`player_id` AS `player_id`,`main_contactinfo`.`last_modified` AS `last_modified`,`main_contactinfo`.`object_id` AS `object_id`,`main_contactinfo`.`sync_inactive` AS `sync_inactive`,`main_contactinfo`.`customer_account_id` AS `customer_account_id`,`main_contactinfo`.`is_asgr` AS `is_asgr`,`main_contactinfo`.`note` AS `note`,`main_contactinf
@MrCsabaToth
MrCsabaToth / yadcf filter reset button original
Created January 17, 2015 05:55
yadcf filter reset button original and with bootstrap
<div id="yadcf-filter-wrapper--reportTable-6" class="yadcf-filter-wrapper">
<input id="yadcf-filter--reportTable-6" class="yadcf-filter" type="text" .../>
<input id="yadcf-filter--reportTable-6-reset" class="yadcf-filter-reset-button" type="button".../>
</div>