profile
viewpoint
Diluka Diluka Parsec Tech Chongqing, China

Diluka/docker-OpenSfMMVS 2

OpenSfM + OpenMVS docker image

Diluka/nodejs-typescript-demo 1

用typescript开发nodejs的例子

Diluka/Administrative-divisions-of-China 0

中华人民共和国行政区划:省级(省份直辖市自治区)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据 Node.js 爬虫。

Diluka/arena 0

An interactive UI dashboard for Bee Queue

Diluka/AsyncTCPDemoDotNet 0

就是个异步TCP通信的Demo

Diluka/BScore 0

B学分管理系统

Diluka/CRTTicketPrice 0

重庆轨道交通票价

Diluka/crud 0

NestJs CRUD for RESTful APIs

Diluka/datamask.js 0

A simple module to mask emails and domains

issue commentFuckDoctors/rdm-builder

macOS Catalina 10.15.5 无法打开「解决方案」

2020.3版启用提示更新到2020.3版,点ok就关了,怎么搞?

ou-bing

comment created time in a month

startedohmyzsh/ohmyzsh

started time in a month

issue openednestjs/bull

forRoot not works well

<!-- PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.

ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->

I'm submitting a...

<!-- Please search GitHub for a similar issue or PR before submitting. Check one of the following options with "x" --> <pre><code> [ ] Regression <!--(a behavior that used to work and stopped working in a new release)--> [x] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow. </code></pre>

Current behavior

<!-- Describe how the issue manifests. --> can not start

Expected behavior

<!-- Describe what the desired behavior would be. --> start and inject queue

Minimal reproduction of the problem with instructions

<!-- Please share a repo, a gist, or step-by-step instructions. --> https://codesandbox.io/s/nestjs-bull-for-root-g4prz

What is the motivation / use case for changing the behavior?

<!-- Describe the motivation or the concrete use case. -->

Environment

<pre><code> Nest version: X.Y.Z <!-- Check whether this is still an issue in the most recent Nest version -->

For Tooling issues:

  • Node version: XX <!-- run node --version -->
  • Platform: <!-- Mac, Linux, Windows -->

Others: <!-- Anything else relevant? Operating system version, IDE, package manager, ... --> </code></pre>

created time in a month

IssuesEvent

issue commentnestjsx/crud

`Too many nested levels!` error

there is still a bug, if nested property more 2 levels

this loop will add more than 2 levels' path https://github.com/nestjsx/crud/blob/77bb83adc0631747a5dcb07d101f19f5dc295c14/packages/crud-typeorm/src/typeorm-crud.service.ts#L490-L494

and here will pass it to query builder directly and raise an error https://github.com/nestjsx/crud/blob/77bb83adc0631747a5dcb07d101f19f5dc295c14/packages/crud-typeorm/src/typeorm-crud.service.ts#L573

roland-chernov-akvelon

comment created time in a month

issue commentcnpm/cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org 报错

