- Hide the dock. It's valuable screen space. At least move it to the left or right side, as vertical is more valuable.
- Use Spotlight / Quicksilver to quickly open applications, search machine.
## Setup java | |
if [ `uname -m` == 'x86_64' ]; then | |
PATH="/usr/lib64/jvm/java-7-oracle/jre/bin/" | |
JAVA_HOME="/usr/lib64/jvm/java-7-oracle/" | |
else | |
PATH="/usr/lib/jvm/java-7-oracle/jre/bin/" | |
JAVA_HOME="/usr/lib/jvm/java-7-oracle/" | |
fi |
--- | |
- hosts: ubuntu | |
user: admin | |
sudo: yes | |
tasks: | |
- name: Test distribution | |
fail: msg="Not Ubuntu, aborting" | |
when_string: $ansible_distribution != "Ubuntu" |
- name: Java install | |
hosts: do | |
user: root | |
tasks: | |
- name: Create java repo list | |
action: shell echo 'deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main' >/etc/apt/sources.list.d/java.list | |
- name: Add repo key | |
action: command apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 | |
- name: Accept java license | |
action: shell echo 'oracle-java7-installer shared/accepted-oracle-license-v1-1 select true' | debconf-set-selections |
--- | |
- name: ensure required packages are installed for Java 7 | |
apt: name=$item state=latest update_cache=yes | |
with_items: | |
- python-software-properties | |
- name: Add Java repository to sources | |
action: apt_repository repo='ppa:webupd8team/java' |
- name: install python (CentOS 6) | |
yum: name={{item}} enablerepo=epel state=installed | |
with_items: | |
- PyYAML | |
- python-paramiko | |
- python-jinja2 | |
when: ansible_os_family == 'RedHat' and ansible_distribution_version.split('.')[0]|int == 6 | |
tags: python | |
- name: install python26 (CentOS 5) |
--- | |
# This has been tested with ansible 1.3 with these commands: | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false" | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true" | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts" | |
# NB: The type of the variable is crucial! | |
- name: Ansible Conditionals Examples | |
hosts: $hosts | |
vars_files: |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
I have spent quite a bit of time figuring out automounts of NFS shares in OS X...
Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:
/etc/auto_master (see last line):
#
# Automounter master map
#
+auto_master # Use directory service
Currently, there is an explosion of tools that aim to manage secrets for automated, cloud native infrastructure management. Daniel Somerfield did some work classifying the various approaches, but (as far as I know) no one has made a recent effort to summarize the various tools.
This is an attempt to give a quick overview of what can be found out there. The list is alphabetical. There will be tools that are missing, and some of the facts might be wrong--I welcome your corrections. For the purpose, I can be reached via @maxvt on Twitter, or just leave me a comment here.
There is a companion feature matrix of various tools. Comments are welcome in the same manner.