Skip to content

Instantly share code, notes, and snippets.

View serhii-ilin's full-sized avatar
:octocat:

Serhii Ilin serhii-ilin

:octocat:
View GitHub Profile
{
"setid": "0098dec4-f0e5-45d5-8aa4-5d0faf9ab142",
"INGREDIENTS AND APPEARANCE": {
"70771-1859": {
"name": "ZITUVIMET",
"active_ingredients": [],
"inactive_ingredients": [
"CROSCARMELLOSE SODIUM",
"LOW-SUBSTITUTED HYDROXYPROPYL CELLULOSE (11% HYDROXYPROPYL; 120000 MW)",
"MAGNESIUM STEARATE",
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
}
function movePatients(sourceGroupName, destinationGroupName, measureSetId) {
// Find source group
const oldGroup = db.getCollection("groups").findOne({ name: sourceGroupName });
if (!oldGroup || !oldGroup._id) {
throw new Error(`Source Group ${sourceGroupName} cannot be found`);
}
print(`Source group located: ${oldGroup._id}`);
// Find destination group
const newGroup = db.getCollection("groups").findOne({ name: destinationGroupName });
@serhii-ilin
serhii-ilin / default_codeset_values.json
Created September 10, 2021 19:00
default_codeset_values.json
{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$gsx":"http://schemas.google.com/spreadsheets/2006/extended","id":{"$t":"https://spreadsheets.google.com/feeds/list/15Tje3oiUfYgU24RiX-fUs-hH08dFOvW7_ysyAN8vxuc/od6/public/values"},"updated":{"$t":"2021-08-17T14:30:34.031Z"},"category":[{"scheme":"http://schemas.google.com/spreadsheets/2006","term":"http://schemas.google.com/spreadsheets/2006#list"}],"title":{"type":"text","$t":"Sheet1"},"link":[{"rel":"alternate","type":"application/atom+xml","href":"https://docs.google.com/spreadsheets/d/15Tje3oiUfYgU24RiX-fUs-hH08dFOvW7_ysyAN8vxuc/pubhtml"},{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https://spreadsheets.google.com/feeds/list/15Tje3oiUfYgU24RiX-fUs-hH08dFOvW7_ysyAN8vxuc/od6/public/values"},{"rel":"http://schemas.google.com/g/2005#post","type":"application/atom+xml","href":"https://spreadsheets.google.com/feeds/list/15Tj
@serhii-ilin
serhii-ilin / gist:def6ab7c68f894df7399be8ca0f1d68c
Last active October 4, 2021 20:29
CQL execution hack for debugging
(function() {
if (cqm.models.CQL.Expression.bonnieInstrumented) {
return;
}
let _expression = cqm.models.CQL.Expression;
let _execute = cqm.models.CQL.Expression.prototype.execute;
cqm.models.CQL.Expression.prototype.execute = function(ctx) {
let execValue = _execute.apply(this, [ctx]);
Regular **Markdown** here.
<div hidden>
```
@startuml firstDiagram
Alice -> Bob: Hello
Bob -> Alice: Hi!
@enduml

Keybase proof

I hereby claim:

  • I am serhii-ilin on github.
  • I am serhii_ilin (https://keybase.io/serhii_ilin) on keybase.
  • I have a public key ASDsbpZMcBReIsjRr6zfqVZj2qadSGZ037bMESLIbrqoqQo

To claim this, I am signing this object: