Skip to content

Instantly share code, notes, and snippets.

View stevenriggs's full-sized avatar
🙃

Steven Riggs stevenriggs

🙃
View GitHub Profile
@stevenriggs
stevenriggs / FindAndReplaceFiles.vbs
Created March 22, 2015 01:20
This script will get each file contained in the same folder as this script and search for files named the same on all physical drives of the computer it is executed on. If a match is found, it will be replaced by the file included in the same folder as this script. I'm sure this makes no sense. Good luck.
' file: FindAndReplaceFiles.vbs
' author: Steven Riggs
' created: 3/16/10
' modified: 3/17/10
' This script will get each file contained
' in the same folder as this script and search
' for files named the same on all physical
' drives of the computer it is executed on.
' If a match is found, it will be replaced by
@stevenriggs
stevenriggs / ePOAgent.vbs
Created March 22, 2015 01:17
McAfee ePOAgent verify and install
Option Explicit
'==================================
' Plagarized by Steven Riggs (thanks google!)
' created:08/14/2009
' modified: 08/17/2009
'
' The script will check to see if the agent is installed, the current version, and the ePO
' server IP address. If any of the above mentioned items are incorrect according to your
' variables, the new agent will be installed.
@stevenriggs
stevenriggs / base_package_code.vbs
Created March 22, 2015 01:13
Skeleton script to build a Windows application deployment for use with SCCM, Altiris, etc.
'base version:6
'DESCRIPTION OF TASKS
'AUTHOR
'DATE CREATED
'To run this silently:
'cscript.exe install_APPNAME.vbs /q
'Deal with command line arguments
Dim IsSilent
@stevenriggs
stevenriggs / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@stevenriggs
stevenriggs / createsslcerts.sh
Last active August 29, 2015 14:16
Bash shell script for generating self-signed certs.
#!/bin/bash
# Bash shell script for generating self-signed certs.
#
# By: Steven Riggs
# Date: 2/19/2015
#
# Requires JDK 1.6 to generate a java keystore file (.jks)
#
# Script accepts 3 arguments