Skip to content

Instantly share code, notes, and snippets.

@dfdgsdfg
dfdgsdfg / md2docx.sh
Last active February 28, 2019 03:21
Pandoc md to docx every file in folder bashshell
#!/usr/bin/env bash
echo "=========================="
echo "YOU NEED TO INSTALL PANDOC"
echo "=========================="
SRC_DIR='./src'
DIST_DIR='./dist'
files=($(find ${SRC_DIR} -type f -name '*.md'))
Verifying my Blockstack ID is secured with the address 1NyB9pZbKtpDZLKekBJBU83gE1yJ5fdhFu https://explorer.blockstack.org/address/1NyB9pZbKtpDZLKekBJBU83gE1yJ5fdhFu
### Keybase proof
I hereby claim:
* I am dfdgsdfg on github.
* I am dididi (https://keybase.io/dididi) on keybase.
* I have a public key whose fingerprint is D0D3 959B 60B8 5953 605A 0EED 3B6E FDE9 1892 F7E4
To claim this, I am signing this object:

JS에 커링이 과연 얼마나 잘어울리냐하는 흥미로운 논의가 꽤 있었는데요,

대표적으로 포문을 연 Brian Lonsdorf 의 Hey Underscore, You're Doing It Wrong! 이 있죠. https://www.youtube.com/watch?v=m3svKOdZijA https://www.slideshare.net/drboolean/underscore-18211797

사실 로다쉬나 언더스코어/백본을 통해 막 함수형의 장점이 아카데믹이 아닌 커뮤니티에도 받아들여지고 있었는데 이때부터 커링이라든지, 람다JS나 Fantasy Land등 나름 함수형 고급 주제들이 실 개발자에게도 받아들이기 시작된거 같아요

아무튼, 실질적으로 좀더 살펴볼 거는 알렉스의 Currying is not idiomatic in JavaScript 인데, 커링의 대안으로 어차피 커링이 파셜 애플리케이션에서 쓸거니 bind(null, target)과 같이 bind를 응용하거나 bind(null, target)의 신타스틱 슈거를 만드는 방안등이 논의되긴 했지요. http://2ality.com/2017/11/currying-in-js.html

@dfdgsdfg
dfdgsdfg / main.dart
Last active August 18, 2023 09:04
Flutter CJK underline bug workaround
// This code is distributed under the MIT License.
// Copyright (c) 2019 Remi Rousselet.
// You can find the original at https://github.com/rrousselGit/provider.
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
// This is a reimplementation of the default Flutter application
// using provider + [ChangeNotifier].
void main() {