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
# Filename: Set-SSLCert_Chef_Vagrant.ps1 | |
# Brian Dwyer - 5/22/14 | |
# ***USAGE*** | |
# To Setup the SSL_CERT_FILE Variable | |
# ./Set-SSLCert_Chef_Vagrant.ps1 set | |
# To Remove the SSL_CERT_FILE Variable | |
# ./Set-SSLCert_Chef_Vagrant.ps1 unset |
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
# Filename: Set-ChefDK_Enviro_Vars.ps1 | |
# Brian Dwyer - Intelligent Digital Services - 11/5/14 | |
# ***USAGE*** | |
# To Setup the ChefDK Ruby Variables | |
# ./Set-ChefDK_Enviro_Vars.ps1 set | |
# To Remove the ChefDK Ruby Variables | |
# ./Set-ChefDK_Enviro_Vars.ps1 unset |
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 | |
# Kali VMware Tools Installation Script | |
# Brian Dwyer - Intelligent Digital Services - 03/28/15 | |
# Check for VMware Tools Tarball | |
if [[ ! $(ls /media/cdrom/VMwareTools*.tar.gz 2>/dev/null) ]] ; then | |
echo 'Cannot find VMware Tools... Click Install VMware Tools in the GUI before running this!' | |
exit 1 | |
fi |
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
# AWS Global ELB SSL Policy | |
# Brian Dwyer - Intelligent Digital Services - 4/5/15 | |
# Variables | |
$PolicyName="SSL-POLICY--$(Get-Date -Format yy-MM-ddTHHmmss)" | |
$ELBReferencePolicy='ELBSecurityPolicy-2015-03' | |
# Dependencies | |
Import-Module AWSPowerShell |
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 | |
# Lenovo IX4-300D High CPU Usage Fix | |
# Brian Dwyer - 8/11/15 | |
# Make a directory to mount the boot image | |
mkdir /tmp/mount | |
# Mount the boot image | |
mount -o loop /boot/images/apps /tmp/mount |
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 | |
# $Id: VirtualBox_Uninstall.tool 89624 2013-10-07 16:13:23Z bird $ | |
## @file | |
# VirtualBox Uninstaller Script. | |
# | |
# | |
# Copyright (C) 2007-2013 Oracle Corporation | |
# | |
# This file is part of VirtualBox Open Source Edition (OSE), as |
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
# DigitalOcean Metadata Chef Library | |
# rubocop:disable LineLength | |
require 'net/http' | |
# Public: This defines a module to retrieve Metadata from DigitalOcean | |
module DoMetadata | |
DO_METADATA_ADDR = '169.254.169.254' unless defined?(DO_METADATA_ADDR) | |
DO_SUPPORTED_VERSIONS = %w( v1 ) | |
DO_DEFAULT_API_VERSION = 'v1' |
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
# knife cheat | |
## Search Examples | |
knife search "name:ip*" | |
knife search "platform:ubuntu*" | |
knife search "platform:*" -a macaddress | |
knife search "platform:ubuntu*" -a uptime | |
knife search "platform:ubuntu*" -a virtualization.system | |
knife search "platform:ubuntu*" -a network.default_gateway |
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
# => YOURLS URL Shortener Configuration | |
location /u/ { | |
root /var/www/api/urls/; | |
rewrite ^/(.*)/$ /$1/index.php last; # Enables index functionality (only really used for /u/admin/) | |
rewrite ^/u/(.*)$ /$1 break; # Strips /u/ from the URI for static files | |
try_files $uri /u/yourls-loader.php$is_args$args; | |
# => API PHP-FPM | |
location ~ \.php$ { | |
fastcgi_split_path_info ^/u(.+?\.php)(.*)$; |
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
module bdwyertech-vmwaretools 1.0; | |
require { | |
type unconfined_t; | |
type lib_t; | |
type unconfined_service_t; | |
class process transition; | |
class file entrypoint; | |
} |
OlderNewer