Skip to content

Instantly share code, notes, and snippets.

View chorim's full-sized avatar
😪

Insu Byeon chorim

😪
View GitHub Profile
'use strict'
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const path = require('path')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
@chorim
chorim / finedust.js
Created January 14, 2019 02:04
get dust data on nodejs
const request = require('request')
const serviceKey = ''
const version = '1.3'
const station = ''
const url = `http://openapi.airkorea.or.kr/openapi/services/rest/ArpltnInforInqireSvc/getMsrstnAcctoRltmMesureDnsty?stationName=${station}&dataTerm=month&pageNo=1&numOfRows=10&ServiceKey=${serviceKey}&ver=${version}&_returnType=json`
const fetch = (url) => {
return new Promise((resolve, reject) => {
request(url, (error, response, body) => {
@chorim
chorim / main.c
Created May 28, 2019 17:33
요청)과제-2-2
//
// main.c
// test
//
// Created by 유키유키 on 2019. 5. 29..
// Copyright © 2019년 유키유키. All rights reserved.
//
//
// Sorry my dirty code :(
@chorim
chorim / main.c
Last active June 5, 2019 11:29
학교과제c
//
// main.c
// cstudy
//
// Created by Yukihira Nanako on 2019. 6. 5..
// Copyright © 2019년 유키유키. All rights reserved.
//
#include <stdio.h>
@chorim
chorim / File.js
Last active August 18, 2019 18:41
Adonis multiple file upload
/**
* Moves file from tmp directory to the user
* defined location.
*
* @method move
*
* @param {String} location
* @param {Object} options
*
* @return {Promise}
@chorim
chorim / Keybase.md
Last active September 2, 2019 17:53
Keybase proof

Keybase proof

I hereby claim:

  • I am yukiyuki0 on github.
  • I am yukiyuki (https://keybase.io/yukiyuki) on keybase.
  • I have a public key ASBeTb8SZEWKsgcCFe88IyDFzy0QbvAmhRiKhtww5fKnKQo

To claim this, I am signing this object:

@chorim
chorim / .vimrc
Created September 9, 2019 01:55
.vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember
" VIM에서 기억할 히스토리 라인수
set history=1000
" Set to auto read when a file is changed from the outside
" 현재 사용하고 있는 파일이 외부에서 수정된 경우 자동으로 읽기
set autoread
export ZSH=$HOME/.oh-my-zsh
DEFAULT_USER="$USER"
ZSH_THEME="agnoster"
# Uncomment the following line to disable bi-weekly auto-update checks.
DISABLE_AUTO_UPDATE="true"
DISABLE_UPDATE_PROMPT="true"
plugins=(git zsh-syntax-highlighting zsh-autosuggestions alias-tips)
source $ZSH/oh-my-zsh.sh
@chorim
chorim / main.c
Last active September 18, 2019 13:42
인하공전 컴퓨터정보과 19학번 과제, inha-college-matrix
//
// main.c
// inha_college
//
// Created by 유키유키 on 2019. 9. 18..
// Copyright © 2019년 유키유키. All rights reserved.
//
#include <stdio.h>
@chorim
chorim / GuguMain.java
Created September 20, 2019 12:25
영진전문대학 1학년 여름방학 구구단 과제
import java.util.Scanner;
public class GuguMain {
public static void main(String[] args) {
int col = 0;
Scanner scanner = new Scanner(System.in);
System.out.print("컬럼 개수를 입력하세요: ");
col = scanner.nextInt();