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
environments: | |
juju: | |
type: local | |
control-bucket: juju-local-server | |
admin-secret: someSecretThing | |
default-series: precise | |
juju-origin: ppa | |
data-dir: /home/boris/juju_local |
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
environments: | |
juju: | |
type: ec2 | |
control-bucket: juju-someUUID | |
admin-secret: someAdminSecret | |
default-series: precise | |
ssl-hostname-verification: true |
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
[myhost.mydomain.com] | |
address 192.168.10.100 | |
... | |
disk.usage.critical 90 |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"font_size": 9, | |
"font_face": "Source Code Pro" | |
} |
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
${execi 2 cat ~/todo.txt} |
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
interface=eth0 | |
address=192.168.1.10 | |
netmask=255.255.255.0 | |
broadcast=192.168.1.255 | |
gateway=192.168.1.1 |
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
[Unit] | |
Description=Network Connectivity | |
Wants=network.target | |
Before=network.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
EnvironmentFile=/etc/conf.d/network | |
ExecStart=/sbin/ip link set dev ${interface} up |
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 | |
echo "time (sec): " | |
read time | |
echo " kill with ctrl+D" | |
echo " " | |
while [[ 1=1 ]]; do | |
sudo tail -f /var/log/squid3/access.log | perl -pe 's/\d+/localtime($&)/e' | |
sleep $time | |
done |
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
<% @hosts.keys.sort.each do |fqdn| %> | |
<%= @hosts[fqdn][:ipaddress] %> <%= fqdn %> <%= @hosts[fqdn][:hostname] %> | |
<% 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
desc "Show installed gems" | |
task :show_gems do | |
stream "gem list" | |
end |