-
hexo 安装自定义字体的思路
问题 很多博客自定义字体的时候,都是用的 google fonts 的链接但是很多字体 google fonts 里面没有,那我们该怎么办呢? google font... -
斐波那契数列多解
斐波那契数列在算法中占有很高的地位, 主要是很多题目背后的根源都是斐波那契数列 递归法算法思路 递归 代码12345678910111213private fun fibonacci(n: Int): Int { if ... -
Java io nio okio
io i(输入),o(输出) 只要是把数据从程序外部拷贝到程序内部,都叫输入,包括但不限于,硬盘文件数据,网络数据,其他应用程序的数据 只要是把数据从程序内部拷贝到程序外部,都叫输入,包括... -
Android 里的 dpi dp px
概念Dpi (Dots Per Inch) 每英寸点数,原本是从打印机过来的概念,对于显示屏幕,用 ppi 很多刚接触 Android 开发的小伙伴,对于这个 dp 一脸懵逼,百度了很久,也是一些计算dpi 的方法,根本没有讲到点子上! 我们需要先了... -
Android 里的 Bitmap、Drawable、Mipmap(没写完)
Drawable 是什么?Drawable 并不是图 Drawable 是一个抽象类,用于表示可绘制对象。本身是一个绘制工具,更像一个只专注于绘制的 View,所以一个 Drawable 显示什么,取决于它绘制什么 1234567package an... -
Jvm 类加载 balabala
本文大量挪用 我竟然被” 双亲委派” 给虐了!-HollisChuang’s Blog 如果可以还请看原文,原文写的非常好!!!强烈建议观看原文并点赞并且全网写得比较全的,我找了好几篇,基本都是抄的这个文章!!! 另外 juejin 某篇 双亲委派机... -
读《深入理解 kotlin 协程》- 01 同步异步
特别提醒 如果可以,购买《深入理解 kotlin 协程》支持作者 bennyhuo 霍丙乾!!! 异步和同步异步和同步主要说的是代码执行的逻辑顺序 异步的概念1234... -
C++ 傻鸟指针
指针是操作内存的工具1. 指针也存在内存中,指针也有内存地址指针也存在内存中,指针也有内存地址 记住这个图,每次难以理解指针的时候,就看看这个图 2. 指针的类型是 dataType*12int a = 10;int *p = &a; ... -
kotlin 协程-01 delay 函数(没写完)
读代码困难协程代码里有大量的 Lambda ,我每次看 kotlin 的 Lambda ,都有点头疼,但是不能退缩!!! 看源码我们先看这 delay 函数的定义 1234567891011// Delay.ktpublic suspend fun ... -
ffmpeg-01编译
gpt 真好用 如果提示没有 nasm 和 yasm 连哪种方案性能更好都说出来了,可以说非常周全了 当然 make install 依旧不是必须的,你可以直接将编译出来的文件提取出来,放在你希望的地方