Skip to content

Instantly share code, notes, and snippets.

View JuneBuug's full-sized avatar
🏠
Working from home

JuneKim JuneBuug

🏠
Working from home
View GitHub Profile
@JuneBuug
JuneBuug / completablefuture.java
Created July 16, 2020 09:29
completablefuture 학습
@Slf4j
class FutureTest {
@Test
void init() {
log.info("Everything is ok");
}
@Test
void 동기_가져오기() {
@JuneBuug
JuneBuug / .vimrc
Last active December 15, 2020 02:36
vimrc 설정 (vimrc)
let g:startify_lists = [
\ { 'type': 'sessions', 'header': [' Sessions'] },
\ { 'type': 'files', 'header': [' MRU'] },
\ { 'type': 'dir', 'header': [' MRU '. getcwd()] },
\ { 'type': 'bookmarks', 'header': [' Bookmarks'] },
\ { 'type': 'commands', 'header': [' Commands'] },
\ ]
set nocompatible
set notagbsearch
set showcmd
func findLadder(columns : Int, upperArray : [Int]) -> Int {
var changeNum = 0
var changableArray = upperArray
for i in 0..<changableArray.count{
for j in (i + 1)..<changableArray.count {
if changableArray[i] > changableArray[j]{
var temp = changableArray[i]
@JuneBuug
JuneBuug / PascalTriagle.swift
Created July 10, 2017 09:40
PascalTriangle
//
// main.swift
// swift-sample
//
// Created by woowabrothers on 2017. 7. 10..
// Copyright © 2017년 woowabrothers. All rights reserved.
//
import Foundation
@JuneBuug
JuneBuug / playground.swift
Created July 10, 2017 08:07
Swift playground
//: Playground - noun: a place where people can play
import UIKit
import Foundation
// 첫번째
func distance(ax : Int, ay: Int, bx: Int, by: Int) -> Float{
let yDistance = Float(abs(ay - by))
let xDistance = Float(abs(ax - bx))