Skip to content

Instantly share code, notes, and snippets.

View SethCalkins's full-sized avatar

Seth Calkins SethCalkins

View GitHub Profile
@SethCalkins
SethCalkins / powerlevel9k.config
Created September 1, 2018 20:53 — forked from athityakumar/powerlevel9k.config
Powerlevel9k oh-my-zsh theme configuration for screenshots used in https://github.com/athityakumar/colorls
export ZSH=$HOME/.oh-my-zsh
export DEFAULT_USER='athityakumar'
TERM=xterm-256color
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='awesome-fontconfig'
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
#requires -Version 4.0
<#
Author: Luke Murray (Luke.Geek.NZ)
Version: 0.1
Purpose: Windows Server 2016 Baseline Hardening using DSC per DoD DISA STIG recommendations 22/06/18.
#>
Configuration 'Server2016'
{
@SethCalkins
SethCalkins / README.MD
Created February 7, 2018 14:19 — forked from giordanocardillo/README.MD
Remove Office 2016 Product Key
  1. Open a command prompt as Administrator
  2. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (32-bit) on a 64-bit version of Windows

    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (64-bit) on a 64-bit version of Windows

@SethCalkins
SethCalkins / ssl_setup_example.sh
Created November 26, 2017 04:51 — forked from mlawrie/ssl_setup_example.sh
Create an SSL Certificate Signing Request on OSX with wildcard and alternate names
# First, generate the key. You will be prompted to enter a password, but we will strip it out in the next step:
openssl genrsa -des3 -out server.orig.key 2048
# Then, stip out the password:
openssl rsa -in server.orig.key -out server.key
# Edit the OSX openssl config file to include your alternate names.
# Edit the 'subjectAltName' field. E.g.:
@SethCalkins
SethCalkins / MacifyWindows10.txt
Created April 12, 2017 00:03 — forked from Griffingj/MacifyWindows10.txt
Macify Windows 10
// Set the horiztal and vertial scrolling to inverse of Windows  
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopHScroll -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopHScroll 1 }
// Install Scoop Package Manager
set-executionpolicy unrestricted -s cu
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install curl 7zip git grep touch pshazz openssh
<#
This is a helpful script that will remove the default Windows 10 garbage from your computer
* Comment out any apps that you might want to keep
* Don't forget to run as admin
#>
# 3d Builder
@SethCalkins
SethCalkins / starter.cmd
Created April 12, 2017 00:02 — forked from jamesrcounts/starter.txt
Boxstarter: Windows 10
# http://boxstarter.org/package/url?
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
choco install googlechrome
choco install sublimetext3
choco install console2
choco install git.install -params '"/GitOnlyOnPath /NoAutoCrlf"'
choco install git-credential-winstore
choco install poshgit
choco install beyondcompare
@SethCalkins
SethCalkins / wifipass.bat
Created April 12, 2017 00:02 — forked from matejskubic/wifipass.bat
Windows 10 WiFi password
netsh wlan show profiles
netsh wlan show profiles name="%1" key=clear
@SethCalkins
SethCalkins / Requirements.md
Created October 13, 2016 19:02 — forked from corburn/Requirements.md
Requirements Document

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

SHALL follow the semantic versioning rules as layed out in the Semantic Versioning Specification version 2.0.0 SEMVER.

@SethCalkins
SethCalkins / 0_reuse_code.js
Created August 23, 2016 22:51
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