Skip to content

Instantly share code, notes, and snippets.

INFO: Initializing Spring root WebApplicationContext
Configuring Spring Security ...
Sep 24, 2010 7:39:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'grails'
Sep 24, 2010 7:40:42 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
com.tc.util.TCAssertionError: Assertion failed: The SRA com.terracotta.session.sra.SRAHttpSessions@12bec3e is registering a non-unique name 'http sessions'.
at com.tc.util.Assert.failure(Assert.java:60)
at com.tc.util.Assert.eval(Assert.java:80)
<VirtualHost *:80>
ServerAdmin csullivan@integrityemr.com
#ServerName haproxy.integritylogin.com
DocumentRoot /var/www/
ErrorLog /var/log/apache2/haproxy-error.log
# Redirect 301 / https://uat.integritydigitalsolutions.com/SledgeHammer
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
require "ftools"
require 'digest/md5'
EmailAddress = begin
qtext = '[^\\x0d\\x22\\x5c\\x80-\\xff]'
dtext = '[^\\x0d\\x5b-\\x5d\\x80-\\xff]'
atom = '[^\\x00-\\x20\\x22\\x28\\x29\\x2c\\x2e\\x3a-' +
'\\x3c\\x3e\\x40\\x5b-\\x5d\\x7f-\\xff]+'
quoted_pair = '\\x5c[\\x00-\\x7f]'
We couldn’t find that file to show.
there appears to be a way to stop daemons from being started when they are installed: apparently just create /usr/sbin/policy-rc.d with "#!/bin/sh; exit 101"
the way I read it (here's a link that's not an e-mail: http://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt) scripts usually call invoke-rc.d but if you have policy-rc.d that gets called. I'm not sure where else invoke-rc.d is called and don't know what the consequences would be
class AuditLog {
static searchable = true
String uuid
String requestId
String ipAddress
String username // User Causing the action
String patientMrn // Patient affected
Long encounterId // Encounter affected
@CharlieSu
CharlieSu / LICENSE.txt
Created February 20, 2012 03:08 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# git alias definitions
alias gst='git status'
alias gl='git pull'
alias gp='git push'
alias gd='git diff | mate'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'
Oct 25 15:19:15 ip-10-191-83-58 internal-sftp[7953]: session opened for local user tester from [74.192.145.45]
Oct 25 15:19:15 ip-10-191-83-58 internal-sftp[7953]: received client version 3
Oct 25 15:19:15 ip-10-191-83-58 internal-sftp[7953]: realpath "."
Oct 25 15:19:15 ip-10-191-83-58 internal-sftp[7953]: opendir "/"
Oct 25 15:19:16 ip-10-191-83-58 internal-sftp[7953]: closedir "/"
Oct 25 15:16:56 ip-10-191-83-58 internal-sftp[7874]: open "/in/bootstrap.zip" flags WRITE,CREATE,TRUNCATE mode 0644
Oct 25 15:16:56 ip-10-191-83-58 internal-sftp[7874]: close "/in/bootstrap.zip" bytes read 0 written 81116
Oct 25 15:17:09 ip-10-191-83-58 internal-sftp[7874]: open "/in/bootstrap (2).zip" flags WRITE,CREATE,TRUNCATE mode 0644
Oct 25 15:17:09 ip-10-191-83-58 internal-sftp[7874]: close "/in/bootstrap (2).zip" bytes read 0 written 81116
Oct 25 15:19:06 ip-10-191-83-58 internal-sftp[7874]: session closed for local user tester from [74.192.145.45]
#!/usr/bin/env python
import httplib
import base64
import json
auth = base64.encodestring('{0}:{1}'.format('guest','guest'))
headers = {'Content-type':'application/json','Authorization':'Basic {0}'.format(auth)}
def remove_vhost(vhost):