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
group :development do | |
gem 'i18n-tasks' | |
end |
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
local function samplingFromMultinomialDistribution(probabilities) | |
local accumulateProbability = 0 | |
local accumulateProbabilities = {} | |
for i = 1, #probabilities do | |
accumulateProbability = accumulateProbability + probabilities[i] | |
table.insert(accumulateProbabilities, accumulateProbability) | |
end | |
local random = math.random() |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Change Shift_Underscore(_) to Underscore(_)</name> | |
<identifier>private.change_shift_underscore_to_underscore</identifier> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::JIS_UNDERSCORE, VK_SHIFT, | |
KeyCode::JIS_UNDERSCORE, | |
</autogen> |
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
# config/initializers/mail.rb | |
class ActionMailer::Base | |
default 'Content-Transfer-Encoding' => '7bit' | |
end |
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
$ git clone git://github.com/imathis/octopress.git fakestarbaby.github.com | |
Cloning into fakestarbaby.github.com... | |
remote: Counting objects: 6310, done. | |
remote: Compressing objects: 100% (2340/2340), done. | |
remote: Total 6310 (delta 3593), reused 5890 (delta 3404) | |
Receiving objects: 100% (6310/6310), 1.28 MiB | 141 KiB/s, done. | |
Resolving deltas: 100% (3593/3593), done. | |
$ cd fakestarbaby.github.com | |
$ bundle install | |
Fetching gem metadata from http://rubygems.org/....... |
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
# ----------------------- # | |
# 3rd Party Settings # | |
# ----------------------- # | |
twitter_user: fakestarbaby | |
twitter_tweet_count: 10 | |
twitter_show_replies: false | |
twitter_follow_button: true | |
twitter_show_follower_count: false |
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
$ git clone git://github.com/tommy351/Octopress-Theme-Slash.git .themes/slash | |
Cloning into .themes/slash... | |
remote: Counting objects: 730, done. | |
remote: Compressing objects: 100% (365/365), done. | |
remote: Total 730 (delta 400), reused 675 (delta 345) | |
Receiving objects: 100% (730/730), 221.25 KiB | 86 KiB/s, done. | |
Resolving deltas: 100% (400/400), done. | |
$ rake install['slash'] | |
A theme is already installed, proceeding will overwrite existing files. Are you sure? [y/n] y | |
## Copying slash theme into ./source and ./sass |
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
# ----------------------- # | |
# 3rd Party Settings # | |
# ----------------------- # | |
# Google Analytics | |
google_analytics_tracking_id: UA-XXXXXXXX-X |
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
# ----------------------- # | |
# Main Configs # | |
# ----------------------- # | |
url: http://FakeStarBaby.github.com | |
title: SCRABBLE NOTE | |
subtitle: 思うがままに書き殴るブログ | |
author: Yoshinori Hirasawa | |
simple_search: http://google.com/search | |
description: |
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
# ----------------------- # | |
# 3rd Party Settings # | |
# ----------------------- # | |
# Github repositories | |
github_user: fakestarbaby | |
github_repo_count: 3 | |
github_show_profile_link: true | |
github_skip_forks: true |
OlderNewer