Skip to content

Instantly share code, notes, and snippets.

View g1franc's full-sized avatar

g1franc

  • France / Luxembourg
  • 04:28 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am g1franc on github.
  • I am g1franc (https://keybase.io/g1franc) on keybase.
  • I have a public key ASAOCNbtRTem1mbGdVN3cNH9y86KzhoHLlR2CW6W6u7XrAo

To claim this, I am signing this object:

Run with mvn -X org.owasp:dependency-check-maven:aggregate
In build section:
<suppressionFile>${suppressionFile}</suppressionFile>
<suppressionFiles>
<suppressionFile>suppressions.xml</suppressionFile>${suppressionFiles}</suppressionFiles>
<swiftPackageManagerAnalyzerEnabled>${swiftPackageManagerAnalyzerEnabled}</swiftPackageManagerAnalyzerEnabled>
In reporting section:
<suppressionFile>${suppressionFile}</suppressionFile>
@g1franc
g1franc / check_ssl_certificate.sh
Created May 13, 2016 13:52 — forked from jclosure/check_ssl_certificate.sh
get ssl certificate and mail it to me for an fqdn
#!/bin/bash
# ensure all arguments are there
if [ "$#" -ne 3 ]; then
echo "Illegal number of parameters!"
echo "EXAMPLE USAGE: " $0 " blah.somedomain.com 443 myemail@somedomain.com"
exit
fi
HOSTNAME=$1
@g1franc
g1franc / workflow.groovy
Created October 20, 2015 14:12 — forked from cyrille-leclerc/workflow.groovy
W-JAX 14- Pimp Your Continuous Delivery Pipeline with the New Jenkins Workflow Engine
def qaCatalinaBase = '/opt/apache-tomcat-8-qa'
def qaHttpPort = 8081
def stagingCatalinaBase = '/opt/apache-tomcat-8-staging'
def stagingHttpPort = 8082
def perfsCatalinaBase = '/opt/apache-tomcat-8-perfs'
def perfsHttpPort = 8084
def productionCatalinaBase = '/opt/apache-tomcat-8-production'
#! /bin/bash
# Set up a default search path
PATH="/usr/bin:/bin"
CURL=`which curl`
if [ -z "$CURL" ]; then
echo "curl not found"
exit 1
fi
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Zabbix SMTP Alert script for gmail.
"""
import sys
import smtplib
from email.MIMEText import MIMEText
from email.Header import Header