Dai Jie
Dai Jie
> Also just ran into this issue. Definitely should not be a thing that you can do... > > Anyways, if anyone else runs into this, the solution is to...
` program .version(packageInfo.version) .usage('[options] [value ...]') .option('-d, --dns-domain ', 'Set domain name(*required)') .option('-H, --dns-host ', 'Set host name(*required)') .option('-u, --user ', 'Set user name(*required)') .option('-p, --passwd ', 'Set password(*required)') .option('-D,...
提供下我的安装方式: 1. 使用 `apt-cache search linux-image-4.1` 查找最新的 -generic 的内核,我现在找到最新的是 `linux-image-4.13.0-17-generic` 2. 安装 ``` apt install linux-image-4.13.0-17-generic update-grub reboot ``` > 补记:经过测试, `update-grub`也不是必须的,安装脚本自动执行了 Update grub 3. 再次登录,检查结果 ``` uname -r ```...
How lucky I am, waiting this feature for years. :tada:
that's what i looking for!
- `Hash.make` is a async method, but in FileCache.ts it called without a `await` ``` private hashKey(key: string) { return this.hash.make(key + '') } ``` - There is a lot...
> 你们要么等一下5月19以后。。。有个deadline 或者能不能生成一个字符串,类似 uuid,每次应用这个字符串就会出现同样的头像。这样不用存图片,只要存这个字符串,前端渲染就行。
场景:我想为所有用户生成一个默认头像;同一个用户每次都看到同一个随机头像;不同用户头像不一样。 如果是个seeder,比如用户的uid,就可以直接复用现有的值。在后端不需要处理任何功能,直接交给前端渲染。
> @hausen1012 @opzpy123 @shiny 我实现了这个 issue 中提到的功能,不过由于改动过大,只能新起一个项目,而无法合并入这个项目。 可以用来参考思路: > > 1. 增设了 API 接口,可以直接返回随机生成的头像; > > 2. 添加了 'id' 和 'username' 参数,通过固定这两个参数,可以确保返回的头像保持一致; > > 3. 增加了 'bg_color' 参数,通过这个参数,可以确保头像的背景色是固定的颜色值; > >...