Skip to content

Instantly share code, notes, and snippets.

View Zeta611's full-sized avatar
🎯
Focusing

Jay Lee Zeta611

🎯
Focusing
View GitHub Profile
@Zeta611
Zeta611 / Collection+subscript.swift
Last active April 8, 2019 13:46
[Collection+subscript] Returns the element at the index if it is within range, otherwise `nil` #extension #iOS
//
// Collection+subscript.swift
//
// Created by Jay Lee on 08/04/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
// This work is free. You can redistribute it and/or modify it under the
// terms of the Do What The Fuck You Want To Public License, Version 2,
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
//
@Zeta611
Zeta611 / Array+removeRandom.swift
Last active April 8, 2019 15:16
[Array+removeRandom] #extension #iOS
//
// Array+removeRandom.swift
//
// Created by Jay Lee on 31/01/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
// This work is free. You can redistribute it and/or modify it under the
// terms of the Do What The Fuck You Want To Public License, Version 2,
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
//
@Zeta611
Zeta611 / UIViewController+hideKeyboardWhenTappedAround.swift
Last active April 9, 2019 06:37
[UIViewController+hideKeyboardWhenTappedAround] #extension #iOS
//
// UIViewController+hideKeyboardWhenTappedAround.swift
//
// Created by Jay Lee on 18/02/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
// This work is free. You can redistribute it and/or modify it under the
// terms of the Do What The Fuck You Want To Public License, Version 2,
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
//
@Zeta611
Zeta611 / GPG and git on macOS.md
Created June 27, 2019 16:26 — forked from danieleggert/GPG and git on macOS.md
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys
@Zeta611
Zeta611 / UIColor+Extensions.swift
Last active August 3, 2019 20:59
[UIColor+Extensions] UIColor extensions #extension #iOS
//
// UIColor+Extensions.swift
//
// Created by Jay Lee on 05/05/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
// This work is free. You can redistribute it and/or modify it under the
// terms of the Do What The Fuck You Want To Public License, Version 2,
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
//
@Zeta611
Zeta611 / KeyboardAvoiding.swift
Created August 14, 2019 06:20
[KeyboardAvoiding] #protocol #iOS
//
// KeyboardAvoiding.swift
//
// Created by Jay Lee on 08/14/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
// This work is free. You can redistribute it and/or modify it under the
// terms of the Do What The Fuck You Want To Public License, Version 2,
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
//
@Zeta611
Zeta611 / UIBarButtonItem+Badge.swift
Last active August 30, 2019 11:54 — forked from freedom27/UIBarButtonItem+Badge.swift
[UIBarButtonItem+Badge] #iOS #extension
//
// UIBarButtonItem+Badge.swift
//
// Created by Jaeho Lee on 30/08/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
//
// Original Source:
// https://gist.github.com/freedom27/c709923b163e26405f62b799437243f4
//
@Zeta611
Zeta611 / CustomViewTemplate.swift
Last active August 30, 2019 11:55
[CustomViewTemplate] #iOS #template
//
// CustomView.swift
//
// Created by Jay Lee on 05/05/2019.
// Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
// This work is free. You can redistribute it and/or modify it under the
// terms of the Do What The Fuck You Want To Public License, Version 2,
// as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
//
@Zeta611
Zeta611 / Android 개발을 수주해서 Kotlin을 제대로 써봤더니 최고였다.md
Created December 18, 2019 09:01
Android 개발을 수주해서 Kotlin을 제대로 써봤더니 최고였다라는 글을 번역했습니다.

Android 개발을 수주해서 Kotlin을 제대로 써봤더니 최고였다.

글에 앞서

이 글은 일본의 omochimetaru님이 Qiita에 올린 Android 개발을 수주해서 Kotlin을 제대로 써봤더니 최고였다.라는 글을 번역해서 만들었습니다. 번역을 흔쾌히 허락해주신 omochimetaru님께 감사하다는 말씀 드립니다. 또한 글에서 한국에서는 쓰이지 않는 표현들 등에 대해서는 의역이 섞여있습니다. 이 점 양해 부탁드립니다. 늦은 시간까지 오역을 찾고 번역의 질을 높이는데 많은 도움을 주시고 오히려 저보다 많이 고생해주신 이상한모임의 pluulove님, chiyodad님, lemonade님께도 감사하다는 말씀 드립니다. 읽어주셔서 감사합니다.

Kotlin을 실무 프로젝트에서 사용했습니다.

며칠 전, 제가 소속된 Qoncept에서 "리얼 술래잡기"x후지큐 하이랜드 거대 유원지에서부터의 도주를 개발했고 출시했습니다.

@Zeta611
Zeta611 / sieve.c
Last active February 24, 2020 01:12
[Sieve of Eratosthenes in C] #algorithm
/**
* sieve.c
*
* Created by Jay Lee on 08/25/2019.
* Copyright © 2019 Jay Lee <jaeho.lee@snu.ac.kr>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/