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 | |
# print last timestampe from last two log files | |
# "2016-10-28T14:21:28.022-04:00" | |
# compare the date to now and return if > 5 min | |
# convert date to unix epoch | |
if [ $# = 1 ]; then | |
now=$(date +"%F %T"); | |
if [[ $(date -d `cat $(ls -1tr /syslog/vsynch/app*.log*) | grep "pushing changes" | cut -c1-19 | tail -1` +%s ) > `date -d "$1 secs ago" +%s` ]]; | |
then echo "$now: VSYNC UP" >> /syslog/vsynch/vsync-monitor.log; | |
else mail -s "vsync down!" asa@baylus.com,cprocunier@gmail.com,parmstrong@ifthen.com < /dev/null; |
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
#GLOBAL | |
HTTPRESPONSE="json" | |
SUCCESS="success" | |
#TEST | |
#UIARTFCT="org.acs.cq-code-476" | |
#UILOC="/appl/bamboo-home/xml-data/build-dir/393217/CQ5-MASTER-JOB1/ui/target/" | |
#AUTHORHOST="cmsautdev.acs.org" | |
#AUTHORPORT="443" | |
#AUTHORPROTOCOL="https://" |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>International Center Search</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<!-- Search Engine Verify for Home Page --> | |
<meta name="msvalidate.01" content="3D92C0EE929BE04567ECFDE4F390DC96" /> | |
<meta name="google-site-verification" content="xL7RtAlI13QtadjUtrjw9-TnDxGRYmO6ysBvEd9_xwQ" /> | |
<meta name="y_key" content="1940ff70ba0e0bee" /> |
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
// paste the following into a new bookmark called CQ5 Preview | |
javascript:(function(){ | |
function updateQueryStringParameter(uri, key, value) { | |
var re = new RegExp("([?|&])" + key + "=.*?(&|$)", "i"); | |
separator = uri.indexOf('?') !== -1 ? "&" : "?"; | |
if (uri.match(re)) { | |
return uri.replace(re, '$1' + key + "=" + value + '$2'); | |
} | |
else { | |
return uri + separator + key + "=" + value; |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head id="Head1"><title> | |
ACS Email Management | |
</title><meta id="storemsg" name="storemsg" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<meta name="application" content="Giving"/> | |
<!-- Search Engine Verify for Home Page --> | |
<meta name="msvalidate.01" content="3D92C0EE929BE04567ECFDE4F390DC96" /> | |
<meta name="google-site-verification" content="xL7RtAlI13QtadjUtrjw9-TnDxGRYmO6ysBvEd9_xwQ" /> |
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
(function() { | |
var config = { | |
kitId: "XXXXXXX", | |
scriptTimeout: 3000 | |
} | |
, l = "wf-loading" | |
, d = "wf-inactive" | |
, h = $("html").addClass(l) | |
, t = setTimeout(function(){ | |
h.removeClass(l).addClass(d); |
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
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: '<json:jquery.sessiontimeout.js.jquery.json>', | |
meta: { | |
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + | |
'<%= grunt.template.today("yyyy-mm-dd") %>\n' + | |
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' + |
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 users = { | |
"a54bca8764-13bx5-8nln8s-0ga7d" : { | |
"name" : "Louise Voress", | |
"type" : "Committee", | |
"primarynominator" : "Dorrie Hutchison", | |
"reviewer1" : {"name" : "Tom Jones", "grade" : "A", "comments" : "", "status" : "Saved"}, | |
"reviewer2" : {"name" : "Lucy Young", "grade" : "A", "comments" : "", "status" : "Saved"}, | |
"adjudicator" : {"name" : "Steven Taylor", "recommendation" : "Yes", "comments" : "", "status" : "Saved"}, | |
"os" : [ | |
{"name" : "Kevin Joseph", "vote" : "Yes", "comments" : "", "status" : "Saved"}, |
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/sh | |
# | |
# nginx - this script starts and stops the nginx daemin | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /usr/local/nginx/conf/nginx.conf | |
# pidfile: /usr/local/nginx/logs/nginx.pid |
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'; | |
var tagBody = '(?:[^"\'>]|"[^"]*"|\'[^\']*\')*', | |
tagOrComment = new RegExp( | |
'<(?:' + | |
// Comment body. | |
'!--(?:(?:-*[^->])*--+|-?)' + | |
// Special "raw text" elements whose content should be elided. | |
'|script\\b' + tagBody + '>[\\s\\S]*?</script\\s*' + |