Let there be beer.
This file contains hidden or 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
<!-- | |
custom "Google Map" source for Mobile Atlas Creator 1.9.16 | |
save in *.xml and move to /mapsources | |
--> | |
<customMapSource> | |
<name>Google Map</name> | |
<minZoom>0</minZoom> | |
<maxZoom>20</maxZoom> | |
<tileType>PNG</tileType> |
This file contains hidden or 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
# test pull request for remote repository on github | |
# use: | |
# git test-pull REMOTE_NAME PULL_NUMBER | |
test-pull = "!f() { last_commit=$(git log -n 1 --pretty=format:\"%h\") && git fetch $1 pull/$2/head:pull$2 && git merge pull$2 -m \"Merge pull $2\" && echo \"Use for revert: git reset $last_commit && git reset --hard && git branch -D pull$2\"; }; f" | |
# revert, not work in some cases, be aware :smile: | |
# use | |
# git test-revert PULL_NUMBER | |
test-revert = "!f() { commit=$(git log --grep=\"Merge pull $1\" --pretty=format:\"%h\") && previous_commit=$(git log --reverse $commit -n 1 --skip=1 --pretty=format:\"%h\") && git reset $previous_commit && git reset --hard && git branch -D pull$1; }; f" |
This file contains hidden or 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
(function($){ | |
// chosen gag | |
$.fn.chosen = function(){ | |
// do nothing | |
return this.each(function() { | |
$(this).data('chosen', {}); | |
}); | |
} | |
// tooltips gag | |
$.fn.tooltip = function(){ |
This file contains hidden or 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
;(function($){ | |
"use strict"; | |
$.dummyPlugin = function(element, options){ | |
self.$element = $(element); | |
// merge options | |
this.options = $.extend({}, $.dummyPlugin.defaults, options); |
NewerOlder