Binding Path=<Prop>, ElementName=<>
<Binding>
<Binding.RelativeSource>
This was taken from http://rxwiki.wikidot.com/101samples, because I wanted to be able to read it more comfortable with syntax highlighting.
Here's the unedited original, translated to Github Markdown glory:
| private static T[,] Make2DArray<T>(T[] input, int height, int width) | |
| { | |
| T[,] output = new T[height, width]; | |
| for (int i = 0; i < height; i++) | |
| { | |
| for (int j = 0; j < width; j++) | |
| { | |
| output[i, j] = input[i * width + j]; |
| 'use strict'; | |
| const db = require('@arangodb').db; | |
| const joi = require('joi'); | |
| const createRouter = require('@arangodb/foxx/router'); | |
| const sessionsMiddleware = require('@arangodb/foxx/sessions'); | |
| const jwtStorage = require('@arangodb/foxx/sessions/storages/jwt'); | |
| const createAuth = require('@arangodb/foxx/auth'); | |
| const auth = createAuth(); | |
| const router = createRouter(); |
| # Sample as to how to initialize s3 client to work with Minio API compatible - https://github.com/minio/minio | |
| # AWS CLI counterpart - https://docs.minio.io/docs/aws-cli-with-minio | |
| import boto3 | |
| s3 = boto3.resource('s3', | |
| endpoint_url='http://<minio_IP>:9000', | |
| config=boto3.session.Config(signature_version='s3v4') | |
| ) |
| <table> | |
| <tbody> | |
| <tr> | |
| <td>STT</td> | |
| <td>Tiếng Việt</td> | |
| <td>Tiếng Trung</td> | |
| <td>Phiên âm</td> | |
| </tr> | |
| <tr> | |
| <td>1</td> |
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Timers; | |
| namespace DebounceUtils | |
| { | |
| /// <summary> | |
| /// Event debouncer helps to prevent calling the same event handler too often (like mark Dirty or Invalidate) |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
Same as xp_x86, but Using SCSI for every driver.