Skip to content

Instantly share code, notes, and snippets.

View shimakyohsuke's full-sized avatar

shimakyohsuke shimakyohsuke

View GitHub Profile
@shimakyohsuke
shimakyohsuke / keymap.cson
Last active August 29, 2015 14:24
Atom keymap.cson
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
@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
<?php
/**
* @package Structured Data of JSON-LD
* @version 2.0
*/
/*
Plugin Name: Structured Data of JSON-LD
Plugin URI: http://wordpress.org/plugins/ejls-easy-json-ld-setter/
Description: Set Structured Data of "JSON-LD" to your WebSite.schema type that you can use is "Article","Person","WebSite" and "searchAction".
Author: Hidetaka Okamoto
@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"
}
# 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 / 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