Skip to content
#

life

Here are 449 public repositories matching this topic...

mrdulin
mrdulin commented May 21, 2019

使用Slack Commands配合Cloud Function控制Compute Engine

前言

GCP的云服务都有各自的计费模型,对于中小企业尤其是个人开发者,怎么最大化的节省成本是个值得研究的问题。涉及到架构的选型,应用程序的优化等等。比如,对于应用程序的开发和运行初期,用户数量不多,功能少而精,应该选择配置低,成本小的云服务器,这样可以将一些性能问题放大,尽早的暴露出来。

阅读这篇文章需要熟悉以下技术栈:

  • Node.js/Express.js
  • Google Compute Engine
  • Google Cloud Function
  • Slack/Slack Command
  • ngrok(optional)

云平台都大同小异,如果你熟悉其他云平台,比如AWS(lambda, ec2), 阿里云,腾讯云,实现的流程也

reillysiemens
reillysiemens commented Aug 22, 2018

Describe the bug
Without an update of the wasm-bindgen dependency from v0.2.13 to v0.2.17 the initial npm run build-debug on the chapter-zero branch fails to compile.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/rustwasm/wasm_game_of_life.git
  2. cd wasm_game_of_life
  3. git checkout -b chapter-zero origin/chapter-zero
  4. npm install
sunmaobin
sunmaobin commented Nov 22, 2018

一、数据库基础知识

1.1 什么是ORM?

对象-关系映射(Object-Relational Mapping,简称ORM),ORM框架主要的作用就是把数据库中的关系数据映射称为程序中的对象,也就是说你操作数据库不用直接写SQL,而是直接操作对象就可以。

Java中主流的ORM框架有:Hibernate、Mybatis、iBatis等。

Node中主流的ORM框架有:Sequelize、TypeORM、LoopBack、Mongoose、Waterline等。

1.2 关系数据库都有哪些关系?

两个对象A和B之间只有哪些可能存在的关系?

  1. 1:1 1个A对应1个B(一夫一妻)。有2张表,A表中有一个外键关联B表;
  2. 1:N 1个A对应多个B(一夫多妻)。有2张表,B表中有一个外键关联A表;
  3. `M:
taxonworks
mjy
mjy commented Sep 29, 2019

Overview

Everything in lib/utilities is intended to be Rails agnostic (though many use some feature like .blank?. These libraries are execellent targets for extraction and simplification of our code base.

Extraction target

Re-integration

Refactoring should be s

Improve this page

Add a description, image, and links to the life topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the life topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.