Skip to content

Instantly share code, notes, and snippets.

@maten-rou
maten-rou / file0.txt
Created June 25, 2016 09:07
PHPでスペルミスチェッカーを作ってみた ref: http://qiita.com/super-hot-engineer/items/8c4cd41759b572ad2d51
git clone https://github.com/last-resort/miss_spelling_checker.git
@maten-rou
maten-rou / cmd.bat
Last active April 14, 2017 01:30
windows起動時にvagrant upを自動実行して効率up ref: http://qiita.com/amateurgrammer/items/4828ee38d6452d6f0a48
"vagrant_up.batのpath"
@maten-rou
maten-rou / file0.txt
Created September 11, 2015 08:54
Vagrant上のUbuntu14.04にChainerをインストールする ref: http://qiita.com/last-resort/items/47281b258784d2654929
sudo apt-get install python-pip
@maten-rou
maten-rou / file0.txt
Created May 28, 2015 02:59
forfilesコマンドで特定フォルダ以下の指定したファイル名のファイルを抽出して、別のフォルダへコピーする ref: http://qiita.com/last-resort/items/8489d2442415fd68c689
SET FROM_DIR=抽出したいファイルが入っているフォルダ
SET TO_DIR=抽出したファイルを入れるフォルダ
@maten-rou
maten-rou / file0.txt
Last active August 29, 2015 14:21
Laravelのインストール時に「the requested PHP extension mbstring is missing from your system.」が出たら ref: http://qiita.com/last-resort/items/f6b5e685cc987ac63f6b
Problem 1
- Installation request for danielstjules/stringy 1.9.0 -> satisfiable by danielstjules/stringy[1.9.0].
- danielstjules/stringy 1.9.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
- Installation request for laravel/framework v5.0.16 -> satisfiable by laravel/framework[v5.0.16].
- laravel/framework v5.0.16 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
@maten-rou
maten-rou / file0.txt
Last active August 29, 2015 14:21
Laravelのインストール時に「You must enable the openssl extension to download files via https」が出たら ref: http://qiita.com/last-resort/items/36a522b126bff78c756d
C:\Apache24\htdocs>composer create-project laravel/laravel --prefer-dist
Installing laravel/laravel (v5.0.22)
- Installing laravel/laravel (v5.0.22)
Failed to download laravel/laravel from dist: You must enable the openssl extension to download files via https
Now trying to download from source
@maten-rou
maten-rou / file0.txt
Last active August 29, 2015 14:17
UnityでThere are 2 audio listeners in the sceneの警告メッセージを解消する方法 ref: http://qiita.com/last-resort/items/94fbf647a16f7a46edf4
There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.
@maten-rou
maten-rou / エラーメッセージ
Created February 19, 2015 13:48
「rake db:migrate」コマンドで「rake aborted」になったら ref: http://qiita.com/last-resort/items/1585fa43ea490d235df5
rake aborted!
You have already activated rake 10.1.0, but your Gemfile requires rake 10.4.2. Prepending `bundle exec` to your command may solve this.
/home/vagrant/.rvm/gems/ruby-2.1.5@global/gems/bundler-1.8.2/lib/bundler/runtime.rb:34:in `block in setup'
/home/vagrant/.rvm/gems/ruby-2.1.5@global/gems/bundler-1.8.2/lib/bundler/runtime.rb:19:in `setup'
/home/vagrant/.rvm/gems/ruby-2.1.5@global/gems/bundler-1.8.2/lib/bundler.rb:122:in `setup'
/home/vagrant/.rvm/gems/ruby-2.1.5@global/gems/bundler-1.8.2/lib/bundler/setup.rb:8:in `<top (required)>'
/home/vagrant/projects/sample_rails_project/config/boot.rb:3:in `<top (required)>'
/home/vagrant/projects/sample_rails_project/config/application.rb:1:in `<top (required)>'
/home/vagrant/projects/sample_rails_project/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)
@maten-rou
maten-rou / file1.txt
Created February 15, 2015 12:05
VagrantにRailsをインストールする(Ubuntu) ref: http://qiita.com/last-resort/items/172f5f47721def259c40
git clone git://github.com/sstephenson/rbenv.git /usr/local/
@maten-rou
maten-rou / epel.repo
Last active October 5, 2015 04:31
Vagrantにリポジトリを追加する ref: http://qiita.com/last-resort/items/93f849d4983db6165206
[epel]
name=EPEL RPM Repository for Red Hat Enterprise Linux
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/$basearch/
gpgcheck=1
enabled=0