src
└─ ejs
├─ index.ejs
└─ partial
└─ _inc_css.ejs
node_modules
└─ 各パッケージ
dist
└─ index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
px10 = 63% | |
px11 = 69% | |
px12 = 75% | |
px13 = 82% | |
px14 = 88% | |
px15 = 94% | |
px16 = 100% | |
px17 = 107% | |
px18 = 113% | |
px19 = 119% |
※161102 以下記事に最新の方法が記載されてます。
http://blog.cntlog.net/?p=1494
- 公開サーバーの phpMyAdmin から生成オプションの「DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER コマンドを追加する」にチェックいれた状態で sql ファイルをエクスポート
- Wocker に新しいコンテナを作成 ※以下コマンドで作成したコンテナ名は「CONTAINER」です。
core@wocker ~ $ wocker run --name CONTAINER
- wocker exec コマンドで root に入る
core@wocker ~ $ wocker exec -it CONTAINER bash
- sql ファイルをインポート
root@*****:/var/www/wordpress# wp db import --allow-root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_style() { | |
wp_enqueue_style( 'parent-style', dirname( get_template_directory_uri() ) . '/twentyfifteen/style.css' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'my_style' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# JavaScript | |
'.source.js': | |
'console.log': | |
'prefix': 'log' | |
'body': 'console.log(${1:"crash"});$2' | |
'function': | |
'prefix': 'func' | |
'body': 'function $1($2) {\n $3\n}' | |
'function literal': | |
'prefix': 'funcl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ds(w,h = auto,f = left) | |
width w | |
height h | |
float f | |
lh(n) | |
line-height (n * 100)% | |
fs(c,fz,lh,fw = 400) | |
color c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja-JP"> | |
<head> | |
<meta name="robots" content="noindex,nofollow,noarchive"> | |
<meta name="googlebot" content="noindex,nofollow,noarchive"> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="format-detection" content="telephone=no"> | |
<meta name="viewport" content="width=1024"> | |
<meta name="robots" content="noodp,noydir"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja-JP"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="format-detection" content="telephone=no"> | |
<meta name="viewport" content="width=1024"> | |
<title>siteTitle XXX</title> | |
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://example.comimages/common/favicon.ico"> | |
<link rel="stylesheet" href="/style.css"> |
$ nodebrew use <NEW_VERSION>
$ nodebrew migrate-package <OLD_VERSION>
OlderNewer