.

| Aliases |  |
| :--- | :--- |
| Required? | true |
| Position? | 1 |
| Default Value |  |
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
| Accept Wildcard Characters? | false |

### -Path  <String>

Path to the item to be analysed.

| Aliases |  |
| :--- | :--- |
| Required? | true |
| Position? | 1 |
| Default Value |  |
| Accept Pipeline Input? | false |
| Accept Wildcard Characters? | false |

### -Id  <String>

Id of the item to be analysed.

| Aliases |  |
| :--- | :--- |
| Required? | true |
| Position? | named |
| Default Value |  |
| Accept Pipeline Input? | false |
| Accept Wildcard Characters? | false |

### -Database  <String>

Database containing the item to be analysed - required if item is specified with Id.

| Aliases |  |
| :--- | :--- |
| Required? | false |
| Position? | named |
| Default Value |  |
| Accept Pipeline Input? | false |
| Accept Wildcard Characters? | false |

## Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

* Sitecore.Data.Items.Item

## Outputs

The output type is the type of the objects that the cmdlet emits.

* Sitecore.Data.Items.TemplateItem

## Notes

Help Author: Adam Najmanowicz, Michael West

## Examples

### EXAMPLE 1

Get template of /sitecore/conent/home item

```powershell
PS master:\> Get-ItemTemplate -Path master:\content\home

       BaseTemplates  : {Standard template}
       Fields         : {__Context Menu, __Display name, __Editor, __Editors...}
       FullName       : Sample/Sample Item
       Key            : sample item
       OwnFields      : {Title, Text, Image, State...}
       StandardValues : Sitecore.Data.Items.Item
       Database       : master
       DisplayName    : Sample Item
       Icon           : Applications/16x16/document.png
       ID             : {76036F5E-CBCE-46D1-AF0A-4143F9B557AA}
       InnerItem      : Sitecore.Data.Items.Item
       Name           : Sample Item
```

### EXAMPLE 2

Get template of /sitecore/conent/home item and all of the templates its template is based on then format it to only show the template name, path and Key

```powershell
PS master:\> Get-Item -Path master:/content/Home | Get-ItemTemplate -Recurse | ft Name, FullName, Key -auto

       Name              FullName                                 Key
       ----              --------                                 ---
       Sample Item       Sample/Sample Item                       sample item
       Standard template System/Templates/Standard template       standard template
       Advanced          System/Templates/Sections/Advanced       advanced
       Appearance        System/Templates/Sections/Appearance     appearance
       Help              System/Templates/Sections/Help           help
       Layout            System/Templates/Sections/Layout         layout
       Lifetime          System/Templates/Sections/Lifetime       lifetime
       Insert Options    System/Templates/Sections/Insert Options insert options
       Publishing        System/Templates/Sections/Publishing     publishing
       Security          System/Templates/Sections/Security       security
       Statistics        System/Templates/Sections/Statistics     statistics
       Tasks             System/Templates/Sections/Tasks          tasks
       Validators        System/Templates/Sections/Validators     validators
       Workflow          System/Templates/Sections/Workflow


sb, #0
	beq _0233D448
	mov r0, #0
	ldmia sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, pc}
	.align 2, 0
_0233D5A4: .word ov08_0233EC28
_0233D5A8: .word ov08_0233EA70
_0233D5AC: .word ov08_0233EA94
_0233D5B0: .word ov08_0233EAA4
	arm_func_end ov08_0233D408

	arm_func_start ov08_0233D5B4
ov08_0233D5B4: ; 0x0233D5B4
	stmdb sp!, {r3, r4, r5, r6, r7, lr}
	ldr r6, _0233D62C ; =ov08_0233EC28
	ldr r0, [r6, #4]
	cmp r0, #0
	beq _0233D61C
	mov r4, #0
	mov r7, r4
_0233D5D0:
	ldr r0, [r6, #4]
	add r5, r4, r4, lsl #4
	add r0, r0, r5, lsl #6
	ldr r0, [r0, #0x90]
	cmp r0, #0
	beq _0233D5F8
	bl MemFree
	ldr r0, [r6, #4]
	add r0, r0, r5, lsl #6
	str r7, [r0, #0x90]
_0233D5F8:
	add r4, r4, #1
	cmp r4, #3
	blt _0233D5D0
	ldr r0, _0233D62C ; =ov08_0233EC28
	ldr r0, [r0, #4]
	bl MemFree
	ldr r0, _0233D62C ; =ov08_0233EC28
	mov r1, #0
	str r1, [r0, #4]
_0233D61C:
	ldr r0, _0233D62C ; =ov08_0233EC28
	mov r1, #0
	strb r1, [r0]
	ldmia sp!, {r3, r4, r5, r6, r7, pc}
	.align 2, 0
_0233D62C: .word ov08_0233EC28
	arm_func_end ov08_0233D5B4

	arm_func_start ov08_0233D630
ov08_0233D630: ; 0x0233D630
	ldr r0, _0233D640 ; =ov08_0233EC28
	ldr r0, [r0, #4]
	ldrsh r0, [r0, #0x10]
	bx lr
	.align 2, 0
_0233D640: .word ov08_0233EC28
	arm_func_end ov08_0233D630

	arm_func_start ov08_0233D644
ov08_0233D644: ; 0x0233D644
	ldr r1, _0233D668 ; =ov08_0233EC28
	mov r0, #0
	ldr r1, [r1, #4]
	ldrb r1, [r1, #0x12]
	tst r1, #8
	addne r0, r0, #1
	movne r0, r0, lsl #0x10
	movne r0, r0, asr #0x10
	bx lr
	.align 2, 0
_0233D668: .word ov08_0233EC28
	arm_func_end ov08_0233D644

	arm_func_start ov08_0233D66C
ov08_0233D66C: ; 0x0233D66C


KOTLIN_1_9
    }
}

noArg {
    annotation("com.linecorp.kotlinjdsl.example.hibernate.reactive.jakarta.jpql.entity.annotation.CompositeId")
}

allOpen {
    annotation("com.linecorp.kotlinjdsl.example.hibernate.reactive.jakarta.jpql.entity.annotation.CompositeId")
    annotation("jakarta.persistence.Entity")
    annotation("jakarta.persistence.Embeddable")
}

kover {
    excludeInstrumentation {
        packages("org.hibernate.*")
    }
}

tasks.withType<PublishToMavenRepository>().configureEach { enabled = false }
tasks.withType<PublishToMavenLocal>().configureEach { enabled = false }
package com.linecorp.kotlinjdsl.example.eclipselink.javax.delete

import com.linecorp.kotlinjdsl.dsl.jpql.jpql
import com.linecorp.kotlinjdsl.example.eclipselink.javax.EntityManagerFactoryTestUtils
import com.linecorp.kotlinjdsl.example.eclipselink.javax.entity.author.Author
import com.linecorp.kotlinjdsl.example.eclipselink.javax.entity.book.Book
import com.linecorp.kotlinjdsl.example.eclipselink.javax.jpql.JpqlRenderContextUtils
import com.linecorp.kotlinjdsl.support.eclipselink.javax.extension.createQuery
import org.assertj.core.api.WithAssertions
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Test
import java.time.OffsetDateTime

class DeleteExample : WithAssertions {
    private val entityManagerFactory = EntityManagerFactoryTestUtils.getEntityManagerFactory()
    private val entityManager = entityManagerFactory.createEntityManager()

    private val context = JpqlRenderContextUtils.getJpqlRenderContext()

    @AfterEach
    fun tearDown() {
        entityManager.close()
    }

    @Test
    fun `delete author with id 2`() {
        // when
        val deleteJpqlQuery = jpql {
            deleteFrom(
                entity(Author::class),
            ).where(
                path(Author::authorId).eq(2L),
            )
        }

        val selectJpqlQuery = jpql {
            select(
                entity(Author::class),
            ).from(
                entity(Author::class),
            )
        }

        val actual: List<Author>

        entityManager.transaction.also { tx ->
            tx.begin()

            entityManager.createQuery(deleteJpqlQuery, context).executeUpdate()
            actual = entityManager.createQuery(selectJpqlQuery, context).resultList

            tx.rollback()
        }

        // then
        assertThat(actual.map { it.authorId }).isEqualTo(
            listOf(
                1L,
                3L,
                4L,
            ),
        )
    }

    @Test
    fun `delete all books published after June 2023`() {
        // when
        val deleteJpqlQuery = jpql {
            deleteFrom(
                entity(Book::class),
            ).where(
                path(Book::publishDate).ge(OffsetDateTime.parse("2023-06-01T00:00:00+09:00")),
            )
        }

        val selectJpqlQuery = jpql {
            select(
                entity(Book::class),
            ).from(
                entity(Book::class),
            )
        }

        val actual: List<Book>

        entityManager.transaction.also { tx ->
            tx.begin()

            entityManager.createQuery(deleteJpqlQuery, context).executeUpdate()
            actual = entityManager.createQuery(selectJpqlQuery, context).resultList

            tx.rollback()
        }

        // then
        assertThat(actual.map { it.isbn }).isEqualTo(
            listOf(
                "01",
                "02",


Reg<u32, _DCDCLPCTRL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _DCDCLPCTRL;
#[doc = "`read()` method returns [dcdclpctrl::R](dcdclpctrl::R) reader structure"]
impl crate::Readable for DCDCLPCTRL {}
#[doc = "`write(|w| ..)` method takes [dcdclpctrl::W](dcdclpctrl::W) writer structure"]
impl crate::Writable for DCDCLPCTRL {}
#[doc = "DCDC Low Power Control Register"]
pub mod dcdclpctrl;
#[doc = "DCDC Low Noise Controller Frequency Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [dcdclnfreqctrl](dcdclnfreqctrl) module"]
pub type DCDCLNFREQCTRL = crate::Reg<u32, _DCDCLNFREQCTRL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _DCDCLNFREQCTRL;
#[doc = "`read()` method returns [dcdclnfreqctrl::R](dcdclnfreqctrl::R) reader structure"]
impl crate::Readable for DCDCLNFREQCTRL {}
#[doc = "`write(|w| ..)` method takes [dcdclnfreqctrl::W](dcdclnfreqctrl::W) writer structure"]
impl crate::Writable for DCDCLNFREQCTRL {}
#[doc = "DCDC Low Noise Controller Frequency Control"]
pub mod dcdclnfreqctrl;
#[doc = "DCDC Read Status Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [dcdcsync](dcdcsync) module"]
pub type DCDCSYNC = crate::Reg<u32, _DCDCSYNC>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _DCDCSYNC;
#[doc = "`read()` method returns [dcdcsync::R](dcdcsync::R) reader structure"]
impl crate::Readable for DCDCSYNC {}
#[doc = "DCDC Read Status Register"]
pub mod dcdcsync;
#[doc = "VMON AVDD Channel Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [vmonavddctrl](vmonavddctrl) module"]
pub type VMONAVDDCTRL = crate::Reg<u32, _VMONAVDDCTRL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _VMONAVDDCTRL;
#[doc = "`read()` method returns [vmonavddctrl::R](vmonavddctrl::R) reader structure"]
impl crate::Readable for VMONAVDDCTRL {}
#[doc = "`write(|w| ..)` method takes [vmonavddctrl::W](vmonavddctrl::W) writer structure"]
impl crate::Writable for VMONAVDDCTRL {}
#[doc = "VMON AVDD Channel Control"]
pub mod vmonavddctrl;
#[doc = "Alternate VMON AVDD Channel Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`r


498 "echo64.c" 1
	pxor  xmm1, [OLDCV+16]
# 0 "" 2
# 498 "echo64.c" 1
	pxor  xmm2, [OLDCV+2*16]
# 0 "" 2
# 498 "echo64.c" 1
	pxor  xmm3, [OLDCV+3*16]
# 0 "" 2
# 498 "echo64.c" 1
	pxor  xmm4, [OLDCV+4*16]
# 0 "" 2
# 498 "echo64.c" 1
	pxor  xmm5, [OLDCV+5*16]
# 0 "" 2
# 498 "echo64.c" 1
	pxor  xmm6, [OLDCV+6*16]
# 0 "" 2
# 498 "echo64.c" 1
	pxor  xmm7, [OLDCV+7*16]
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi],        xmm0
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+16],     xmm1
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+2*16],   xmm2
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+3*16],   xmm3
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+4*16],   xmm4
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+5*16],   xmm5
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+6*16],   xmm6
# 0 "" 2
# 498 "echo64.c" 1
	movaps  [rdi+7*16],   xmm7
# 0 "" 2
# 500 "echo64.c" 1
	pop rax
# 0 "" 2
# 500 "echo64.c" 1
	pop rbx
# 0 "" 2
# 500 "echo64.c" 1
	pop rcx
# 0 "" 2
# 500 "echo64.c" 1
	pop rdx
# 0 "" 2
# 500 "echo64.c" 1
	pop rsi
# 0 "" 2
# 500 "echo64.c" 1
	pop rbp
# 0 "" 2
# 500 "echo64.c" 1
	pop r15
# 0 "" 2
# 500 "echo64.c" 1
	pop r14
# 0 "" 2
# 500 "echo64.c" 1
	pop r13
# 0 "" 2
# 500 "echo64.c" 1
	pop r12
# 0 "" 2
# 500 "echo64.c" 1
	pop r11
# 0 "" 2
# 500 "echo64.c" 1
	pop r10
# 0 "" 2
# 500 "echo64.c" 1
	pop r9
