This file contains hidden or 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
.fuelux .wizard { | |
position: relative; | |
overflow: hidden; | |
background-color: #f9f9f9; | |
border: 1px solid #d4d4d4; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
*zoom: 1; | |
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); |
This file contains hidden or 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
{% for item in tables["ニュース"].rows %} | |
<article class="post"> | |
<div class="post_header"> | |
<h3 class="post_title"><a href="/news/-/detail/=/news_id={{ item["id"] }}/">{{ item["タイトル"] }}</a></h3> | |
<div class="post_sub"><i class="icon-time"></i> {{ item["published_at"] | date: "%Y/%m/%d" }} ({{ item["published_at"] | date: "%Y/%m/%d" | youbi }})</div> | |
</div> | |
<div class="post_content"> | |
{{ item["本文"] | strip_html | truncate: 100 }} | |
<a href="/news/-/detail/=/news_id={{ item["id"] }}/" class="btn btn-primary">続きを読む</a> </div> | |
</article> |
This file contains hidden or 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
<table> | |
<tr> | |
<th>タイトル</th><th>本文</th> | |
</tr> | |
{% for item in tables["ニュース"].rows %} | |
<tr> | |
<td>{{ item["タイトル"] }}</td><td>{{ item["本文"] }}</td> | |
</tr> | |
{% endfor %} | |
</table> |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- encoding: iso-8859-1 -*- | |
# | |
# apt_ubuntu | |
# | |
# Plugin to monitor packages that should be installed on Ubuntu systems. | |
# | |
# Author: Stefan Daniel Schwarz <[email protected]> | |
# | |
# v1.0 2008-11-07 - First draft |
This file contains hidden or 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
#/usr/lib/nagios/plugins/check_domain | |
#nagios plugins | |
#original: | |
#http://exchange.nagios.org/directory/Plugins/Internet-Domains-and-WHOIS/check_domain/details | |
# | |
#this plugins can check | |
# example.co.jp (level 3 domain) | |
# example.jp (level 2 domain) | |
# | |
#usage: |
This file contains hidden or 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 | |
# -*- sh -*- | |
: << =cut | |
=head1 NAME | |
intra_mysql_metrics - Munin Plugin to monitor the number of records on a | |
mysql-server |
This file contains hidden or 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/nagios-plugins/config/check_aws | |
# | |
# | |
# 'check_aws' command definition | |
define command{ | |
command_name check_ec2 | |
command_line /usr/lib/nagios/plugins/check_aws | |
} |
This file contains hidden or 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
munin-plugin: rails_response_time | |
# original source: http://blog.tkmr.org/tatsuya/show/420-munin-rails | |
# rails_log_chopper | |
$ ruby ./script/rails_log_monitor.rb -l log/rails_log_monitor.log | |
# munin_plugin |