Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
zhangkaizhao
@zhangkaizhao
会员
第 23272 位会员 / 2015-11-01

深圳
1 篇帖子 / 37 条回帖
1 关注者
21 正在关注
224 收藏
GitHub Public Repos
  • gnome-shell-extension-... 75

    GNOME shell extension - Tray icons

  • wxapp-subscribe-messag... 11

    微信小程序订阅消息 demo

  • articles 5

    Collection of articles (printed as PDF files)

  • packages 3

    Arch User Repository packages I maintain.

  • configurations 2

    Personal configurations

  • aiohttp-etag 2

    Etag support for aiohttp.web

  • skb 2

    Simple knowledge base

  • www.zhangkaizhao.com 2

    Personal website

  • supportbot 1

    Supportbot to support questions and their answers

  • asciidoctor_cjk_breaks 1

    An extension for Asciidoctor that suppresses line breaks between east asian characters.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 前后端分裂 at 2018年01月12日

    所以前端就开始要求搞各种 Stub/Mock 服务来做前端和后端之间的接口测试……然后越来越复杂,越来越难以协调和控制……于是前端工程师从入门到分裂最后放弃(逃

  • Ruby on Rails 开发的 API,能支撑多大的日请求量? at 2017年12月14日

    人家已经说了是机器系统里运行 htop 的界面的截图。 没有用过 Linux 发行版吗?去试试吧。 htop 可以说是 top 的一种变种,默认会列出当前运行的系统各个 CPU core 的资源使用比例而不是所有 CPU core 的总资源使用比例。还有很多不同,比如列出同一个进程里的不同线程的信息而不是仅仅列出进程的信息,等等。

  • [深圳] 贔玄阁科技有限公司招收 ruby 工程师 at 2017年09月13日

    有上班时间没下班时间 🙀

  • 求助!在 Windows 下安装 “rmagick” 失败,已经安装了 Windows 版本的 ImageMagick,还是一样报错 at 2017年08月12日

    推荐 rubyinstaller2 : https://github.com/oneclick/rubyinstaller2

    C 扩展的编译支持舍弃了 rubyinstaller 使用的 DevKit 而改用 msys2 了:

    Install gems with C-extensions and additional library dependencies

    The base MSYS2 setup includes compilers and other build tools, but doesn't include libraries or DLLs that some gems require as their dependencies. Fortunatelly many of the required libraries are available through the MSYS2 repositories. They can be installed per ridk exec pacman -S mingw-w64-x86_64-libraryname similar to apt-get on Linux. Exchange the prefix mingw-w64-x86_64 by mingw-w64-i686 for the 32-bit RubyInstaller.

    For instance these popular gems can be installed like so from the source gem:

    To install sqlite3 gem:
      ridk exec pacman -S mingw-w64-x86_64-sqlite3
      gem install sqlite3 --platform ruby
    To install nokogiri gem:
      ridk exec pacman -S mingw-w64-x86_64-libxslt
      gem install nokogiri --platform ruby -- --use-system-libraries
    

    之前我就用这个解决了 nokogiri 在 Ruby 2.4 上的安装编译失败问题。

  • 使用 send_file 下载文件问题 at 2017年08月10日

    主要问题应该是响应头部 Content-Type。

  • 连接另一个系统的数据库,查询数据,用 Rails 在前端搭建一个查询报表的 web 应用 at 2017年08月03日

    如果是使用 Python/Django 的话,可以在设置好数据库配置之后使用 inspectdb 命令直接生成目标数据库中所有的表的 model,再将生成的 model 做些修葺即可。

    $ python manage.py inspectdb > models.py
    

    官方文档: Integrating Django with a legacy database https://docs.djangoproject.com/en/1.11/howto/legacy-databases/

    我一直就是这么做的。

  • [深圳] DJI 大疆创新招聘 Ruby 工程师 7 名&电商实习生多名 (saberma 内推 15-40k)[福利更新] at 2017年08月02日

    默默流口水中……

  • 上一页
  • 1
  • 2
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English