# 0 "" 2
# 500 "echo64.c" 1
	pop r8
# 0 "" 2
# 501 "echo64.c" 1
	.att_syntax noprefix
# 0 "" 2
#NO_APP
	ret
	.cfi_endproc
.LFE539:
	.size	Compress, .-Compress
	.p2align 4,,15
.globl Update
	.type	Update, @function
Update:
.LFB540:
	.cfi_startproc
#APP
# 565 "echo64.c" 1
	.intel_syntax noprefix
# 0 "" 2
# 566 "echo64.c" 1
	push r8
# 0 "" 2
# 566 "echo64.c" 1
	push r9
# 0 "" 2
# 566 "echo64.c" 1
	push r10
# 0 "" 2
# 566 "echo64.c" 1
	push r11
# 0 "" 2
# 566 "echo64.c" 1
	push r12
# 0 "" 2
# 566 "echo64.c" 1
	push r13
# 0 "" 2
# 566 "echo64.c" 1
	push r14
# 0 "" 2
# 566 "


gamedevs.com/topic/14004-problems-with-a-camera-and-models/#entry79962_lt_/a_gt__lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_It didn_t_t do easing_co_ but it works ok just the same.  Our _lt_a href_eq__qt_http_dd_//doc.babylonjs.com/classes/2.2/FollowCamera_qt_ rel_eq__qt_external nofollow_qt__gt_follow camera_lt_/a_gt_ does some easing_co_ but I haven_t_t studied it very well or used it very often.  Notice at the top of that page... that the followCamera (and freeCamera) _t_extends_t_ _lt_a href_eq__qt_http_dd_//doc.babylonjs.com/classes/2.2/TargetCamera_qt_ rel_eq__qt_external nofollow_qt__gt_targetCamera_lt_/a_gt__co_ but you probably know this_co_ because you already found camera.cameraRotation._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Anyway_co_ I was sad to see that nobody responded to your post_co_ so I wanted to check with you and see if you wanted to try some easing._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_There are also some other fancy solutions available.  If you feel so inclined_co_ take a look at _lt_a href_eq__qt_http_dd_//www.html5gamedevs.com/topic/18496-modify-mesh-in-a-particular-viewport/#entry108130_qt__gt_http_dd_//www.html5gamedevs.com/topic/18496-modify-mesh-in-a-particular-viewport/#entry108130_lt_/a_gt__lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_It talks about car moving instead of camera moving... but the post talks about a continuous _qt_adjuster_qt_ that runs inside the scene_t_s render loop.  This TYPE of solution could work for you_co_ too.  Essentially_co_ inside the render loop_co_ a value... possibly called cameraRotationOffset... is constantly added to the rotation of the camera.  This global variable holds values between -.1 and +.1 (for example).  Again_co_ that value is constantly being _lt_u_gt_added_lt_/u_gt_ to camera rotation _lt_strong_gt_IF_lt_/strong_gt_ the mouse pointer is left or right of canvas center.  This would allow you to have a dead-zone in the middle of the screen... much like the _qt_edges of the screen panning_qt_ seen in the first linked forum post._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_Your mousemovemethod would no longer actually move the camera.  Instead... it would set that global cameraRotationOffset variable to..._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_-.1 if mouse is located SOME amount of pixels to the left of the canvas center._lt_/p_gt__lt_p_gt_+.1 if mouse is located SOME amount of pixels to the right of the canvas center._lt_/p_gt__lt_p_gt_0 if mouse is located at or near the center of the canvas._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_The render loop (the function used in scene.registerBeforeRender) would be constantly adding that global variable... to the camera rotation.  IT does the camera moving_co_ based on what it sees when it checks the cameraRotationOffset variable._lt_/p_gt__lt_p_gt_ _lt_/p_gt__lt_p_gt_I haven_t_t had any morning coffee yet_co_ but


or(all_ifaces);
    if docbook:
        ret = docbook_gen.generate(docbook, args.output_directory)

    if args.header:
        with open(h_file, 'w') as outfile:
            gen = codegen.HeaderCodeGenerator(all_ifaces,
                                              args.c_namespace,
                                              args.c_generate_object_manager,
                                              args.c_generate_autocleanup,
                                              header_name,
                                              args.pragma_once,
                                              outfile)
            gen.generate()

    if args.body:
        with open(c_file, 'w') as outfile:
            gen = codegen.CodeGenerator(all_ifaces,
                                        args.c_namespace,
                                        args.c_generate_object_manager,
                                        header_name,
                                        docbook_gen,
                                        outfile)
            gen.generate()

    sys.exit(0)

if __name__ == "__main__":
    codegen_main()


IHRlcm1pdGU= 195999
5pS255uK 196000
IGppbsOp 196001
IGZhyrthcGl0b2E= 196002
IHZlw61h 196003
w7ZnZXI= 196004
dWJhdG9y 196005
IFNwYXJ0YQ== 196006
IOS4h+S6mg== 196007
INmI2YHYsQ== 196008
X2R1cGxpY2F0ZXM= 196009
IG5hanVnYQ== 196010
5YG0 196011
IElGQw== 196012
ZXhjZXB0aW9ucw== 196013
IHdhZ3RkYQ== 196014
PGNlbnRlcg== 196015
ZmFyYmVu 196016
IGJlbm9kaWdkZQ== 196017
IGNvbmR1Y3RldXI= 196018
1YDVgA== 196019
L2ZvcnVtcw== 196020
RGVyaXZhdGl2ZQ== 196021
IFRCRA== 196022
IGRpw7M= 196023
IFJFTEFURUQ= 196024
IFBUQQ== 196025
15nXoNeh 196026
cmllbmRlbGlqa2U= 196027
IEtpdGU= 196028
IHBkYXRh 196029
IEFubGllZ2Vu 196030
IOCmrOCmqOCnjeCmp+CngQ== 196031
44Km44Kp 196032
IHZvaWVudA== 196033
IGR1cmFu 196034
IFJFQ1Q= 196035
U0hPUlQ= 196036
INiz2KjYrdin2YbZhw== 196037
INmC2Ko= 196038
IENBU0g= 196039
KCd7ew== 196040
SXBz 196041
IFNjaHdpZXJpZ2tlaXRlbg== 196042
5oCd5oCd 196043
INKb0LjRi9C9 196044
IGxpZWJzdGVu 196045
Y3phag== 196046
4LS+4LSV4LWN 196047
5q+U6LyD 196048
IHJhYXRhdQ== 196049
IGJsZWFjaGluZw== 196050
IHF1YWRyYW50 196051
V1k= 196052
INKb0LDRgdC4 196053
IOC3geC3ig== 196054
Z3VydQ== 196055
IOCyrOCyguCypuCyv+CypuCzhg== 196056
IENvZGFibGU= 196057
INC40LfQsdC+0YA= 196058
dGFyZQ== 196059
IHRsYW5n 196060
IG9uYWZo 196061
INC00YDQsNC5 196062
IENvbWVy 196063
4La64Lax4LeK 196064
IENhbmRpZGE= 196065
IFBhdWwncw== 196066
CWluc3Q= 196067
4KSc4KWC 196068
b2Zhbmlyd2E= 196069
IOaWl+WcsOS4uw== 196070
YXNpZXI= 196071
INCw0YDRgtGL0Lo= 196072
IMOHb2s= 196073
IEdhaW5lc3ZpbGxl 196074
IEhvd2VsbA== 196075
IEFtYmFz 196076
15HXldeo15Q= 196077
IExpbmhh 196078
INCw0YHQvdC+0Z4= 196079
VGVjaG5pcXVl 196080
IHNwaXRz 196081
0LjRh9C90YvQvA== 196082
7JuA7J2E 196083
5a6e6KGM 196084
IHVubWFuYWdlZA== 196085
4Lib4Lij4Liw4Lih4Liy4LiT 196086
INin2YTYo9iz2KjYp9io 196087
z4HO


fb     $1e
        dfb     $24
        dfb     $44
        dfb     $8e
        dfb     $1e
        dfb     $3f
        dfb     $7f
        dfb     $7f
        dfb     $7f
        dfb     $7f
        dfb     $3e
        dfb     $1c
        dfb     $08
        dfb     $f8
        dfb     $80
        dfb     $e0
        dfb     $00

; Atari Adventure: BlackMaze3 -- x7 not reflected
playfield1
        dfb     $f0,$f0,$ff
        dfb     $30,$00,$00
        dfb     $30,$3f,$ff
        dfb     $00,$30,$00
        dfb     $f0,$f0,$ff
        dfb     $30,$00,$03
        dfb     $f0,$f0,$ff

; Atari Adventure: RedMazeBottom -- x7 reflected
playfield2
        dfb     $f0,$33,$cf
        dfb     $f0,$30,$00
        dfb     $f0,$33,$ff
        dfb     $00,$33,$00
        dfb     $f0,$ff,$00
        dfb     $00,$00,$00
        dfb     $f0,$ff,$0f

; Atari Adventure: CastleDef -- x7 reflected
playfield3
        dfb     $f0,$fe,$15
        dfb     $30,$03,$1f
        dfb     $30,$03,$ff
        dfb     $30,$00,$ff
        dfb     $30,$00,$3f
        dfb     $30,$00,$00
        dfb     $f0,$ff,$0f


/*
 * (C) Copyright 2017 Edson (http://edsonaraujosoares.com) and others.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Contributors:
 *     Edson Araújo Soares
 */

#ifndef Web_Service_Interface_Handling_Error_Json_Parser_INCLUDED
#define Web_Service_Interface_Handling_Error_Json_Parser_INCLUDED

#include <string>

namespace Interface {
namespace Handling {

    class ErrorJSONParser
    {
    public:
        ErrorJSONParser();
        ErrorJSONParser(const std::string &);

        std::string toJson(
            const int,
            const std::string &,
            const std::string &,
            const std::string &
        );

    private:
        std::string host;

    };

} }

#endif


s lesson, you've learned how to give your program a brain.
 *
 * Key Takeaways:
 * - The `if` statement executes code only if a condition is true.
 * - The `if-else` statement provides an alternative path for when the condition is false.
 * - The `if-else if-else` chain allows you to test a series of conditions in order,
 *   executing only the first one that is true.
 * - These constructs are the fundamental building blocks for creating logic
 *   and making your programs smart and responsive.
 *
 * HOW TO COMPILE AND RUN THIS CODE:
 *
 * 1. Open a terminal or command prompt.
 * 2. Navigate to the directory where you saved this file.
 * 3. Use the GCC compiler to create an executable file:
 *    `gcc -Wall -Wextra -std=c11 -o 5_conditional_statements 5_conditional_statements.c`
 * 4. Run the executable:
 *    - On Linux/macOS:   `./5_conditional_statements`
 *    - On Windows:       `5_conditional_statements.exe`
 */


7827a" },
			{ "the Light Bulb", "0036604e377647257dad428bfb36a064" },
			{ "the Lignt Bulb", "0036604e377647257dad428bfb36a064" },
			{ "the Lignht Bulb", "0036604e377647257dad428bfb36a064" },
			{ "the Magnet", "fa07761e6b2bb015c07aa8a7b7e5bf8c" },
			{ "the Moon", "c4102841b6bda87c9d1b5f352299ea04" },
			{ "the Mug", "2b472a99996c9fe97be8edc1b2e7507d" },
			{ "the Orange", "5e4c78ddff1be60ffe5b557443bb54f2" },
			{ "the Paintbrush", "84d31d9b0097a597377dc06526ff6617" },
			{ "the Paintbrusn", "84d31d9b0097a597377dc06526ff6617" },
			{ "the Pirate Flag", "bb17c5150fddc352de68e3ef7ee3a43b" },
			{ "the Planet", "21966c4b5af0d4fa240074e43739ee4e" },
			{ "the Rainbow", "fc91dae3f7a41301cf20516bffabf3ef" },
			{ "the Raindrop", "c5dcce4c659ce57a395408a3812a5020" },
			{ "the Sailing Boat", "bfd79a56cf0e1103326253ba5b1f00e1" },
			{ "the Scissors", "7b955b77c80fa31e6dd1ae497e8cda97" },
			{ "the Star", "a3bb27c95806fa3053dcb551dee196ed" },
			{ "the Sun", "fc09474ee0898afb85e5734a40f1fede" },
			{ "the Top Hat", "96c21d82ff0825c0d1d9ff6a161b7393" },
			{ "the Tree", "96ea64b0429cd29caaddba0576a48401" },
		};

		private static readonly Dictionary<string, string> CaptchaTextPairs = new()
		{
			{ "0044a9ac08865fb4c9b4984319d3ed31", "the Doughnut" },
			{ "005f80194dda43f38e0441114ef1e0dd", "the Ice Cream" },
			{ "007ce6fe4ff18412c2dcab3ec6d53a78", "the Cherry" },
			{ "009d7f86ee65b95922b9b7afd289b31b", "the Balloon" },
			{ "00dde4dd72b88fa5dd463c5faef979aa", "the Bicycle" },
			{ "010b14aec0f996daa6113e9571c98719", "the Glasses" },
			{ "01543acb38dcd68bca7ca1dfbb589749", "the Planet" },
			{ "017728f0746332cadb61df76ac5f1580", "the Scissors" },
			{ "020a6a79fd751e8ab2f2367de92b3660", "the Sailing Boat" },
			{ "0218551d53850128f24f61803bedb7cc", "the Crown" },
			{ "028cb43c8769620d8b6a0a2ea94e2737", "the Globe" },
			{ "02a6b665c8b82c6c79ffa137a06b6d7c", "the Crown" },
			{ "02b34c1aabfa587611c23df8cd0ea632", "the Balloon"


oon,
    mouse,
    music,
    network,
    i_new,
    new_message,
    news,
    note,
    notification,
    old_mobile,
    old_phone,
    open_book,
    palette,
    paper_plane,
    pencil,
    phone,
    pie_chart,
    pin,
    plus,
    popup,
    power_plug,
    price_ribbon,
    price_tag,
    print,
    progress_empty,
    progress_full,
    progress_one,
    progress_two,
    publish,
    quote,
    radio,
    remove_user,
    reply,
    reply_all,
    resize_100,
    resize_full_screen,
    retweet,
    rocket,
    round_brush,
    rss,
    ruler,
    save,
    scissors,
    select_arrows,
    share,
    share_alternitive,
    shareable,
    shield,
    shop,
    shopping_bag,
    shopping_basket,
    shopping_cart,
    shuffle,
    signal,
    sound,
    sound_mix,
    sound_mute,
    sports_club,
    spreadsheet,
    squared_cross,
    squared_minus,
    squared_plus,
    star,
    star_outlined,
    stopwatch,
    suitcase,
    swap,
    sweden,
    i_switch,
    tablet,
    tag,
    text,
    text_document,
    text_document_inverted,
    thermometer,
    thumbs_down,
    thumbs_up,
    thunder_cloud,
    ticket,
    time_slot,
    tools,
    traffic_cone,
    trash,
    tree,
    triangle_down,
    triangle_left,
    triangle_right,
    triangle_up,
    trophy,
    tv,
    typing,
    uninstall,
    unread,
    untag,
    upload,
    upload_to_cloud,
    user,
    users,
    v_card,
    video,
    vinyl,
    voicemail,
    wallet,
    warning,
    water,
  ];
}
///Discover all icons of this iconset at https://andronasef.github.io/iconify_flutter/collection/fontelico
class Fontelico {
  static const String chrome =
      '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1000" height="1000" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1000 1000"><path fill="currentColor" d="M498.183.005c-147.445.678-291.229 66.62-387.347 186.018l153.958 236.639c38.92-110.963 150.567-181.877 267.325-170.051l414.127 22.061c-42.323-84.026-108.752-157.098-196.299-207.641C670.526 21.176 583.738-.389 498.184.005zM81.65 226.208C30.042 304.874 0 398.942 0 500.033c0 249.758 183.248 456.794 422.595 493.996l127.929-251.638c-115.557 21.774-232.78-39.492-280.918-146.521L81.65 226.208zm884.812 93.837-281.918 14.999c76.637 89.189 82.213 221.338 13.593 316.541l-226.172 347.6c93.931 5.361 190.433-15.638 277.98-66.183 216.297-124.878 303.971-387.076 216.516-612.956zm-466.498 11.374c-93.11 0-168.613 75.503-168.613 168.613s75.503 168.613 168.613 168.613 168.613-75.503 168.613-168.613-75.503-168.613-168.613-168.613z"/></svg>';
  static const String crown =
      '<svg xmlns="


              BlockPos var6 = this.field23637
                        .stream()
                        .max(
                                Comparator.comparing(
                                        var1x -> method16380(var1x.getX(), var1x.getY(), var1x.getZ(), this.field23633)
                                )
                        )
                        .orElse(null);
                if (var6 != null) {
                    Rotations rots = RotationHelper.getRotationsToVector(new Vector3d((double) var6.x + 0.5, (double) var6.y + 0.5, (double) var6.z + 0.5));
                    Rots.rotating = true;
                    Rots.prevYaw = rots.yaw;
                    Rots.prevPitch = rots.pitch;
                    event.setYaw(rots.yaw);
                    event.setPitch(rots.pitch);
                    Rots.yaw = rots.yaw;
                    Rots.pitch = rots.pitch;

                    mc.player.rotationYawHead = event.getYaw();
                    mc.player.renderYawOffset = event.getYaw();
                    this.field23635 = new Class335(this, var6, var8);
                } else {
                    Rots.rotating = false;
                }
            }
        }
    }

    @EventTarget
    public void method16375(EventRender3D var1) {
        int var4 = MultiUtilities.applyAlpha(100000000, 0.2F);
        GL11.glPushMatrix();
        GL11.glDisable(2929);

        for (BlockPos var6 : this.field23637) {
            double var7 = (double) var6.getX() - mc.gameRenderer.getActiveRenderInfo().getPos().getX();
            double var9 = (double) var6.getY() - mc.gameRenderer.getActiveRenderInfo().getPos().getY();
            double var11 = (double) var6.getZ() - mc.gameRenderer.getActiveRenderInfo().getPos().getZ();
            Box3D var13 = new Box3D(var7, var9 + 1.0, var11, var7 + 1.0, var9 + 1.0, var11 + 1.0);
            RenderUtil.render3DColoredBox(var13, var4);
        }

        var4 = MultiUtilities.applyAlpha(9000000, 1.0F);
        if (this.field23633 != null) {
            double var14 = this.field23633.getPosX() - mc.gameRenderer.getActiveRenderInfo().getPos().getX();
            double var19 = this.field23633.getPosY() - mc.gameRenderer.getActiveRenderInfo().getPos().getY() + 0.5;
            double var20 = this.field23633.getPosZ() - mc.gameRenderer.getActiveRenderInfo().getPos().getZ();
            float var16 = 0.3F;
            Box3D var17 = new Box3D(var14 - (double) var16, var19 + 0.9, var20 - (double) var16, var14 + (double) var16, var19 + 1.0, var20 + (double) var16);
            RenderUtil.render3DColoredBox(var17, var4);
        }

        GL11.glEnable(2929);
        GL11.glPopMatrix();
    }

    private List<BlockPos> method16377() {
        NonNullList var3 = NonNullList.create();
        var3.addAll(this.method16379(method16376(), 6.0F, 6, false, true, 0).stream().filter(this::method16378).collect(Collectors.toList()));
        return var3;
    }

    private boolean method16378(BlockPos var1) {
        BlockPos var4 = var1.add(0, 1, 0);
        BlockPos var5 = var1.add(0, 2, 0);
        return (
                mc.world.getBlockState(var1).getBlock() == Blocks.BEDROCK
                        || mc.world.getBlockState(var1).getBlock() == Blocks.OBSIDIAN
        )
                && mc.world.getBlockState(var4).getBlock() == Blocks.AIR
                &&


.ScheduleFrequencyHour),
		// 				Interval: float64(1),
		// 				IsEnabled: to.Ptr(true),
		// 				LastModifiedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T17:01:01.073Z"); return t}()),
		// 				NextRun: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T18:59:00.000Z"); return t}()),
		// 				NextRunOffsetMinutes: to.Ptr[float64](0),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T18:59:00.000Z"); return t}()),
		// 				StartTimeOffsetMinutes: to.Ptr[float64](0),
		// 				TimeZone: to.Ptr("UTC"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("mySchedule134"),
		// 			ID: to.Ptr("/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule134"),
		// 			Properties: &armautomation.ScheduleProperties{
		// 				Description: to.Ptr("my description of schedule goes here"),
		// 				CreationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T17:01:01.387Z"); return t}()),
		// 				ExpiryTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-04-01T17:28:00.000Z"); return t}()),
		// 				ExpiryTimeOffsetMinutes: to.Ptr[float64](0),
		// 				Frequency: to.Ptr(armautomation.ScheduleFrequencyHour),
		// 				Interval: float64(1),
		// 				IsEnabled: to.Ptr(true),
		// 				LastModifiedTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T17:01:01.387Z"); return t}()),
		// 				NextRun: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T18:59:00.000Z"); return t}()),
		// 				NextRunOffsetMinutes: to.Ptr[float64](0),
		// 				StartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T18:59:00.000Z"); return t}()),
		// 				StartTimeOffsetMinutes: to.Ptr[float64](0),
		// 				TimeZone: to.Ptr("UTC"),
		// 			},
		// 		},
		// 		{
		// 			Name: to.Ptr("mySchedule135"),
		// 			ID: to.Ptr("/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/schedules/mySchedule135"),
		// 			Properties: &armautomation.ScheduleProperties{
		// 				Description: to.Ptr("my description of schedule goes here"),
		// 				CreationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2017-03-27T17:01:01.667Z"); return t}()),
		// 				ExpiryTime: to.Ptr(func() time.Time { t, _ := time.


var type = obj.GetType().GetProperty(match.Groups["name"].Value).GetType();
								ExpressionTypeTable.Add(left, type);
								return type;
							}
							else
							{
								obj = obj2;
							}
						}

					} while (obj != null && (match = match.NextMatch()).Success);

					if (obj != null)
					{
						ExpressionTypeTable.Add(left, obj.GetType());
						return obj.GetType();
					}
				}

			}

			return null;
		}

		public Type GetLeftOperandType()
		{
			return GetLeftOperandType(LeftOperand);
		}

		public override string ToString() => $"{LeftOperandToString()} は {RightOperandToString()} {OperatorToString()}";

		/// <summary>
		/// 左辺値の文字列表現を求めます。
		/// </summary>
		public string LeftOperandToString()
		{
			if (LeftOperandNameTable.ContainsKey(LeftOperand))
				return LeftOperandNameTable[LeftOperand];
			else
				return LeftOperand;
		}

		/// <summary>
		/// 演算子の文字列表現を求めます。
		/// </summary>
		public string OperatorToString()
		{
			return OperatorNameTable[Operator];
		}

		/// <summary>
		/// 右辺値の文字列表現を求めます。
		/// </summary>
		public string RightOperandToString()
		{

			if (LeftOperand == ".MasterID")
			{
				var ship = KCDatabase.Instance.Ships[(int)RightOperand];
				if (ship != null)
					return $"{ship.MasterID} ({ship.NameWithLevel})";
				else
					return $"{(int)RightOperand} (未在籍)";

			}
			else if (LeftOperand == ".ShipID")
			{
				var ship = KCDatabase.Instance.MasterShips[(int)RightOperand];
				if (ship != null)
					return $"{ship.ShipID} ({ship.NameWithClass})";
				else
					return $"{(int)RightOperand} (存在せず)";

			}
			else if (LeftOperand == ".MasterShip.ShipType")
			{
				var shiptype = KCDatabase.Instance.ShipTypes[(int)RightOperand];
				if (shiptype != null)
					return shiptype.Name;
				else
					return $"{(int)RightOperand} (未定義)";

			}
			else if (LeftOperand.Contains("SlotMaster"))
			{
				if ((int)RightOperand == -1)
				{
					return "(なし)";
				}
				else
				{
					var eq = KCDatabase.Instance.MasterEquipments[(int)RightOperand];
					if (eq != null)
						return eq.Name;
					else
						return $"{(int)RightOperand} (未定義)";
				}
			}
			else if (Left


恰到好处，陆小曼的一嗔一笑都被她演活了，也难怪她因位入戏太深哭到不能自己。

　　2.《建党伟业》——车永莉

　　和伊能静的女儿家娇羞不同，车永莉比较成熟，可能是造型的问题，让她有种“百乐门头牌”的感觉。完全不符陆小曼的才女形象啊！

　　|才气与美貌并重林徽因|

　　林徽因 1904 年 6 月 10 日出生于杭州，是 中国著名建筑师、诗人、作家，人民英雄纪念碑和中华人民共和国国徽深化方案的设计者、建筑师梁思成的第一任妻子。林徽因梁思成相爱相知、金岳霖对林徽因深爱相守，这三个人在这样微妙的关系下毗邻而居，着实令人佩服。

　　出现作品：

　　《人间四月天》——周迅

　　讲真，曾几何时林徽因在我心中就是一枚高级“绿茶婊”，嫁了梁思成、吊着金岳霖，想当年对她是无比的不屑。直到我超爱的迅哥演了林徽因，让我这没脑残粉屁颠儿屁颠儿的去看了林徽因的作品，才真的被她的才华所折服。

　　不论戏里戏外都为爱执着，周迅赋予了林徽因更多的灵气，让人根本讨厌不起来啊！

　　|冬皇孟小冬|

　　孟小冬 1907 年生于北平宛平（今北京），是早年京剧优秀的女老生。人称“冬皇”，她是京剧著名老生余叔岩的弟子，余派的优秀传人之一。她的扮相威武、神气，唱腔端严厚重，坤生略无雌声。然而天妒英才，孟小冬的人生充满坎坷，她和梅兰芳的相爱而不能相守，和杜月笙经过时间打磨的相伴都是她人生中喜悲各半的经历。

　　出现作品：

　　《梅兰芳》——章子怡

　　章子怡于孟小冬，是极为合适的，正如她自己所说“孟小冬身上有我全部的幻想”，她的敢爱敢恨在


/*
 * Copyright (c) 2016 Thomas Pornin <pornin@bolet.org>
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

#include "inner.h"

/* see inner.h */
void
br_i32_decode_reduce(uint32_t *x,
	const void *src, size_t len, const uint32_t *m)
{
	uint32_t m_bitlen;
	size_t mblen, k, q;
	const unsigned char *buf;

	m_bitlen = m[0];

	/*
	 * Special case for an invalid modulus.
	 */
	if (m_bitlen == 0) {
		x[0] = 0;
		return;
	}

	/*
	 * Clear the destination.
	 */
	br_i32_zero(x, m_bitlen);

	/*
	 * First decode directly as many bytes as possible without
	 * reduction, taking care to leave a number of bytes which
	 * is a multiple of 4.
	 */
	mblen = (m_bitlen + 7) >> 3;
	k = mblen - 1;

	/*
	 * Up to k bytes can be safely decoded.
	 */
	if (k >= len) {
		br_i32_decode(x, src, len);
		x[0] = m_bitlen;
		return;
	}

	/*
	 * We want to first inject some bytes with direct decoding,
	 * then extra bytes by whole 32-bit words. First compute
	 * the size that should be injected that way.
	 */
	buf = src;
	q = (len - k + 3) & ~(size_t)3;

	/*
	 * It may happen that this is more than what we already have
	 * (by at most 3 bytes). Such a case may happen only with
	 * a very short modulus. In that case, we must process the first
	 * bytes "manually".
	 */
	if (q > len) {
		int i;
		uint32_t w;

		w = 0;
		for (i = 0; i < 4; i ++) {
			w <<= 8;
			if (q <= len) {
				w |= buf[len - q];
			}
			q --;
		}
		br_i32_muladd_small(x, w, m);
	} else {
		br_i32_decode(x, buf, len - q);
		x[0] = m_bitlen;
	}

	/*
	 * At that point, we have exactly q bytes to inject, and q is
	 * a multiple of 4.
	 */
	for (k = len - q; k < len; k += 4) {
		br_i32_muladd_small(x, br_dec32be(buf + k), m);
	}
}


als(overbig.toDouble(), double.negativeInfinity);
  }
}
// Copyright (c) 2020, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// Generated by prepare_flutter_bundle.dart and not ignoring vmspecific.
// Used in fuchsia_test_component.
//
// Note that we are not using any VM flags here, so we are not exercising GC
// corner cases etc. However, we are mainly interested in exercising the
// calling convention on Fuchsia.

