| command | description |
|---|---|
| ctrl + a | Goto BEGINNING of command line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Total: 1~5 | |
| 下面各项得分的平均分 | |
| Experience: 1~5 | |
| 过往项目的客户群(ToB or ToC)、项目规模、项目中担当的角色、是否有突出贡献等等 | |
| Skill: 1~5 | |
| 开发基础、设计能力、能否攻克中大型开发难题,能否担当 full stack 任务等等 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE OR REPLACE FUNCTION resize(image bytea, h integer, w integer) | |
| RETURNS bytea | |
| LANGUAGE plpythonu | |
| AS $function$ | |
| if ('io' in SD) and ('StringIO' in SD) and ('Image' in SD): | |
| io = SD['io'] | |
| StringIO = SD['StringIO'] | |
| Image = SD['Image'] | |
| else: | |
| import io, StringIO |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
- Use ESM yourself. (preferred)
Useimport foo from 'foo'instead ofconst foo = require('foo')to import the package. You also need to put"type": "module"in your package.json and more. Follow the below guide. - If the package is used in an async context, you could use
await import(…)from CommonJS instead ofrequire(…). - Stay on the existing version of the package until you can move to ESM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you don‘t want to build it youself, you can try `docker pull killercai/postgres`. | |
| FROM healthcheck/postgres:latest | |
| # China debian mirror | |
| RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list | |
| RUN apt-get clean && apt-get update | |
| RUN apt-get install -y wget git build-essential libpq-dev python-dev postgresql-server-dev-all | |
| # SCWS (Simple Chinese Word Segmentation library) | |
| RUN cd /tmp && wget -q -O - http://www.xunsearch.com/scws/down/scws-1.2.1.tar.bz2 | tar xjf - && cd scws-1.2.1 && ./configure && make install | |
| # zhpaser (postgres plugin) |
