Skip to content

Instantly share code, notes, and snippets.

View shimakyohsuke's full-sized avatar

shimakyohsuke shimakyohsuke

View GitHub Profile
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 / 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...
@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 / _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 / wbkobe.md
Last active January 30, 2016 07:31
[議事録] 第50回 WordBench神戸(1月30日)〜プラグインについて話そう!〜

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

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

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

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

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

■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
select(name="birthday_year", required)
option(value='', selected='selected') -
- var n = 1990
while n <= 2016
option(value=n + '年')
=n++
| 年
select(name="birthday_month", required)
option(value='', selected='selected') -
@shimakyohsuke
shimakyohsuke / wp_single.css
Last active March 16, 2016 06:15
WordPress の single ページに使うCSS
img {
max-width: 100%;
height: auto;
}
.aligncenter {
display: block;
margin: 0 auto;
}
.alignright {
float: right;
@shimakyohsuke
shimakyohsuke / content-area-markup.wordpress.xml
Last active March 18, 2016 06:56 — forked from ShinichiNishikawa/WP Content Area Markup
Tags I use a lot in WordPress content area.
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->