John Yani
John Yani
So, to understand how coronavirus works these are the questions - how it attaches to the living organism - how it goes through cell membrane (cell receptors) - how it...
https://www.youtube.com/watch?v=nNK3u8uVG7o
Now, protein folding. There is a CASP project to assess protein modeling. Each 2 years there's a set of non-public experiment data which is used as a test dataset to...
To resolve this dependency cycle, inner modules should depend on inner modules directly, without index.js as intermediate: ``` // index.js const buffer = require('./buffer'); const reporter = require('./reporter'); const Node...
Say, something like this: ``` var PKCS7_CONTENT_TYPES = { "1 2 840 113549 1 7 1": "data", "1 2 840 113549 1 7 2": "signedData", "1 2 840 113549 1...
Great! P.S. but it's not so declarative and doesn't intuitively match ASN.1 notation.
A bit more declarative way: ``` javascript var ContentInfo = asn1.define('ContentInfo', function() { this.seq().obj( this.key('contentType').objid(PKCS7_CONTENT_TYPES), this.key('content').optional().explicit(0).use(function () { return { signedData: SignedData, envelopedData: EnvelopedData }[this.contentType]; }) ); }); ``` Or...
There's an alternative rfc3280 implementation: https://github.com/dstucrypt/jkurwa/blob/master/lib/spec/rfc3280.js But it contains only GOST algorithm identifiers. And there's also a bug with `choice` implementation.
I looked closer, and it seems that it is a fork. The only reason it is different is a specific AlgorithmIdentifier used. Could be a valid use case for #14....
One of the reasons why `PUBLIC_URL` can't be set in run-time is that CSS `url` function doesn't support dynamic values: https://stackoverflow.com/questions/858782/dynamic-urls-in-css-js This means you have to use relative values. But...