Skip to content

Instantly share code, notes, and snippets.

View shimakyohsuke's full-sized avatar

shimakyohsuke shimakyohsuke

View GitHub Profile
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# ZSH_THEME="robbyrussell"
ZSH_THEME="odin"

■wockerで初期設定をサクッと終わらせる http://note.next-season.net/cms/wordpress/808

##macのターミナル
vagrant ssh
 
##ここからはwockerマシンの中のssh操作
ls -s ~/data/init.sh /home/core/
chmod +x /home/core/init.sh
@shimakyohsuke
shimakyohsuke / wbkobe.md
Last active January 30, 2016 07:31
[議事録] 第50回 WordBench神戸(1月30日)〜プラグインについて話そう!〜

第50回 WordBench神戸(1月30日)〜プラグインについて話そう!〜

https://wordbenchkobe.doorkeeper.jp/events/37893

プラグインの最終更新日時が古い場合どうするか?

→他に選択肢がない場合は使う。PR 送れる技術があれば送りたい。

おすすめプラグイン系の記事を見つけたらどうしようか

@shimakyohsuke
shimakyohsuke / _layout.jade
Last active January 18, 2016 07:40
[KFUG UI勉強会 − サイボウズの新オフィスで学ぶ2016年のUI](http://kfug.connpass.com/event/24182/) のスライド用Gist
//- _layout.jade
doctype html
html
head
block title
title Default title
body
block content
@shimakyohsuke
shimakyohsuke / _mixins.jade
Last active January 18, 2016 06:41
[KFUG UI勉強会 − サイボウズの新オフィスで学ぶ2016年のUI](http://kfug.connpass.com/event/24182/) のスライド用Gist
//- _mixins.jade
mixin breadcrumb(...items)
div(itemscope='itemscope', itemtype='http://data-vocabulary.org/Breadcrumb')
a(href=dir, itemprop='url')
span(itemprop='title')
= pageName
| >
@shimakyohsuke
shimakyohsuke / index.jade
Last active January 16, 2016 04:42
[KFUG UI勉強会 − サイボウズの新オフィスで学ぶ2016年のUI](http://kfug.connpass.com/event/24182/) のスライド用Gist
//- index.jade
doctype html
html
head
title タイトル
body
include nav.jade
@shimakyohsuke
shimakyohsuke / vccw2.md
Created January 7, 2016 11:50
WindowsPowerShellでVCCW。VirtualBoxはv5.0.12
PS C:\vccw-2.19.0> vagrant -v
Vagrant 1.8.1
PS C:\vccw-2.19.0> vagrant up
Bringing machine 'vccw.dev' up with 'virtualbox' provider...
==> vccw.dev: Removing hosts
==> vccw.dev: No machine id, nothing removed from C:/WINDOWS/system32/drivers/etc/hosts
==> vccw.dev: Importing base box 'miya0001/vccw'...
==> vccw.dev: Matching MAC address for NAT networking...
==> vccw.dev: Checking if box 'miya0001/vccw' is up to date...
PD@PD-VAIO MINGW64 /c/vccw-2.19.0
$ vagrant -v
Vagrant 1.8.1
PD@PD-VAIO MINGW64 /c
$ vagrant box add miya0001/vccw
==> box: Loading metadata for box 'miya0001/vccw'
    box: URL: https://atlas.hashicorp.com/miya0001/vccw
==> box: Adding box 'miya0001/vccw' (v2.19.0) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/miya0001/boxes/vccw/versions/2.19.0/providers/virtualbox.box
@shimakyohsuke
shimakyohsuke / error_msg.txt
Created January 7, 2016 06:36
Win10にWockerをupしたら表示されるエラーメッセージ
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
@shimakyohsuke
shimakyohsuke / snippets.json
Created September 3, 2015 09:20
emmet snippets.json
{
"variables": {
"lang": "ja",
"locale": "ja-JP"
},
"php": {
"filters": "php",
"extends": "html",
"profile": "xml"
}