KO Blog

She was afraid of heights, but much more afraid of never flying.

MD 写作指北

(Original) The GUIDE USING MARKDOWN LANGUAGE

关于 MD 写作的一些笔记。 链接请参考 👉: Github MD GUIDE / Markdown Guide Markdown 语法 删除线 Strikethrough ~~blah~~ -> blah 加粗 Bold **blah** -> blah 斜体 Italic *blah* -> blah 下划线 Underline <u>bla...

My First Formal Blog

(Original) 最初の日誌 || 小桐的第一篇正式博文

WELCOME! Hi~ Welcome to my homepage! I’m Kokili and currently live in China. Kokili is my Japanese name (こきり), I love to learn different languages and know more about different cultures when th...

Understanding Response.json() in Fetch API deeply

(Original) Web-Backend-Fetch()

Because the using of Fetch API is based on the understanding of promise. I will first comb through two concepts learnt in asynchronous operation so far. Step 1: Comparing XMLHTTPRequest() & Pro...

Fix The Problem “LocalHost ERR_CONNECTION_REFUSED” in XAMPP as Set Up Local Dev Environment When Learning Ajax Basics

(Original) 用XXAMPP配置本地环境

First Error in XAMPP Today I came across an error when I try to use the XAMPP to deploy the local server envirnment. Ajax Crash Course The error shows as below: Second Error ‘Port Occupied’ So ...

OC 内存管理的基本概念

(转自)BY OC 内存管理的基本概念以及应用

OC 内存管理的基本概念 ###1. 内存管理的基本概念 栈区 stack 堆区 heap heap(堆)是最自由的一种内存,它完全由程序来负责内存的管理,包括什么时候申请,什么时候释放,而且对它的使用也没有什么大小的限制。在C/C++中,用alloc系统函数和new申请的内存都存在于heap段中。 BSS区 来...

从一道网易面试题浅谈 Tagged Pointer

(转自)BY 浅谈 Tagged Pointer

前言 这篇博客九月就想写了,因为赶项目拖了到现在,抓住17年尾巴写吧~ 正文 上次看了一篇 《从一道网易面试题浅谈OC线程安全》 的博客,主要内容是: 作者去网易面试,面试官出了一道面试题:下面代码会发生什么问题? 1 2 3 4 5 6 7 8 @property (nonatomic, strong) NSString *target; //.... dispatch_queu...