John Henckel, June 2019
This parses the SQL DDL for a database and generates a XML file that is suitable to IMPORT into the https://draw.io
#include <Arduino.h> | |
#include <usbhub.h> | |
#include <cdcprolific.h> | |
#include <SPI.h> | |
void print(String a, uint8_t b) | |
{ | |
Serial.print(a); | |
Serial.print(' '); |
using EvilDICOM.Core; | |
using EvilDICOM.Core.Dictionaries; | |
using System.Text.Json; | |
using System.Linq; | |
namespace DotnetDicom | |
{ | |
internal class Program | |
{ | |
/// <summary> |
//===================== | |
// Service functions for accessing the CosmosDB from the Madras-WDC | |
//================== | |
"use strict"; | |
import { CosmosClient } from "@azure/cosmos"; | |
function parseConnectionString(connection_string) { | |
let result = {}; | |
for (let m of connection_string.matchAll(/(\w+)=(.*?);/g)) |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using Newtonsoft.Json; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using System.Text; | |
using System.Threading; |
using System.Runtime.InteropServices; | |
using System; | |
using System.Numerics; | |
using System.Threading; | |
namespace MouseMinder | |
{ | |
/*************** | |
* John Henckel, [email protected] 1 OCT 2020 | |
* |
John Henckel, June 2019
This parses the SQL DDL for a database and generates a XML file that is suitable to IMPORT into the https://draw.io
/* | |
This can be used in unit tests to simulate a DOM document. | |
For example, in your jasmine spec file, in the beforeEach, you can do | |
global.document = new MockElement(); | |
This is not complete. I only implemented the stuff that I needed for my own unit tests. | |
You should aggressively modify it for your purposes. | |
*/ |
/* | |
This can be used in unit tests to simulate a DOM document. | |
I have implemented the bare minimum. Feel free to add more, or to change my implementation. | |
Sample Usage: | |
import 'jasmine'; | |
import { MockElement } from './support/mock-element'; |
//------------------------------------------------------------------------------- | |
// This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
// The person who associated a work with this deed has dedicated the work to the public domain by | |
// waiving all of his or her rights to the work worldwide under copyright law, including all related | |
// and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform | |
// the work, even for commercial purposes, all without asking permission. | |
import java.io.IOException; | |
import java.io.Reader; | |
import java.io.StringReader; |