Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/usr/bin/python | |
| DOCUMENTATION = ''' | |
| --- | |
| module: copy_remotely | |
| short_description: Copies a file from the remote server to the remote server. | |
| description: | |
| - Copies a file but, unlike the M(file) module, the copy is performed on the | |
| remote server. | |
| The copy is only performed if the source and destination files are different | |
| (different MD5 sums) or if the destination file does not exist. |
| #!/bin/bash | |
| # This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
| # also disables the touchpad, and enables the virtual keyboard accordingly | |
| # by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen and Touchpad device with `xinput` | |
| TouchscreenDevice='ELAN Touchscreen' | |
| TouchpadDevice='SynPS/2 Synaptics TouchPad' |
| #!/usr/bin/env bash -ue | |
| if [[ $# -lt 1 || $# -gt 2 ]]; then | |
| echo "Usage: git $(basename "$0" | sed 's/^git-//') <end-commit> [<start-commit>]" | |
| exit 1 | |
| fi | |
| diff_range="$1^..$1" | |
| end_commit="$1^" | |
| if [[ $# -eq 2 ]]; then |
| #!/bin/sh | |
| # | |
| # xcodeがなんやかんやなせいなのか、動かなくなっちゃいました(ゝω・)v | |
| # | |
| # | |
| # Run this shell script on Mac OS X *Lion*. | |
| # I referred to http://osx86.boeaja.info/2009/10/building-xnu-kernel-on-snow-leopard/ | |
| # You can download XNU kernel source code from http://www.opensource.apple.com/tarballs/xnu/ |