Skip to content

Instantly share code, notes, and snippets.

View jacoyutorius's full-sized avatar
🏠
Working from home

jacoyutorius jacoyutorius

🏠
Working from home
View GitHub Profile
@jacoyutorius
jacoyutorius / twintail.coffee
Last active August 29, 2015 14:04
twintail.coffee
# Description:
# When anyone says 'twintail' then, bot puts jpg file.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
@jacoyutorius
jacoyutorius / hentai.coffee
Created July 25, 2014 07:06
hentai.coffee
# Description:
# When anyone says 'hentai' then, bot puts jpg file.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
@jacoyutorius
jacoyutorius / file0.txt
Created June 4, 2014 05:18
SublimeText3 + RubyTest で"rspec command not found" が発生する ref: http://qiita.com/jacoyutorius/items/a81bfed66aa3bb0049ae
{
"run_rspec_command": "$HOME/.rbenv/shims/rspec exec rspec {relative_path}",
"run_single_rspec_command": "$HOME/.rbenv/shims/rspec exec rspec {relative_path} -l{line_number}"
}
@jacoyutorius
jacoyutorius / Gemfile
Created June 3, 2014 12:23
Rails4用Gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.1'
# Use sqlite3 as the database for Active Record
group :development, :test do
gem 'sqlite3'
gem "rspec-rails"
" viとの互換モードをOFF
set nocompatible
" backspaceによる文字の削除を有効
set backspace=start,eol,indent
" ハイライトをON
syntax on
set nohlsearch
@jacoyutorius
jacoyutorius / file0.txt
Last active November 11, 2016 22:02
Docker事始め その2。Dockerfileを作ってみる ref: http://qiita.com/jacoyutorius/items/1ed47a5b82ab8c173ff8
FROM centos
MAINTAINER Yuto Ogi <[email protected]>
RUN echo "install ruby environment"
RUN yum install -y git vim sudo tar wget
RUN yum install -y gcc make gcc-c++ zlib-devel httpd-devel openssl-devel curl-devel sqlite-devel
RUN cd /root/ && wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz
RUN cd /root/ && tar zxvf ruby-2.1.1.tar.gz
@jacoyutorius
jacoyutorius / Dockerfile
Created May 7, 2014 12:57
Dockerfile to create rails container
ROM centos
MAINTAINER Yuto Ogi <[email protected]>
RUN echo "install ruby environment"
RUN yum install -y git vim sudo tar wget
RUN yum install -y gcc make gcc-c++ zlib-devel httpd-devel openssl-devel curl-devel sqlite-devel
RUN cd /root/ && wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz
RUN cd /root/ && tar zxvf ruby-2.1.1.tar.gz
brew update
brew install boot2docker

Untitled Slide

Welcome to Glide.

Glide is the easiest way to create useful slide for all of your Gists.

  • input key <- to go backward.
  • input key -> to go forward.

Publishing

@jacoyutorius
jacoyutorius / angular_api.html
Created March 27, 2014 10:38
Angular.jsでカーリルAPIを叩いてみました
<!DOCTYPE html>
<html ng-app>
<head>
<title>LibrarySearchSample</title>
<script type="text/javascript" src="http://code.angularjs.org/angular-1.0.0.min.js"></script>
</head>
<body ng-controller="LibrarySearchCtrl" ng-init="init()">
<a class="navbar-brand" href="#">LibrarySearchSample</a>