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 | |
#################### | |
# Automount Fixer | |
#################### | |
# Install outset | |
# Place this script with an .sh in /usr/local/outset/boot-every | |
# Automount problems solved-ish | |
# Ryan Moon | |
# Diskutil value should be set to your ideal value from the output of diskutil list | wc -l | |
# San_name should be set to the name of your SAN |
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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <jess@linux.com> | |
# Forked from: https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f | |
# Modified by: Moon | |
# Last Updated: 2022-02-03 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned |
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
/* groovylint-disable DuplicateMapLiteral */ | |
def call() { | |
pipeline { | |
triggers { | |
issueCommentTrigger('/redo_jenkins') | |
} | |
agent { label 'chef' } | |
environment { | |
CHEF_LICENSE = 'accept-silent' | |
DANGER_GITHUB_API_TOKEN = credentials('example') |
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 | |
################ | |
# REMOVE CHEFDK | |
################ | |
# Removes the chefdk on MacOS | |
# Version 0.1.3 | |
# 2018/12/11 | |
# Ryan Moon | |
################# |
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
#!/usr/bin/perl | |
## ----------------------------------------------------------------------- | |
## | |
## Copyright 2002-2008 H. Peter Anvin - All Rights Reserved | |
## Copyright 2009 Intel Corporation; author: H. Peter Anvin | |
## | |
## This program is free software; you can redistribute it and/or modify | |
## it under the terms of the GNU General Public License as published by | |
## the Free Software Foundation, Inc., 53 Temple Place Ste 330, | |
## Boston MA 02111-1307, USA; either version 2 of the License, or |
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 | |
### | |
# Outset script for commands to run at boot-every and set power settings | |
### | |
pmset repeat wakeorpoweron MTWRFSU 7:00:00 | |
pmset -a displaysleep <%= @displaysleep %> halfdim 1 | |
pmset -a disksleep 0 | |
pmset -a sleep 0 |
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
Get-WMIObject -Class win32_product -Filter {Name like "%VARIABLE%"} | Select-Object -Property Name,Version | ft -hidetableheaders |
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
ipconfig getifaddr en0 | tr "." " " | awk '{print $4}' |
NewerOlder