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
import json | |
import struct | |
ANIMATION_COMMANDS = { | |
1: ('wait_for_click', []), | |
10: ('clear_text', []), | |
11: ('show_title', [('i', 'text_id')]), | |
12: ('show_main', [('i', 'text_id')]), | |
15: ('center_map', [('f', 'x'), ('f', 'y')]), | |
16: ('zoom_map', [('f', 'x'), ('f', 'y')]), |
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
#!/bin/bash | |
# This is implementation of the script that compresses old maildir messages | |
# as described in http://wiki2.dovecot.org/Plugins/Zlib | |
# | |
# Copyright (C) 2016 by Konstantin Ryabitsev | |
# | |
# MIT License | |
# | |
# 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 |
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
var oldJQueryEventTrigger = jQuery.event.trigger; | |
jQuery.event.trigger = function( event, data, elem, onlyHandlers ) { | |
console.log( event, data, elem, onlyHandlers ); | |
oldJQueryEventTrigger( event, data, elem, onlyHandlers ); | |
} |