Skip to content

Instantly share code, notes, and snippets.

View shimakyohsuke's full-sized avatar

shimakyohsuke shimakyohsuke

View GitHub Profile
@shimakyohsuke
shimakyohsuke / vccw_mycli.md
Last active August 29, 2015 14:26
mycli を vccw で使ってみる

VCCW

Vagrant based development environment for WordPress plugins, themes, or websites.

http://vccw.cc/

mycli

Mycli is a command line interface for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting.

@shimakyohsuke
shimakyohsuke / init.coffee
Created August 3, 2015 06:10
atom editor init.coffee
fs = require 'fs'
atom.workspace.onDidOpen ->
editor = atom.workspace.getActiveTextEditor()
try
filePath = editor.getPath()
console.log filePath
catch error
@shimakyohsuke
shimakyohsuke / text.md
Last active August 30, 2015 06:24
D2DRAFT Aチーム

気になること、本当に知りたいこと。 ここにあり〼。

	<ul>
		<li><a href="#">活動紹介</a></li>
		<li><a href="#">D2Dとは</a></li>
		<li><a href="#">ブログ</a></li>
		<li><a href="#">お問合せ</a></li>
	</ul>
<!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>
/*
* 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 {
@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"
}
@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
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 / 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