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
$('.classCheckbox').each(function() { | |
if ($(this).is(':checked') && $('#master_checkbox').is(':checked') == false) | |
$(this).trigger('click'); | |
else if (!$(this).is(':checked') && $('#master_checkbox').is(':checked') == true) | |
$(this).trigger('click'); | |
}); |
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
# HTML example <span class="dateTZ">2020-09-08 13:07:42</span> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment-with-locales.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.31/moment-timezone-with-data.min.js"></script> | |
<script> | |
function updateDateLocalTZ(classID) | |
{ | |
$(`.${classID}`).html(moment.tz(moment.utc($(`.${classID}`).html()), moment.tz.guess(true)).format('llll')) | |
} | |
$( document ).ready(function() { |
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
"use strict" | |
const shell = require("shelljs") | |
const args = process.argv | |
if (args[2] == undefined) { | |
console.log(`You must enter your policy name`) | |
return false | |
} | |
const policyName = args[2] |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Google Maps Blue Dot</title> | |
<style> | |
#map { | |
height: 100%; | |
} |
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
"use strict"; | |
const shell = require("shelljs"); // npm install shelljs | |
const args = process.argv; | |
// updateVersion.js [version] [filter=optional] | |
let filter = ""; | |
if (args[2] == undefined) { | |
console.log(`You must enter a alias name`); |