import "dart:async";

import "aliasing_test.dart" as main0;
import "data_not_asan_test.dart" as main1;
import "data_test.dart" as main2;
import "dylib_isolates_test.dart" as main3;
import "extension_methods_test.dart" as main4;
import "external_typed_data_test.dart" as main5;
import "function_callbacks_many_test.dart" as main6;
import "function_callbacks_test.dart" as main7;
import "function_callbacks_very_many_test.dart" as main8;
import "function_structs_test.dart" as main9;
import "function_test.dart" as main10;
import "function_very_many_test.dart" as main11;
import "hardfp_test.dart" as main12;
import "negative_function_test.dart" as main13;
import "regress_37254_test.dart" as main16;
import "regress_39044_test.dart" as main17;
import "regress_39063_test.dart" as main18;
import "regress_39885_test.dart" as main19;
import "regress_40537_test.dart" as main20;
import "regress_43016_test.dart" as main21;
import "regress_43693_test.dart" as main22;
import "regress_jump_to_frame_test.dart" as main23;
import "sizeof_test.dart" as main24;
import "snapshot_test.dart" as main25;
import "stacktrace_regress_37910_test.dart" as main26;
import "structs_test.dart" as main27;
import "variance_function_test.dart" as main28;
import "vmspecific_function_callbacks_exit_test.dart" as main29;
import "vmspecific_function_test.dart" as main30;
import "vmspecific_handle_dynamically_linked_test.dart" as main31;
import "vmspecific_handle_test.dart" as main32;
import "vmspecific_object_gc_test.dart" as main34;
import "vmspecific_regress_37100_test.dart" as main35;
import "vmspecific_regress_37511_callbacks_test.dart" as main36;
import "vmspecific_regress_37511_test.dart" as main37;
import "vmspecific_regress_37780_test.dart" as main38;

Future invoke(dynamic fun) async {
  if (fun is void Function() || fun is Future Function()) {
    return await fun();
  } else {
    return await fun(<String>[]);
  }
}

dynamic main() async {
  await invoke(main0.main);
  await invoke(main1.main);
  await invoke(main2.main);
  await invoke(main3.main);
  await invoke(main4.main);
  await invoke(main5.main);
  await invoke(main6.main);
  await invoke(main7.main);
  await invoke(main8.main);
  await invoke(main9.main);
  aw


hljs-selector-id, */
/* .hljs-selector-class, */
/* .hljs-selector-attr, */
/* .hljs-selector-pseudo, */
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword {
  color: #00afaf;
}
.hljs-emphasis {
  color: #00afaf;
  font-style: italic;
}

/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
.hljs-meta,
/*
  prevent top level .keyword and .string scopes
  from leaking into meta by accident
*/
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string
{
  color: #5f8787;
}

.hljs-meta .hljs-keyword,
/* for v10 compatible themes */
.hljs-meta-keyword {
  font-weight: bold;
}
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
.cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-radius:2px 2px 0 0;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:linear-gradient(to bottom,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_spinner{border-radius:50%;width:12px;height:12px;overflow:hidden;text-indent:-9999em;border-top:2px solid rgba(102,102,102,0.2);border-right:2px solid rgba(102,102,102,0.2);border-bottom:2px solid rgba(102,102,102,0.2);border-left:2px solid rgba(102,102,102,1);-webkit-animation:dialog_spinner 1s infinite linear;animation:dialog_spinner 1s infinite linear}.cke_browser_ie8 .cke_dialog_spinner,.cke_browser_ie9 .cke_dialog_spinner{background:url(images/spinner.gif) center top no-repeat;width:16px;height:16px;border:0}@-webkit-keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes dialog_spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;box-shadow:0 1px 0 #fff inset;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:linear-gradient(to bottom,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebe


(json.containsKey(key),
              'Required key "TaskSpecContainerSpecPrivilegesCredentialSpec[$key]" is missing from JSON.');
          assert(json[key] != null,
              'Required key "TaskSpecContainerSpecPrivilegesCredentialSpec[$key]" has a null value in JSON.');
        });
        return true;
      }());

      return TaskSpecContainerSpecPrivilegesCredentialSpec(
        config: mapValueOfType<String>(json, r'Config'),
        file: mapValueOfType<String>(json, r'File'),
        registry: mapValueOfType<String>(json, r'Registry'),
      );
    }
    return null;
  }

  static List<TaskSpecContainerSpecPrivilegesCredentialSpec> listFromJson(
    dynamic json, {
    bool growable = false,
  }) {
    final result = <TaskSpecContainerSpecPrivilegesCredentialSpec>[];
    if (json is List && json.isNotEmpty) {
      for (final row in json) {
        final value =
            TaskSpecContainerSpecPrivilegesCredentialSpec.fromJson(row);
        if (value != null) {
          result.add(value);
        }
      }
    }
    return result.toList(growable: growable);
  }

  static Map<String, TaskSpecContainerSpecPrivilegesCredentialSpec> mapFromJson(
      dynamic json) {
    final map = <String, TaskSpecContainerSpecPrivilegesCredentialSpec>{};
    if (json is Map && json.isNotEmpty) {
      json = json.cast<String, dynamic>(); // ignore: parameter_assignments
      for (final entry in json.entries) {
        final value =
            TaskSpecContainerSpecPrivilegesCredentialSpec.fromJson(entry.value);
        if (value != null) {
          map[entry.key] = value;
        }
      }
    }
    return map;
  }

  // maps a json object with a list of TaskSpecContainerSpecPrivilegesCredentialSpec-objects as value to a dart map
  static Map<String, List<TaskSpecContainerSpecPrivilegesCredentialSpec>>
      mapListFromJson(
    dynamic json, {
    bool growable = false,
  }) {
    final map = <String, List<TaskSpecContainerSpecPrivilegesCredentialSpec>>{};
    if (json is Map && json.isNotEmpty) {
      // ignore: parameter_assignments
      json = json.cast<String, dynamic>();
      for (final entry in json.entries) {
        map[entry.key] =
            TaskSpecContainerSpecPrivilegesCredentialSpec.listFromJson(
          entry.value,
          growable: growable,
        );
      }
    }
    return map;
  }

  /// The list of required keys that must be present in a JSON.
  static const requiredKeys = <String>{};
}
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12

// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars

part of docker.api;

class PluginConfigArgs {
  /// Returns a new [PluginConfigArgs] instance.
  PluginConfigArgs({
    required this.name,
    required this.description,
    this.settable = const [],
    this.value = const [],
  });

  String name;

  String description;

  List<String> settable;

  List<String> value;

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is PluginConfigArgs &&
          other.name == name &&
          other.description == description &&
          _deepEquality.equals(other.settable, settable) &&
          _deepEquality.equals(other.value, value);

  @override
  int get hashCode =>
      // ignore: unnecessary_parenthesis
      (name.hashCode) +
      (description.hashCode) +
      (settable.hashCode) +
      (value.hashCode);

  @override
  String toString() =>
      'Plugin


Tahoma-50"/>
      <use x="55.126953" xlink:href="#Tahoma-72"/>
      <use x="90.662109" xlink:href="#Tahoma-65"/>
      <use x="143.298828" xlink:href="#Tahoma-64"/>
      <use x="198.572266" xlink:href="#Tahoma-69"/>
      <use x="221.423828" xlink:href="#Tahoma-63"/>
      <use x="267.566406" xlink:href="#Tahoma-74"/>
      <use x="301.013672" xlink:href="#Tahoma-65"/>
      <use x="353.650391" xlink:href="#Tahoma-64"/>
     </g>
    </g>
   </g>
   <g id="matplotlib.axis_2">
    <g id="ytick_1">
     <g id="line2d_3"/>
     <g id="text_4">
      <!-- 0.0 -->
      <g transform="translate(32.638188 94.209984)rotate(-90)scale(0.1 -0.1)">
       <use xlink:href="#Tahoma-30"/>
       <use x="54.589844" xlink:href="#Tahoma-2e"/>
       <use x="84.863281" xlink:href="#Tahoma-30"/>
      </g>
     </g>
    </g>
    <g id="ytick_2">
     <g id="line2d_4"/>
     <g id="text_5">
      <!-- 1.0 -->
      <g transform="translate(32.638188 247.934641)rotate(-90)scale(0.1 -0.1)">
       <use xlink:href="#Tahoma-31"/>
       <use x="54.589844" xlink:href="#Tahoma-2e"/>
       <use x="84.863281" xlink:href="#Tahoma-30"/>
      </g>
     </g>
    </g>
    <g id="text_6">
     <!-- Actual -->
     <g transform="translate(18.14175 180.413031)rotate(-90)scale(0.144 -0.144)">
      <defs>
       <path d="M -31 0
L 1538 4653
L 2300 4653
L 3869 0
L 3216 0
L 2794 1300
L 1016 1300
L 594 0
L -31 0
z
M 2622 1828
L 1903 4022
L 1188 1828
L 2622 1828
z
" id="Tahoma-41" transform="scale(0.015625)"/>
       <path d="M 3144 0
L 2556 0
L 2556 388
Q 2284 150 2040 26
Q 1797 -97 1497 -97
Q 1269 -97 1067 -22
Q 866 53 716 216
Q 566 378 483 625
Q 400 872 400 1225
L 400 3491
L 988 3491
L 988 1503
Q 988 1225 1008 1042
Q 1028 859 1100 722
Q 1172 588 1295 525
Q 1419 463 1650 463
Q 1866 463 2109 584
Q 2353 706 2556 884
L 2556 3491
L 3144 3491
L 3144 0
z
" id="Tahoma-75" transform="scale(0.015625)"/>
       <path d="M 2375 859
L 2375 1828
Q 2166 1809 1845 1776
Q 1525 1744 1328 1684
Q 1094 1613 941 1464
Q 788 1316 788 1050
Q 788 750 956 597
Q 1125 444 1450 444
Q 1728 444 1953 564
Q 2178 684 2375 859
z
M 2375 372
Q


WAVES,PULSE_SAWTOOTH-WAVES,W_PULSE-WAVES
                DC.L W_NOISE-WAVES,W_NOISE-WAVES,W_NOISE-WAVES,W_NOISE-WAVES,W_NOISE-WAVES,W_NOISE-WAVES
                DC.L W_NOISE-WAVES,W_NOISE-WAVES

; In:
;   a4    destination buffer
;
INIT_FILL:
;*---------------------------------------------------------------------------*
                LEA     BASE(PC),A6

                MOVEA.L SAMPLE_1(PC),A0
                MOVEA.L SAMPLE_2(PC),A1
                MOVEA.L SAMPLE_3(PC),A2

                MOVEQ   #$00,D0
                MOVE.W  STIMME1+$1C(pc),D0
                BSR     CALC_FREQ
                MOVE.L  D0,D6

                MOVEQ   #$00,D0
                MOVE.W  STIMME2+$1C(pc),D0
                BSR     CALC_FREQ
                MOVE.L  D0,D4

                MOVEQ   #$00,D0
                MOVE.W  STIMME3+$1C(pc),D0
                BSR     CALC_FREQ
                MOVE.L  D0,D5

                BTST    #7,STIMME1+$28-BASE(A6) ;04
                BEQ.S   NO_NOI_1
                LSR.L   #2,D6
NO_NOI_1:       BTST    #7,STIMME2+$28-BASE(A6) ;0B
                BEQ.S   NO_NOI_2
                LSR.L   #2,D4
NO_NOI_2:       BTST    #7,STIMME3+$28-BASE(A6) ;12
                BEQ.S   NO_NOI_3
                LSR.L   #2,D5
NO_NOI_3:
                SWAP    D4
                SWAP    D5
                SWAP    D6
                MOVE.W  D6,D7
                MOVE.W  D5,D6
                MOVE.W  D4,D5
                MOVE.W  D7,D4

