search
注册
登录
热门
订阅
最新
steve lee
·
2023年06月04日 12:10
Ruby - DIY accessor methods
1. Ruby accessor methods Ruby does not allow instance variables to be accessed outside of method...
Ruby
favorite
2
comment
0
写 bug 的大耳朵图图
·
2023年06月01日 07:35
Mac使用Jenv实现Jdk多版本管理
前言 目前在开发过程中,需要同时安装 Jdk8, Jdk11, Jdk17 进行项目开发,为了统一管理Jdk 环境,需要一款类似 conda 的工具来管理多套 Jdk 环境,可选的方案有以下几...
favorite
1
comment
0
Muspi Merol
·
2023年05月18日 16:34
用cookies应对DDOS的Sanic中间件
最近网站遭到了DDOS,流量飙得老高,100GB的流量包半周就能耗完。发现攻击集中在 376 KB 的最大的bundle文件上。由于攻击来自多个IP,且(由于我比较菜)没有什么特征可以分辨,逐u...
favorite
2
comment
6
wulu
·
2023年05月16日 15:39
指定 Whisper 输出为简体中文
Whisper是OpenAI推出的一种开源语音识别模型,能够自动识别多种语言,将音频转换文字。Whisper由python实现,同时拥有丰富的社区支持。除了原始的Whisper之外,还有一些相...
OpenAI
favorite
1
comment
0
steve lee
·
2023年05月15日 15:09
Rails helpers tips for writing better view
1. DOM id convention with dom_id The dom_id helper takes a string or any object as an argument ...
rails
Hotwire
favorite
1
comment
1
写 bug 的大耳朵图图
·
2023年05月05日 15:26
Centos使用Tomcat安装Jenkins
安装步骤 安装JDK1.8 yum makecache yum install -y java-1.8.0-openjdk.x86_64 安装tomcat # 下载tomcat9.0 w...
Jenkins
favorite
1
comment
2
Renny
·
2023年05月05日 10:04
在 Rails 中使用 SSE 来实现一个 ChatGPT 应用
英文原文:https://renny.ren/ch/articles/40 前言 在使用 ChatGPT 的时候,你会注意到这个回复不是一次性生成完的,而是边生成边返回,像打字一样的效果: ...
rails
ChatGPT
SSE
favorite
4
comment
1
Rei
·
2023年05月04日 15:15
用 CSS 控制页面内容对部分用户可见
问题 写 Web 应用的时候,经常需要写这样的 HTML 片段: <div class="post"> ... <% if current_user == post....
CSS
Ruby on Rails
favorite
3
comment
2
电子芥末
·
2023年04月29日 01:27
在 Windows 中配置 nvim 的 Go 语言环境
去年我试用了 Helix 编辑器, 感觉很好, 写了一篇介绍文章 https://geeknote.net/SuperMild/posts/976 但 Helix 没有 GUI 程序, 必须在终...
vim
golang
favorite
1
comment
2
razeos
·
2023年04月25日 08:39
整理一些有关自制编程语言的书籍/资料
最近想学习 Dart 语言,想用 Dart 实现一个简单的玩具语言。目前还没完成,也不知道能不能完成。之前买过许多「自制 XYZ」的书,也收藏了一些网络资料,在这里分享给一样对自制编程语言感兴趣...
favorite
5
comment
0
查看更多
热门标签
Windows
Ruby
GitHub
VisualStudio
PowerShell
LLVM
Hotwire
OpenAI
rails
IDA
steve lee
@lmhung
关注
Ruby 程序员。 来自越南
写 bug 的大耳朵图图
@wick
关注
脚踏实地,仰望星空
Muspi Merol
@muspi-merol
关注
学生
社区准则
博客
联系
反馈
状态
主题
设备主题(默认)
浅色主题
深色主题
完成