layout | title | date | comments | categories | published | ||
---|---|---|---|---|---|---|---|
post |
How do I even Minecraft? |
2013-11-11 10:32 |
true |
|
false |
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
machine.vm.provider "virtualbox" do |v| | |
# Prevent VirtualBox from interfering with host audio stack | |
v.customize ["modifyvm", :id, "--audio", "none"] | |
end |
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
( | |
set -e -x | |
aptly mirror update -max-tries=5 "upstream-stretch" | |
aptly repo import "upstream-stretch" "stretch" Name | |
aptly publish update "stretch" "stretch" | |
) 2>&1 | ts >> "/var/log/aptly/stretch.log" |
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
./diff_stringify_facts.sh host1.example.com host2.example.com | |
host1.example.com | |
I, [2017-09-08T15:34:29.591598 #84032] INFO -- : Catalogs compiled for host1.example.com | |
I, [2017-09-08T15:34:29.699115 #84032] INFO -- : Diffs computed for host1.example.com | |
I, [2017-09-08T15:34:29.699145 #84032] INFO -- : No differences | |
host2.example.com | |
I, [2017-09-08T15:34:29.591598 #84032] INFO -- : Catalogs compiled for host2.example.com | |
I, [2017-09-08T15:34:29.699115 #84032] INFO -- : Diffs computed for host2.example.com | |
I, [2017-09-08T15:34:29.699145 #84032] INFO -- : No differences |
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
#!/bin/bash | |
set -e -u -o pipefail | |
mkdir -p facts | |
for hostname in "$@"; do | |
echo "${hostname}" | |
fact_file="facts/${hostname}.json" | |
( |
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
$ ansible-playbook -i hosts playbook.yml -vvv | |
No config file found; using defaults | |
1 plays in playbook.yml | |
PLAY *************************************************************************** | |
TASK [ping] ******************************************************************** | |
task path: /Users/mga/Documents/Arbeitsmittel/Ansible-Bug mit ansible_host Template/playbook.yml:4 | |
<osf4-management1.osf.credativ.lan> ESTABLISH SSH CONNECTION FOR USER: None | |
<osf4-management1.osf.credativ.lan> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/mga/.ansible/cp/ansible-ssh-%h-%p-%r -tt osf4-management1.osf.credativ.lan '( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1454593572.41-8142288545326 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1454593572.41-8142288545326 )" )' |
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
/etc/http/conf/http.conf: | |
file: | |
- managed | |
- source: salt://apache/http.conf | |
- user: root | |
- group: root | |
- mode: 644 | |
- template: jinja | |
- context: | |
custom_var: "override" |
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
#!/bin/sh | |
. /etc/rc.subr | |
name=ghost | |
rcvar=ghost_enable | |
command="/opt/ghost/index.js" | |
command_interpreter="/usr/local/bin/node" | |
ghost_user="ghost" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>net.mxey.homebrew.upgrade</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/mxey/bin/upgrade-homebrew-on-ac</string> | |
</array> |
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
mxey@mxeybook ~ % pmset -g assertions | |
23.10.13 11:33:45 MESZ | |
Assertion status system-wide: | |
BackgroundTask 0 | |
PreventDiskIdle 0 | |
ApplePushServiceTask 0 | |
UserIsActive 1 | |
PreventUserIdleDisplaySleep 0 | |
InteractivePushServiceTask 0 | |
PreventSystemSleep 0 |
NewerOlder