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
--- rpmbuild/SPECS/nagios.spec 2017-02-07 23:35:04.000000000 +0000 | |
+++ rpmbuild/SPECS/nagios-jp.spec 2017-02-27 09:55:18.760616450 +0000 | |
@@ -2,7 +2,7 @@ | |
Name: nagios | |
Version: 4.2.4 | |
-Release: 2%{?dist} | |
+Release: 2%{?dist}.jp | |
Summary: Host/service/network monitoring program |
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
- <div class="p-entry__pushThumb" style="background-image: url('ここに画像URLを入れる')"></div> | |
+ <div class='p-entry__pushThumb' style='background-image: url('//4.bp.blogspot.com/-f3XLP8DnIQk/VGjM4PXYkAI/AAAAAAABaHo/VzmUtaTPzsk/s640/346c9652-3570-4a67-829b-7bfab9aa94b0')'/> | |
- <div class="fb-like" data-action="like" data-href="ここにFacebookページのURLを入れる" data-layout="button_count" data-share="false" data-show-faces="false"></div> | |
+ <div class='fb-like' data-action='like' data-href='https://www.facebook.com/motounagiyaneo' data-layout='button_count' data-share='false' data-show-faces='false'/> | |
- <p class="p-entry__tw-follow__item">Twitterで○○をフォローしよう!</p> | |
+ <p class='p-entry__tw-follow__item'>Twitterで「元うなぎや Neo」をフォローしよう!</p> |
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
<b:widget id='HTML17' locked='false' title='Follow Me' type='HTML'> | |
<!-- 記事がよかったらいいね この上から --> | |
<b:includable id='main'> | |
<!-- only display title if it's non-empty --> | |
<b:if cond='data:title != ""'> | |
<h2 class='title'> | |
<data:title/> | |
</h2> | |
</b:if> | |
<div class='widget-content'> |
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
<!-- 記事がよかったらいいね ここから --> | |
<?php if (is_mobile()) :?> | |
<div class="p-shareButton p-asideList p-shareButton-bottom"> | |
<div class="p-shareButton__cont"> | |
<div class="p-shareButton__a-cont"> | |
<div class="p-shareButton__a-cont__img" style="background-image: url('<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>')"></div> | |
<div class="p-shareButton__a-cont__btn"> | |
<p>この記事が気に入ったらいいね!しよう</p> | |
<div class="p-shareButton__fb-cont p-shareButton__fb"> | |
<div class="fb-like" data-href="ここにFacebookページのURLを入れる" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> |
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
# for CentOS 6 | |
[nginx] | |
name=nginx repo | |
baseurl=http://nginx.org/packages/centos/6/$basearch/ | |
gpgcheck=0 | |
enabled=0 | |
[nginx-src] | |
name=nginx SRPM repo | |
baseurl=http://nginx.org/packages/centos/6/SRPMS/ |
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
--- nagios.spec 2013-04-25 10:03:11.000000000 +0900 | |
+++ nagios-ja.spec 2013-08-13 18:32:37.130742566 +0900 | |
@@ -1,6 +1,6 @@ | |
Name: nagios | |
Version: 3.5.0 | |
-Release: 1%{?dist} | |
+Release: 1%{?dist}.ja | |
Summary: Host/service/network monitoring program | |
Group: Applications/System |
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
<!-- twitter card details --> | |
<b:if cond='data:blog.pageType == "item"'> | |
<b:if cond='data:blog.postImageThumbnailUrl'> | |
<b:if cond='data:blog.metaDescription'> | |
<meta content='summary' name='twitter:card'/> | |
<meta content='@snicker_jp' name='twitter:site'/> | |
<meta content='@snicker_jp' name='twitter:creator'/> | |
<meta expr:content='data:blog.pageName' name='twitter:title'/> | |
<meta expr:content='data:blog.metaDescription' name='twitter:description'/> | |
<meta expr:content='data:blog.postImageThumbnailUrl' name='twitter:image:src'/> |
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
#!/usr/bin/env bash | |
# ログ削除 | |
\rm /var/log/*-2013* | |
for i in /var/log/*log; do cat /dev/null > $i ;done | |
for i in /var/log/httpd/*; do cat /dev/null > $i ;done | |
for i in /var/log/audit/*; do cat /dev/null > $i ;done | |
cat /dev/null > /var/log/secure |
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
aptitude install -y git curl python-dev python-pip redis-server ruby1.9.1-full rubygems1.9.1 | |
aptitude install -y mysql-server libmysqlclient-dev | |
adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git | |
adduser --disabled-login --gecos 'gitlab system' gitlab | |
usermod -a -G git gitlab | |
su - gitlab | |
ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa | |
aptitude install gitolite | |
cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub | |
su - git |
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
<cacti> | |
<hash_000024d9af2b79e2431a936082e0d73d3156cc> | |
<name>Postfix Queues</name> | |
<graph> | |
<t_title></t_title> | |
<title>|host_description| - Postfix Queues</title> | |
<t_image_format_id></t_image_format_id> | |
<image_format_id>1</image_format_id> | |
<t_height></t_height> | |
<height>120</height> |
NewerOlder