Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
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
9/25にGoogle+に書いたものの転載、脅威の度合いは各々判断してください | |
---- | |
補足 | |
DNS Rebinding対策として、DNSキャッシュサーバーがプライベートアドレスを返さないようにフィルタしている、というのは | |
http://labs.cybozu.co.jp/blog/kazuho/archives/2007/11/djbdns_and_anti-dns_pinning.php で書かれているような対策のこと | |
要点は | |
1.別途DNSリバインディング対策をしている場合に、その穴を自分で復活させてしまうことになる |
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
#!perl | |
use utf8; | |
use strict; | |
use warnings; | |
use WWW::Mechanize; | |
use Encode; | |
use Config::Pit; | |
use HTML::TreeBuilder::XPath; |
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/perl | |
use strict; | |
use warnings; | |
my (%sequential, %random); | |
my ($type, $blocksize, $ratio, $iodepth, $header); | |
while (my $line = <STDIN>) { |
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
#TODO | |
# package周り調整 | |
# ディスク部分を外出しできるように。CentOS6で%ksappendがうまく動かなくて全部ベタ書きになってる | |
install | |
text | |
url --url=http://192.168.1.10/mrepo/centos6-x86_64/disc1/ | |
lang ja_JP.UTF-8 | |
keyboard jp106 | |
network --onboot yes --device eth0 --bootproto dhcp --noipv6 |
サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
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 | |
#################################### | |
### for example . | |
### --------------------- | |
### /dev/xvda1 / | |
### /dev/xvda none | |
### /dev/xvdc ephemeral | |
### /dev/xvdd ephemeral | |
### --------------------- |
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
mysql55> CREATE FUNCTION rrand (start INT, end INT) RETURNS INT NO SQL RETURN RAND() * (end - start) + start; | |
Query OK, 0 rows affected (0.00 sec) | |
mysql55> SELECT rrand(1, 3); | |
+-------------+ | |
| rrand(1, 3) | | |
+-------------+ | |
| 2 | | |
+-------------+ | |
1 row in set (0.00 sec) |