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
find . -type d -print0 | xargs -L 1 -0 -I'{}' setfacl -m everyone@:full_set:fd:allow "{}" | |
find . -type f -print0 | xargs -L 1 -0 -I'{}' setfacl -m everyone@:full_set::allow "{}" |
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
while true; do killall -SIGUSR1 dd; sleep 2; done |
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
REM : Register VSS componant for Windows Serve r2008 | |
REM : You will need to run the batch file as Administrator. | |
REM : This is only for Windows 2008 not Windows 2003. | |
REM : After running the bat file, you will need to reboot the server to bring all of the writers into a stable state. | |
net stop "System Event Notification Service" | |
net stop "Background Intelligent Transfer Service" | |
net stop "COM+ Event System" | |
net stop "Microsoft Software Shadow Copy Provider" |
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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* set default namespace to XUL */ | |
#threadTree treechildren:-moz-tree-row { | |
height:35px !important; | |
} |
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
detectDE | |
if [ x"$DE" = x"" ]; then | |
DE=xfce | |
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
geom disk list | grep 'Mediasize\|descr'; sysctl hw.physmem hw.model; dmidecode --type baseboard | grep Product |
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
base: | |
'*': | |
- basepkgs | |
- sshsetup | |
roles:webserver: | |
- match: grain | |
- apache |
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
# Version: 0.5 | |
# Date: 2019-01-30 | |
# File Name: Get-InstalledApps | |
# Author: TylerJWhit | |
# Notes: | |
# The following commands may be of help: | |
# | |
# Run against every computer in domain. | |
# Get-ADComputer -Filter * | Select-Object -ExpandProperty Name | Get-InstalledApps | |
# |
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
import argparse | |
parser = argparse.ArgumentParser(description = 'Process strings') | |
parser.add_argument('-u', '--uppercase', action = 'store_true', default = False) | |
parser.add_argument('-l', '--lowercase', action = 'store_true', default = False) | |
parser.add_argument('-t', '--text', type=str) |
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
import argparse | |
import sys | |
def get_argument_parser(): | |
parser = argparse.ArgumentParser(description = 'Converts string to Nato Alphabet') | |
parser.add_argument('argstr', type = str) | |
return parser |
OlderNewer