I hereby claim:
- I am stevenfollis on github.
- I am stevenfollis (https://keybase.io/stevenfollis) on keybase.
- I have a public key ASA9MxEDFrTKbVpehiiKM6ChYD1niUX7-QGa9m9rgbTywwo
To claim this, I am signing this object:
#!/bin/sh | |
# Manually setup a Docker Enterprise Cluster | |
# in Azure using the Azure CLI | |
# ================================ | |
# Azure Variables | |
# ================================ | |
CLUSTER_NAME='follis-cluster' # Used as the base name for Azure Resource Groups | |
AZ_LOCATION='eastus2' |
# Was asked how I keep my zshrc config sync'd between my computers with OneDrive | |
# Add a new directory in your OneDrive (or use an existing one) | |
mkdir -p ~/OneDrive/ohmyzsh | |
# move existing file to Dropbox | |
mv ~/.zshrc ~/OneDrive/ohmyzsh/zshrc | |
# symlink file back to your local directory | |
ln -s /mnt/c/Users/steve/OneDrive/ohmyzsh/zshrc ~/.zshrc |
{ | |
... | |
"schemes" : | |
[ | |
... | |
{ | |
"background" : "#292A2B", | |
"black" : "#292A2B", | |
"blue" : "#45A9F9", | |
"brightBlack" : "#002B36", |
# Distribute a Credential Spec file to all Windows Server cluster nodes | |
# gmsa.json by default, else set $env:CREDSPEC with filename | |
version: '3.3' | |
configs: | |
credspec: | |
file: ${ProgramData}/Docker/CredentialSpecs/${CREDSPEC:-gmsa.json} | |
services: | |
copy: | |
command: cmd /c copy credspec C:\\out\\${CREDSPEC:-gmsa.json} | |
configs: |
# Description: Boxstarter Script | |
# Author: Jess Frazelle <jess@linux.com> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
# Create directory to hold module files | |
mkdir -Force C:\DSC | |
#================================= | |
# Install xPendingReboot Module | |
# https://github.com/PowerShell/xPendingReboot | |
#================================= | |
# Download xPendingReboot | |
Invoke-WebRequest ` | |
-UseBasicParsing ` |
######################################################### | |
# | |
# Name: ImportTestUsers.ps1 | |
# Author: Israel Vega (Adjusted for JSON by Steven Follis) | |
# Version: 1.0 | |
# Date: 06/08/2011 | |
# Comment: Create test users from a JSON array for import into an AD | |
# | |
######################################################### |
# https://docs.docker.com/engine/installation/windows/docker-ee/#install-docker-ee | |
<# Usage | |
Invoke-WebRequest ` | |
-UseBasicParsing ` | |
-OutFile C:\install-docker-ee.ps1 ` | |
-Uri https://gist.githubusercontent.com/stevenfollis/91d2b64b07a3c2110f879727761fbf1f/raw/install-docker-ee.ps1 | |
C:\install-docker-ee.ps1 |
I hereby claim:
To claim this, I am signing this object:
// select and loop through all iframes inside of webparts | |
$('.ms-WPBody iframe').each(function(i, frame) { | |
// define a variable to hold the new width | |
var newWidth; | |
// starting with the iframe, search up the DOM for the closest webpart zone | |
// then find its width and store it | |
newWidth = $(frame).closest('.ms-webpart-zone').width(); |