Skip to content

Instantly share code, notes, and snippets.

View ChangJoo-Park's full-sized avatar
:octocat:
🌱

ChangJoo Park(박창주) ChangJoo-Park

:octocat:
🌱
View GitHub Profile
@DawidvanGraan
DawidvanGraan / BitbucketPipelines2Firebase.md
Last active February 25, 2020 22:50
Deploy your Angular 2 project with Bitbucket Pipelines to Firebase Hosting

Deploy your Angular 2 project with Bitbucket Pipelines to Firebase Hosting

Firebase

Please see the Firebase setup instruction to setup a project on Firebase.

Firebase CI Token

To run the firebase deploy command you need to obtain a login token from Firebase. To do so, run the firebase login:ci on your command line which will generate a token. Copy the generated token.

Environment Variables

Goto your project in Bitbucket, open the Settings and select Environment variables.

VSCode Sass, Vue 세팅하기

항상 Vue.js korea에서 많은분들의 도움을 받고있습니다. 감사합니다~

어제 vscode를 처음 써보면서 세팅하면서 겪었던 시행착오들을 한번 정리해봤습니다.

vscode를 처음 쓰시고자 하는분들한테 도움이 되길 바랍니다.

Sass

vscode를 맨처음 설치하고 단일 파일 *.vue로 된파일을 열었을때 scss가 있으면 아래와 같이 에러가 발생합니다.

@Dinir
Dinir / pico-8 korean.txt
Created October 18, 2016 01:16
PICO-8 Manual (Korean)
============================================================================================
PICO-8 v0.1.8
http://www.pico-8.com
(c) Copyright 2014-2016 Lexaloffle Games LLP
만든 이: Joseph White // [email protected]
옮긴 이: Dinir Nertan // [email protected]
PICO-8은 아래의 기술로 만들어졌습니다:
SDL2 http://www.libsdl.org
@amk221
amk221 / formatter.js
Last active May 8, 2018 16:08
Sequelize JSON API formatter
/**
* Outputs the result of a Sequelize query for JSONAPI
*
* e.g.
* let foo = yield models.Foo.findById(this.params.fooId);
* this.body = output(foo);
*
* Results in:
*
* {
@HoverBaum
HoverBaum / .travis.yml
Created August 11, 2016 03:19
Deploy Hexo blog using Travis.
# Deploy hexo site by travis-ci
# https://github.com/jkeylu/deploy-hexo-site-by-travis-ci
# LICENSE: MIT
#
# 1. Copy this file to the root of your repository, then rename it to '.travis.yml'
# 2. Replace 'YOUR NAME' and 'YOUR EMAIL' at line 29
# 3. Add an Environment Variable 'DEPLOY_REPO'
# 1. Generate github access token on https://github.com/settings/applications#personal-access-tokens
# 2. Add an Environment Variable on https://travis-ci.org/{github username}/{repository name}/settings/env_vars
# Variable Name: DEPLOY_REPO
@SangsooNam
SangsooNam / publish_gitbook.sh
Last active October 14, 2021 14:10
Publish GitBook to Github Pages(gh-pages)
# install the plugins and build the static site
gitbook install && gitbook build
# checkout to the gh-pages branch
git checkout gh-pages
# pull the latest updates
git pull origin gh-pages --rebase
# copy the static site files into the current directory.

Asciidoc 으로 전자책 쓰기 - SpringCamp 2016 LETS


@1ambda
1ambda / Kleisli.md
Created February 29, 2016 12:40
Kleisli

Composition (합성) 은 함수형 언어에서 중요한 테마중 하나인데요, 이번 시간에는 Kleisli 를 이용해 어떻게 함수를 타입으로 표현하고, 합성할 수 있는지 살펴보겠습니다. 그리고 나서, Reader, Writer 에 대해 알아보고, 이것들과 State 를 같이 사용하는 RWST 에 대해 알아보겠습니다.

Kleisli

State(S) => (S, A) 를 타입클래스로 표현한 것이라면, A => B 를 타입클래스로 표현한 것도 있지 않을까요? 그렇게 되면, 스칼라에서 지원하는 andThen, compose 을 이용해서 함수를 조합하는 것처럼, 타입 클래스를 조합할 수 있을겁니다. Kleisli 가 바로, 그런 역할을 하는 타입 클래스입니다.

Kleisli represents a function A => M[B]

타입을 보면, 단순히 A => B 이 아니라 A => M[B] 를 나타냅니다. 이는 KleisliM 을 해석하고, 조합할 수 있는 방법을 제공한다는 것을 의미합니다. 실제 구현을 보면,

@bahmutov
bahmutov / Docker shell commands.sh
Last active February 9, 2024 07:55
A personal cheat sheet for running local Node project in a Docker container
# See list of docker virtual machines on the local box
$ docker-machine ls
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1
# Note the host URL 192.168.99.100 - it will be used later!
# Build an image from current folder under given image name
$ docker build -t gleb/demo-app .
@preco21
preco21 / babel-6.md
Last active March 16, 2023 01:55
Babel 6.x 간단 가이드

Babel 6.x 가이드

Babel은 최신 ES(2015/NEXT) 표준에 맞춰 작성된 코드를 아직 표준 기능을 구현하지 않은 브라우저와 플랫폼에서도 코드가 작동할 수 있도록 만들어주는 코드 transpilerpolyfill 도구의 집합입니다.

Babel 6.x 버전부턴 많은 기능이 추가되었고 운용 방식이 설정(config) 기반 방식으로 바뀌었습니다.

설치와 사용