Kotlin
一、kotlin的主函数1. Kotlin的执行流程1> Kotlin的源代码先通过jdk解释成Java字节码,然后再由JVM执行转换成机器码由计算机执行。 123fun main(args: Array<String>) { println("Hello, World!")} 2. 变量+基础数据类型+空值1> 在Kotlin中,变量可以使用`val`或`var`关键字来声明。`val`声明的变量是不可变的,而`var`声明的变量是可变的。 123val a: Int = 10 // 不可变变量var b: Int = 20 // 可变变量 12345678> Byte:8位有符号整数,范围为-128到127. Byte.MAX_VALUE为127, Byte.MIN_VALUE为-128> Short:16位有符号整数,范围为-32768到32767. Short.MAX_VALUE为32767, Short.MIN_VALUE为-32768> Int:32位有符号整数,范围为-...
Hexo博客部署
Hexo博客部署指南一、前置条件在开始部署Hexo博客之前,请确保你已经完成以下准备工作: GitHub账号:注册并登录GitHub账号 Git环境:在本地电脑上安装并配置好Git Node.js环境:安装Node.js(推荐使用稳定版本,如16.x或18.x) Hexo官网:链接文本 二、创建GitHub仓库 登录GitHub,点击”New repository”创建新仓库 仓库名格式必须为:<用户名>.github.io(例如:yueshuoci.github.io) 点击”Create repository”完成创建 三、安装Hexo1. 全局安装Hexo CLI1npm install -g hexo-cli 2. 验证安装1hexo -v 3. 初始化Hexo项目123456# 创建并进入项目目录hexo init hexo-blogcd hexo-blog# 安装依赖npm install 4. 本地预览12345# 生成静态文件hexo g# 启动本地服务器hexo server 在浏览器中访问 http://localhost:400...
Mysql解决启动报错
这是一篇测试文章
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment

