trackblock
files contain a header, body with multiple segments and a footer.
- Header
- Body
- Segments
- Footer
def get_mdb_position(value: int) -> tuple: | |
""" | |
Lookup for Moser-de Bruijn Sequence | |
https://en.wikipedia.org/wiki/Moser%E2%80%93de_Bruijn_sequence | |
:param value: | |
:return: | |
""" | |
if value <= 0: | |
return 0, 0 |
Hex Value 7 6 5 4 3 2 1 X Coordinate 0 Y Coordinate
8E6ADF6E 1 0 0 0 1 1 1 001101010110 1 111101101110
Flag | 0 |
1 |
Description |
---|---|---|---|
0 |
-y | +y | Mirrors point across the x-axis |
1 |
false |
true |
Horizontal shift (+4096 ) |
2 |
-x | +x | Mirrors point across the y-axis |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>aal:距離減衰マネージャ</title> | |
</head> | |
<body> | |
<h3>距離減衰器</h3> | |
<h3>距離減衰カーブ</h3> | |
<h4>ロールオフ曲線</h4> | |
<h4>自由曲線</h4> |
<app-dropdown title="Manage Recipe"> | |
<a class="dropdown-item" href="#">To Shopping List</a> | |
<a class="dropdown-item" href="#">Edit Recipe</a> | |
<a class="dropdown-item" href="#">Delete Recipe</a> | |
</app-dropdown> | |
<app-dropdown title="Manage" align="right"> | |
<a class="dropdown-item" href="#">Save Data</a> | |
<a class="dropdown-item" href="#">Fetch Data</a> | |
</app-dropdown> |
<div class="dropdown" [ngClass]="{'show': isOpen}"> | |
<button class="btn btn-primary dropdown-toggle" type="button" (click)="toggleOpen()"> | |
{{ title }} | |
</button> | |
<div class="dropdown-menu" [ngClass]="{'show': isOpen, 'dropdown-menu-right': align === 'right'}"> | |
<ng-content></ng-content> | |
</div> | |
</div> |
import { Component, Input } from '@angular/core'; | |
@Component({ | |
selector: 'app-dropdown', | |
templateUrl: './dropdown.component.html' | |
}) | |
export class DropdownComponent { | |
@Input() title = ''; | |
@Input() align = 'left'; |
0 | |
00 | |
00_00 | |
00_01 | |
01 | |
01_00 | |
01_01 | |
02 | |
02_00 | |
0_Normal |