Skip to content

Instantly share code, notes, and snippets.

@7cc
7cc / index.html
Last active August 19, 2016 13:10
table-vertical-space.css [css]
<table>
tr>th{header}*4
(tr>td{header}*4)*4
</table>
@7cc
7cc / intarvalRAF.js
Created October 26, 2015 12:37
requestAnimationFrame with delay
function intarvalRAF(fn, delay) {
var obj = { timerId: NaN }
var loop = function(startTime) {
var now = Date.now()
startTime = startTime || now
var curTime = now
, duration = curTime - startTime
if ( delay <= duration) {
fn()
loop(now)
@7cc
7cc / of
Created July 16, 2015 13:38
of
B's A (A is part of B, A belongs B)
the color of the sky
the capital of Japan
a member of the team
B's A
the property of the residents
families of kidnapped Americans
parents of young children
A = B (general of specific)
a feeling of duty
@7cc
7cc / adequate.txt
Created May 22, 2015 14:10
adequate & sufficient in collocation
adequate
care
adequate health care
adequate medical care
resources
have adequate resources
lack adequate resources
support
with/out adequate support
receive adequate support
@7cc
7cc / HHmmssToSeconds-test.js
Last active August 29, 2015 14:21
HHmmss To Seconds [JS] [time]
// example
HHmmssToSeconds("8")
HHmmssToSeconds(":8")
HHmmssToSeconds("1:08")
HHmmssToSeconds("1:8")
HHmmssToSeconds("01:00:08")
HHmmssToSeconds("1:0:8")
@7cc
7cc / アメリカ発音とイギリス発音 簡易まとめ.md
Last active October 20, 2015 12:32
American / British pronunciation [english] [pronunciation]

アメリカ発音とイギリス発音 簡易まとめ

簡易表

word NA BR difference
not ɑː ɒ vowel
can't, æ ɑː vowel
class, ask, etc æs ɑːs vowel
own əʊ vowel
plummet: 急落 くぼみ, へこみ
stumble: 弱まる、くらいの意味で。 つまずく、よろめく。
plunge: 落ち込み。priceと使われる。the plunge in oil prices
tumble: 急落, 暴落 転ぶ
soar: 高騰, 急騰 舞う, 飛ぶ。
jump: soarと同じ
an increase in [demand] for [X].
@7cc
7cc / leader.css.md
Created January 26, 2015 09:40
[CSS] リーダ
@7cc
7cc / demo.html
Last active March 18, 2020 19:53
multi-border-color.css
<iframe srcdoc="
<!doctype html>
<style>
.multi-border-color {
border-style: solid;
border-image-source: linear-gradient(to right, crimson 15%, #ddd 15% 100%);
border-image-width: 0px 0px 10px 0px;
border-width: 0px 0px 10px 0px;
border-image-slice: 1;
}
@7cc
7cc / 色立体.md
Last active August 18, 2017 14:25
色立体

何の差が出るのか

  • 扱える範囲(色空間)
  • 色差

何故、こんなに種類があるのか

  • 色を分類・体系的に表す目的から生まれたもの
  • 実用的・工業的 必要性から生まれたもの