                MOVE.L  SMP_COUNT_1(PC),D0
                MOVE.L  SMP_COUNT_2(PC),D1
                MOVE.L  SMP_COUNT_3(PC),D2
                MOVE.L  PUFFER_LEN(PC),D7

                BSR     PREPARE_50
                CLR.L   D3
                BSR.S   FILL_ROUT

                MOVE.L  D0,SMP_COUNT_1-BASE(A6)
                MOVE.L  D1,SMP_COUNT_2-BASE(A6)
                MOVE.L  D2,SMP_COUNT_3-BASE(A6)
                RTS

;*---------------------------------------------------------------------------*
CALC_FREQ:      ;>PART
                MOVEM.L D1-D4,-(A7)     ;<-d0:period,  ->d0:frq
                MOVEQ   #0,D1
                AND.W   #$1FFF,D0
                BEQ.S   ZEROFREQ
                MOVE.L  #125000*$0100,D1
                BSR.S   DIV
                MOVE.L  #DMA_FREQUENCY/256,D0
                BSR.S   DIV
                lsl.L   #8,D1
ZEROFREQ:       MOVE.L  D1,D0
                MOVEM.L (A7)+,D1-D4
                RTS

DIV:            MOVE.L  D1,D3           ;div dividiert d1.l durch d2.w nach d1.l
                SUB.W   D3,D3
                SWAP


eanup():
    t="tmp"
    os.chdir("SlackBuild")
    os.system('rm -rf *.deb*')
    os.system(f'rm -rf /{t}/brave-browser-*.tgz')
    os.system(f'rm -rf /{t}/SBo/brave-browser-*')
    os.system(f'rm -rf /{t}/SBo/package-brave-browser')
    os.chdir("..")
    pass

#**********************************************************************************
#*                                                                                *
#                                Main Function                                    *
#*                                                                                *
#**********************************************************************************
def main():
    global command_yes, command_no, command_ok
    os.chdir(APP_PATH)

    # Check if you are root
    if os.geteuid() != 0:
        msg='You must run this script as root.'
        print(msg)
        ok_dialog(msg)
        exit(0)

    # Only run if brave-browser from SlackBuilds.org is *not* installed
    slackbuild_version = os.popen('ls -1 /var/log/packages/brave-browser*_SBo  2> /dev/null | grep -v "the-latest"').read().strip()
    if slackbuild_version != "":
        print(MESSAGE_4)
        ok_dialog(MESSAGE_4)
        exit(0)

    # Read program arguments
    param_silent = False
    param_install_or_upgrade = False
    param_show_gui = False
    for a in sys.argv:
        if 'GUI' == a.upper():
            param_show_gui = True
        if 'INSTALL' == a.upper() or 'UPGRADE' == a.upper() or 'UPDATE' == a.upper():
            param_install_or_upgrade = True
        if 'SILENT' == a.upper():
            param_silent = True

    # Exit if $DISPLAY is not set
    if len(os.popen("echo $DISPLAY").read().strip()) == 0 and not param_silent:
        print('In order to run you must have an XServer running, otherwise use the "silent" program argument.')
        exit(0)

    # Only run once a day, even though we set cron.hourly
    if os.path.exists(LASTRUN) and not (param_install_or_upgrade or param_show_gui):
        ti_m = os.path.getmtime(LASTRUN)
        ti_n = time.time()
        if (ti_n - ti_m) < A_DAY_IN_SECONDS:
            exit(0)
    os.system('touch %s' % LASTRUN)

    current_version = str(get_current_version()).strip()
    latest_version = str(get_latest_version()).strip()

    if param_show_gui:
        if current_version != latest_version:
            yesno_dialog(MESSAGE_3 % (current_version, latest_version))
            if command_yes:
                download_deb_package(latest_version)
                log = install(latest_version)
                end_dialog(latest_version, log)
            cleanup()
        else:
            ok_dialog(MESSAGE_5 % latest_version)
    else:
        if current_version != latest_version or param_install_or_upgrade:
            if not param_silent:
                yesno_dialog(MESSAGE_1 % (current_version, latest_version))
            else:
                command_yes = True
            if command_yes:
                download_deb_package(latest_version)
                log = install(latest_version)
                if not param_silent:
                    end_dialog(latest_version, log)
            cleanup()

if __name__ == '__main__':
    main()


from airflow.decorators import dag, task
from airflow.providers.amazon.aws.hooks.s3 import S3Hook
from airflow.providers.amazon.aws.operators.athena import AthenaOperator
from datetime import datetime
import os, mwaa_config

DAG_ID = os.path.basename(__file__).replace(".py", "")

@task()
def get_queries_fn():
    s3 = S3Hook()
    data = s3.list_keys(bucket_name=mwaa_config.BUCKET_NAME, prefix=mwaa_config.ATHENA_KEY, start_after_key=mwaa_config.ATHENA_KEY)
    return data

@task()
def data_from_s3(key_name):
    s3 = S3Hook()
    data = s3.read_key(bucket_name=mwaa_config.BUCKET_NAME, key=key_name)
    return data

@dag(
    dag_id = DAG_ID,
    start_date=datetime(2022, 1, 1),
    catchup=False,
    schedule_interval = None,
)
def sql_dag():
    get_queries=get_queries_fn()
    get_data_from_s3=data_from_s3.expand(key_name=get_queries)
    create_table_agg = AthenaOperator.partial(
        task_id="run_sql_athena",
        database='curated_db',
        output_location=mwaa_config.RESULTS_LOCATION
    ).expand(query=get_data_from_s3)

sql_dag_instance = sql_dag()


     0xA794_4804, 0xBF65_BDB0, 0x5A9D_4502, 0x5997_9AF7,
        0xC5CE_A54E, 0x4B6B_8150, 0x16E7_1909, 0x7D63_2319,
        0x9305_73A0, 0xF34C_63D1, 0xCAF9_14B4, 0xFDD6_612C,
    ],
    [
        0x6155_0878, 0x89EF_2B75, 0xA166_0C46, 0x7EF3_855B,
        0x7297_B58C, 0x1BC6_7793, 0x7FB1_C723, 0xB66F_C640,
        0x1A48_B71C, 0xF097_6D17, 0x088C_E80A, 0xA454_EDF3,
        0x1C09_6BF4, 0xAC76_224B, 0x5215_781C, 0xCD5D_2669,
    ],
);

pub(crate) const INIT_224: ([u32; 12], [u32; 16], [u32; 16]) = (
    [
        0xA520_1467, 0xA9B8_D94A, 0xD4CE_D997, 0x6837_9D7B,
        0xA7FC_73BA, 0xF1A2_546B, 0x6067_82BF, 0xE0BC_FD0F,
        0x2F25_374E, 0x069A_149F, 0x5E2D_FF25, 0xFAEC_F061,
    ],
    [
        0xEC99_05D8, 0xF218_50CF, 0xC0A7_46C8, 0x21DA_D498,
        0x3515_6EEB, 0x088C_97F2, 0x2630_3E40, 0x8A2D_4FB5,
        0xFEEE_44B6, 0x8A1E_9573, 0x7B81_111A, 0xCBC1_39F0,
        0xA351_3861, 0x1D2C_362E, 0x918C_580E, 0xB58E_1B9C,
    ],
    [
        0xE4B5_73A1, 0x4C1A_0880, 0x1E90_7C51, 0x0480_7EFD,
        0x3AD8_CDE5, 0x16B2_1302, 0x0251_2C53, 0x2204_CB18,
        0x9940_5F2D, 0xE5B6_48A1, 0x70AB_1D43, 0xA10C_25C2,
        0x16F1_AC05, 0x38BB_EB56, 0x9B01_DC60, 0xB109_6D83,
    ],
);

pub(crate) const INIT_256: ([u32; 12], [u32; 16], [u32; 16]) = (
    [
        0x52F8_4552, 0xE54B_7999, 0x2D8E_E3EC, 0xB964_5191,
        0xE007_8B86, 0xBB7C_44C9, 0xD2B5_C1CA, 0xB0D2_EB8C,
        0x14CE_5A45, 0x22AF_50DC, 0xEFFD_BC6B, 0xEB21_B74A,
    ],
    [
        0xB555_C6EE, 0x3E71_0596, 0xA72A_652F, 0x9301_515F,
        0xDA28_C1FA, 0x696F_D868, 0x9CB6_BF72, 0x0AFE_4002,
        0xA6E0_3615, 0x5138_C1D4, 0xBE21_6306, 0xB38B_8890,
        0x3EA8_B96B, 0x3299_ACE4, 0x3092_4DD4, 0x55CB_34A5,
    ],
    [
        0xB405_F031, 0xC423_3EBA, 0xB373_3979, 0xC0DD_9D55,
        0xC51C_28AE, 0xA327_B8E1, 0x56C5_6167, 0xED61_4433,
        0x88B5_9D60, 0x60E2_CEBA, 0x758B_4B8B, 0x83E8_2A7F,
        0xBC96_8828, 0xE6E0_0


T);
            if (!destTy.IsAssignableFrom(ty)) throw new ArgumentException(string.Format("Type {0} is not assignable from {1}.", destTy.FullName, ty.FullName));
            var con = ty.GetConstructor(Type.EmptyTypes);
            if (con == null) throw new ArgumentException(string.Format("Type {0} doesn't have an accessible parameterless constructor.", ty.FullName));

            var rand = Guid.NewGuid().ToString().Replace("-", "");
            var dm = new DynamicMethod("CREATE_" + ty.FullName.Replace('.', '_') + rand, ty, null, true);
            var il = dm.GetILGenerator();
            il.Emit(OpCodes.Newobj, ty.GetConstructor(Type.EmptyTypes));
            il.Emit(OpCodes.Ret);

            return (Func<T>)dm.CreateDelegate(typeof(Func<T>));
        }
    }

    internal class AsmPluginManager : PluginManager {

        protected override bool LoadInternal(string fileName) {
            Assembly asm;
            try {
                asm = Assembly.Load(System.IO.File.ReadAllBytes(fileName));
            } catch (Exception ex) {
                Log.WriteLine(LogLevel.Info, "Couldn't load {0}: {1}", fileName, ex.Message);
                return false;
            }

            // Ensure it's a plugin assembly
            var ourName = Assembly.GetExecutingAssembly().GetName().Name;
            if (!asm.GetReferencedAssemblies().Any(n => n.Name == ourName)) {
                Log.WriteLine(LogLevel.Debug, "Assembly {0} doesn't reference FreeSWITCH.Managed, not loading.", asm.FullName);
                return false;
            }

            // See if it wants to be loaded
            var allTypes = asm.GetExportedTypes();
            if (!RunLoadNotify(allTypes)) return false;

            var opts = GetOptions(allTypes);

            AddApiPlugins(allTypes, opts);
            AddAppPlugins(allTypes, opts);

            return true;
        }

    }

    internal class EmbeddedPluginManager : PluginManager {

        // This is for cases where FreeSWITCH is "embedded", that is a .NET app hosts the FS core lib itself.
        // In such a case, there may be plugins defined in the main process that need to share address space
        // and be loaded from the main assembly. This class plus changes in Loader.cs (null filenames=embedded)
        // work together to allow such plugins to work. These plugins cannot be reloaded.

        Assembly asm;
        public EmbeddedPluginManager(Assembly asm) {
            this.asm = asm;
            var allTypes = asm.GetExportedTypes();
            var opts = GetOptions(allTypes);
            AddApiPlugins(allTypes, opts);
            AddAppPlugins(allTypes, opts);
        }

        protected override bool LoadInternal(string fileName) {
            throw new NotImplementedException("EmbeddedPluginManager should not have Load[Internal] called.");
        }

        public override void BlockUntilUnloadIsSafe() {
            throw new NotImplementedException("EmbeddedPluginManager should never be unloaded.");
        }

    }

    public static class EmbeddedLoader {
        public static void LoadEmbeddedPlugins(Assembly asm) {
            Loader.LoadEmbeddedPlugins(asm);
        }
    }

}


