This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Publisher+RxThrottle.swift | |
// ThrottleDemo | |
// | |
// Created by Insu Byeon on 1/7/24. | |
// | |
import Foundation | |
#if canImport(Combine) | |
import Combine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import PlaygroundSupport | |
protocol Alertable {} | |
extension Alertable where Self: UIViewController { | |
func presentAlert( | |
title: String, | |
message: String, | |
preferredStyle: UIAlertController.Style = .alert, | |
options: String..., |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
protocol FileDataManageable { | |
static func createDirectory(directoryName: String?) -> Bool | |
static func list(directoryName: String?) -> [String]? | |
static func save(directoryName: String?, fileName: String, ext: String, data: Data) -> Bool | |
} | |
extension FileDataManageable { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
enum OperatorType: String { | |
case plus = "+" | |
case minus = "-" | |
case imul = "*" | |
case div = "/" | |
} | |
var str = "((3*5)+4)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>IDECodeSnippetCompletionPrefix</key> | |
<string>ccm</string> | |
<key>IDECodeSnippetCompletionScopes</key> | |
<array> | |
<string>All</string> | |
</array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
enum State { | |
alphaUpper, number, alphaLower; | |
private static State[] vals = values(); | |
public State next() { | |
return ( this.ordinal() + 1 == vals.length ) ? vals[0] : vals[(this.ordinal() + 1) & vals.length]; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// inha_college | |
// | |
// Created by 유키유키 on 2019. 9. 18.. | |
// Copyright © 2019년 유키유키. All rights reserved. | |
// | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" 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 |
NewerOlder