Skip to content

Instantly share code, notes, and snippets.

@ndarville
ndarville / business-models.md
Last active October 9, 2025 17:55
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@mikeda
mikeda / centos6_kvm.ks
Created November 24, 2012 03:27
CentOS6用に調整中のkickstart関連ファイル
#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
@diceken
diceken / fio_summarize.pl
Created October 30, 2012 12:05 — forked from sh2/fio_summarize.pl
fio test/summarize script
#!/usr/bin/perl
use strict;
use warnings;
my (%sequential, %random);
my ($type, $blocksize, $ratio, $iodepth, $header);
while (my $line = <STDIN>) {
@cho45
cho45 / aultebytes.pl
Created October 19, 2012 02:02
au lte recent usage
#!perl
use utf8;
use strict;
use warnings;
use WWW::Mechanize;
use Encode;
use Config::Pit;
use HTML::TreeBuilder::XPath;
@mala
mala / gist:3788589
Created September 26, 2012 15:07
hostsファイルにloopbackアドレス書くのは危険か、の話
9/25にGoogle+に書いたものの転載、脅威の度合いは各々判断してください
----
補足
DNS Rebinding対策として、DNSキャッシュサーバーがプライベートアドレスを返さないようにフィルタしている、というのは
http://labs.cybozu.co.jp/blog/kazuho/archives/2007/11/djbdns_and_anti-dns_pinning.php で書かれているような対策のこと
要点は
1.別途DNSリバインディング対策をしている場合に、その穴を自分で復活させてしまうことになる
@Gab-km
Gab-km / github-flow.ja.md
Last active July 1, 2025 15:44 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
@juno
juno / github-flow.ja.md
Last active April 9, 2021 02:20
GitHub Flow (Japanese translation) Latest version is here: https://gist.github.com/Gab-km/3705015

GitHub Flow

31 Aug 2011

git-flowの問題点 (Issues with git-flow)

私は人々にGitを教えるためにあちこちを飛び回っているが、最近のほぼすべてのクラスやワークショップでgit-flowについてどう思うかを尋ねられた。私はいつも、git-flowは素晴らしいと思うと答えている。何百万ものワークフローを持ったシステム(Git)を提供し、ドキュメントもあるし、よくテストされている。フレキシブルなワークフローは、実に容易なやり方で多くの開発者の役に立つ。標準的なものになりつつあり、開発者はプロジェクトや企業の間を移動しつつこの標準的なワークフローに馴染むことができる。

@pkhamre
pkhamre / readme.markdown
Created July 3, 2012 08:21
Installing graphite 0.9.10 on Amazon Linux

Installing required packages

sudo yum groupinstall "Development tools"
sudo yum install python-devel.noarch
sudo yum install pycairo.x86_64 Django.noarch django-tagging.noarch  python-twisted.noarch python-zope-interface.x86_64
sudo yum install fontconfig.x86_64 fontconfig-devel.x86_64
sudo yum install mod_wsgi.x86_64
sudo yum install python-pip.noarch

sudo pip-python install whisper

sudo pip-python install carbon

@kenjiskywalker
kenjiskywalker / yes_or_no.pl
Created May 17, 2012 08:49
Perl while yes or no
#!/usr/bin/env perl
use strict;
use warnings;
my $file = './test.txt';
if ( -e $file ) {
print "allow overrite ok ? [y/n] : ";
@bhang
bhang / install_graphite_statsd_ubuntu_precise.sh
Created May 15, 2012 17:41
Install Graphite and statsd on Ubuntu 12.04 LTS (Precise Pangolin)
#!/bin/bash
# node.js using PPA (for statsd)
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
# Install git to get statsd
sudo apt-get install git