apply()
,call()
の理解が足りない。
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
[submodule "lib/normalize.css"] | |
path = lib/normalize.css | |
url = git://github.com/necolas/normalize.css.git |
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
brew --config | |
HOMEBREW_VERSION: 0.9 | |
HEAD: fd4ddd8bb2e667686bb420f4157d5326d4130eee | |
HOMEBREW_PREFIX: /Users/Yu/.homebrew | |
HOMEBREW_CELLAR: /Users/Yu/.homebrew/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.4 | |
Kernel Architecture: x86_64 | |
Xcode: 4.3 | |
GCC-4.0: N/A |
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
## | |
# Apache 2: オレオレ設定ファイル (PHP 動かす編) | |
# | |
# OS X 標準の httpd.conf に以下のような行を追加して読み出す事: | |
# Include /path/to/this/my_httpd.conf | |
# | |
# @author twitter.com/japboy | |
# @version 2012-03-25 | |
# DocumentRoot |
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
/** | |
* Date related snippets | |
* @author Yu I. | |
*/ | |
(function() { | |
var datetime_rfc1123 = new Date(), | |
datetime_iso8601 = 'YYYY-MM-DDThh:mm:ss+0000', | |
unix_timestamp_1 = (datetime_rfc1123).getTime() / 1000.0, | |
unix_timestamp_2 = Date(datetime_rfc1123).parse, |
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 | |
# -*- coding: utf-8 -*- | |
"""Testee module | |
This script just writes 'Hello, world.' in your language. This is my study case | |
of unit testing for test-driven development. | |
""" | |
import locale |
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 | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import base64 | |
import mimetypes | |
import gtk | |
def get_mimetype_string(file_path): |
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/bash | |
SHA1SUMS='SHA1SUMS' | |
if [ ${#} -ne 1 ] | |
then | |
echo "Usage: bash $0 /path" | |
exit 1 | |
fi |
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
<!DOCTYPE html> | |
<html dir="ltr"> | |
<head> | |
<meta charset="UTF-8"> | |
<style type="text/css"> | |
body section#slider | |
{ | |
background-color: #eee; | |
margin: auto; |