Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| package main | |
| import ( | |
| "crypto/rand" | |
| "crypto/hmac" | |
| "crypto/sha1" | |
| "encoding/base32" | |
| "time" | |
| "fmt" | |
| ) |
| " ref: https://www.jetbrains.com/help/idea/using-product-as-the-vim-editor.html#ide_actions | |
| "noremap j gj | |
| "noremap k gk | |
| " inoremap jk <ESC> | |
| " map space as leader key | |
| let mapleader=" " | |
| nnoremap <SPACE> <Nop> |
| {"lastUpload":"2021-01-19T12:42:11.302Z","extensionVersion":"v3.4.3"} |
With the addition of ES modules, there's now no fewer than 24 ways to load your JS code: (inline|not inline) x (defer|no defer) x (async|no async) x (type=text/javascript | type=module | nomodule) -- and each of them is subtly different.
This document is a comparison of various ways the <script> tags in HTML are processed depending on the attributes set.
If you ever wondered when to use inline <script async type="module"> and when <script nomodule defer src="...">, you're in the good place!
Note that this article is about <script>s inserted in the HTML; the behavior of <script>s inserted at runtime is slightly different - see Deep dive into the murky waters of script loading by Jake Archibald (2013)
| # require 'active_support/all' | |
| def korean_topic_marker(str) | |
| k = str[-1] # last one char | |
| return '는' if k.mb_chars.decompose.size < 3 # 종성이 없는 경우 | |
| return '은' | |
| end | |
| def korean_subject_marker(str) | |
| k = str[-1] # last one char |
| # 삼성전자 => ㅅㅅㅈㅈ, 유안타제3호스팩 => ㅇㅇㅌㅈ3ㅎㅅㅍ | |
| def extract_korean_initials(keyword) | |
| initials = ['ㄱ', 'ㄲ', 'ㄴ', 'ㄷ', 'ㄸ', 'ㄹ', 'ㅁ', 'ㅂ', 'ㅃ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅉ', 'ㅊ', 'ㅋ', 'ㅌ', 'ㅍ', 'ㅎ'] | |
| # hangul_range = '가'..'힣' | |
| hangul_first = 44032 # '가'.ord | |
| size = 588 # '까'.ord - '가'.ord | |
| keyword.split('').collect do |k| |
| # /usr/share/BasiliskII/keycodes | |
| # | |
| # Basilisk II (C) 1997-2005 Christian Bauer | |
| # | |
| # This file is used to translate the (server-specific) scancodes to | |
| # Mac keycodes depending on the window server being used. | |
| # | |
| # The format of this file is as follows: | |
| # | |
| # sdl <driver string> |