- saltfactory's blog :: 터미널에서 프롬프트(Prompt)에 나타나는 정보와 색상 변경하기
- command line - How do I set fish as the default shell? - Ask Ubuntu
- /etc/shells에 /usr/local/bin/fish 추가
- chsh -s /usr/local/bin/fish 설정
- Russell91/pythonpy · GitHub: py를 bash처럼 사용할 수 있다. 강추! sed 문법을 외울 필요 없음
This file contains hidden or 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
| -- Based off IETF draft, https://datatracker.ietf.org/doc/draft-peabody-dispatch-new-uuid-format/ | |
| create or replace function uuid_generate_v7() | |
| returns uuid | |
| as $$ | |
| declare | |
| unix_ts_ms bytea; | |
| uuid_bytes bytea; | |
| begin | |
| unix_ts_ms = substring(int8send(floor(extract(epoch from clock_timestamp()) * 1000)::bigint) from 3); |