diluka@Diluka-Z7:~$ npm install -g cnpm --registry=https://registry.npm.taobao.org
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser
npm ERR! dest /home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser' -> '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'
npm ERR!  [OperationalError: EACCES: permission denied, rename '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser' -> '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'] {
npm ERR!   cause: [Error: EACCES: permission denied, rename '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser' -> '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'] {
npm ERR!     errno: -13,
npm ERR!     code: 'EACCES',
npm ERR!     syscall: 'rename',
npm ERR!     path: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser',
npm ERR!     dest: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb'
npm ERR!   },
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'rename',
npm ERR!   path: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/npm-f1686743/node_modules/yargs-parser',
npm ERR!   dest: '/home/diluka/.nvm/versions/node/v12.18.3/lib/node_modules/.staging/yargs-parser-c367edbb',
npm ERR!   parent: 'cnpm'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/diluka/.npm/_logs/2020-09-10T16_21_01_624Z-debug.log
alsotang

comment created time in a month

startedstdlib-js/stdlib

started time in a month

push eventDiluka/numjs

Diluka

commit sha 3b1dadc7023ab4c6abdf1ccfd4a42b1fe1200d4e

Update node.js.yml

view details

push time in a month

push eventDiluka/numjs

Diluka

commit sha d5279826ecc2e258c1dd0e9b24496ead38f62742

Create node.js.yml

view details

push time in a month

fork Diluka/numjs

Like NumPy, in JavaScript

fork in a month

startedPowerShell/PowerShell

started time in a month

startedrequest/request

started time in a month

startedsindresorhus/got

started time in a month

startedgitpod-io/gitpod

started time in 2 months

push eventnest-mods/limiter

Diluka

commit sha 0fe7204cc32c26c335750690f6f51db8775b6295

chore: add a badge

view details

push time in 2 months

push eventnest-mods/auth

Diluka

commit sha 2e16e49518884a15e4df571e31f921ee66128fd5

refactor: reduce deps remove @nest-mods/log

view details

Diluka

commit sha 31eedd5d9bba6a3cc339340ad3c9cd53cbdfb554

feat: remove nestjs-redis BREAKING CHANGE: provide ioredis in options

view details

push time in 2 months

push eventnest-mods/limiter

Diluka

commit sha e62ab9f66112a40001ca48e9b3d698ab8f02c58b

init

view details

push time in 2 months

startedlinuxserver/docker-swag

started time in 2 months

create barnchnest-mods/limiter

branch : master

created branch time in 2 months

created repositorynest-mods/limiter

Rate Limit integration for nestjs

created time in 2 months

push eventnest-mods/task

Diluka

commit sha f7f8a0fe5919d3e9678f336e0c76dcf8c6e055df

Update README.md

view details

push time in 2 months

push eventnest-mods/auth

Diluka

commit sha aa509e307e7f9a4a20f772b02a9c1cb02325a6e1

feat: simplifed usage BREAKING CHANGE: redesigned

view details

Diluka

commit sha 5d42994e82718339e5451c5224d2225ff1b2a85d

test: graphql test

view details

Diluka

commit sha db2793465d27ae172770cff68d8a86470c238f1e

ci: add ci

view details

push time in 2 months

create barnchnest-mods/auth

branch : 5.x

created branch time in 2 months

push eventnest-mods/log

Diluka

commit sha 1a74e5c1019275c7e8af69e17730dda7c5704b85

chore: npm config

view details

push time in 2 months

delete branch nest-mods/log

delete branch : dependabot/npm_and_yarn/handlebars-4.5.3

delete time in 2 months

PR closed nest-mods/log

chore(deps): bump handlebars from 4.1.2 to 4.5.3 dependencies

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps handlebars from 4.1.2 to 4.5.3. <details> <summary>Changelog</summary>

Sourced from handlebars's changelog.

v4.5.3 - November 18th, 2019

Bugfixes:

  • fix: add "no-prototype-builtins" eslint-rule and fix all occurences - f7f05d7
  • fix: add more properties required to be enumerable - 1988878

Chores / Build:

  • fix: use !== 0 instead of != 0 - c02b05f
  • add chai and dirty-chai and sinon, for cleaner test-assertions and spies, deprecate old assertion-methods - 93e284e, 886ba86, 0817dad, 93516a0

Security:

  • The properties __proto__, __defineGetter__, __defineSetter__ and __lookupGetter__ have been added to the list of "properties that must be enumerable". If a property by that name is found and not enumerable on its parent, it will silently evaluate to undefined. This is done in both the compiled template and the "lookup"-helper. This will prevent new Remote-Code-Execution exploits that have been published recently.

Compatibility notes:

  • Due to the security-fixes. The semantics of the templates using __proto__, __defineGetter__, __defineSetter__ and __lookupGetter__ in the respect that those expression now return undefined rather than their actual value from the proto.
  • The semantics have not changed in cases where the properties are enumerable, as in:
{
  __proto__: 'some string'
}
  • The change may be breaking in that respect, but we still only increase the patch-version, because the incompatible use-cases are not intended, undocumented and far less important than fixing Remote-Code-Execution exploits on existing systems.

Commits

v4.5.2 - November 13th, 2019

Bugfixes

  • fix: use String(field) in lookup when checking for "constructor" - d541378
  • test: add fluent API for testing Handlebars - c2ac79c

Compatibility notes:

  • no incompatibility are to be expected </tr></table> ... (truncated) </details> <details> <summary>Commits</summary>
  • c819c8b v4.5.3
  • 827c9d0 Update release notes
  • f7f05d7 fix: add "no-prototype-builtins" eslint-rule and fix all occurences
  • 1988878 fix: add more properties required to be enumerable
  • 886ba86 test/chore: add chai/expect and sinon to "runtime"-environment
  • 0817dad test: add sinon as global variable to eslint in the specs
  • 93516a0 test: add sinon.js for spies, deprecate current assertions
  • 93e284e chore: add chai and dirty-chai for better test assertions
  • c02b05f fix: use !== 0 instead of != 0
  • 8de121d v4.5.2
  • Additional commits viewable in compare view </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 2 months

delete branch nest-mods/log

delete branch : Diluka-patch-1

delete time in 2 months

PR merged nest-mods/log

Create node.js.yml
+29 -0

0 comment

1 changed file

Diluka

pr closed time in 2 months

push eventnest-mods/log

Diluka

commit sha 8051d3caf447e36ccba2279c8b062a665b62767b

Create node.js.yml

view details

Diluka

commit sha 4cabb8041fddef23005f4fc67b8ebee04f2bc55e

Merge pull request #5 from nest-mods/Diluka-patch-1 Create node.js.yml

view details

push time in 2 months

PR opened nest-mods/log

Create node.js.yml
+29 -0

0 comment

1 changed file

pr created time in 2 months

create barnchnest-mods/log

branch : Diluka-patch-1

created branch time in 2 months

push eventnest-mods/log

Diluka

commit sha 932e8917198cff8e94c7d49fb5a3dd8aae5c4dec

feat: simplified update BREAKING CHANGE: remove other logger lib and api changes

view details

Diluka

commit sha 2a4a79af49d2bc43d898f70d28f6d2a510a004b9

docs: README.md

view details

push time in 2 months

create barnchnest-mods/log

branch : 4.x

created branch time in 2 months

startedRyochan7/DS4Windows

started time in 2 months

issue openedmock-end/random-cn-mobile

please publish 1.0.0 to npm

created time in 2 months

startedgrantila/awesome-phonenumber

started time in 2 months

pull request commentnestjsx/crud

fix(crud): Custom route decorators applied twice

I understand

eugenio165

comment created time in 2 months

pull request commentnestjsx/crud

fix(crud): Custom route decorators applied twice

I made a test, but it failed on property like below:

import 'reflect-metadata';

class A {
    p2 = ()=>"test"
}

const p2 = Reflect.decorate([Reflect.metadata('test', 'OK!')], A.prototype, 'p2')
Reflect.defineProperty(A.prototype, 'p2', p2)

console.log(a.p2(), Reflect.getMetadata('test', a, 'p2'))
Reflect.defineProperty(A.prototype, 'p2', p2)
        ^
TypeError: Property description must be an object: undefined

well, it is pretty good on method

eugenio165

comment created time in 2 months

Pull request review commentnestjsx/crud

fix(crud): Custom route decorators applied twice

 export class R {     target: object,     name: string,   ) {-    // this makes proxy decorator works-    Reflect.defineProperty(-      target,-      name,-      Reflect.decorate(-        decorators,-        target,-        name,-        Reflect.getOwnPropertyDescriptor(target, name),-      ),-    );-     // this makes metadata decorator works-    Reflect.decorate(+    const decoratedDescriptor = Reflect.decorate(       decorators,       target,       name,       Reflect.getOwnPropertyDescriptor(target, name),

if target[name] is a property, this line will be undefined

eugenio165

comment created time in 2 months

startedkamilkisiela/graphql-config

started time in 3 months

created repositoryDiluka/test

created time in 3 months

create barnchDiluka/test

branch : master

created branch time in 3 months

push eventDiluka/nestjs-query

Diluka

commit sha 4aaacd5d9599a7842ba3172847ceee5da23b7f9f

test(graphql): cursor paging add offset

view details

push time in 3 months

push eventDiluka/nestjs-query

Diluka

commit sha ec758c1db1791db68ecc7ed51762a08d98830599

test(graphql): cursor paging add offset

view details

push time in 3 months

push eventDiluka/nestjs-query

Diluka

commit sha e5fb0d9cb2ebf854d0fe90ffc72b33d2f916c6e0

test(graphql): cursor paging add offset

view details

push time in 3 months

PR opened doug-martin/nestjs-query

feat(graphql): cursor paging add offset

when using cursor-based paging, can manually add offset instead of before or after cursor

close #327

+13 -2

0 comment

1 changed file

pr created time in 3 months

create barnchDiluka/nestjs-query

branch : relay-with-offset

created branch time in 3 months

startednpm/cli

started time in 3 months

issue closedDefinitelyTyped/DefinitelyTyped

kue config and callback interfaces

If you know how to fix the issue, make a pull request instead.

  • [x] I tried using the @types/kue package and had problems.
  • [x] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
  • [ ] I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
  • [x] Mention the authors (see Definitions by: in index.d.ts) so they can respond.
    • @drudge
    • @amiram
    • @pc-jedi
    • @deerawan

If you do not mention the authors the issue will be ignored.

Please define the interfaces of configs and callbacks

closed time in 3 months

Diluka

issue closedhuan/rx-queue

crashed with angular 8

ERROR TypeError: Class constructor Subject cannot be invoked without 'new'
    at new RxQueue (rx-queue.umd.js:59)

using latest version

closed time in 3 months

Diluka

issue closedblacktop/graboid

how to access gcr.io?

I try to list tags by using

  • $ ./graboid tags -V gcr.io/kubernetes-helm/tiller
  • $ ./graboid tags -V --registry https://gcr.io gcr.io/kubernetes-helm/tiller
  • $ ./graboid tags -V --registry https://gcr.io kubernetes-helm/tiller
  • $ ./graboid tags -V --registry gcr.io kubernetes-helm/tiller

and it try to • downloading tags url=https://registry-1.docker.io/v2/.../tags/list

closed time in 3 months

Diluka

startedgraphql/dataloader

started time in 3 months

more