Skip to content

Instantly share code, notes, and snippets.

View shimakyohsuke's full-sized avatar

shimakyohsuke shimakyohsuke

View GitHub Profile
@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 / 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 / _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 / 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
# 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"
@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"
}
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
body, html {
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>D2 - DEV &amp; DESIGN DRAFT</title>
</head>
<body>
<header>