, 新聞, 飲食, 搵食, 美食, 旅遊, 科技, 消費, 時裝, 美容, 文化, 汽車, 健康, 蘋果樹下, 名采, 論壇,暖流, 服務,豪情, 星座, 生肖, 時尚潮流, 潮流, 科技, 數碼達人","site_pixelcat":"LIFE"},"_admin":{"alias_ids":["/50001/38065"],"dfp_section":"supplement_index","dfp_article":"supplement_index","dfp_article_mobile":"today_supplement","dfp_section_mobile":"today_supplement"},"social":{"facebook":"https://www.facebook.com/AS.AppleDaily/","hk_social_banner_url":"https://www.facebook.com/AS.AppleDaily/","hk_social_banner_desktop":"https://arc-static.appledaily.com/hk/facebook-banner/Sub_Desktop_802X90px.png","hk_social_banner_mobile":"https://arc-static.appledaily.com/hk/facebook-banner/Sub_Mobile_375X60px.png","hk_social_banner_text":"果然好玩 籽在四方，即like「果籽」FB專頁！"},"navigation":{"legacy_path":"https://hk.lifestyle.appledaily.com/lifestyle/index"},"site_topper":{"site_logo_image":"https://arc-static.appledaily.com/hk/section-logo/HKAD-logo-daily.png","section_logo_width":"110","section_logo_height":"30"},"carousel":{"carousel_collection_id":"2KL7OKJWPBCPPLFS7DXH4WQS3U"},"_website":"hk-appledaily","name":"果籽","order":{"hk-navigation":2005,"default":2006,"na-navigation":2005},"parent":{"default":"/daily","tw-navigation":"/daily","hk-navigation":"/daily","na-navigation":"/daily","hk-na-navigation":null},"ancestors":{"default":["/","/daily"],"tw-navigation":["/daily"],"hk-navigation":["/","/daily"],"na-navigation":["/","/daily"],"hk-na-navigation":[]},"inactive":false,"node_type":"section","children":[{"_id":"/daily/lifestyle/travel","site":{"site_description":"《蘋果》生活頻道，提供飲食、旅遊、科技、汽車、健康、消費、時裝、美容、文化、名采等。","site_url":"https://hk.appledaily.com/daily/lifestyle/travel","site_title":"旅遊 | 果籽 | 日報 | 蘋果日報","site_keywords":"蘋果日報, Apple Daily, Next Digital, Apple Animation News, Action News, Apple news, news, real time news, instant news, hong kong news, facebook,本地, 香港, 蘋果, 蘋果新聞, 新聞, 飲食, 搵食, 美食, 旅遊, 科技, 消費, 時裝, 美容, 文化, 汽車, 健康, 蘋果樹下, 名采, 論壇,暖流, 服務,豪情, 星座, 生肖, 時尚潮流, 潮流, 科技, 數碼達人"},"_admin":{"alias_ids":["/50001/38065/12187369"],"dfp_section":"supplement_travel_index","dfp_article":"supplement_travel_art","dfp_article_mobile":"today_supplement_detail","dfp_section_mobile":"today_supplement_list"},"site_topper":{"site_logo_image":"https://arc-static.appledaily.com/hk/sec


                CallR( ErrOSStrCbCopyW( wszSrcDatabaseName, cbName, wszName ) );

                //  free old source name (if any) and retain new source name
                //
                OSMemoryHeapFree( m_rgrstmap[irstmap].wszDatabaseName );
                m_rgrstmap[irstmap].wszDatabaseName = wszSrcDatabaseName;
                m_rgrstmap[irstmap].cbDatabaseName = cbName;
            }

            Assert( NULL != m_rgrstmap[irstmap].wszDatabaseName );
            Assert( NULL != m_rgrstmap[irstmap].wszNewDatabaseName );

            //  if source name doesn't match destination name, report
            //  the location change
            //
            if ( 0 != UtilCmpFileName( m_rgrstmap[irstmap].wszDatabaseName, m_rgrstmap[irstmap].wszNewDatabaseName ) )
            {
                const UINT      csz     = 2;
                const WCHAR *   rgszT[csz];

                rgszT[0] = m_rgrstmap[irstmap].wszDatabaseName;
                rgszT[1] = m_rgrstmap[irstmap].wszNewDatabaseName;

                UtilReportEvent(
                        eventInformation,
                        LOGGING_RECOVERY_CATEGORY,
                        DB_LOCATION_CHANGE_DETECTED,
                        csz,
                        rgszT,
                        0,
                        NULL,
                        m_pinst );
            }

            return JET_errSuccess;
        }
    }

    return ErrERRCheck( JET_errFileNotFound );
}

// We try to fill the source name with the logged database name based on name matching.
// The matching is done by finding the longest suffix match between what is in the log (input param)
// and each entry in the restore map
ERR LOG::ErrReplaceRstMapEntryByName( const WCHAR *wszName, const SIGNATURE * pDbSignature )
{
    ERR err = JET_errSuccess;
    INT         irstmap;

    INT         irstmapBestFit          = m_irstmapMac;
    ULONG       cbBestFit               = 0;
    ULONG       cbName                  = sizeof( WCHAR ) * ( LOSStrLengthW( wszName ) + 1 );
    WCHAR *     wszSrcDatabaseName;

    Assert ( pDbSignature );

    for ( irstmap = 0; irstmap < m_irstmapMac; irstmap++ )
    {
        if ( m_rgrstmap[irstmap].fFileNotFound )
        {
            Assert ( m_rgrstmap[irstmap].wszDatabaseName );

            // if the name we search for at least as long as the name in the map
            if (cbName >= m_rgrstmap[irstmap].cbDatabaseName &&
                // and the best fit we found so far is not longer the the potential one we try
                cbBestFit < m_rgrstmap[irstmap].cbDatabaseName)
            {

                // see if it is a better match between the map entry and the tail of the one we search for
                if ( 0 == UtilCmpFileName(m_rgrstmap[irstmap].wszDatabaseName, wszName + ( (cbName - m_rgrstmap[irstmap].cbDatabaseName ) / sizeof(WCHAR) ) ))
                {
                    cbBestFit = m_rgrstmap[irstmap].cbDatabaseName;
                    irstmapBestFit = irstmap;
                }
            }
        }
    }

        // no matching, exit here
        if ( irstmapBestFit >= m_irstmapMac )
        {
            return ErrERRCheck( JET_errFileNotFound );
        }

        Assert( m_rgrstmap[irstmapBestFit].fFileNotFound );

        // we found a match so we will replace the map entry with the full name we matched against
        if ( 0 != UtilCmpFileName(m_rgrstmap[irstmapBestFit].wszDatabaseName, wszName)


#!/usr/bin/env python3

from os import environ
from requests import get
import sys
import subprocess

try:
    token = environ['GH_TOKEN']
    headers = {"Accept": "application/vnd.github+json","X-GitHub-Api-Version": "2022-11-28","Authorization": f"Bearer {token}"}
except:
    print('No GH_TOKEN in environment, you might get rate limited.')
    headers = None

contributors = get('https://api.github.com/repos/gdg-berlin-android/zepatch/contributors',headers=headers)
print(contributors)
print()

if not contributors.ok:
    print(f"no dice, '{contributors.reason}'.")
else:

    for c in contributors.json():
        print(c['id'])
        print(c['login'])

        name = get(f"https://api.github.com/user/{c['id']}",headers = headers)
        if name.ok:
            name = name.json()['name']
            print(name)

            picture = get(c['avatar_url'])
            if picture.ok:
                with open(f"faces/{name}.jpg", 'wb') as file:
                    file.write(picture.content)

                command = ['magick', '-gravity', 'center', 'ufo.png', '(', f'faces/{name}.jpg', '-resize', '256x', '-background', 'None', '-vignette', '8x64', ')', '-composite', f'ufos/{name}.png']
                print(" ".join(command))
                subprocess.run(command)
        else:
            print('noname')


> i) => switch (i) {
      I<num>(:int member) => member,
      J<num>(:double member) => member,
    };

main() {
  counter = 0;
  expect(-1, method1(A<int>()));
  expect(2, counter);

  counter = 0;
  expect(-0.5, method1(A<num>()));
  expect(1, counter);

  counter = 0;
  expect(-0.5, method1(A<double>()));
  expect(1, counter);

  counter = 0;
  expect(0.5, method2(A<int>()));
  expect(1, counter);
}

expect(expected, actual) {
  if (expected != actual) throw 'Expected $expected, actual $actual';
}
// Copyright (c) 2023, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

class Class {
  dynamic field1;
  dynamic field2;
}

method(x, y, z) {
  final initializedFinal = 5;
  late final initializedLateFinal = 5;

  final definitelyUnassignedFinal;
  late final int definitelyUnassignedLateFinal;

  final definitelyAssignedFinal;
  late final definitelyAssignedLateFinal;

  final int notDefinitelyAssignedFinal;
  late final int notDefinitelyAssignedLateFinal;

  if (x == 5) {
    notDefinitelyAssignedFinal = 5;
    notDefinitelyAssignedLateFinal = 15;
  }

  definitelyAssignedFinal = 10;
  definitelyAssignedLateFinal = 20;

  (initializedFinal, // Error
      initializedLateFinal, // Error
      definitelyUnassignedFinal) = x; // Ok
  [definitelyUnassignedLateFinal, // Ok
    definitelyAssignedFinal] = y; // Error
  Class(field1: definitelyAssignedLateFinal, // Error
      field2: [[notDefinitelyAssignedFinal, _], // Error
               [_, notDefinitelyAssignedLateFinal]]) = z; // Ok
}
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// @dart=2.5

library opt_out;

class LegacyClass {
  int method1() => 0;

  int method2() => 0;

  int method3a(int a, int b) => 0;

  int method3b(int a, [int b]) => 0;

  int method3c([int a, int b]) => 0;

  int method4a(int a, int b) => 0;

  int method4b(int a, [int b]) => 0;

  int method4c([int a, int b]) => 0;

  int method5a(int a, {int b}) => 0;

  int method5b({int a, int b}) => 0;

  int method5c({int a, int b}) => 0;

  int method6a(int a, {int b}) => 0;

  int method6b({int a, int b}) => 0;

  int method6c({int a, int b}) => 0;

  int get getter1 => 0;

  int get getter2 => 0;

  void set setter1(int value) {}

  void set setter2(int value) {}

  int field1;

  int field2;

  int field3;

  int field4;

  int get property1 => 0;

  void set property1(int value) {}

  int get property2 => 0;

  void set property2(int value) {}

  int get property3 => 0;

  void set property3(int value) {}

  int get property4 => 0;

  void set property4(int value) {}
}

class GenericLegacyClass<T> {
  T method1() => null;
}
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

class C<T> {}

C fi


ntLocation", f"{DA.paths.checkpoints}/workout_bpm")
                  .trigger(availableNow=True)
                  .table("workout_bpm"))

    query.awaitTermination()

process_workout_bpm()

# COMMAND ----------

# MAGIC %md
# MAGIC Explore this results table below.

# COMMAND ----------

# MAGIC %sql
# MAGIC
# MAGIC SELECT COUNT(*)
# MAGIC FROM workout_bpm

# COMMAND ----------

# MAGIC %sql
# MAGIC
# MAGIC SELECT * FROM workout_bpm

# COMMAND ----------

# MAGIC %md
# MAGIC If desired, process another batch through all tables and update these results.

# COMMAND ----------

DA.daily_stream.load()          # Load one new day for DA.paths.source_daily
DA.process_bronze()             # Process through the bronze table
DA.process_heart_rate_silver()  # Process the heart_rate_silver table
DA.process_workouts_silver()    # Process the workouts_silver table
DA.process_completed_workouts() # Process the completed_workouts table

process_workout_bpm()

# COMMAND ----------

# MAGIC %sql
# MAGIC
# MAGIC SELECT COUNT(*)
# MAGIC FROM workout_bpm

# COMMAND ----------

# MAGIC %md
# MAGIC Run the following cell to delete the tables and files associated with this lesson.

# COMMAND ----------

DA.cleanup()

# COMMAND ----------

# MAGIC %md-sandbox
# MAGIC © 2022 Databricks, Inc. All rights reserved.

# MAGIC Apache, Apache Spark, Spark and the Spark logo are trademarks of the Apache Software Foundation.

# MAGIC

# MAGIC Privacy Policy | Terms of Use | Support


    fun serialize(value: com.chronoxor.test.StructHash): Long
    {
        val fbeInitialSize = buffer.size

        val fbeStructType = fbeType
        var fbeStructSize = 8 + _model.fbeAllocationSize(value)
        val fbeStructOffset = buffer.allocate(fbeStructSize) - buffer.offset
        assert((buffer.offset + fbeStructOffset + fbeStructSize) <= buffer.size) { "Model is broken!" }
        if ((buffer.offset + fbeStructOffset + fbeStructSize) > buffer.size)
            return 0

        fbeStructSize = 8 + _model.set(value)
        buffer.resize(fbeInitialSize + fbeStructSize)

        write(_model.fbeOffset - 8, fbeStructSize.toUInt())
        write(_model.fbeOffset - 4, fbeStructType.toUInt())

        return fbeStructSize
    }

    // Deserialize the struct value
    fun deserialize(): com.chronoxor.test.StructHash { val value = com.chronoxor.test.StructHash(); deserialize(value); return value }
    @Suppress("UNUSED_VALUE")
    fun deserialize(value: com.chronoxor.test.StructHash): Long
    {
        var valueRef = value

        assert((buffer.offset + _model.fbeOffset) <= buffer.size) { "Model is broken!" }
        if ((buffer.offset + _model.fbeOffset) > buffer.size)
            return 0

        val fbeStructSize = readUInt32(_model.fbeOffset - 8).toLong()
        val fbeStructType = readUInt32(_model.fbeOffset - 4).toLong()
        assert((fbeStructSize > 0) && (fbeStructType == fbeType)) { "Model is broken!" }
        if ((fbeStructSize <= 0) || (fbeStructType != fbeType))
            return 8

        val fbeSize = com.chronoxor.fbe.Size()
        valueRef = _model.get(fbeSize, valueRef)
        return 8 + fbeSize.value
    }

    // Move to the next struct value
    fun next(prev: Long)
    {
        _model.fbeShift(prev)
    }
}
//------------------------------------------------------------------------------
// Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: test.fbe
// FBE version: 1.15.0.0
//------------------------------------------------------------------------------

@file:Suppress("UnusedImport", "unused")

package com.chronoxor.test.fbe

