A handy list of selection shortcuts.
Here are the official docs: Keyboard and Mouse
Building blocks:
- Add to selection: Ctrl
- Subtract from selection: Alt
| #!/bin/bash | |
| # This script is used by Nagios to post alerts into a Slack channel | |
| # using the Incoming WebHooks integration. Create the channel, botname | |
| # and integration first and then add this notification script in your | |
| # Nagios configuration. | |
| # | |
| # All variables that start with NAGIOS_ are provided by Nagios as | |
| # environment variables when an notification is generated. | |
| # A list of the env variables is available here: |
| # This gist is compatible with Ansible 1.x . | |
| # For Ansible 2.x , please check out: | |
| # - https://gist.github.com/dmsimard/cd706de198c85a8255f6 | |
| # - https://github.com/n0ts/ansible-human_log | |
| # 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, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| # Ruby is our language as asciidoctor is a ruby gem. | |
| lang: ruby | |
| before_install: | |
| - sudo apt-get install pandoc | |
| - gem install asciidoctor | |
| script: | |
| - make | |
| after_success: | |
| - .travis/push.sh | |
| env: |
| #!/bin/bash | |
| # | |
| # Generates client and server certificates used to enable HTTPS | |
| # remote authentication to a Docker daemon. | |
| # | |
| # See http://docs.docker.com/articles/https/ | |
| # | |
| # To start the Docker Daemon: | |
| # | |
| # sudo docker -d \ |
sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
dpkg -i vagrant_1.6.5_x86_64.deb
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround
exit
by alexander white ©
| - name: Launch {{env}}-{{service}} Instance(s) | |
| hosts: localhost | |
| gather_facts: false | |
| connection: local | |
| vars_files: | |
| - group_vars/env/{{ environment }}.yml | |
| - group_vars/service/{{ service }}.yml | |
| - group_vars/admin.yml | |
| # Launch instances with the following parameters. Register the output. |
| import hudson.triggers.*; | |
| for (item in Jenkins.instance.getItems(Project)) { | |
| println("--- Scheduling for " + item.name + " ---") | |
| def trigger = item.triggers.get(Jenkins.instance.getDescriptor(TimerTrigger.class)); | |
| if (trigger) { | |
| println trigger.spec; | |
| } | |
| } |
| # visit https://accounts.google.com/DisplayUnlockCaptcha and click to allow access | |
| # edit /etc/monit/monitrc to include the following | |
| set mailserver smtp.gmail.com port 587 | |
| username "[email protected]" password "whatever" | |
| using tlsv1 | |
| with timeout 30 seconds | |
| # run the following to validate access |