Packer
-
Packer is used to build image from a base image, perform provisions and store (commit) the final image.
-
We use provisioners and Packer templates to do the actual work to create the final image.
-
We use Ansible for provisioning.
PRODUCT_HOME="$1" | |
IOS_CERTS="$2" | |
IP="$3" | |
PRODUCT_CONF="$4" | |
CONFIG_FILE="./openssl_custom.cnf" | |
TEMP_FOLDER="./temp" | |
PUSH_CERT="`echo $IOS_CERTS`pushcert.pfx" | |
PUSH_PASS="" | |
MDM_CERT="`echo $IOS_CERTS`PlainCert.pfx" | |
MDM_PASS="" |
#!/usr/bin/env python | |
# Neova Health | |
# Helper script to convert VBox .ova export for import to VMWare ESXi | |
# usage: | |
# conv-ova4vmx.py some-vbox-export.ova | |
# forked from : https://gist.github.com/eshizhan/6650285 | |
import sys | |
import tarfile |
#!/bin/bash | |
# | |
# Example of how to parse short/long options with 'getopt' | |
# | |
OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
echo "$OPTS" |
Packer
Packer is used to build image from a base image, perform provisions and store (commit) the final image.
We use provisioners and Packer templates to do the actual work to create the final image.
We use Ansible for provisioning.
#### this is the main config file for nginx, to specify it from the command line, use the -c switch, e.g | |
#### nginx.exe -c nginx-railo.conf | |
##** if connecting to Tomcat, use Tomcat's RemoteIpValve to resolve CGI.REMOTE_ADDR, CGI.SERVER_NAME, and CGI.SERVER_PORT_SECURE | |
##** <Valve className="org.apache.catalina.valves.RemoteIpValve" protocolHeader="X-Forwarded-Proto" remoteIpHeader="X-Forwarded-For" protocolHeaderHttpsValue="https" /> | |
#user nobody; | |
#pid logs/nginx.pid; |
<?php | |
/** | |
* @package Custom_queries | |
* @version 1.0 | |
*/ | |
/* | |
Plugin Name: Custom queries | |
Plugin URI: http://wordpress.org/extend/plugins/# | |
Description: This is an example plugin | |
Author: Carlo Daniele |
I hereby claim:
To claim this, I am signing this object:
[dash-to-panel] | |
panel-position='BOTTOM' | |
show-appmenu=false | |
animate-show-apps=false | |
panel-size=32 | |
show-activities-button=false | |
show-show-apps-button=false |
#!/bin/bash | |
server='hastebin.com'; | |
usage="$0 pastes into $server | |
usage: $0 something | |
example: '$0 pie' or 'ps aufx |$0'" | |
if [ -z $1 ]; then | |
str=`cat /dev/stdin`; |