Weatheroutlook Dashing Widget displays a 5-days weather outlook from Yahoo! Weather using Climacons Font.
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
var lastPricePending = data.last; | |
lastPrice = +lastPricePending.toFix(2); | |
if (this.config.showBefore == null) { | |
var showBefore = this.config.exchange; | |
} else { | |
var showBefore = this.config.showBefore | |
} | |
if (lastPrice) { | |
symbolElement.innerHTML = showBefore + ' ' + fiatSymbol; | |
wrapper.appendChild(symbolElement); |
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
A_side_routes: | |
network.routes: | |
- name: {{ testing_networking.A_side.interface }} | |
- routes: | |
- name: A_side testing routing gateway | |
ipaddr: 192.168.15.13 | |
netmask: 255.255.255.255 | |
- name: A_side testing routing network 192.168.2.0 | |
ipaddr: 192.168.2.0 | |
netmask: 255.255.255.0 |
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 ethers_file_content = salt['grains.filter_by']({ | |
"uk02": { "ethers_content": " | |
1.7.1.1 00:00:00:00 | |
1.7.1.2 00:00:00:00 | |
" | |
} | |
}, merge=salt['pillar.get']('ethers_file_content'), grain="site") %} | |
ethers_file: | |
file.managed: |
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
abc 150000 50000 0 host1 | |
abc 150000 50000 0 host2 |
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
puppet agent --test | |
Info: Using configured environment 'production' | |
Info: Retrieving pluginfacts | |
Info: Retrieving plugin | |
Info: Loading facts | |
Info: Caching catalog for backup.hk.domain.com | |
Info: Applying configuration version '1504530720' | |
Notice: /Stage[main]/Motd/File[/etc/motd]/content: | |
--- /etc/motd 2017-09-04 21:09:41.913042243 +0800 | |
+++ /tmp/puppet-file20170904-447-wkkq9z 2017-09-04 21:12:05.778749122 +0800 |