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 | |
# update the local repo listing | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
# install language-pack-ja | |
sudo apt-get -y install language-pack-ja | |
# install git |
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
toDateTime <- function(strTime){ | |
strptime((strTime),format="%Y/%m/%d %H:%M") | |
} | |
> toDateTime("2012/08/12 00:00") | |
---- | |
countRunning <- function(recordDateTime, startDateTime, endDateTime){ | |
# isRunning <- ifelse(startDateTime <= recordDateTime & recordDateTime < endDateTime, 1, 0) | |
isRunning <- (startDateTime <= recordDateTime & recordDateTime < endDateTime) * 1 |
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 octopress | |
cd octopress | |
bundle install | |
rake setup_github_pages | |
Repository url: [email protected]:shiraco/shiraco.github.com.git | |
rake install | |
rake generate | |
rake deploy | |
git remote add bucket [email protected]:shiraco/octopress.git |
NewerOlder