// Fast Binary Encoding StructOptional field model
@Suppress("MemberVisibilityCanBePrivate", "RemoveRedundantCallsOfConversionMethods", "ReplaceGetOrSet")
class FieldModelStructOptional(buffer: com.chronoxor.fbe.Buffer, offset: Long) : com.chronoxor.fbe.FieldModel(buffer, offset)
{
    val parent: FieldModelStructSimple = FieldModelStructSimple(buffer, 4 + 4)
    val f100: FieldModelOptionalBoolean = FieldModelOptionalBoolean(buffer, parent.fbeOffset + parent.fbeBody - 4 - 4)
    val f101: FieldModelOptionalBoolean = FieldModelOptionalBoolean(buffer, f100.fbeOffset + f100.fbeSize)
    val f102: FieldModelOptionalBoolean = FieldModelOptionalBoolean(buffer, f101.fbeOffset + f101.fbeSize)
    val f103: FieldModelOptionalByte = FieldModelOptionalByte(buffer, f102.fbeOffset + f102.fbeSize)
    val f104: FieldModelOptionalByte = FieldModelOptionalByte(buffer, f103.fbeOffset + f103.fbeSize)
    val f105: FieldModelOptionalByte = FieldModelOptionalByte(buffer, f104.fbeOffset + f104.fbeSize)
    val f106: FieldModelOptionalChar = F


Consulting,L=Cape Town,ST=Western Cape,C=ZA]

   "Thawte Personal Freemail Issuing CA - Thawte Consulting" [CN=Thawte P

 ersonal Freemail Issuing CA,O=Thawte Consulting (Pty) Ltd.,C=ZA]

     "(null)" [E=jsmith@example.com,CN=Thawte Freemail Member]

    Resetting a Token

    The device which stores certificates -- both external hardware

    devices and internal software databases -- can be blanked and

    reused. This operation is performed on the device which stores

    the data, not directly on the security databases, so the

    location must be referenced through the token name (-h) as well

    as any directory path. If there is no external token used, the

    default value is internal.

 certutil -T -d [sql:]directory -h token-name -0 security-officer-passwor

 d

    Many networks have dedicated personnel who handle changes to

    security tokens (the security officer). This person must supply

    the password to access the specified token. For example:

 $ certutil -T -d sql:/home/my/sharednssdb -h nethsm -0 secret

    Upgrading or Merging the Security Databases

    Many networks or applications may be using older BerkeleyDB

    versions of the certificate database (cert8.db). Databases can

    be upgraded to the new SQLite version of the database

    (cert9.db) using the --upgrade-merge command option or existing

    databases can be merged with the new cert9.db databases using

    the ---merge command.

    The --upgrade-merge command must give information about the

    original database and then use the standard arguments (like -d)

    to give the information about the new databases. The command

    also requires information that the tool uses for the process to

    upgrade and write over the original database.

 certutil --upgrade-merge -d [sql:]directory [-P dbprefix] --source-dir d

 irectory --source-prefix dbprefix --upgrade-id id --upgrade-token-name n

 ame [-@ password-file]

    For example:

 $ certutil --upgrade-merge -d sql:/home/my/sharednssdb --source-dir /opt

 /my-app/alias/ --source-prefix serverapp- --upgrade-id 1 --upgrade-token

 -name internal

    The --merge command only requires information about the

    location of the original database; since it doesn't change the

    format of the database, it can write over information without

    performing interim step.

 certutil --merge -d [sql:]directory [-P dbprefix] --source-dir directory

  --source-prefix dbprefix [-@ password-file]

    For example:

 $ certutil --merge -d sql:/home/my/sharednssdb --source-dir /opt/my-app/

 alias/ --source-prefix serverapp-

    Running certutil Commands from a Batch File

    A series of commands can be run sequentially from a text file

    with the -B command option. The only argument for this

    specifies the input file.

 $ certutil -B -i /path/to/batch-file

 NSS Database Types

    NSS originally used BerkeleyDB databases to store security


tive health check port value.
	//
	// By default the health check address port of an upstream host is the same
	// as the host's serving address port. This provides an alternative health
	// check port. Setting this with a non-zero value allows an upstream host
	// to have different health check address port.
	PortValue uint32 `protobuf:"varint,1,opt,name=port_value,json=portValue,proto3" json:"port_value,omitempty"`
	// By default, the host header for L7 health checks is controlled by cluster level configuration
	// (see: :ref:`host <envoy_v3_api_field_config.core.v3.HealthCheck.HttpHealthCheck.host>` and
	// :ref:`authority <envoy_v3_api_field_config.core.v3.HealthCheck.GrpcHealthCheck.authority>`). Setting this
	// to a non-empty value allows overriding the cluster level configuration for a specific
	// endpoint.
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Optional alternative health check host address.
	//
	// .. attention::
	//
	//	The form of the health check host address is expected to be a direct IP address.
	Address *v3.Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// Optional flag to control if perform active health check for this endpoint.
	// Active health check is enabled by default if there is a health checker.
	DisableActiveHealthCheck bool `protobuf:"varint,4,opt,name=disable_active_health_check,json=disableActiveHealthCheck,proto3" json:"disable_active_health_check,omitempty"`
}

func (x *Endpoint_HealthCheckConfig) Reset() {
	*x = Endpoint_HealthCheckConfig{}
	if protoimpl.UnsafeEnabled {
		mi := &file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *Endpoint_HealthCheckConfig) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Endpoint_HealthCheckConfig) ProtoMessage() {}

func (x *Endpoint_HealthCheckConfig) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_config_endpoint_v3_endpoint_components_proto_msgTypes[5]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Endpoint_HealthCheckConfig.ProtoReflect.Descriptor instead.
func (*Endpoint_HealthCheckConfig) Descriptor() ([]byte, []int) {
	return file_envoy_config_endpoint_v3_endpoint_components_proto_rawDescGZIP(), []int{0, 0}
}

func (x *Endpoint_HealthCheckConfig) GetPortValue() uint32 {
	if x != nil {
		return x.PortValue
	}
	return 0
}

func (x *Endpoint_HealthCheckConfig) GetHostname() string {
	if x != nil {
		return x.Hostname
	}
	return ""
}

func (x *Endpoint_HealthCheckConfig) GetAddress() *v3.Address {
	if x != nil {
		return x.Address
	}
	return nil
}

