Let this long package float,
Goto private class if short.
While protected with debugger case,
Continue volatile interface.
Instanceof super synchronized throw,
Extends final export throws.
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
#!/bin/bash | |
HOST=対象ホスト名(IPアドレス) | |
USER=ログインユーザ | |
PASS=パスワード | |
TARGET_DIR=バックアップディレクトリ(ファイル) | |
BACKUP_DIR=保存先ディレクトリ | |
expect -c " | |
set timeout -1 |
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"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<!-- for Mobile view --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
<!-- iOS Application Setting --> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
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
<div id="user_info"> | |
</div> | |
<script> | |
javascript_tag do | |
<<-JS | |
window.User = window.User || #{@json_from_controller_or_wherever.html_safe}; | |
JS | |
end | |
</script> |
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
<div id=root /> | |
<script type=module> | |
import React from 'https://dev.jspm.io/react@16' | |
import ReactDOM from 'https://dev.jspm.io/react-dom@16' | |
ReactDOM.render( | |
React.createElement('h1', null, 'hello'), | |
document.querySelector('#root') | |
) | |
</script> |
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
class Store<S> { | |
private vm: Vue | |
constructor(initialState: S) { | |
this.vm = new Vue({ | |
data: initialState | |
}) | |
} | |
get state(): S { |
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
<script src="https://unpkg.com/vue/dist/vue.js"></script> | |
<link href="https://unpkg.com/bootstrap@4.0.0-beta.2/dist/css/bootstrap-reboot.min.css"> |
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
{ | |
"minifySvg": false, | |
"collapseWhitespace": "conservative", | |
"minifyCss": { | |
"safe": true | |
} | |
} |
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
//- templated by jade | |
svg(width=640 height=480 style="background-color:grey;") | |
circle( | |
cx=30 cy=30 | |
r=25 | |
stroke="grey" stroke-width=1 | |
fill="wheat") | |
rect( | |
width=50 height=50 | |
x=60 y=10 |
前提: 完成していて、比較的支持を集めていて、JavaScriptを中心にした書籍 (DOM APIよりは言語を中心とした内容)
追記: JavaScriptの入門書 #jsprimerを書いている
最初からES2015で学ぶことを前提にした初心者〜中級者向けのJavaScript本がなかったので書いてる。 ES2015でJavaScriptという言語のコア部分は大きく変わったので、それを前提とした内容にする予定。
OlderNewer