Chrome Weird Auto-Fill for Password

Recently I implemented a beautiful login form, but auto-filling of Chrome broke it. More details, it is useless for password auto-filling to set a change event listener.

阅读全文

How to Use Dynamic Variables in Scss/JS Files on Rails

Recently I want to implement a function for switching color schemes in a rails app, then I got in trouble...

阅读全文

学习使用gitignore

初次使用.gitignore文件会遇到一些莫名其妙不合预期的情况,这里总结一下,希望可以帮到需要的人...

阅读全文

使用hexo-markdown-it导致文章目录失效的解决方案

近来将Markdown渲染引擎换成markdown-it后,导致文章目录失效了,发现是因为这个引擎渲染出了点问题...

阅读全文

Mechanizeを放棄

基于Mechanize的爬虫总是会遇到这样的错误,查了很多资料也没有找到解决方案,在Mechanize的Repo上关于这个问题的issue也一大堆...

阅读全文

从后端变成了前端

even突然离职,我该何去何从...

阅读全文

Ruby语法糖:Enumerable方法inject/reduce

学习到了Ruby中数组的inject方法我简直停不下来...

阅读全文

Ruby语法糖:将两个数组合并成一个哈希

根据Rubocop的建议,我重构了一下之前订阅成绩的代码...

阅读全文

实习半个月体验

不知不觉,来到这个公司已经半个月了,开始习惯这样的生活...

阅读全文

实习一周体验

从入职实习到现在刚好一周了,写一写流水账吧...

阅读全文