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
# | |
# Author: Tad DeVries | |
# Email: [email protected] | |
# FileName: AddCert.ps1 | |
# | |
# Description: Allow a simple method to sign code. | |
# | |
# Copyright (C) 2010 Tad DeVries | |
# | |
# This program is free software; you can redistribute it and/or |
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
param( [switch]$parent, [switch]$child, [switch]$help, [string]$template ); | |
function displayHelp() | |
{ | |
echo "Input is piped in from the command line.`nThis script will process some stuff"; | |
echo "Parameters:`n"; | |
echo "`t-child`tProcess the child nodes"; | |
echo "`t-parent`tProcess the parent nodes"; | |
echo "`nExample:"; | |
echo "`t1,2,3|.\InputTest.ps1 -child -parent"; |
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
# | |
# Author: Tad DeVries | |
# Email: [email protected] | |
# FileName: RunElevated.ps1 | |
# | |
# Description: | |
# Creates a "sudo" like command to elevate another | |
# command to administrative level. This is used to | |
# simplify the CLI interaction and create a little | |
# home like feeling for the *nix users out there. |
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
# | |
# Author: Tad DeVries | |
# Email: [email protected] | |
# FileName: SignCode.ps1 | |
# | |
# Description: | |
# Uses a codesigning certifcate in your certificate list | |
# to sign the code. You may need to edit the options below | |
# to select the correct certificate if you have more than | |
# one like I do. |
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
<?php | |
/* | |
# Author: Tad DeVries | |
# Email: [email protected] | |
# FileName: yamlStorage.class.php | |
# | |
# Description: | |
# This class provides a simple mechanism for inserting/modifying/deleting | |
# information in a YAML file. | |
# |
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
/* | |
* Author: Tad DeVries <[email protected]> | |
* Date: 2013/02/27 | |
* | |
* Language: C | |
* | |
* Description: This program demonstrates a simple doubly linked list | |
* used to store names and phone numbers. There are methods to add, search, | |
* edit, delete, and print records. This program ignores user input validation | |
* since pointer and memory manipulation are the key goals. |
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
server { | |
listen 80; | |
listen [::]:80 default server ipv6only=on; | |
location / { | |
proxy_intercept_errors on; | |
proxy_pass http://localhost:9000; | |
} | |
error_page 500 502 503 504 /50x.html; |
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 | |
# | |
# Copyright (C) 2013 Tad DeVries <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free Software | |
# Foundation, either version 3 of the License, or (at your option) any later | |
# version. | |
# | |
# This program is distributed in the hope that it will be useful, but WITHOUT |
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
server { | |
listen 80; | |
#listen [::]:80; | |
server_name mail.gwtest.us autodiscover.gwtest.us; | |
return 301 https://$host$request_uri; | |
} | |
server { | |
listen 443; | |
#listen [::]:443 ipv6only=on; |
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
server { | |
listen 443; | |
server_name autodiscover.gwtest.us; | |
# Enable SSL | |
ssl on; | |
ssl_certificate /etc/ssl/nginx/mail.gwtest.us.crt; | |
ssl_certificate_key /etc/ssl/nginx/mail.gwtest.us.open.key; | |
ssl_session_timeout 5m; |
OlderNewer