Open PowerShell in the target directory. Normally, you can open PowerShell in current directory by holding shift and right-clicking the context menu Open PowerShell Here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import timeit | |
| import collections | |
| import itertools | |
| import numpy as np | |
| from bitarray import bitarray as b | |
| def test_slice(data): | |
| for i in reversed(range(len(data))): |
Download and install Virtual Box 6.x from the website.
You have 2 options: disable secure boot or sign the kernel modules. We only mention how to sign kernel modules without disabling secure boot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:latest | |
| SHELL ["/bin/bash", "-c"] | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| git \ | |
| build-essential \ | |
| wget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema", | |
| "type": "object", | |
| "description": "Assertion provided by Starling Capture.", | |
| "examples": [ | |
| { | |
| "device_board": "sdm845", | |
| "device_brand": "htc", | |
| "current_address": "No. 77, Jinshan North Road, Zhongzheng District, Taipei City, Taiwan 100", | |
| "current_gps_latitude": "25.045234", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema", | |
| "type": "object", | |
| "description": "Assertion provided by Starling Capture.", | |
| "examples": [ | |
| { | |
| "proof": { | |
| "hash": "b08714406df079733fdbc0566aa28ff4b20abd13e3a2042ddd214bc4d4f81f7c", | |
| "mimeType": "image/jpeg", | |
| "timestamp": 1600177819743 |
Assume func is a synchronized function. tap(_ => func()) will call the function lazily. However, mapTo(func()) will call the function eagerly.
forkJoinwill not emit anything if the input is an empty array.forkJoinonly emit one value than complete.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data class RepositoryItem<T>( | |
| val value: T, | |
| val status: Adding | AddingFailed | Added | Removing | RemovingFailed | |
| override fun equals(other: RepositoryItem<T>) { | |
| return value == other.value | |
| } | |
| ) | |
| interface ListRepository<T> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0eNrsvctuXEmWrvkuGouFbXezA9SoRw0coEc9SgQSighmBFGSqJKorC4U4t2bTrrTXZL9e//fpuv0aaBykCEX5R+XXZZdlq3Lf7359f3X20+f7z4+/P3X+/t/e/M//uv8N1/e/I+/XXw8/OzLx3efbh7ub/74fPf74fP/8+Z/hLK8ffOfT//96+2bu9/uPz5/78vdHx/fvT/8o4f//HT75n+8+efd54evj3/z9s3Hdx8Of/H8L27+48+7h9s3h+9+/P32APzrl7dvbj8+3D3c3T6jnj78598/fv3w6+3nx39wJnx49/79zft3Hz49Uj/df3n8yv3Ho1w3y7+UJ8FuUviX8tdfb3/gRIuziUkWJuSxBcoeqGxKVM6gh8/v7v748+Hm8T/vJ32UnkFxzDAV9nPsc3HaC+fXuz9ubt/f/vbw+e63m0/3728n3X1s2jIjdTZiSqDh9s9q94TFxYTcVkGBziDVsBBJV580V3R2SHQ+SrGy3VNlvcv5zG5TTqUzYI5pfAbMQZ130Bw0cAfNl8aFdtAcE3gHzUGRd9AclHAHpSkn0w6aYwrvoDmo8g6agxruoDDldNpBc8zgHTQFpYV30BwUaAeF6VqWIuwggUm4gwSIL9IChBfpMF3LEl2kBYYv0gLEF2kBOs/p375+/uft70+Ym3crHVQfj8e/331+3M6ffhiW2fFxwf0+P4YGVzwhXZ9B8Wyfy3ae7U9CHS8ZP0Dy6UgSHv/0rXRths1uk89zxBoSvryLdldbwEJGpfEpPZeve+MSCh0ZfKAJ022t0AONwPADjQDxA40ApenM+HXSQaeOD8bMLRn3+3S3LIX2+xxT3VaKRs5mf2kuNGTUd51PknmrB58kU1Bd7JYW0IE1fKv1v/357u6j1P2bF9Uf82tijXTOzc0WCU65OSXDnWZ8v5xNe6yQHnucdltdVvFUm7eWbwRzDt8HvH7zt4H+jO3fQuPMLrXQc1jflrTh68H0jNgiNL5VYXtLzGSmMBmeCbuxTja6N8x7yla |
OlderNewer