ショートカットキーを用いて、仕事能率を120%にする方法 - Boostnote
안녕하세요. 여러분은 숏컷(단축키)를 사용하고 계신가요?
보통 단축키를 사용하면 하루에 5분을 절약할 수 있다고 합니다. 이 경우 30일이면 150분(2시간 반)을 절약할 수 있고, 1년이 되면 1800분(30시간)을 절약할 수 있게 됩니다.
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */ | |
/* RESET | |
=============================================================================*/ | |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} |
class Book < Hanami::Entity | |
def author | |
AuthorRepository.new.find_with_book(self) | |
end | |
def comments | |
CommentRepository.new.find_with_book(self) | |
end | |
end |
# web/controllers/authentication.rb | |
module Web | |
module Authentication | |
module Skip | |
def authenticate! | |
end | |
end | |
def self.included(action) | |
action.class_eval do |
class Game | |
def initialize | |
@rounds = [] | |
end | |
def set(round) | |
@rounds << round | |
end | |
def fastest_round |
ショートカットキーを用いて、仕事能率を120%にする方法 - Boostnote
안녕하세요. 여러분은 숏컷(단축키)를 사용하고 계신가요?
보통 단축키를 사용하면 하루에 5분을 절약할 수 있다고 합니다. 이 경우 30일이면 150분(2시간 반)을 절약할 수 있고, 1년이 되면 1800분(30시간)을 절약할 수 있게 됩니다.
// Originally implemented by David Konsumer | |
// https://blog.jetboystudio.com/articles/gatsby/ | |
import React from "react"; | |
import PropTypes from "prop-types"; | |
// This function generates new object omitting given properties. | |
// Since React props now cannot be modified, I implemented this function. | |
// You can also use lodash#omit function. | |
function omit(targetObj, omitProps) { | |
let copiedObj = Object.assign({}, targetObj); |
const fs = require('fs'); | |
fs.readdir('./', (err, files) => { | |
if (err) { | |
throw new Error(err); | |
} | |
const oldPosts = files.filter(file => /\.md$/.test(file)); | |
oldPosts.forEach(post => injectRedirectTo(post)); |
class Either { | |
protected $value; | |
static of<T>(x: T) { | |
return new Right(x); | |
} | |
constructor(x) { | |
this.$value = x; | |
} |
interface Ship { | |
SetRudderAngleTo(angle: number); | |
SetSailConfiguration(configuration: SailConfiguration); | |
SetSailAngle(SailId: number, sailAngle: number); | |
GetCurrentBearing(): number; | |
GetCurrentSpeedEstimate(): number; | |
ShiftCrewWeightTo(weightToShift: number, locationId: number); | |
} | |
interface SailConfiguration { |
일단 자바스크립트 초급자가 읽기 좋은 책은 아니다. 하지만 자바스크립트를 좀 다루면서, Redux나 RxJS 같은 라이브러리를 접해본 사람들이 '왜 이런 방식으로 코드를 작성해야하는지' 단서를 얻을 수도 있고, 더 나아가서 함수형 프로그래밍의 기본 개념을 자신에게 익숙한 자바스크립트로 익힐 수 있다.
특히 5장 때문에 이 책을 활용한 단기 스터디를 진행했는데, 확실히 팀원에게 내가 생각하는 함수 분할 및 조합에 대한 생각을 공유하고 이해시키는데 많은 도움이 되었다.