Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
set -euo pipefail
sudo yum install -y git unzip
python3 -m ensurepip --upgrade 2>/dev/null || true
python3 -m pip install pre-commit checkov
command -v tflint > /dev/null || curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
curl -o .pre-commit-config.yaml https://gist.githubusercontent.com/cfsnate/209d8f6abf88a2c590c61190b048ae86/raw/.pre-commit-config.yaml
@cfsnate
cfsnate / .pre-commit-config.yaml
Last active March 5, 2026 18:45
terraform-pc
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- id: detect-private-key
@cfsnate
cfsnate / install-openssh-windows-server-2016.ps1
Last active October 25, 2025 23:24 — forked from CJavierSaldana/install-openssh-windows-server-2016.ps1
Install OpenSSH on Windows Server 2016
# Execute it with elevated permissions
# Description:
# This script install automatically the open-ssh feature and enable it
# enable tls1.2 for downloads
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# creating openssh folder and download the zip
mkdir c:\openssh-install
cd c:\openssh-install
@cfsnate
cfsnate / rsm_setup.md
Created July 31, 2023 17:04 — forked from sean-smith/rsm_setup.md
Setup Ansys RSM on SOCA

Ansys HPC RSM SOCA

Remote Solve Manager is an Ansys software which enable PBS job submission from Ansys WorkBench interface.

First install

First set your Ansys Root, we'll use this throughout the doc to edit files:

export ANSYS_ROOT=/apps/ansys_inc/v202
@cfsnate
cfsnate / JAMFConfig.xml
Created October 29, 2022 14:47 — forked from WireFrameRate/JAMFConfig.xml
Managed App Configuration Specfile
<?xml version="1.0"?>
<managedAppConfiguration>
<version>3.10.0</version>
<bundleId>com.wireframerate.webframepro</bundleId>
<dict>
<!-- Homepage Options -->
<string keyName="com.wireframerate.webframepro.homepage_url">
<defaultValue>
<value>https://www.wireframerate.com/product-tour</value>
</defaultValue>