This file contains hidden or 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
| Hey there, | |
| Cmder uses ConEmu as terminal emulator, if you are experiencing a problem or have a question, please open an issue over at https://github.com/Maximus5/ConEmu | |
| Thank you! :-) | |
This file contains hidden or 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
| # Insrtall YADR | |
| sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`" | |
| # macvim with Lua | |
| brew install macvim --with-lua | |
| # vim with Lua | |
| brew install vim --with-lua --with-override-system-vi --with-gettext --with-tcl | |
This file contains hidden or 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
| umask 022 | |
| export PATH=~/bin:`echo $PATH | sed 's|:/bin:|&/opscode/chefdk/bin:/mnt/c/Users/Sean/AppData/Local/chefdk/gem/ruby/2.4.0/bin:/opscode/chefdk/embedded/bin:|'` |
This file contains hidden or 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
| # Update to Latest Windows 10 Spring Refresh | |
| # Install WSL | |
| # Get Ubuntu installed | |
| wsl.exe | |
| # Install ChefDK deb package |
This file contains hidden or 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
| for i in `docker ps -a |grep -v "jenkins_master\|jenkins_httpd" |awk '{print $1}'`; do docker rm -f $i; done |
This file contains hidden or 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
| def printMethodsOf(thing) { | |
| return thing.metaClass.methods*.name.sort().unique().each { methodName -> println methodName } | |
| } | |
| def printPropertiesOf(thing) { | |
| return thing.metaClass.properties.each { foundProperty -> println foundProperty.name } | |
| } | |
| def propertiesOf(thing) { | |
| return thing.metaClass.properties*.name.sort().unique() |
This file contains hidden or 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 handle to build output | |
| def config = new HashMap() | |
| def bindings = getBinding() | |
| config.putAll(bindings.getVariables()) | |
| def out = config['out'] | |
| for (aSlave in hudson.model.Hudson.instance.slaves) { | |
| // check if executor is dead | |
| execList = aSlave.getComputer().getExecutors() | |
| for( exec in execList ) { |
This file contains hidden or 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
| hudson.model.Hudson.instance.slaves.each { | |
| if(it.getComputer().isOffline()) { | |
| println "Deleting ${it.name}" | |
| it.getComputer().doDoDelete() | |
| } | |
| } | |
| println "Done." |
This file contains hidden or 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
| :: use this file to run your own startup commands | |
| :: use in front of the command to prevent printing the command | |
| :: call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd" | |
| :: set "PATH=%CMDER_ROOT%\vendor\whatever;%PATH%" | |
| :: LS 2017-09-12_17.35.11 | |
| :: ====================== | |
| :: Copied from %CMDER_ROOT%\vendor\init.bat |