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
tknzk@tknzks-mba [06:28:20] [~/Sites/xxxxxx/vagrant] [master] | |
-> % vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Clearing any previously set network interfaces... | |
There was an error while executing `VBoxManage`, a CLI used by Vagrant | |
for controlling VirtualBox. The command and stderr is shown below. | |
Command: ["hostonlyif", "create"] | |
Stderr: 0%... |
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
# Description: | |
# heisei | |
# | |
# Dependencies: | |
# | |
# Configuration: | |
# | |
# Commands: | |
# hubot heisei |
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
# Description: | |
# No overtime by node-cron. | |
cron = require('cron').CronJob | |
random = require('hubot').Response::random | |
module.exports = (robot) -> | |
sayArr = [ | |
'重松くん。いい仕事してますか?' |
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
require 'rubygems' | |
require 'feed-normalizer' | |
require 'open-uri' | |
require 'twitter' | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = ENV['TWITTER_CONSUMER_KEY'] | |
config.consumer_secret = ENV['TWITTER_CONSUMER_SECRET'] | |
config.access_token = ENV['TWITTER_ACCESS_TOKEN'] | |
config.access_token_secret = ENV['TWITTER_ACCESS_TOKEN_SECRET'] |
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
-> % brew install boot2docker | |
==> Installing boot2docker dependency: docker | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/docker-0.9.1.mavericks.bottle.tar.gz | |
curl: (18) transfer closed with 2918995 bytes remaining to read | |
Error: Failed to download resource "docker" | |
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/docker-0.9.1.mavericks.bottle.tar.gz | |
Warning: Bottle installation failed: building from source. | |
==> Cloning https://github.com/dotcloud/docker.git | |
Cloning into '/Library/Caches/Homebrew/docker--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
-> % brew upgrade openssl | |
==> Upgrading 1 outdated package, with result: | |
openssl 1.0.1g | |
==> Upgrading openssl | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1g.mavericks.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring openssl-1.0.1g.mavericks.bottle.tar.gz | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /usr/local. |
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
yum install mercurial | |
yum install ncurses-devel | |
hg clone https://vim.googlecode.com/hg vim | |
cd vim | |
./configure --enable-multibyte --enable-xim --enable-fontset --disable-selinux --with-features=huge | |
make | |
make install |
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
DBQuery.prototype.p = function() { | |
var args = arguments | |
this.forEach(function(e) { | |
var result = {} | |
if(args.length == 0) { | |
result = e | |
} else { | |
for(var i = 0; i < args.length; i++) { | |
var target = e | |
var keys = args[i].split('.') |
NewerOlder