<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>YuanCoder</title>
        <link>http://yuancoder.com/</link>
        <description>YuanCoder blog</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>yuan@yuancoder.com (Yuan)</managingEditor>
            <webMaster>yuan@yuancoder.com (Yuan)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Thu, 31 Oct 2024 12:47:11 &#43;0800</lastBuildDate>
            <atom:link href="http://yuancoder.com/index.xml" rel="self" type="application/rss+xml" />
        <item>
    <title>原码工具小程序-长拼图</title>
    <link>http://yuancoder.com/mimg/</link>
    <pubDate>Thu, 31 Oct 2024 12:47:11 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/mimg/</guid>
    <description><![CDATA[经常要给孩子拍照发学校作业，苹果手机没有拼图功能，需要下载 App 实现。 使用小程序还有各种广告，一怒之下就自己写了一个。 小程序特点 没有广告 不依赖后]]></description>
</item>
<item>
    <title>SSE 服务端推送技术</title>
    <link>http://yuancoder.com/sse/</link>
    <pubDate>Tue, 22 Oct 2024 16:33:18 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/sse/</guid>
    <description><![CDATA[目前基于 AI 对话相关的接口都使用了 SSE 的技术。 让我们看看SSE是什么，以及怎么实现。 SSE(Server-Sent Events) 是一种用于实现服务器主动向客户端推送数据的技术。 实现原理]]></description>
</item>
<item>
    <title>Nextjs 全栈框架 CSR</title>
    <link>http://yuancoder.com/nextjs/</link>
    <pubDate>Thu, 29 Aug 2024 21:42:58 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/nextjs/</guid>
    <description><![CDATA[Next.js 是一个 基于 React 的全栈开发框架, 国外很多全栈开发都会使用这个框架。 Next.js 可以开发服务端和前端， 支持3中渲染页面方式。 服务器端渲染（Server-S]]></description>
</item>
<item>
    <title>Go 1.23 的 range over func 自定义迭代器</title>
    <link>http://yuancoder.com/go-1-23-range-over-func/</link>
    <pubDate>Wed, 14 Aug 2024 14:27:22 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/go-1-23-range-over-func/</guid>
    <description><![CDATA[Go 1.23 增加了一个语法特性, 就是 &ldquo;range over func 试验特性&rdquo;, 这个特性在 Go 1.22 中就已经存在，只是在这个版本转正了。 “range over func”，就是在]]></description>
</item>
<item>
    <title>Golang 的泛型能干什么</title>
    <link>http://yuancoder.com/go-generics-mr/</link>
    <pubDate>Sun, 03 Sep 2023 10:03:44 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/go-generics-mr/</guid>
    <description><![CDATA[Golang在1.18版本支持了泛型, 在工作中还没有真正用过， 这几天研究了一下，脑子里最先想到的使用场景就是集合类型的处理。 常用的集合处理函]]></description>
</item>
<item>
    <title>Neovim 自动切切换输入法脚本</title>
    <link>http://yuancoder.com/neovim-auto-switch-input-method/</link>
    <pubDate>Fri, 07 Apr 2023 10:27:41 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/neovim-auto-switch-input-method/</guid>
    <description><![CDATA[neovim 中输入法切换很繁琐， 写个脚本来自动切换。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 -- 记录当前输入法 Current_input_method = vim.fn.system(&#34;/usr/local/bin/im-select&#34;) -- 切换到英文输入法 function Switch_to_English_input_method() Current_input_method]]></description>
</item>
<item>
    <title>Laravel umyproxy package</title>
    <link>http://yuancoder.com/laravel-umyproxy/</link>
    <pubDate>Wed, 15 Mar 2023 10:43:49 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/laravel-umyproxy/</guid>
    <description><![CDATA[为了方便 umyproxy 在 laravel 项目中使用，写了一个 laravel 的 package。 https://github.com/lyuangg/laravel-umyproxy 使用很简单 使用 composer 安装 1 composer require &#39;lyuangg/laravel-umyproxy&#39; 修改 laravel 的 env 文件，增加 DB_SOCKET 1 DB_SOCKET=/tmp/umyproxy.socket 注意 socket 路径权限。 路径也可以指定]]></description>
</item>
<item>
    <title>Go 中容易出错的知识点总结</title>
    <link>http://yuancoder.com/go-mistake/</link>
    <pubDate>Sun, 05 Mar 2023 19:44:54 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/go-mistake/</guid>
    <description><![CDATA[Go 学习起来虽然比较简单，但是如果对 Go 底层的知识不了解，很容易踩坑。 总结了一下容易踩坑的地方: slice slice 切片本质上就是一个结构体，切片的操作实际都是]]></description>
</item>
<item>
    <title>swift 语法学习</title>
    <link>http://yuancoder.com/study-swift/</link>
    <pubDate>Tue, 27 Dec 2022 20:31:22 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/study-swift/</guid>
    <description><![CDATA[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70]]></description>
</item>
<item>
    <title>设计一个日志库-Ylog</title>
    <link>http://yuancoder.com/ylog/</link>
    <pubDate>Mon, 05 Dec 2022 16:38:38 &#43;0800</pubDate>
    <author>Yuan</author>
    <guid>http://yuancoder.com/ylog/</guid>
    <description><![CDATA[起因 日志库是最基础和最重要的库，go 官方的日志库功能太简陋，项目中经常使用的功能：日志级别，json 格式，按日期旋转文件等都不支持。 而使用最]]></description>
</item>
</channel>
</rss>
