- ベース油(食用油を模索中、ごま油がベター):欲しい量
- 白ネギ(の青い部分):適量
- ニンニク:適量
- 唐辛子:適量
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
<h1>Ruby 基礎 - Ruby のインストール Mac OS X 編</h1> | |
<h2>Ruby のインストール</h2> | |
<p>ここでは,Ruby 言語についての説明をはじめる前に,まず自分のコンピュータ上で | |
Ruby を動かすための手順について学んでいく。</p> | |
<h2>インストール</h2> | |
<h3>1. MacPorts の情報を最新にする</h3> |
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
// ==UserScript== | |
// @name OpenPNE Diaries Grouping | |
// @namespace http://tomohiro.github.com | |
// @description OpenPNE Diaries Grouping | |
// @include http://openpne.example.com/ | |
// @version 0.0.1 | |
// ==/UserScript== | |
(function() { | |
GM_xmlhttpRequest({ | |
method: 'GET', |
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
// ==UserScript== | |
// @name WM linked Redmine | |
// @namespace http://github.com/Tomohiro | |
// @description WebMagic に Redmine へのリンクを埋め込む | |
// @include http://webmagic.example.com/* | |
// ==/UserScript== | |
// | |
// 設定方法 | |
// 最初に WebMagic と連携する Redmine の URI を設定する必要があるので | |
// 下記の手順で値を新規作成してください。 |
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 ruby | |
require 'rubygems' | |
require 'nokogiri' | |
CONVERTER = 'Markdown.pl' | |
SUFFIX = '.mkdn' | |
class Markdown2HTML | |
def initialize |
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
14:17 <@gongo> kuro-sheeva が販売(もしくは予約)開始になったら反応するスクリプト | |
14:17 <@gongo> http://gist.github.com/286571 | |
14:18 <@kuda> わざわざスクリプト書きますかw | |
14:18 <@Tomohiro> あたりまえじゃないか | |
14:19 <@Tomohiro> 何を言っているんだひさだ | |
14:19 <@gongo> ひさだめ | |
14:19 <@Tomohiro> ひさだめ | |
14:19 <@kuda> それは常識ではありませんw | |
14:20 <@Tomohiro> なければつくる | |
14:20 <@Tomohiro> ただそれだけのこと |
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
13:11 <@Farfalletta> りなりなの本物がいる | |
13:13 <@Tomohiro> いるよ | |
13:14 <@Farfalletta> いるけどお仕事がんばっているのね | |
13:14 <@Tomohiro> ごんごが帰ったから今日はりなりなでは遊べないな | |
13:15 <@Farfalletta> 残念すぎる | |
13:15 <@Farfalletta> りなりなは私のリナ成分を補うのにとても重要な役割を果たしています。 | |
13:16 <@Farfalletta> りな は食べもの、 りなりな はサプリメントといったところでしょうか。 | |
13:16 <@naoto> おーぷんそーす化してもらいましょう |
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
10:38 < Farfalletta> コーディングってなに | |
10:38 -naobot:#naobot- プログラミング(Programming)とは、プログラムを作成することにより、人間の意図した処理を行うようにコンピュータに指示を与える行為である。プログラミングをする人をプログラマという。プログラミングを行うために�� | |
10:38 -naobot:#naobot- http://tinyurl.com/yfvo6g7 | |
10:38 < Farfalletta> プログラミングってなに | |
10:38 -naobot:#naobot- プログラミング | |
10:38 -naobot:#naobot- http://tinyurl.com/yfh4ow7 | |
10:40 < Farfalletta> プログラミング言語を用いてソースコードを書く以外のプログラミング方法ってなに | |
10:41 < Farfalletta> もしかして、それ以外の過程ってことかなぁ。 | |
10:41 <@kotatsumikan> 運動会のプログラムとか | |
10:41 < Farfalletta> 演奏会のプログラムとか |
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 ruby | |
require 'optparse' | |
require 'ostruct' | |
require 'yaml' | |
mode = 'production' | |
ARGV.options do |o| | |
o.on('-d', "--development") { |v| mode = 'development' } |
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 php | |
<?php | |
# for PHP 5.3 use "Closure" | |
$strtoupper = function($s) { return strtoupper($s); }; | |
$fruits = array('apple', 'orange', 'cherry'); | |
$stars = array('sun', 'moon', 'earch'); | |
echo implode('-', array_map($strtoupper, $fruits)) . "\r\n"; // APPLE-ORANGE-CHERRY |