A css map marker with animations on a google map.
Dependencies / Credits
- jQuery
- Google Maps
- dynamics.js | Michaël Villar
- Map marker CSS only | Andreas Storm
#!/bin/bash | |
# | |
# | |
# Example usage: | |
# . jenkins-crop && post_build_job_with_parameters release 9.9.9 dt ff crop-9536-atats-validation | |
# | |
# The order of the parameters do not matter, except the comma-separated feature | |
# flags do need to come right after `ff`. | |
######### |
A css map marker with animations on a google map.
Dependencies / Credits
(defmacro repeater-map-more (keymaps &optional msg) | |
"For complex maps in which multiple repeatable keys are attached to | |
functions." | |
`(set-temporary-overlay-map | |
(let ((map (make-sparse-keymap))) | |
(loop | |
for (repeat-key fun) in ,keymaps | |
do (define-key map (vector repeat-key) | |
`(lambda () (interactive) | |
(if ,msg |
(defun jqt/skip-ads (&optional seconds) | |
"SECONDS default to 30" | |
(interactive "p") | |
(let* ((seconds (number-to-string (or seconds 30))) | |
(command "osascript -e 'output volume of (get volume settings)'") | |
(output (shell-command-to-string command)) | |
(current-volume (replace-regexp-in-string "[\s\n]" "" output)) | |
(set-volume-command "osascript -e 'set volume output volume %s'")) | |
(shell-command (format set-volume-command 0)) | |
(message "Ads stink! Turned volume (was at level %s) off for %s seconds..." current-volume seconds) |
;;;;;;;;;;;; | |
;; macros ;; | |
;;;;;;;;;;;; | |
(defmacro repeater-map (repeat-key fun) | |
"For one-key maps to repeatly called `fun'." | |
`(set-temporary-overlay-map | |
(let ((map (make-sparse-keymap))) | |
(define-key map (vector ,repeat-key) | |
,fun) | |
map) t)) |
;; Connect using jabber-connect | |
;; My username from the HipChat configuration | |
;; from https://www.hipchat.com/account/xmpp | |
(setq jabber-account-list '(("10804_81219@chat.hipchat.com"))) | |
;; To join HipChat rooms easily | |
(defvar hipchat-number "10804") | |
(defvar hipchat-nickname "Brian McKenna") | |
(defun hipchat-join (room) |