Skip to content

Instantly share code, notes, and snippets.

@d-ikeda
d-ikeda / gist:48d995778e20813b9715f0a8f45fb40c
Created April 8, 2018 09:20
●リスト7::自機から3WAYの弾丸を生成(Fighter.cs) に変更する前のFighter.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// 自機
public class Fighter : MonoBehaviour
{
// 毎フレームの更新
void Update()
{
$ git clone git@github.com:atom/atom.git
$ cd ./atom
$ ./script/build
Node: v4.2.6
npm: v2.13.3
Installing build modules...
=> Took 10517ms.
(中略)
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
<ul>
<li>リスト1</li>
<li>リスト2
<ul>
<li>リスト3</li>
</ul>
</li>
</ul>
"*":
autosave: {}
core:
audioBeep: false
themes: [
"one-light-ui"
"one-light-syntax"
]
editor:
invisibles: {}
@d-ikeda
d-ikeda / gist:7c8ddd3117507d7145e8
Created March 2, 2015 09:23
●リスト9.25 score列にNOT NULL制約を付けたテーブル定義
ch9_transaction=# CREATE TABLE ScoreRowsNN
ch9_transaction-# (student_id CHAR(4) NOT NULL,
ch9_transaction(# subject VARCHAR(8) NOT NULL,
ch9_transaction(# score INTEGER NOT NULL,
ch9_transaction(# CONSTRAINT pk_ScoreRowsNN PRIMARY KEY(student_id, subject));
CREATE TABLE
ch9_transaction=#
ch9_transaction=# INSERT INTO ScoreRowsNN VALUES ('A001', '英語', 0);
INSERT 0 1
ch9_transaction=# INSERT INTO ScoreRowsNN VALUES ('A001', '国語', 0);
<UNICODE-MAC>
<ParaStyle:大見出し>三角かっこ
<ParaStyle:中見出し>文字コード番号表記
<ParaStyle:本文><005C><<005C>>
<ParaStyle:中見出し>そのまま文字
<ParaStyle:本文><>
<ParaStyle:中見出し>0x追加
<ParaStyle:本文><0x005C><<0x005C>>
<ParaStyle:大見出し>キーフォント
<ParaStyle:中見出し>文字コード番号表記