Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | ๐ :tada: |
Version tag | ๐ :bookmark: |
New feature | โจ :sparkles: |
Bugfix | ๐ :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | ๐ :tada: |
Version tag | ๐ :bookmark: |
New feature | โจ :sparkles: |
Bugfix | ๐ :bug: |
// | |
// Logger.swift | |
// | |
// | |
// Created by Elon on 23/01/2019. | |
// Copyright ยฉ 2019 Elon. All rights reserved. | |
// | |
import Foundation |
func euckrEncoding(_ query: String) -> String { //EUC-KR ์ธ์ฝ๋ฉ | |
let rawEncoding = CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(CFStringEncodings.EUC_KR.rawValue)) | |
let encoding = String.Encoding(rawValue: rawEncoding) | |
let eucKRStringData = query.data(using: encoding) ?? Data() | |
let outputQuery = eucKRStringData.map {byte->String in | |
if byte >= UInt8(ascii: "A") && byte <= UInt8(ascii: "Z") | |
|| byte >= UInt8(ascii: "a") && byte <= UInt8(ascii: "z") | |
|| byte >= UInt8(ascii: "0") && byte <= UInt8(ascii: "9") |
People
![]() :bowtie: |
๐ :smile: |
๐ :laughing: |
---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'xcodeproj' | |
name = 'test_copy' | |
proj_path = 'test.xcodeproj' | |
proj = Xcodeproj::Project.open(proj_path) | |
src_target = proj.targets.last #find { |item| item.to_s == 'test' } |
/** - ์์ฐฝ ์ด๊ธฐ, ๋ซ๊ธฐ ์์ **/ | |
///๋ฉ์ธ์ผ๋ก ์ฌ์ฉ์ค์ธ ์น๋ทฐ | |
lazy var webView = WKWebView() | |
///window.open()์ผ๋ก ์ด๋ฆฌ๋ ์์ฐฝ | |
var createWebView: WKWebView? | |
func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures: WKWindowFeatures) -> WKWebView? { | |