{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "6a0bfa07-68b4-48d0-82b6-d155622200c5",
"showTitle": false,
"title": ""
}
},
"source": [
"## How-To: Great Expectations\n",
"\n",
"Resources:\n",
"- [Get started with Great Expectations & Databricks](https://docs.greatexpectations.io/docs/oss/get_started/get_started_with_gx_and_databricks/)\n
// Generative constructors
// To instantiate a class, use a generative constructor.
class Point {
// Initializer list of variables and values
double x = 2.0;
double y = 2.0;
// Generative constructor with initializing formal parameters:
Point(this.x, this.y);
double distanceTo(Point other) {
var dx = x - other.x;
var dy = y - other.y;
return sqrt(dx * dx + dy * dy);
}
}
$ node --version
v10.15.3
$ node --version > .node-version
var name = 'Bob'; // Type inference to String
Object name = 'Bob'; // 모든 타입은 Object
String? name = 'Bob'; // Nullable type
// final: 런타임 중에 한번 대입 가능, 그 이후에 변경 불가능
final name = 'Bob'; // t
final String name = 'Bob';
// const 컴파일 타임에 결정되는 값
const name = 'Bob';
const String name = 'Bob';
// Assign value to b if b is null; otherwise, b stays the same
b ??= value;
// 삼항 연산자
var visibility = isPublic ? 'public' : 'private';
// name이 null이면 Guest를 반환하는 함수
String playerName(String? name) => name ??
void main() {
print('Hello, World!');
}
Diffusion Brain MRI
Sequence: DWI, ADC map.
No demonstrable high signal spot indicating diffusion restricion was observed.
(For other details, please refer to routine brain MRI.)
--> Conclusion: No evidence of acute infarction.
Recommendation; clinical and neurologic examination correlation.
## What makes an API RESTful?
* Follow 6 architectural constraints
* Client - Server
* Uniform interface
* Stateless (server should not manage the state of the application)
* Caching - server should use HTTP caching headers to cache response
* Layered
* Code on demand (optional constraint)
* Richardson Maturity Model
* measure of RESTfulness based on a score from 0 - 3, 0 is lowest level of REST compliance
and 3 is the highest level of REST compliance
---
## Client Server Const
<mvt:comment>Ability to have a page with the same code as the current category code and use that page via page builder for specific category landing pages/layouts</mvt:comment>
<mvt:do file="g.Module_Feature_TUI_DB" name="l.settings:Page_Load_CodeOK" value="Page_Load_Code( g.Category_Code, l.settings:category:pagebuilder_cat_page )" />
<mvt:if expr="l.settings:Page_Load_CodeOK">
<mvt:capture variable="l.settings:category:pagebuilder_design"><mvt:do name="l.settings:foundPageOK" file="g.Modul
### Testing Spring Data JPA
#### Disable rollback in tests
`@Rollback(false)` or `@Commit` at method or class level. See https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/annotation/Rollback.html
This can be done programatically with help of `TestTransaction` like:
see https://www.baeldung.com/spring-test-programmatic-transactions.
```
TestTransaction.flagForCommit();
TestTransaction.flagForRollback();
TestTransaction.start();
......
TestTransaction.e
kube -n [namespace] rollout history deploy [service]--revision=[x] -o yaml
/**
* @param {number[]} score
* @return {string[]}
*/
var findRelativeRanks = function(score) {
// Create a copy of the original scores array and sort it in descending order
var sorted = Array.from(score).sort((a, b) => b - a);
// Iterate over the sorted scores array
for (let i = 0; i < sorted.length; i++) {
// Find the index of the score in the original scores array
let index = score.indexOf(sorted[i]);
// Assign the athlete's rank based on their pos
acesss:
C:\xampp\mysql\bin via CMD
and run command:
mysql -u root -p msf-v2 < C:\Web\path\file-name.sql
<canvas id="myCanvas"></canvas>
<script type="importmap">
{
"imports": {
"three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.163.0/three.module.min.js"
}
}
</script>
<script src="assets/js/script.js" type="module"></script>
<mvt:comment> Load order payments </mvt:comment>
<mvt:do file="g.module_library_db" name="l.success" value="OrderPaymentList_Load_Order(l.settings:order:id, l.settings:orderpayments)" />
<mvt:comment> Set delimiter variables </mvt:comment>
<mvt:assign name="g.colon" value="':'" />
<mvt:assign name="g.comma" value="','" />
<mvt:assign name="g.equal" value="'='" />
<mvt:comment> Loop through payments array to find the payment data </mvt:comment>
<mvt:foreach iterator="payment" ar
// One storage for all ...
export const useCounterStore = defineStore('counter', () => {
const count = ref(0);
function increment() {
count.value++;
}
return { count, increment };
});
// Dynamic storage = each components get its own
export function useCounterStore(key) {
return defineStore(key, () => {
const count = ref(0);
function increment() {
count.value++;
}
return { count, increment };
})();
$query = "UPDATE sgsi_fechas_auditorias SET fecha_auditoria_sugerida = '$fecha_auditoria_sugerida_formateada' WHERE id = $id_registro";
///////////////// PROBAR PARA INTENTAR MODIFICAR LA BASE DE DATOS ///
// $sql = "update webex_alumnos set email_alternativo2='".$emA."' where id='".$idalumnodestino."'";
$re= $this->quid->db->escribeSQL($query);
var_dump($re) // si devuelve true es que se ha guardado el valor en la base de datos