func (x *Endpoint_HealthCheckConfig) GetDisableActiveHealthCheck() bool {
	if x != nil {
		return x.DisableActiveHealthCheck
	}
	return false


= sig", nl(),
		t"\t", i(2, "(* BODY *)", {key = "i2"}), nl(),
		t"end"
	}),
	s({trig = "module", descr = "(module) \"Module with anonymous signature\"", priority = -50, trigEngine = te("")}, {
		t"module ", i(1, "(* Name *)", {key = "i1"}), t" : sig", nl(),
		t"\t", i(2, "(* SIGNATURE *)", {key = "i2"}), nl(),
		t"end = struct", nl(),
		t"\t", i(3, "(* BODY *)"


 RoundFrom<(f64, f64)> for RaqotePoint {
    fn round_from(vec: (f64, f64)) -> RaqotePoint {
        RaqotePoint(Point::new(vec.0 as f32, vec.1 as f32))
    }
}

impl RoundFrom<(f32, f32)> for RaqotePoint {
    fn round_from(vec: (f32, f32)) -> RaqotePoint {
        RaqotePoint(Point::new(vec.0 as f32, vec.1 as f32))
    }
}

impl RoundFrom<piet::kurbo::Point> for RaqotePoint {
    fn round_from(point: piet::kurbo::Point) -> RaqotePoint {
        RaqotePoint(Point::new(point.x as f32, point.y as f32))
    }
}

impl RoundFrom<Vec2> for RaqotePoint {
    fn round_from(vec: Vec2) -> RaqotePoint {
        RaqotePoint(Point::new(vec.x as f32, vec.y as f32))
    }
}

impl From<RaqotePoint> for Vec2 {
    fn from(vec: RaqotePoint) -> Vec2 {
        Vec2::new(vec.0.x as f64, vec.0.y as f64)
    }
}

impl Text for RaqoteText {
    type Coord = f32;

    type Font = RaqoteFont;
    type FontBuilder = RaqoteFontBuilder;
    type TextLayout = RaqoteTextLayout;
    type TextLayoutBuilder = RaqoteTextLayoutBuilder;

    fn new_font_by_name(
        &mut self,
        name: &str,
        size: impl RoundInto<Self::Coord>,
    ) -> Result<Self::FontBuilder, Error> {
        Ok(RaqoteFontBuilder {
            family: name.to_owned(),
            size: size.round_into(),
            properties: Properties::new(),
        })
    }

    fn new_text_layout(
        &mut self,
        font: &Self::Font,
        text: &str,
    ) -> Result<Self::TextLayoutBuilder, Error> {
        Ok(RaqoteTextLayoutBuilder {
            font: font.clone(),
            // TODO: Store a reference?
            text: text.to_owned(),
        })
    }
}

impl FontBuilder for RaqoteFontBuilder {
    type Out = RaqoteFont;

    fn build(self) -> Result<Self::Out, Error> {
        let font = SystemSource::new()
            .select_best_match(
                &[FamilyName::Title(self.family), FamilyName::SansSerif],
                &self.properties,
            )
            .unwrap()
            .load()
            .unwrap();

        Ok(RaqoteFont {
            font: FontRef::new(font),
            size: self.size,
        })
    }
}

impl Font for RaqoteFont {}

//TODO seems like we should be doing some work here?
impl TextLayoutBuilder for RaqoteTextLayoutBuilder {
    type Out = RaqoteTextLayout;

    fn build(self) -> Result<Self::Out, Error> {
        let layout = make_layout(
            &TextStyle {
                size: self.font.size,
            },
            &self.font.font,
            &self.text,
        );

        let text_layout = RaqoteTextLayout {
            font: self.font.clone(),
            layout,
        };

        Ok(text_layout)
    }
}

impl TextLayout for RaqoteTextLayout {
    type Coord = f32;

    fn width(&self) -> f32 {
        self.layout.advance.x
    }
}
<reponame>5H3LL3H5/Peroxide
extern crate peroxide;
use peroxide::fuga::*;

pub fn main() {
    let t = AD0(0f64);
    let y = AD1(5f64, 1f64);
    let init_state = State::<AD>::new(t, vec![y], vec![AD0(0f64)]);

    let mut ode_solver = ImplicitODE::new(f);

    ode_solver
        .set_method(ImMethod::


l buffer 10 lines/chars
Home                          Scroll to the start of buffer
End                           Scroll to the end of buffer
]],
      bold, nobold,
      bold, nobold,
      bold, nobold,
      bold, nobold,
      bold, nobold,
      bold, nobold,
      bold, nobold),

      "**open-recent-url",
      "command_cb",
      "")
end

setup()


的信息。`GET``/chain`chain 端点返回区块链的当前状态信息。`POST``/chaincode``/chaincode` 端点接收部署、调用和查询目标链代码的请求。`GET``/network/peers`此 API 返回与目标对等节点的所有现有网络连接的列表。该列表同时包含有效和无效的对等节点。`POST``/registrar`向证书颁发机构注册用户。`DELETE``/registrar/{enrollmentID}`从本地存储中删除任何现有的客户端登录令牌。完成此请求后，目标用户将无法再执行事务。`GET``/registrar/{enrollmentID}`确认指定的用户是否已向证书颁发机构注册。`GET``/registrar/{enrollmentID}/ecert`检索一个已向证书颁发机构注册的用户的登记证书。`GET``/registrar/{enrollmentID}/tcert`检索一个已向证书颁发机构注册的用户的事务证书。`GET``/transactions/UUID`此端点返回与指定 UUID 匹配的事务。

#### IBM-Blockchain-js

[IBM-Blockchain-js](https://github.com/IBM-Blockchain/ibm-blockchain-js) 是一个基于 IBM Cloud Blockchain 服务提供的 REST API 的 Node.js 包装器库。它在易用的 Node.js API 中提供与 REST API 中的功能类似的功能。

#### HFC SDK

Hyperledger Fabric Client (HFC) SDK for Node.js 是一个基于 gRPC 的 API，它提供了一个易用接口，用以开发基于 IBM Blockchain 服务的应用程序。HFC 是为了能在 Node.js JavaScript 中使用而设计的。有关更多细节，请参阅以下资源：

- [Hyperledger Fabric Client (HFC) SDK for Node.js](https://fabricdocs.readthedocs.io/en/latest/nodeSDK/node-sdk-guide.html)
- [GitHub 上的 Hyperledger Fabric](https://github.com/hyperledger/fabric/tree/v0.6/sdk/node)
- [IBM Blockchain 文档：HFC SDK for Node.js](https://cloud.ibm.com/docs/services/blockchain?topic=blockchain--)

#### 客户端应用程序

客户端应用程序负责向项目干系人提供所需的数据，以满足他们的业务需求并提供功能丰富的用户体验。客户端应用程序需要使用为智能合约提供的 Blockchain API 与业务账本进行交互。这些应用程序也可以处理区块链组件生成的事件。

#### IBM Watson IoT Platform

IBM Watson IoT Platform 从所有注册的设备接收数据，并将该数据处理为与区块链集成所需


(q.xr, "XR")
      shouldBeGolden(q.build<PostgresDialect>(), "SQL")
    }

    "function property inside of nested distinct queries - twice - into tuple - with renames in middle (should not quote)" {
      @ExoEntity("EMB") data class Emb(@ExoField("A") val a: Int, val b: Int)
      // it SHOULD NOT quote idP but it should rename it
      data class Parent(@ExoField("idPREN") val idP: Int, @ExoField("emb1REN") val emb1: Emb)
      data class Grandparent(val idG: Int, val par: Parent)

      val q = capture {
        // Not right result. Need to debug this
        Table<Emb>().map { e -> Parent(1, e) }.distinct().map { p -> Grandparent(2, p) }.distinct().map { g -> 3 to g }
          .distinct()
      }
      shouldBeGolden(q.xr, "XR")
      shouldBeGolden(q.build<PostgresDialect>(), "SQL")
    }
  }
})
@file:io.exoquery.annotation.ExoGoldenTest

package io.exoquery

import io.exoquery.sql.PostgresDialect
import io.exoquery.testdata.Address
import io.exoquery.testdata.Person
import io.exoquery.testdata.Robot

// Note that the 1st time you overwrite the golden file it will still fail because the compile is using teh old version
// Also note that it won't actually override the BasicQuerySanitySpecGolden file unless you change this one

// build the file BasicQuerySanitySpecGolden.kt, is that as the constructor arg
class QueryAdvancedReq: GoldenSpec(QueryAdvancedReqGolden, {

  // TODO implement and test deconstruction e.g. val (p, a) = from(Table<PersonToAddress>())
  "select clause + join + nested filters" {
    val people =
      capture.select {
        val p = from(Table<Person>().filter { p -> p.age > 18 })
        val a = join(Table<Address>().filter { a -> a.street == "123 St." }) { a -> a.ownerId == p.id }
        p to a
      }
    people.buildPretty<PostgresDialect>("select clause + join + nested filters").shouldBeGolden()
  }
  "select clauses from(nested)" {
    val people =
      capture.select {
        val pa = from(
          capture.select {
            val p = from(Table<Person>())
            val a = join(Table<Address>()) { a -> a.ownerId == p.id }
            p to a
          }
        )
        val a = join(Table<Robot>()) { r -> r.ownerId == pa.first.id }
        pa to a
      }
    people.buildPretty<PostgresDialect>("select clauses from(nested)").shouldBeGolden()
  }
  "select clauses with join(select-clause)" {
    val people =
      capture.select {
        val p = from(Table<Person>())
        val ar = join(
          capture.select {
            val a = from(Table<Address>())
            val r = join(Table<Robot>()) { r -> r.ownerId == p.id && r.ownerId == a.ownerId }
            a to r
          }
        ) { a -> a.first.ownerId == p.id }
        p to ar
      }
    people.buildPretty<PostgresDialect>("select clauses with join(select-clause)").shouldBeGolden()
  }
  "select clauses from(select-clause) + join(select-clause)" {
    // select from(person(name == "Joe").join(robot)), join(person(name == "Jim").join(address))
    val people =
      capture.select {
        val pr = from(
          capture.select {
            val p = from(Ta


pt_resume {
    fn default() -> Self { unsafe { ::core::mem::zeroed() } }
}
pub type ACPI_S3PT_RESUME = Struct_acpi_s3pt_resume;
#[repr(C, packed)]
#[derive(Copy)]
pub struct Struct_acpi_s3pt_suspend {
    pub Header: ACPI_S3PT_HEADER,
    pub SuspendStart: UINT64,
    pub SuspendEnd: UINT64,
}
impl ::core::clone::Clone for Struct_acpi_s3pt_suspend {
    fn clone(&self) -> Self { *self }
}
impl ::core::default::Default for Struct_acpi_s3pt_suspend {
    fn default() -> Self { unsafe { ::core::mem::zeroed() } }
}
pub type ACPI_S3PT_SUSPEND = Struct_acpi_s3pt_suspend;
#[repr(C, packed)]
#[derive(Copy)]
pub struct Struct_acpi_table_gtdt {
    pub Header: ACPI_TABLE_HEADER,
    pub CounterBlockAddresss: UINT64,
    pub Reserved: UINT32,
    pub SecureEl1Interrupt: UINT32,
    pub SecureEl1Flags: UINT32,
    pub NonSecureEl1Interrupt: UINT32,
    pub NonSecureEl1Flags: UINT32,
    pub VirtualTimerInterrupt: UINT32,
    pub VirtualTimerFlags: UINT32,
    pub NonSecureEl2Interrupt: UINT32,
    pub NonSecureEl2Flags: UINT32,
    pub CounterReadBlockAddress: UINT64,
    pub PlatformTimerCount: UINT32,
    pub PlatformTimerOffset: UINT32,
}
impl ::core::clone::Clone for Struct_acpi_table_gtdt {
    fn clone(&self) -> Self { *self }
}
impl ::core::default::Default for Struct_acpi_table_gtdt {
    fn default() -> Self { unsafe { ::core::mem::zeroed() } }
}
pub type ACPI_TABLE_GTDT = Struct_acpi_table_gtdt;
#[repr(C, packed)]
#[derive(Copy)]
pub struct Struct_acpi_gtdt_header {
    pub Type: UINT8,
    pub Length: UINT16,
}
impl ::core::clone::Clone for Struct_acpi_gtdt_header {
    fn clone(&self) -> Self { *self }
}
impl ::core::default::Default for Struct_acpi_gtdt_header {
    fn default() -> Self { unsafe { ::core::mem::zeroed() } }
}
pub type ACPI_GTDT_HEADER = Struct_acpi_gtdt_header;
#[derive(Clone, Copy)]
#[repr(u32)]
pub enum Enum_AcpiGtdtType {
    ACPI_GTDT_TYPE_TIMER_BLOCK = 0,
    ACPI_GTDT_TYPE_WATCHDOG = 1,
    ACPI_GTDT_TYPE_RESERVED = 2,
}
#[repr(C, packed)]
#[derive(Copy)]
pub struct Struct_acpi_gtdt_timer_block {
    pub Header: ACPI_GTDT_HEADER,
    pub Reserved: UINT8,
    pub BlockAddress: UINT64,
    pub TimerCount: UINT32,
    pub TimerOffset: UINT32,
}
impl ::core::clone::Clone for Struct_acpi_gtdt_timer_block {
    fn clone(&self) -> Self { *self }
}
impl ::core::default::Default for Struct_acpi_gtdt_timer_block {
    fn default() -> Self { unsafe { ::core::mem::zeroed() } }
}
pub type ACPI_GTDT_TIMER_BLOCK = Struct_acpi_gtdt_timer_block;
#[repr(C, packed)]
#[derive(Copy)]
pub struct Struct_acpi_


try
            {
                return commands[commandId]();
            }
            catch (Exception e)
            {
                _logger.LogDebug(e, "Error instantiating cluster command {ClusterName}, id={CommandId}", _clusterName, commandId);
            }
            return null;
        }

        /// <summary>
        /// Indicates whether this is a manufacturer-specific attribute. Default is not manufacturer-specific.
        /// </summary>
        public bool IsManufacturerSpecific()
        {
            return GetManufacturerCode() != null;
        }

        /// <summary>
        /// Returns the manufacturer code; must be non-null for manufacturer-specific clusters.
        /// </summary>
        public virtual int? GetManufacturerCode()
        {
            // TODO: see https://github.com/zsmartsystems/com.zsmartsystems.zigbee/blob/master/com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/zcl/ZclCluster.java#L1469
            return null;
        }

        private bool AreAttributesManufacturerSpecific(List<ushort> attributeIds)
        {
            return attributeIds.Select(attributeId => GetAttribute(attributeId))
                    .All(attribute => attribute != null && attribute.IsManufacturerSpecific());
        }

        public ZclClusterDao GetDao()
        {
            ZclClusterDao dao = new ZclClusterDao
            {
                ClusterId = _clusterId,
                ClusterName = _clusterName,
                IsClient = _isClient,
            };

            if (_supportedAttributesKnown)
            {
                dao.SupportedAttributes = _supportedAttributes.ToList();
            }

            dao.SupportedCommandsGenerated = _supportedCommandsGenerated.ToList();
            dao.SupportedCommandsReceived = _supportedCommandsReceived.ToList();

            List<ZclAttribute> daoZclAttributes;
            if (_isClient)


臨六陰及空甲之上，皆脫榜不中也！或朱雀臨本旬乙丙丁上，則在前列，亦忌空亡。餘旬倣此，然必須朱雀有氣而無刑破害方可。
秋香萬斛：此以斗角相加而言。
如癸酉日，辰加癸課：

　　龙空虎常
　　申酉戌亥
　勾未　　子玄
　合午　　丑阴
　　巳辰卯寅
　　雀蛇贵后

　　贵玄勾蛇
　　卯子未辰
　　子酉辰癸

　官鬼 戊辰 蛇
　官鬼 辛未 勾
　官鬼 〇戌 虎

辰中有角，丑中有斗，合成斛字。秋季占得辰為天喜，遁見戊辰癸用，戊為官，支上見子，乃日之祿，為本旬之甲。日辰上又交車合，必登高甲無疑，餘癸日不能。
魁星踢斗：此以鬼斗相加而言。
凡六癸日，未加丑，返吟課，占試必魁。如癸酉日課：

　子孙 丁卯 贵
　父母 癸酉 空
　子孙 丁卯 贵

　　空贵雀常
　　酉卯丑未
　　卯酉未癸

　　勾合雀蛇
　　亥子丑寅
　龙戌　　卯贵
　空酉　　辰后
　　申未午巳
　　虎常玄阴

未中有鬼宿，又為日鬼：丑中有斗宿，斗鬼相加，合成魁字。如冬季占得，則未為天喜，必應。且晝夜貴人，俱是太常朱雀吉將也！甲辰旬，癸丑日占得，不吉，緣未為丁神，若有父母，則丁火傷庚辛之金，主丁父母之艱。或逢申酉年，又值日貴，則朱雀丁神尅太歲，主文章不貼上意也！甲申旬，癸巳日，未是旬空，不中，當是虛喜。

丁神動
丁之一字，所係甚重，法雖立而未盡。且如丁丑夏、丁未冬，冬夏之天喜也。若加日，不可以墓干乘囚言之，其動尤速也！但庚辛日，防吉中有凶。壬癸日，防喪親丁艱。或作丁亥、丁巳為馬，其動亦然。丁酉、丁卯，防門戶怪異。若乘吉將生日，則吉動；乘凶將尅日，則凶動。大抵壬


_jne(left, right);

						if (!b)
						{
							m_ip = destip;
						}
					}
						break;
					case command.OPCODE_NOT_JNE:
					{
						variant left = GET_VARIANT(m_fb, m_bp, m_ip);
						m_ip++;

						/* dest */
						m_ip++;
						int destip = command.COMMAND_CODE(m_fb.m_buff[m_ip]);
						m_ip++;

						boolean b = variant.not_jne(left);

						if (!b)
						{
							m_ip = destip;
						}
					}
						break;
					case command.OPCODE_JNE:
					{
						variant cmp = GET_VARIANT(m_fb, m_bp, m_ip);
						m_ip++;

						int ip = command.COMMAND_CODE(m_fb.m_buff[m_ip]);
						m_ip++;

						if (!cmp.bool())
						{
							m_ip = ip;
						}
					}
						break;
					case command.OPCODE_JMP:
					{
						int ip = command.COMMAND_CODE(m_fb.m_buff[m_ip]);
						m_ip++;

						m_ip = ip;
					}
						break;
					case command.OPCODE_PLUS_ASSIGN:
					{
						if (!CHECK_DST_POS(m_fb, m_ip))
						{
							throw new Exception(
									"interpreter math assign oper error, dest is not stack or container, type "
											+ POS_TYPE_NAME(m_fb, m_ip));
						}
						variant var = GET_VARIANT(m_fb, m_bp, m_ip);
						if ((CHECK_CONST_MAP_POS(var) || CHECK_CONST_ARRAY_POS(var)))
						{
							throw new Exception("interpreter assign error, dest is const container");
						}
						m_ip++;

						variant value = GET_VARIANT(m_fb, m_bp, m_ip);
						m_ip++;

						var.plus(var, value);
					}
						break;
					case command.OPCODE_MINUS_ASSIGN:
					{
						if (!CHECK_DST_POS(m_fb, m_ip))
						{
							throw new Exception(
									"interpreter math assign oper error, dest is not stack or container, type "
											+ POS_TYPE_NAME(m_fb, m_ip));
						}
						variant var = GET_VARIANT(m_fb, m_bp, m_ip);
						if ((CHECK_CONST_MAP_POS(var) || CHECK_CONST_ARRAY_POS(var)))
						{
							throw new Exception("interpreter assign error, dest is const container");
						}
						m_ip++;

						variant value = GET_VARIANT(m_fb, m_bp, m_ip);
						m_ip++;

						var.minus(var, value);
					}
						break;
					case command.OPCODE_MULTIPLY_ASSIGN:
					{
						if (!CHECK_DST_POS(m_fb, m_ip))
						{
							throw new Exception(
									"interpreter math assign oper error, dest is not stack or container, type "
											+ POS_TYPE_NAME(m_fb, m_ip));
						}
						variant var = GET_VARIANT(m_fb, m_bp, m_ip);
						if ((CHECK_CONST_MAP_POS(var) || CHECK_CONST_ARRAY_POS(var)))
						{
							throw new Exception("interpreter assign error, dest is const container");
						}
						m_ip++;

						variant value = GET_VARIANT(m_fb, m_bp, m_ip);
						m_ip++;

						var.multiply(var, value);
					}
						break;
					case command.OPCODE_DIVIDE_ASSIGN:
					{
						if (!CHECK_DST_POS(m_fb, m_ip))
						{
							throw new Exception(
									"interpreter math assign oper error, dest is no