Skip to content

Instantly share code, notes, and snippets.

View taejs's full-sized avatar
😃
A big fan of web

tae taejs

😃
A big fan of web
View GitHub Profile
class ImageLoader {
static DELAY_TIME = 200; //ms 단위
constructor(rowNum, imgElementList) {
this.imageElementList = imgElementList;
this.rowNum = rowNum;
}
calculateNextIndex(cnt) { //대각선으로 증가하는 수식
const rowNum = this.rowNum;
const lastNumber = this.rowNum * cnt;
We can't make this file beautiful and searchable because it's too large.
longitude,latitude,housingMedianAge,totalRooms,totalBedrooms,population,households,medianIncome,medianHouseValue
-114.31,34.19,15,5612,1283,1015,472,1.4936,66900
-114.47,34.4,19,7650,1901,1129,463,1.82,80100
-114.56,33.69,17,720,174,333,117,1.6509,85700
-114.57,33.64,14,1501,337,515,226,3.1917,73400
-114.57,33.57,20,1454,326,624,262,1.925,65500
-114.58,33.63,29,1387,236,671,239,3.3438,74000
-114.58,33.61,25,2907,680,1841,633,2.6768,82400
-114.59,34.83,41,812,168,375,158,1.7083,48500
-114.59,33.61,34,4789,1175,3134,1056,2.1782,58400
0
@taejs
taejs / studying.md
Last active March 29, 2019 14:10
StuCSS Animations Level 1
@taejs
taejs / studying.md
Last active March 29, 2019 14:05
Study Notes: Reading CSS Transitions Level 1
title date
Study Notes: Reading CSS Transitions Level 1 - Chapter 7~8
2019-03-27

Original post by tae: Reading CSS Transitions Level 1

#TIL - Reading CSS Transitions Level 1

Introduction

@taejs
taejs / studying.md
Last active March 26, 2019 15:52
Study Notes: Reading CSS Flex Layout Module 1 - Chapter 7~8
@taejs
taejs / widget.js
Created March 25, 2019 14:49
soundcloud widget APIK
var SC=SC||{};SC.Widget=function(n){function t(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return n[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var e={};return t.m=n,t.c=e,t.p="",t(0)}([function(n,t,e){function r(n){return!!(""===n||n&&n.charCodeAt&&n.substr)}function o(n){return!!(n&&n.constructor&&n.call&&n.apply)}function i(n){return!(!n||1!==n.nodeType||"IFRAME"!==n.nodeName.toUpperCase())}function a(n){var t,e=!1;for(t in b)if(b.hasOwnProperty(t)&&b[t]===n){e=!0;break}return e}function s(n){var t,e,r;for(t=0,e=I.length;t<e&&(r=n(I[t]),r!==!1);t++);}function u(n){var t,e,r,o="";for("//"===n.substr(0,2)&&(n=window.location.protocol+n),r=n.split("/"),t=0,e=r.length;t<e&&t<3;t++)o+=r[t],t<2&&(o+="/");return o}function c(n){return n.contentWindow?n.contentWindow:n.contentDocument&&"parentWindow"in n.contentDocument?n.contentDocument.parentWindow:null}function l(n){var t,e=[];for(t in n)n.hasOwnProperty(t)&&e.push(n[t]);return e}function d(n,t,e){e.callbacks[n]=e.callbacks[
@taejs
taejs / studying.md
Last active March 26, 2019 10:37
Study Notes: Reading CSS Flex Layout Module 1 - Chapter 1~6
@taejs
taejs / studying.md
Last active March 21, 2019 15:44
Days 21 ~ 22: Layout with Grid Chapter 9 ~ 13
title date
Study Notes: CSS Grid Layout Module 1 - Chapter 9 ~ 13
2019-03-21

Original post by tae: Days 21 ~ 22: Layout with Grid Chapter 9 ~ 13

#TIL - Reading CSS Grid Layout Module 1 - Chapter 9 ~ 13

Absolute Positioning

  • absolutely positioned element is positioned within offset properties (top/right/bottom/left) in grid container
@taejs
taejs / studying.md
Last active March 20, 2019 15:21
Day 19~20 Reading CSS Grid Layout Module 1 - Chapter 7~8