This gist has been moved to https://github.com/akomakom/tmuxmulti
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
KBD RU_P "Russian - Phonetic Akom" | |
COPYRIGHT "(c) 2017 Akom" | |
COMPANY "Akom" | |
LOCALENAME "ru-RU" | |
LOCALEID "00000419" |
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/env ruby | |
# | |
# helper for backing up nexus 2 repositories that matter | |
# Run with -h for help | |
# | |
# Finds Nexus repositories that are not group, shadow or proxy | |
# and either produces an rsync file or runs an arbitrary command for each directory | |
# | |
# Examples (you may need to specify -n for all of these examples to specify your nexus installation) |
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
/** | |
Jenkins System Groovy script to clean up workspaces on all slaves. | |
Check if a slave has < X GB of free space, perform cleanup if it's less. | |
If slave is idle, wipe out everything in the workspace directory as well any extra configured directories. | |
If slave is busy, wipe out individual job workspace directories for jobs that aren't running. | |
Either way, remove custom workspaces also if they aren't in use. | |
**/ | |
import hudson.model.*; |
NewerOlder