#draft #setup
새 Mac 을 구성할 때, 항상 기존의 자료를 그대로 옮겨오지 않고 새로 구성을 하는 편이다. 기존 Mac 에 쌓여있는 여러가지 쓸모없는 데이터를 없앨 이만한 기회가 따로 없기 때문이다.
새로운 Mac 을 수령하면 설치하는 기본적인 설정과 어플리케이션들을 나열해 본다.
- Keyboard
- Keyboard
function hds { | |
arrs=("20221029" "20221030" "20221110" "20221112" "20221113") | |
echo | |
echo " 화담숲 체크: https://m.hwadamsup.com/reservation/checkTermsAgree.do" | |
echo | |
for value in "${arrs[@]}"; do | |
result=$(curl -s -d "selDate=$value&itemCode=00001" -X POST https://hwadamsup.com/mReserve/reserveInfo.do | jq '.timeList | map(select(.reQuantity >= 2)) | map(.startTime) | join(", ")') | |
echo " $value: $result" |
{ | |
"title": "Esc & Tilde - revised by @dongminkim", | |
"rules": [ | |
{ | |
"description": "Esc as Tilde", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", |
1
enum class Provider(val service: String) { | |
KAKAO("kakao"), | |
APPLE("apple") | |
} | |
@RestController | |
class TestController { | |
@PostMapping("/test") | |
fun testFunc( |
package com.example.auth.models | |
import java.util.* | |
import javax.persistence.* | |
@Entity | |
@Table(name = "authentications") | |
data class Authentication( | |
@get:Id | |
@get:GeneratedValue(strategy = GenerationType.IDENTITY) |
.with_frame { | |
&::before { | |
background-image: url("data:image/svg+xml,%3Csvg class='ico_obj' width='160px' height='160px' viewBox='0 0 160 160' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M170,-10 L170,170 L-10,170 L-10,-10 L170,-10 Z M80,0 C20.5777778,0 0,20.5777778 0,80 C0,139.422222 20.5777778,160 80,160 C139.422222,160 160,139.422222 160,80 C160,20.5777778 139.422222,0 80,0 Z' stroke-width='0'%3E%3C/path%3E%3Cpath class='obj_stroke' d='M160,80 C160,139.422222 139.422222,160 80,160 C20.5777778,160 0,139.422222 0,80 C0,20.5777778 20.5777778,0 80,0 C139.422222,0 160,20.5777778 160,80 Z' fill='none'%3E%3C/path%3E%3C/svg%3E"); | |
} | |
} |
# set path to kexec.sh | |
alias kexec='~/shortcuts/kexec.sh' |
deb http://mirror.kakao.com/ubuntu/ bionic main restricted | |
deb http://mirror.kakao.com/ubuntu/ bionic-updates main restricted | |
deb http://mirror.kakao.com/ubuntu/ bionic universe | |
deb http://mirror.kakao.com/ubuntu/ bionic-updates universe | |
deb http://mirror.kakao.com/ubuntu/ bionic multiverse | |
deb http://mirror.kakao.com/ubuntu/ bionic-updates multiverse | |
deb http://mirror.kakao.com/ubuntu/ bionic-backports main restricted universe multiverse | |
deb http://mirror.kakao.com/ubuntu bionic-security main restricted | |
deb http://mirror.kakao.com/ubuntu bionic-security universe | |
deb http://mirror.kakao.com/ubuntu bionic-security multiverse |
from datetime import tzinfo, timedelta | |
class UTC(tzinfo): | |
def utcoffset(self, dt): | |
return timedelta(seconds=0) | |
def dst(self, dt): | |
return timedelta(seconds=0) |