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 | |
# cron job list for all users, from http://stackoverflow.com/a/137173/6331375 | |
# System-wide crontab file and cron job directory. Change these for your system. | |
CRONTAB='/etc/crontab' | |
CRONDIR='/etc/cron.d' | |
# Single tab character. Annoyingly necessary. | |
tab=$(echo -en "\t") |
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
// guarantee fresh data on the first-loaded page (stays cached in DOM) | |
// see https://github.com/jquery/jquery-mobile/issues/4050 | |
$(document).on('pagebeforechange', function(event, data) { | |
var $all_pages = $.mobile.pageContainer.find(':jqmData(role="page")'), | |
$cur_page = $.mobile.activePage, | |
$first_page, // unenhanced if fresh load of URL w/ hash in browser w/o pushSate support | |
first_page_data, | |
toPage_type, | |
root_url, | |
nav_urls; |