hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
98 values
lang
stringclasses
21 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
118
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
368k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
118
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
135
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
5
1.05M
avg_line_length
float64
1
1.03M
max_line_length
int64
2
1.03M
alphanum_fraction
float64
0
1
1ed04c15f554babd037469e69ce3913b645cd6a9
325
kt
Kotlin
PADCX_HealthCareApp_NCT/patient/src/main/java/com/padcx/padcx_healthcareapp_nct/mvp/views/MessageView.kt
NayChiThin/PADCX_HealthCareApp_NCT
80f24209ef34e56a6db6bfef72d115c7125dc4d8
[ "Apache-2.0" ]
null
null
null
PADCX_HealthCareApp_NCT/patient/src/main/java/com/padcx/padcx_healthcareapp_nct/mvp/views/MessageView.kt
NayChiThin/PADCX_HealthCareApp_NCT
80f24209ef34e56a6db6bfef72d115c7125dc4d8
[ "Apache-2.0" ]
null
null
null
PADCX_HealthCareApp_NCT/patient/src/main/java/com/padcx/padcx_healthcareapp_nct/mvp/views/MessageView.kt
NayChiThin/PADCX_HealthCareApp_NCT
80f24209ef34e56a6db6bfef72d115c7125dc4d8
[ "Apache-2.0" ]
null
null
null
package com.padcx.padcx_healthcareapp_nct.mvp.views import com.padcx.shared.data.vos.ConsultVO import com.padcx.shared.mvp.views.BaseView interface MessageView:BaseView{ fun displayConsultationHistory(consults:List<ConsultVO>) fun navigateToChat(consult: ConsultVO) fun displayPrescription(consult: ConsultVO) }
32.5
60
0.821538
5c0d0286c06d15d488a708678d7cccd7e264dac3
540
kt
Kotlin
src/main/java/io/ejekta/kambrikx/data/ConfigDataFile.kt
isXander/Kambrik
cb3332012ba1533cbb9533a791498d91f84bbb74
[ "MIT" ]
9
2021-09-21T23:51:17.000Z
2022-02-19T18:22:41.000Z
src/main/java/io/ejekta/kambrikx/data/ConfigDataFile.kt
isXander/Kambrik
cb3332012ba1533cbb9533a791498d91f84bbb74
[ "MIT" ]
10
2021-08-10T22:05:42.000Z
2022-02-01T03:26:50.000Z
src/main/java/io/ejekta/kambrikx/data/ConfigDataFile.kt
isXander/Kambrik
cb3332012ba1533cbb9533a791498d91f84bbb74
[ "MIT" ]
1
2021-12-05T16:21:37.000Z
2021-12-05T16:21:37.000Z
package io.ejekta.kambrikx.data import kotlinx.serialization.KSerializer import java.io.File class ConfigDataFile(src: File) : DataFile(src) { private var loaded = false init { KambrikPersistence.configDataFiles.add(this) } // Do initial config file loading when the request is first made override fun <T : Any> request(key: String, serializer: KSerializer<T>, default: T) { super.request(key, serializer, default) if (!loaded) { load() loaded = true } } }
25.714286
89
0.644444
9bca0fc4adffb111c097d9826a50a45a98d7ef2d
4,050
js
JavaScript
server/core/app/room.js
firehiros/basic_chat
681356bad07d317b99e8a94652556d7c08046b1a
[ "MIT" ]
null
null
null
server/core/app/room.js
firehiros/basic_chat
681356bad07d317b99e8a94652556d7c08046b1a
[ "MIT" ]
null
null
null
server/core/app/room.js
firehiros/basic_chat
681356bad07d317b99e8a94652556d7c08046b1a
[ "MIT" ]
null
null
null
'use strict'; const EventEmitter = require('events'); const ConnectionManager = require('./connectionManager'); module.exports = class Room extends EventEmitter { constructor(options){ super(); if (options.system) { // This is the system room // Used for tracking what users are online this.system = true; this.roomId = undefined; this.roomSlug = undefined; this.hasPassword = false; } else { this.system = false; this.roomId = options.room._id.toString(); this.roomSlug = options.room.slug; this.hasPassword = options.room.hasPassword; } this.connections = new ConnectionManager(); this.userCount = 0; this.getListUsers = this.getListUsers.bind(this); this.getListUserIds = this.getListUserIds.bind(this); this.getListUsernames = this.getListUsernames.bind(this); this.containsUser = this.containsUser.bind(this); this.emitUserJoin = this.emitUserJoin.bind(this); this.emitUserLeave = this.emitUserLeave.bind(this); this.addConnection = this.addConnection.bind(this); this.removeConnection = this.removeConnection.bind(this); } getListUsers() { return this.connections.getUsers(); } getListUserIds() { return this.connections.getUserIds(); } getListUsernames() { return this.connections.getUsernames(); } containsUser(userId) { return this.getListUserIds().indexOf(userId) !== -1; } emitUserJoin(data) { this.userCount++; var d = { userId: data.userId, username: data.username }; if (this.system) { d.system = true; } else { d.roomId = this.roomId; d.roomSlug = this.roomSlug; d.roomHasPassword = this.hasPassword; } this.emit('user_join', d); } emitUserLeave(data) { this.userCount--; var d = { user: data.user, userId: data.userId, username: data.username }; if (this.system) { d.system = true; } else { d.roomId = this.roomId; d.roomSlug = this.roomSlug; d.roomHasPassword = this.hasPassword; } this.emit('user_leave', d); } handleUsernameChange(data) { if (this.containsUser(data.userId)) { // User leaving room this.emitUserLeave({ userId: data.userId, username: data.oldUsername }); // User rejoining room with new username this.emitUserJoin({ userId: data.userId, username: data.username }); } } addConnection(connection) { if (!connection) { console.error('Cannot add connection! An invalid connection was detected'); return; } if (connection.user && connection.user.id && !this.containsUser(connection.user.id)) { // User joining room this.emitUserJoin({ user: connection.user, userId: connection.user.id, username: connection.user.username }); } this.connections.add(connection); } removeConnection(connection) { if (!connection) { console.error('Cannot remove connection! An invalid connection was detected'); return; } if (this.connections.remove(connection)) { if (connection.user && connection.user.id && !this.containsUser(connection.user.id)) { // Leaving room altogether this.emitUserLeave({ user: connection.user, userId: connection.user.id, username: connection.user.username }); } } } }
29.779412
90
0.539259
1fb4ce04b748fad1b5c3e8e27d25fe5b9b2d7f28
4,696
html
HTML
src/app/layout/components/rlc/rlc-table/rlc-table.component.html
jmarkicg/rlc-combinator-frontend
616d96d3b9e7bf99bf744ab84fc779a488049f81
[ "Apache-2.0" ]
null
null
null
src/app/layout/components/rlc/rlc-table/rlc-table.component.html
jmarkicg/rlc-combinator-frontend
616d96d3b9e7bf99bf744ab84fc779a488049f81
[ "Apache-2.0" ]
11
2020-07-17T01:16:36.000Z
2022-02-26T10:47:10.000Z
src/app/layout/components/rlc/rlc-table/rlc-table.component.html
jmarkicg/rlc-combinator-frontend
616d96d3b9e7bf99bf744ab84fc779a488049f81
[ "Apache-2.0" ]
null
null
null
<div *ngIf="dataLoaded"> <mat-table mat-table [dataSource]="dataSource" matSort class="mat-elevation-z8" matSortActive="type" matSortDirection="asc"> <!-- Type Column --> <ng-container matColumnDef="type"> <mat-header-cell *matHeaderCellDef [ngClass]="'rlcColumnClass'" mat-sort-header> Type</mat-header-cell> <mat-cell *matCellDef="let element" data-label="type"> {{element.type}} </mat-cell> </ng-container> <!-- Value Column --> <ng-container matColumnDef="value"> <mat-header-cell *matHeaderCellDef mat-sort-header> Value ({{unit}}) </mat-header-cell> <mat-cell *matCellDef="let element" data-label="value"> {{element.value}} </mat-cell> </ng-container> <!-- Desc Column --> <ng-container matColumnDef="description"> <mat-header-cell *matHeaderCellDef mat-sort-header> Description </mat-header-cell> <mat-cell *matCellDef="let element" data-label="description"> {{element.description}} </mat-cell> </ng-container> <!-- Num of items Column --> <ng-container matColumnDef="numItems"> <mat-header-cell *matHeaderCellDef mat-sort-header> Number of items </mat-header-cell> <mat-cell *matCellDef="let element" data-label="numItems"> {{element.numItems}} </mat-cell> </ng-container> <!-- Capacitory type --> <ng-container matColumnDef="capacitorType"> <mat-header-cell *matHeaderCellDef mat-sort-header> Capacitor type </mat-header-cell> <mat-cell *matCellDef="let element" data-label="capacitorType"> {{element.capacitorType}} </mat-cell> </ng-container> <!-- Volume --> <ng-container matColumnDef="volume"> <mat-header-cell *matHeaderCellDef mat-sort-header> Volume </mat-header-cell> <mat-cell *matCellDef="let element" data-label="volume"> {{element.volume}} </mat-cell> </ng-container> <!-- Edit Column --> <ng-container matColumnDef="actions"> <mat-header-cell *matHeaderCellDef> <button mat-icon-button (click)="openEditSaveDialog(addAction, null)" > <mat-icon aria-label="Add">add_circle</mat-icon> </button> </mat-header-cell> <mat-cell *matCellDef="let element" data-label="actions"> <span class="rlcButtons"> <button mat-icon-button (click)="openEditSaveDialog(editAction, element)" > <mat-icon aria-label="Edit">edit</mat-icon> </button> <button mat-icon-button (click)="openDeleteDialog(element)"> <mat-icon aria-label="Delete">delete</mat-icon> </button> </span> </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> <mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row> <!-- Disclaimer column --> <ng-container matColumnDef="disclaimer"> <mat-footer-cell *matFooterCellDef colspan="2"> <span *ngIf="!dataSource.data.length"><i>No data</i></span> </mat-footer-cell> </ng-container> <mat-footer-row *matFooterRowDef="['disclaimer']" class="example-second-footer-row"></mat-footer-row> </mat-table> </div> <!--<div class="example-container mat-elevation-z8">--> <!-- <mat-table [dataSource]="dataSource2" matSort>--> <!-- &lt;!&ndash; ID Column &ndash;&gt;--> <!-- <ng-container matColumnDef="id">--> <!-- <mat-header-cell *matHeaderCellDef mat-sort-header> ID </mat-header-cell>--> <!-- <mat-cell *matCellDef="let row" data-label="id"> {{row.cnt}} </mat-cell>--> <!-- </ng-container>--> <!-- &lt;!&ndash; Progress Column &ndash;&gt;--> <!-- <ng-container matColumnDef="progress">--> <!-- <mat-header-cell *matHeaderCellDef mat-sort-header> Progress </mat-header-cell>--> <!-- <mat-cell *matCellDef="let row" data-label="progress"> {{row.progress}}% </mat-cell>--> <!-- </ng-container>--> <!-- &lt;!&ndash; Name Column &ndash;&gt;--> <!-- <ng-container matColumnDef="name">--> <!-- <mat-header-cell *matHeaderCellDef mat-sort-header> Name </mat-header-cell>--> <!-- <mat-cell *matCellDef="let row" data-label="name"> {{row.name}} </mat-cell>--> <!-- </ng-container>--> <!-- &lt;!&ndash; Color Column &ndash;&gt;--> <!-- <ng-container matColumnDef="color">--> <!-- <mat-header-cell *matHeaderCellDef mat-sort-header> Color </mat-header-cell>--> <!-- <mat-cell *matCellDef="let row" [style.color]="row.color" data-label="color"> {{row.color}} </mat-cell>--> <!-- </ng-container>--> <!-- <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>--> <!-- <mat-row *matRowDef="let row; columns: displayedColumns;">--> <!-- </mat-row>--> <!-- </mat-table>--> <!--</div>-->
41.928571
126
0.624148
95bfd42568f5087e31b5e3d181eb817e28858f0d
23,828
swift
Swift
TradingChartView/Example/ThreeLineLegendViewController.swift
keyheha/trading-chart-view-ios
1912c078ddce328b4a2dbc49a2432242b387e048
[ "Apache-2.0" ]
null
null
null
TradingChartView/Example/ThreeLineLegendViewController.swift
keyheha/trading-chart-view-ios
1912c078ddce328b4a2dbc49a2432242b387e048
[ "Apache-2.0" ]
null
null
null
TradingChartView/Example/ThreeLineLegendViewController.swift
keyheha/trading-chart-view-ios
1912c078ddce328b4a2dbc49a2432242b387e048
[ "Apache-2.0" ]
1
2021-07-11T19:11:26.000Z
2021-07-11T19:11:26.000Z
import UIKit import LightweightCharts class ThreeLineLegendViewController: UIViewController { private var chart: LightweightCharts! private var series: AreaSeries! private let legendLabel = UILabel() private let legend = "AEROSPACE" private let data = [ LineData(time: .string("2018-03-28"), value: 21.00), LineData(time: .string("2018-03-29"), value: 20.80), LineData(time: .string("2018-03-30"), value: 19.40), LineData(time: .string("2018-04-02"), value: 18.75), LineData(time: .string("2018-04-03"), value: 18.75), LineData(time: .string("2018-04-04"), value: 18.95), LineData(time: .string("2018-04-05"), value: 16.95), LineData(time: .string("2018-04-06"), value: 17.70), LineData(time: .string("2018-04-09"), value: 31.00), LineData(time: .string("2018-04-10"), value: 30.20), LineData(time: .string("2018-04-11"), value: 31.50), LineData(time: .string("2018-04-12"), value: 27.95), LineData(time: .string("2018-04-13"), value: 30.15), LineData(time: .string("2018-04-16"), value: 29.60), LineData(time: .string("2018-04-17"), value: 27.70), LineData(time: .string("2018-04-18"), value: 21.45), LineData(time: .string("2018-04-19"), value: 24.05), LineData(time: .string("2018-04-20"), value: 25.60), LineData(time: .string("2018-04-23"), value: 26.50), LineData(time: .string("2018-04-24"), value: 28.40), LineData(time: .string("2018-04-25"), value: 30.55), LineData(time: .string("2018-04-26"), value: 29.40), LineData(time: .string("2018-04-27"), value: 30.70), LineData(time: .string("2018-04-30"), value: 31.00), LineData(time: .string("2018-05-02"), value: 27.70), LineData(time: .string("2018-05-03"), value: 30.80), LineData(time: .string("2018-05-04"), value: 33.35), LineData(time: .string("2018-05-07"), value: 33.10), LineData(time: .string("2018-05-08"), value: 34.60), LineData(time: .string("2018-05-10"), value: 35.20), LineData(time: .string("2018-05-11"), value: 37.50), LineData(time: .string("2018-05-14"), value: 38.85), LineData(time: .string("2018-05-15"), value: 37.00), LineData(time: .string("2018-05-16"), value: 37.05), LineData(time: .string("2018-05-17"), value: 37.05), LineData(time: .string("2018-05-18"), value: 38.25), LineData(time: .string("2018-05-21"), value: 38.80), LineData(time: .string("2018-05-22"), value: 40.00), LineData(time: .string("2018-05-23"), value: 42.45), LineData(time: .string("2018-05-24"), value: 42.30), LineData(time: .string("2018-05-25"), value: 42.80), LineData(time: .string("2018-05-28"), value: 43.45), LineData(time: .string("2018-05-29"), value: 43.15), LineData(time: .string("2018-05-30"), value: 35.15), LineData(time: .string("2018-05-31"), value: 34.20), LineData(time: .string("2018-06-01"), value: 35.35), LineData(time: .string("2018-06-04"), value: 37.90), LineData(time: .string("2018-06-05"), value: 35.75), LineData(time: .string("2018-06-06"), value: 33.70), LineData(time: .string("2018-06-07"), value: 30.00), LineData(time: .string("2018-06-08"), value: 31.10), LineData(time: .string("2018-06-11"), value: 32.30), LineData(time: .string("2018-06-13"), value: 30.95), LineData(time: .string("2018-06-14"), value: 31.45), LineData(time: .string("2018-06-15"), value: 34.50), LineData(time: .string("2018-06-18"), value: 35.35), LineData(time: .string("2018-06-19"), value: 37.00), LineData(time: .string("2018-06-20"), value: 34.00), LineData(time: .string("2018-06-21"), value: 34.45), LineData(time: .string("2018-06-22"), value: 34.45), LineData(time: .string("2018-06-25"), value: 34.25), LineData(time: .string("2018-06-26"), value: 34.35), LineData(time: .string("2018-06-27"), value: 33.85), LineData(time: .string("2018-06-28"), value: 35.20), LineData(time: .string("2018-06-29"), value: 35.20), LineData(time: .string("2018-07-02"), value: 34.85), LineData(time: .string("2018-07-03"), value: 31.95), LineData(time: .string("2018-07-04"), value: 35.00), LineData(time: .string("2018-07-05"), value: 45.80), LineData(time: .string("2018-07-06"), value: 45.45), LineData(time: .string("2018-07-09"), value: 46.70), LineData(time: .string("2018-07-10"), value: 48.45), LineData(time: .string("2018-07-11"), value: 50.70), LineData(time: .string("2018-07-12"), value: 50.20), LineData(time: .string("2018-07-13"), value: 51.75), LineData(time: .string("2018-07-16"), value: 52.00), LineData(time: .string("2018-07-17"), value: 50.75), LineData(time: .string("2018-07-18"), value: 52.00), LineData(time: .string("2018-07-19"), value: 54.00), LineData(time: .string("2018-07-20"), value: 53.55), LineData(time: .string("2018-07-23"), value: 51.20), LineData(time: .string("2018-07-24"), value: 52.85), LineData(time: .string("2018-07-25"), value: 53.70), LineData(time: .string("2018-07-26"), value: 52.30), LineData(time: .string("2018-07-27"), value: 52.80), LineData(time: .string("2018-07-30"), value: 53.30), LineData(time: .string("2018-07-31"), value: 52.05), LineData(time: .string("2018-08-01"), value: 54.00), LineData(time: .string("2018-08-02"), value: 59.00), LineData(time: .string("2018-08-03"), value: 56.90), LineData(time: .string("2018-08-06"), value: 60.70), LineData(time: .string("2018-08-07"), value: 60.75), LineData(time: .string("2018-08-08"), value: 63.15), LineData(time: .string("2018-08-09"), value: 65.30), LineData(time: .string("2018-08-10"), value: 70.00), LineData(time: .string("2018-08-13"), value: 69.25), LineData(time: .string("2018-08-14"), value: 67.75), LineData(time: .string("2018-08-15"), value: 67.60), LineData(time: .string("2018-08-16"), value: 64.50), LineData(time: .string("2018-08-17"), value: 66.00), LineData(time: .string("2018-08-20"), value: 66.05), LineData(time: .string("2018-08-21"), value: 66.65), LineData(time: .string("2018-08-22"), value: 66.40), LineData(time: .string("2018-08-23"), value: 69.35), LineData(time: .string("2018-08-24"), value: 70.55), LineData(time: .string("2018-08-27"), value: 68.80), LineData(time: .string("2018-08-28"), value: 68.45), LineData(time: .string("2018-08-29"), value: 63.20), LineData(time: .string("2018-08-30"), value: 59.50), LineData(time: .string("2018-08-31"), value: 59.50), LineData(time: .string("2018-09-03"), value: 60.45), LineData(time: .string("2018-09-04"), value: 62.25), LineData(time: .string("2018-09-05"), value: 63.50), LineData(time: .string("2018-09-06"), value: 66.90), LineData(time: .string("2018-09-07"), value: 66.45), LineData(time: .string("2018-09-10"), value: 68.50), LineData(time: .string("2018-09-11"), value: 69.90), LineData(time: .string("2018-09-12"), value: 67.80), LineData(time: .string("2018-09-13"), value: 67.90), LineData(time: .string("2018-09-14"), value: 69.25), LineData(time: .string("2018-09-17"), value: 68.95), LineData(time: .string("2018-09-18"), value: 65.85), LineData(time: .string("2018-09-19"), value: 63.60), LineData(time: .string("2018-09-20"), value: 64.00), LineData(time: .string("2018-09-21"), value: 64.00), LineData(time: .string("2018-09-24"), value: 66.05), LineData(time: .string("2018-09-25"), value: 68.35), LineData(time: .string("2018-09-26"), value: 68.30), LineData(time: .string("2018-09-27"), value: 67.95), LineData(time: .string("2018-09-28"), value: 68.45), LineData(time: .string("2018-10-01"), value: 68.80), LineData(time: .string("2018-10-02"), value: 68.60), LineData(time: .string("2018-10-03"), value: 67.90), LineData(time: .string("2018-10-04"), value: 68.60), LineData(time: .string("2018-10-05"), value: 70.35), LineData(time: .string("2018-10-08"), value: 72.35), LineData(time: .string("2018-10-09"), value: 72.90), LineData(time: .string("2018-10-10"), value: 72.85), LineData(time: .string("2018-10-11"), value: 74.10), LineData(time: .string("2018-10-12"), value: 73.00), LineData(time: .string("2018-10-15"), value: 74.85), LineData(time: .string("2018-10-16"), value: 76.00), LineData(time: .string("2018-10-17"), value: 77.00), LineData(time: .string("2018-10-18"), value: 79.00), LineData(time: .string("2018-10-19"), value: 79.50), LineData(time: .string("2018-10-22"), value: 82.60), LineData(time: .string("2018-10-23"), value: 82.70), LineData(time: .string("2018-10-24"), value: 82.10), LineData(time: .string("2018-10-25"), value: 83.15), LineData(time: .string("2018-10-26"), value: 83.40), LineData(time: .string("2018-10-29"), value: 80.95), LineData(time: .string("2018-10-30"), value: 76.75), LineData(time: .string("2018-10-31"), value: 77.75), LineData(time: .string("2018-11-01"), value: 78.12), LineData(time: .string("2018-11-02"), value: 73.22), LineData(time: .string("2018-11-06"), value: 72.60), LineData(time: .string("2018-11-07"), value: 74.40), LineData(time: .string("2018-11-08"), value: 76.50), LineData(time: .string("2018-11-09"), value: 79.86), LineData(time: .string("2018-11-12"), value: 78.10), LineData(time: .string("2018-11-13"), value: 77.60), LineData(time: .string("2018-11-14"), value: 71.70), LineData(time: .string("2018-11-15"), value: 72.26), LineData(time: .string("2018-11-16"), value: 73.80), LineData(time: .string("2018-11-19"), value: 76.28), LineData(time: .string("2018-11-20"), value: 72.80), LineData(time: .string("2018-11-21"), value: 66.20), LineData(time: .string("2018-11-22"), value: 65.10), LineData(time: .string("2018-11-23"), value: 61.26), LineData(time: .string("2018-11-26"), value: 64.10), LineData(time: .string("2018-11-27"), value: 61.72), LineData(time: .string("2018-11-28"), value: 61.40), LineData(time: .string("2018-11-29"), value: 61.86), LineData(time: .string("2018-11-30"), value: 60.60), LineData(time: .string("2018-12-03"), value: 63.16), LineData(time: .string("2018-12-04"), value: 68.30), LineData(time: .string("2018-12-05"), value: 67.20), LineData(time: .string("2018-12-06"), value: 68.56), LineData(time: .string("2018-12-07"), value: 71.30), LineData(time: .string("2018-12-10"), value: 73.98), LineData(time: .string("2018-12-11"), value: 72.28), LineData(time: .string("2018-12-12"), value: 73.20), LineData(time: .string("2018-12-13"), value: 73.00), LineData(time: .string("2018-12-14"), value: 72.90), LineData(time: .string("2018-12-17"), value: 73.96), LineData(time: .string("2018-12-18"), value: 73.40), LineData(time: .string("2018-12-19"), value: 73.00), LineData(time: .string("2018-12-20"), value: 72.98), LineData(time: .string("2018-12-21"), value: 72.80), LineData(time: .string("2018-12-24"), value: 72.90), LineData(time: .string("2018-12-25"), value: 74.20), LineData(time: .string("2018-12-26"), value: 73.98), LineData(time: .string("2018-12-27"), value: 74.50), LineData(time: .string("2018-12-28"), value: 74.00), LineData(time: .string("2019-01-03"), value: 73.50), LineData(time: .string("2019-01-04"), value: 73.90), LineData(time: .string("2019-01-08"), value: 73.90), LineData(time: .string("2019-01-09"), value: 72.94), LineData(time: .string("2019-01-10"), value: 69.86), LineData(time: .string("2019-01-11"), value: 70.34), LineData(time: .string("2019-01-14"), value: 68.78), LineData(time: .string("2019-01-15"), value: 68.02), LineData(time: .string("2019-01-16"), value: 66.60), LineData(time: .string("2019-01-17"), value: 65.94), LineData(time: .string("2019-01-18"), value: 68.00), LineData(time: .string("2019-01-21"), value: 69.20), LineData(time: .string("2019-01-22"), value: 69.76), LineData(time: .string("2019-01-23"), value: 69.60), LineData(time: .string("2019-01-24"), value: 69.62), LineData(time: .string("2019-01-25"), value: 69.30), LineData(time: .string("2019-01-28"), value: 69.20), LineData(time: .string("2019-01-29"), value: 68.90), LineData(time: .string("2019-01-30"), value: 66.40), LineData(time: .string("2019-01-31"), value: 67.08), LineData(time: .string("2019-02-01"), value: 69.78), LineData(time: .string("2019-02-04"), value: 72.56), LineData(time: .string("2019-02-05"), value: 72.74), LineData(time: .string("2019-02-06"), value: 73.00), LineData(time: .string("2019-02-07"), value: 73.38), LineData(time: .string("2019-02-08"), value: 73.10), LineData(time: .string("2019-02-11"), value: 73.22), LineData(time: .string("2019-02-12"), value: 72.30), LineData(time: .string("2019-02-13"), value: 74.86), LineData(time: .string("2019-02-14"), value: 73.64), LineData(time: .string("2019-02-15"), value: 73.38), LineData(time: .string("2019-02-18"), value: 74.26), LineData(time: .string("2019-02-19"), value: 75.00), LineData(time: .string("2019-02-20"), value: 74.96), LineData(time: .string("2019-02-21"), value: 75.00), LineData(time: .string("2019-02-22"), value: 74.88), LineData(time: .string("2019-02-25"), value: 74.96), LineData(time: .string("2019-02-26"), value: 76.02), LineData(time: .string("2019-02-27"), value: 77.30), LineData(time: .string("2019-02-28"), value: 77.90), LineData(time: .string("2019-03-01"), value: 78.24), LineData(time: .string("2019-03-04"), value: 76.64), LineData(time: .string("2019-03-05"), value: 78.74), LineData(time: .string("2019-03-06"), value: 76.88), LineData(time: .string("2019-03-07"), value: 75.32), LineData(time: .string("2019-03-11"), value: 72.90), LineData(time: .string("2019-03-12"), value: 74.78), LineData(time: .string("2019-03-13"), value: 74.50), LineData(time: .string("2019-03-14"), value: 75.34), LineData(time: .string("2019-03-15"), value: 74.92), LineData(time: .string("2019-03-18"), value: 75.08), LineData(time: .string("2019-03-19"), value: 75.54), LineData(time: .string("2019-03-20"), value: 76.78), LineData(time: .string("2019-03-21"), value: 77.70), LineData(time: .string("2019-03-22"), value: 77.34), LineData(time: .string("2019-03-25"), value: 78.00), LineData(time: .string("2019-03-26"), value: 77.98), LineData(time: .string("2019-03-27"), value: 78.90), LineData(time: .string("2019-03-28"), value: 78.30), LineData(time: .string("2019-03-29"), value: 78.70), LineData(time: .string("2019-04-01"), value: 77.22), LineData(time: .string("2019-04-02"), value: 76.64), LineData(time: .string("2019-04-03"), value: 76.50), LineData(time: .string("2019-04-04"), value: 76.64), LineData(time: .string("2019-04-05"), value: 75.46), LineData(time: .string("2019-04-08"), value: 76.42), LineData(time: .string("2019-04-09"), value: 77.76), LineData(time: .string("2019-04-10"), value: 77.68), LineData(time: .string("2019-04-11"), value: 76.60), LineData(time: .string("2019-04-12"), value: 76.78), LineData(time: .string("2019-04-15"), value: 76.28), LineData(time: .string("2019-04-16"), value: 75.88), LineData(time: .string("2019-04-17"), value: 76.38), LineData(time: .string("2019-04-18"), value: 77.00), LineData(time: .string("2019-04-19"), value: 77.40), LineData(time: .string("2019-04-22"), value: 77.40), LineData(time: .string("2019-04-23"), value: 78.20), LineData(time: .string("2019-04-24"), value: 78.68), LineData(time: .string("2019-04-25"), value: 78.66), LineData(time: .string("2019-04-26"), value: 77.88), LineData(time: .string("2019-04-29"), value: 78.02), LineData(time: .string("2019-04-30"), value: 78.68), LineData(time: .string("2019-05-02"), value: 78.14), LineData(time: .string("2019-05-03"), value: 78.30), LineData(time: .string("2019-05-06"), value: 80.06), LineData(time: .string("2019-05-07"), value: 80.50), LineData(time: .string("2019-05-08"), value: 80.76), LineData(time: .string("2019-05-10"), value: 82.10), LineData(time: .string("2019-05-13"), value: 83.72), LineData(time: .string("2019-05-14"), value: 83.55), LineData(time: .string("2019-05-15"), value: 84.92), LineData(time: .string("2019-05-16"), value: 83.32), LineData(time: .string("2019-05-17"), value: 83.04), LineData(time: .string("2019-05-20"), value: 83.92), LineData(time: .string("2019-05-21"), value: 84.24), LineData(time: .string("2019-05-22"), value: 84.00), LineData(time: .string("2019-05-23"), value: 84.26), LineData(time: .string("2019-05-24"), value: 84.00), LineData(time: .string("2019-05-27"), value: 83.80), LineData(time: .string("2019-05-28"), value: 84.32), LineData(time: .string("2019-05-29"), value: 83.88), LineData(time: .string("2019-05-30"), value: 84.58), LineData(time: .string("2019-05-31"), value: 81.20), LineData(time: .string("2019-06-03"), value: 84.35), LineData(time: .string("2019-06-04"), value: 85.66), LineData(time: .string("2019-06-05"), value: 86.51) ] override func viewDidLoad() { super.viewDidLoad() if #available(iOS 13.0, *) { view.backgroundColor = .systemBackground } else { view.backgroundColor = .white } setupUI() setupData() setupSubscription() setLastBarText() } private func setupUI() { let padding: CGFloat = 16 legendLabel.text = legend legendLabel.font = .systemFont(ofSize: 18) legendLabel.textColor = .darkText legendLabel.numberOfLines = 3 view.addSubview(legendLabel) legendLabel.translatesAutoresizingMaskIntoConstraints = false if #available(iOS 11.0, *) { NSLayoutConstraint.activate([ legendLabel.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor, constant: padding), legendLabel.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor, constant: -padding), legendLabel.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: padding) ]) } else { NSLayoutConstraint.activate([ legendLabel.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: padding), legendLabel.trailingAnchor.constraint(equalTo: view.trailingAnchor, constant: -padding), legendLabel.topAnchor.constraint(equalTo: view.topAnchor, constant: padding) ]) } let options = ChartOptions( priceScale: PriceScaleOptions(scaleMargins: PriceScaleMargins(top: 0.35, bottom: 0.2), borderVisible: false), timeScale: TimeScaleOptions(borderVisible: false), crosshair: CrosshairOptions( vertLine: CrosshairLineOptions( color: "rgba(32, 38, 46, 0.1)", width: .two, style: .solid, visible: true, labelVisible: false ), horzLine: CrosshairLineOptions(visible: false, labelVisible: false) ), grid: GridOptions( verticalLines: GridLineOptions(color: "#ffffff"), horizontalLines: GridLineOptions(color: "#eee", visible: false) ) ) let chart = LightweightCharts(options: options) view.addSubview(chart) chart.translatesAutoresizingMaskIntoConstraints = false if #available(iOS 11.0, *) { NSLayoutConstraint.activate([ chart.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor), chart.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor), chart.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor), chart.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor) ]) } else { NSLayoutConstraint.activate([ chart.leadingAnchor.constraint(equalTo: view.leadingAnchor), chart.trailingAnchor.constraint(equalTo: view.trailingAnchor), chart.topAnchor.constraint(equalTo: view.topAnchor), chart.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) } self.chart = chart view.bringSubviewToFront(legendLabel) } private func setupData() { let options = AreaSeriesOptions( topColor: "rgba(19, 68, 193, 0.4)", bottomColor: "rgba(0, 120, 255, 0.0)", lineColor: "rgba(19, 40, 153, 1.0)", lineWidth: .three ) let series = chart.addAreaSeries(options: options) series.setData(data: data) self.series = series } private func setupSubscription() { chart.delegate = self chart.subscribeCrosshairMove() } private func setLastBarText() { let bar = data.last! let dateString: String switch bar.time { case let .businessDay(date): dateString = "\(date.year) - \(date.month) - \(date.day)" case let .string(date): dateString = date.split(separator: "-").joined(separator: " - ") case let .utc(timestamp: date): dateString = "\(date)" } legendLabel.text = "\(legend)\n\((bar.value! * 100).rounded() / 100)\n\(dateString)" } } // MARK: - ChartDelegate extension ThreeLineLegendViewController: ChartDelegate { func didClick(onChart chart: ChartApi, parameters: MouseEventParams) { } func didCrosshairMove(onChart chart: ChartApi, parameters: MouseEventParams) { if case let .businessDay(date) = parameters.time, case let .barPrice(price) = parameters.price(forSeries: series) { let dateString = "\(date.year) - \(date.month) - \(date.day)" self.legendLabel.text = "\(self.legend)\n\((price * 100).rounded() / 100)\n\(dateString)" } else { setLastBarText() } } func didVisibleTimeRangeChange(onChart chart: ChartApi, parameters: TimeRange?) { } }
53.426009
124
0.579612
831b05d4fa05f3094a7982aece445e9bd87c7472
12,325
lua
Lua
quick/samples/towerdefense/src/app/map/Map.lua
tianxiawuzhei/cocos-quick-lua
a7b9201b4ddf06929565b911bf0f9931ee66d5b0
[ "MIT" ]
1
2017-02-10T05:07:24.000Z
2017-02-10T05:07:24.000Z
quick/samples/towerdefense/src/app/map/Map.lua
tianxiawuzhei/cocos-quick-lua
a7b9201b4ddf06929565b911bf0f9931ee66d5b0
[ "MIT" ]
null
null
null
quick/samples/towerdefense/src/app/map/Map.lua
tianxiawuzhei/cocos-quick-lua
a7b9201b4ddf06929565b911bf0f9931ee66d5b0
[ "MIT" ]
1
2021-12-29T10:36:10.000Z
2021-12-29T10:36:10.000Z
--[[-- Map 对象的生命周期 Map.new() 创建 Map 对象实例 Map:init() 初始化 Map 对象 Map:createView() 创建 Map 对象的视图 Map:removeView() 删除 Map 对象的视图 Map:updateView() 更新 Map 对象的视图 Map:destroy() 销毁 Map 对象 Map:newObject() 创建新的地图子对象,并绑定行为 如果此时视图已经创建,则调用子对象的 createView() ]] local MapConstants = require("app.map.MapConstants") local MapCamera = require("app.map.MapCamera") local ObjectFactory = require("app.map.ObjectFactory") local Path = require("app.map.Path") local Map = class("Map") function Map:ctor(id, debug) self.id_ = id self.debug_ = debug self.debugViewEnabled_ = debug self.ready_ = false self.mapModuleName_ = string.format("maps.Map%sData", id) self.eventModuleName_ = string.format("maps.Map%sEvents", id) local ok, data = pcall(function() return require(self.mapModuleName_) end) if not ok or type(data) ~= "table" then data = { size = {width = CONFIG_SCREEN_WIDTH, height = CONFIG_SCREEN_HEIGHT}, objects = {}, } end self.data_ = clone(data) end function Map:init() self.width_ = self.data_.size.width self.height_ = self.data_.size.height self.imageName_ = self.data_.imageName if not self.imageName_ then self.imageName_ = string.format("Map%sBg.png", self.id_) end self.bgSprite_ = nil self.batch_ = nil self.marksLayer_ = nil self.promptLayer_ = nil self.debugLayer_ = nil self.objects_ = {} self.objectsByClass_ = {} self.nextObjectIndex_ = 1 -- 添加地图数据中的对象 for id, state in pairs(self.data_.objects) do local classId = unpack(string.split(id, ":")) self:newObject(classId, state, id) end -- 验证所有的路径 for i, path in pairs(self:getObjectsByClassId("path")) do path:validate() if not path:isValid() then echoInfo(string.format("Map:init() - invalid path %s", path:getId())) self:removeObject(path) end end -- 验证其他对象 for id, object in pairs(self.objects_) do local classId = object:getClassId() if classId ~= "path" then object:validate() if not object:isValid() then echoInfo(string.format("Map:init() - invalid object %s", object:getId())) self:removeObject(object) end end end -- 计算地图位移限定值 self.camera_ = MapCamera.new(self) self.camera_:resetOffsetLimit() -- 地图已经准备好 self.ready_ = true end --[[-- 返回地图的 Id ]] function Map:getId() return self.id_ end --[[-- 返回地图尺寸 ]] function Map:getSize() return self.width_, self.height_ end --[[-- 返回摄像机对象 ]] function Map:getCamera() return self.camera_ end --[[-- 确认地图是否处于 Debug 模式 ]] function Map:isDebug() return self.debug_ end --[[-- 确认是否允许使用调试视图 ]] function Map:isDebugViewEnabled() return self.debugViewEnabled_ end --[[-- 设置地图调试模式 ]] function Map:setDebugViewEnabled(isDebugViewEnabled) self.debugViewEnabled_ = isDebugViewEnabled for id, object in pairs(self.objects_) do object:setDebugViewEnabled(isDebugViewEnabled) end if self:getDebugLayer() then self:getDebugLayer():setVisible(isDebugViewEnabled) end end --[[-- 确认地图是否已经创建了视图 ]] function Map:isViewCreated() return self.batch_ ~= nil end --[[-- 创建新的对象,并添加到地图中 ]] function Map:newObject(classId, state, id) if not id then id = string.format("%s:%d", classId, self.nextObjectIndex_) self.nextObjectIndex_ = self.nextObjectIndex_ + 1 end local object = ObjectFactory.newObject(classId, id, state, self) object:setDebug(self.debug_) object:setDebugViewEnabled(self.debugViewEnabled_) object:resetAllBehaviors() -- validate max object index local index = object:getIndex() if index >= self.nextObjectIndex_ then self.nextObjectIndex_ = index + 1 end -- add object self.objects_[id] = object if not self.objectsByClass_[classId] then self.objectsByClass_[classId] = {} end self.objectsByClass_[classId][id] = object -- validate object if self.ready_ then object:validate() if not object:isValid() then echoInfo(string.format("Map:newObject() - invalid object %s", id)) self:removeObject(object) return nil end -- create view if self:isViewCreated() then object:createView(self.batch_, self.marksLayer_, self.debugLayer_) object:updateView() end end return object end --[[-- 从地图中删除一个对象 ]] function Map:removeObject(object) local id = object:getId() assert(self.objects_[id] ~= nil, string.format("Map:removeObject() - object %s not exists", tostring(id))) self.objects_[id] = nil self.objectsByClass_[object:getClassId()][id] = nil if object:isViewCreated() then object:removeView() end end --[[-- 从地图中删除指定 Id 的对象 ]] function Map:removeObjectById(objectId) self:removeObject(self:getObject(objectId)) end --[[-- 删除所有对象 ]] function Map:removeAllObjects() for id, object in pairs(self.objects_) do self:removeObject(object) end self.objects_ = {} self.objectsByClass_ = {} self.nextObjectIndex_ = 1 self.crossPointsOnPath_ = {} end --[[-- 检查指定的对象是否存在 ]] function Map:isObjectExists(id) return self.objects_[id] ~= nil end --[[-- 返回指定 Id 的对象 ]] function Map:getObject(id) assert(self:isObjectExists(id), string.format("Map:getObject() - object %s not exists", tostring(id))) return self.objects_[id] end --[[-- 返回地图中所有的对象 ]] function Map:getAllObjects() return self.objects_ end --[[-- 返回地图中特定类型的对象 ]] function Map:getObjectsByClassId(classId) -- dump(self.objectsByClass_[classId]) return self.objectsByClass_[classId] or {} end --[[-- 获取指定路径开始,下一个点的坐标 ]] function Map:getNextPointIndexOnPath(pathId, pointIndex, movingForward, reverseAtEnd) local path = self:getObject(pathId) if movingForward then pointIndex = pointIndex + 1 local count = path:getPointsCount() if pointIndex > count then pointIndex = count if reverseAtEnd then pointIndex = pointIndex - 1 movingForward = false end end else pointIndex = pointIndex - 1 if pointIndex < 1 then pointIndex = 1 if reverseAtEnd then pointIndex = 2 movingForward = true end end end return path, pointIndex, movingForward end --[[-- 建立地图的视图 ]] function Map:createView(parent) assert(self.batch_ == nil, "Map:createView() - view already created") cc.Texture2D:setDefaultAlphaPixelFormat(cc.TEXTURE2_D_PIXEL_FORMAT_RG_B565) self.bgSprite_ = display.newSprite(self.imageName_) cc.Texture2D:setDefaultAlphaPixelFormat(cc.TEXTURE2_D_PIXEL_FORMAT_RGB_A8888) self.bgSprite_:addNodeEventListener(cc.NODE_EVENT, function(event) -- 地图对象删除时,自动从缓存里卸载地图材质 if event.name == "exit" then display.removeSpriteFrameByImageName(self.imageName_) end end) self.bgSprite_:align(display.LEFT_BOTTOM, 0, 0) parent:addChild(self.bgSprite_) -- self.batch_ = display.newBatchNode("SheetMapBattle.png", 1000) self.batch_ = display.newNode() parent:addChild(self.batch_) self.marksLayer_ = display.newNode() parent:addChild(self.marksLayer_) if self.debug_ then self.debugLayer_ = display.newNode() parent:addChild(self.debugLayer_) end for id, object in pairs(self.objects_) do object:createView(self.batch_, self.marksLayer_, self.debugLayer_) object:updateView() end self:setAllObjectsZOrder() end --[[-- 删除视图 ]] function Map:removeView() assert(self.batch_ ~= nil, "Map:removeView() - view not exists") for id, object in pairs(self.objects_) do if object:isViewCreated() then object:removeView() end end self.bgSprite_:removeSelf() self.batch_:removeSelf() self.marksLayer_:removeSelf() if self.debugLayer_ then self.debugLayer_:removeSelf() end self.bgSprite_ = nil self.batch_ = nil self.marksLayer_ = nil self.debugLayer_ = nil end --[[-- 调用地图中所有对象的 updateView() ]] function Map:updateView() assert(self.batch_ ~= nil, "Map:removeView() - view not exists") for id, object in pairs(self.objects_) do object:updateView() end end --[[-- 按照 Y 坐标重新排序所有可视对象 ]] function Map:setAllObjectsZOrder() local batch = self.batch_ for id, object in pairs(self.objects_) do local view = object:getView() if view then if object.viewZOrdered_ then batch:reorderChild(view, MapConstants.MAX_OBJECT_ZORDER - object.y_) elseif type(object.zorder_) == "number" then batch:reorderChild(view, object.zorder_) else batch:reorderChild(view, MapConstants.DEFAULT_OBJECT_ZORDER) end object:updateView() end end end --[[-- 返回背景图 ]] function Map:getBackgroundLayer() return self.bgSprite_ end --[[-- 返回地图的批量渲染层 ]] function Map:getBatchLayer() return self.batch_ end --[[-- 返回用于显示地图标记的层 ]] function Map:getMarksLayer() return self.marksLayer_ end --[[-- 放回用于编辑器的批量渲染层 ]] function Map:getDebugLayer() return self.debugLayer_ end --[[-- 返回地图的数据 ]] function Map:vardump() local state = { objects = {}, size = {width = self.width_, height = self.height_}, imageName = self.imageName_, } for id, object in pairs(self.objects_) do state.objects[id] = object:vardump() end return state end --[[-- 导出地图数据 ]] function Map:dump() local lines = {} lines[#lines + 1] = "" lines[#lines + 1] = string.format("------------ MAP %s ------------", self.id_) lines[#lines + 1] = "" lines[#lines + 1] = "local map = {}" lines[#lines + 1] = "" lines[#lines + 1] = string.format("map.size = {width = %d, height = %d}", self.width_, self.height_) lines[#lines + 1] = string.format("map.imageName = \"%s\"", self.imageName_) lines[#lines + 1] = "" -- objects local allid = table.keys(self.objects_) table.sort(allid) lines[#lines + 1] = "local objects = {}" for i, id in ipairs(allid) do lines[#lines + 1] = "" lines[#lines + 1] = self.objects_[id]:dump("local object") lines[#lines + 1] = string.format("objects[\"%s\"] = object", id) lines[#lines + 1] = "" lines[#lines + 1] = "----" end lines[#lines + 1] = "" lines[#lines + 1] = "map.objects = objects" lines[#lines + 1] = "" lines[#lines + 1] = "return map" lines[#lines + 1] = "" return table.concat(lines, "\n") end --[[-- 从 package.path 中查找指定模块的文件名,如果失败返回 false。 @param string moduleName @return string ]] function Map:findModulePath(moduleName) local filename = string.gsub(moduleName, "%.", "/") .. ".lua" local paths = string.split(package.path, ";") for i, path in ipairs(paths) do if string.sub(path, -5) == "?.lua" then path = string.sub(path, 1, -6) if not string.find(path, "?", 1, true) then local fullpath = path .. filename if io.exists(fullpath) then return fullpath end end end end return false end --[[-- 导出地图数据到文件 ]] function Map:dumpToFile() local contents = self:dump() local path = self:findModulePath(self.mapModuleName_) if path then printf("save data filename \"%s\" [%s]", path, os.date("%Y-%m-%d %H:%M:%S")) io.writefile(path, contents) return true else printf("not found module file, dump [%s]", os.date("%Y-%m-%d %H:%M:%S")) echo("\n\n" .. contents .. "\n") return false end end --[[-- 重置地图状态 ]] function Map:reset(state) self:removeAllObjects() if self:isViewCreated() then self:removeView() end self.data_ = clone(state) self.ready_ = false self:init() end return Map
21.660808
110
0.617525
e3302727d80b13c5ff9c56f32f54eaf30573bcf6
1,177
asm
Assembly
src/modules/tapemod.asm
freem/nesmon
f12df78120f7b0a3610964ed2f1d4743e357d632
[ "0BSD" ]
2
2015-09-21T04:33:26.000Z
2015-11-06T02:32:29.000Z
src/modules/tapemod.asm
freem/nesmon
f12df78120f7b0a3610964ed2f1d4743e357d632
[ "0BSD" ]
null
null
null
src/modules/tapemod.asm
freem/nesmon
f12df78120f7b0a3610964ed2f1d4743e357d632
[ "0BSD" ]
null
null
null
;==============================================================================; ; nesmon/src/modules/tape.asm ; Cassette tape routines ;==============================================================================; ; This is entirely optional, though recommended if you have no other way of ; getting data out of the NES/Famicom. ; (Family BASIC Keyboard) ; The tape recorder is connected to the Family BASIC Keyboard using two mono ; phone jack cables (1/8 inches, 3.5mm), one for saving data, and one for ; loading data. ; (Front-Loading NES) ; Though not officially supported, a tape recorder can be used with the ; following schematic: http://nesdev.com/tapedrv.PNG ; Top loaders lack the required expansion port, as far as I remember. ;==============================================================================; ; Routine naming: tape_* ; Required routines: ; * tape_Load ; * tape_Save ;==============================================================================; ;==============================================================================; tape_Load: rts ;==============================================================================; tape_Save: rts
36.78125
80
0.440952
e754d03f370bc0f3c704d4f66b39e5e0ffa26ee2
462
js
JavaScript
grunt.js
lpenteri/news.app
6b501543d221d6703e2009bf9d8640ec72f1cc0a
[ "Apache-2.0" ]
null
null
null
grunt.js
lpenteri/news.app
6b501543d221d6703e2009bf9d8640ec72f1cc0a
[ "Apache-2.0" ]
null
null
null
grunt.js
lpenteri/news.app
6b501543d221d6703e2009bf9d8640ec72f1cc0a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/node // news app var newsapp = require('./newsapp.js'); // new app var app = new newsapp(); app.run(); // TODO: setup cleanup handler (unsubscribe and delete topic) /// \brief process handlers (CTRL+c, Kill, Exception) cleanup //process.stdin.resume(); //process.on('exit', exitHandler.bind(null,{cleanup:true})); //process.on('SIGINT', exitHandler.bind(null, {exit:true})); //process.on('uncaughtException', exitHandler.bind(null, {exit:true}));
28.875
71
0.692641
12343f6c8c018887793edd7f71d1dd8f2e3bcf36
2,328
kt
Kotlin
src/fr/cph/stock/android/task/MainTask.kt
carlphilipp/stock-tracker-android
7484c1b17928fcbf639cd03263a08d49c5753b39
[ "Apache-2.0" ]
null
null
null
src/fr/cph/stock/android/task/MainTask.kt
carlphilipp/stock-tracker-android
7484c1b17928fcbf639cd03263a08d49c5753b39
[ "Apache-2.0" ]
null
null
null
src/fr/cph/stock/android/task/MainTask.kt
carlphilipp/stock-tracker-android
7484c1b17928fcbf639cd03263a08d49c5753b39
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2017 Carl-Philipp Harmant * * * 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. */ package fr.cph.stock.android.task import android.os.AsyncTask import android.util.Log import fr.cph.stock.android.Constants.ERROR import fr.cph.stock.android.activity.StockTrackerActivity import fr.cph.stock.android.client.Client import fr.cph.stock.android.domain.ResponseDTO import fr.cph.stock.android.domain.UrlType import fr.cph.stock.android.exception.AppException import fr.cph.stock.android.util.UserContext import org.json.JSONObject //FIXME logout does not seem to be working class MainTask(private val activity: StockTrackerActivity, private val urlType: UrlType, private val params: Map<String, String>) : AsyncTask<Void, Void, ResponseDTO>() { override fun doInBackground(vararg params: Void): ResponseDTO { return try { Client.getResponse(urlType, this.params) } catch (e: AppException) { Log.e(TAG, e.message, e) val responseDTOError = ResponseDTO() responseDTOError.error = e.message responseDTOError } } override fun onPostExecute(responseDTO: ResponseDTO) { try { if (responseDTO.error == null) { UserContext.setup(responseDTO.portfolio.locale) when (urlType) { UrlType.LOGOUT -> activity.logOut() else -> activity.update(responseDTO.portfolio) } } else { activity.displayError(JSONObject().accumulate(ERROR, responseDTO.error)) } } catch (exception: Exception) { Log.e(TAG, exception.message, exception) } super.onPostExecute(responseDTO) } companion object { private val TAG = "MainTask" } }
34.235294
170
0.67354
126dc2607b6a307a2461ac1fcfda0e4a84b71acd
4,674
c
C
sdk-6.5.20/libs/sdklt/bcmlta/bcmltx/bcm56990_b0/bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler.c
copslock/broadcom_cpri
8e2767676e26faae270cf485591902a4c50cf0c5
[ "Spencer-94" ]
null
null
null
sdk-6.5.20/libs/sdklt/bcmlta/bcmltx/bcm56990_b0/bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler.c
copslock/broadcom_cpri
8e2767676e26faae270cf485591902a4c50cf0c5
[ "Spencer-94" ]
null
null
null
sdk-6.5.20/libs/sdklt/bcmlta/bcmltx/bcm56990_b0/bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler.c
copslock/broadcom_cpri
8e2767676e26faae270cf485591902a4c50cf0c5
[ "Spencer-94" ]
null
null
null
/******************************************************************************* * * DO NOT EDIT THIS FILE! * This file is auto-generated by fltg from Logical Table mapping files. * * Tool: $SDK/INTERNAL/fltg/bin/fltg * * Edits to this file will be lost when it is regenerated. * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* Logical Table Adaptor for component bcmltx */ /* Handler: bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler */ #include <bcmlrd/bcmlrd_types.h> #include <bcmltd/chip/bcmltd_id.h> #include <bcmltx/bcmltx_field_demux.h> #include <bcmdrd/chip/bcm56990_b0_enum.h> #include <bcmlrd/chip/bcm56990_b0/bcm56990_b0_lrd_xfrm_field_desc.h> extern const bcmltd_field_desc_t bcm56990_b0_lrd_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_src_field_desc_s0[]; extern const bcmltd_field_desc_t bcm56990_b0_lrd_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_dst_field_desc_d0[]; static const bcmltd_field_list_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_src_list_s0 = { .field_num = 2, .field_array = bcm56990_b0_lrd_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_src_field_desc_s0 }; static const bcmltd_field_list_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_dst_list_d0 = { .field_num = 2, .field_array = bcm56990_b0_lrd_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_dst_field_desc_d0 }; static const uint32_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_transform_src_s0[1] = { L3_SRC_IPV6_UC_ROUTE_OVERRIDEt_IPV6u_UPPERf, }; static const uint32_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_transform_dst_d0[2] = { UPR_KEY1_LPM_V6_KEY_D_IP_ADDR_0f, UPR_KEY0_LPM_V6_KEY_D_IP_ADDR_1f, }; static const bcmltd_generic_arg_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_comp_data = { .sid = L3_SRC_IPV6_UC_ROUTE_OVERRIDEt, .values = 0, .value = NULL, .user_data = NULL }; static const bcmltd_transform_arg_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler_fwd_arg_s0_d0 = { .values = 0, .value = NULL, .tables = 0, .table = NULL, .fields = 1, .field = bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_transform_src_s0, .field_list = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_src_list_s0, .rfields = 2, .rfield = bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_transform_dst_d0, .rfield_list = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_dst_list_d0, .comp_data = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_comp_data }; static const bcmltd_transform_arg_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler_rev_arg_s0_d0 = { .values = 0, .value = NULL, .tables = 0, .table = NULL, .fields = 2, .field = bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_transform_dst_d0, .field_list = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_dst_list_d0, .rfields = 1, .rfield = bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_transform_src_s0, .rfield_list = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_src_list_s0, .comp_data = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_comp_data }; const bcmltd_xfrm_handler_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler_fwd_s0_d0 = { .transform = bcmltx_field_demux_transform, .arg = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler_fwd_arg_s0_d0 }; const bcmltd_xfrm_handler_t bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler_rev_s0_d0 = { .transform = bcmltx_field_mux_transform, .arg = &bcm56990_b0_lta_bcmltx_field_demux_l3_src_ipv6_uc_route_overridet_ipv6u_upperf_0_xfrm_handler_rev_arg_s0_d0 };
44.942308
134
0.814078
0b83bfc7e85aab893f830a54d4b1eb6b31224483
43
py
Python
examples/getchar.py
scalabli/quo
70b6d4129ee705930f1f8a792fc4c9247d973f9d
[ "MIT" ]
3
2022-03-13T13:22:35.000Z
2022-03-18T08:22:51.000Z
examples/getchar.py
scalabli/quo
70b6d4129ee705930f1f8a792fc4c9247d973f9d
[ "MIT" ]
1
2022-03-21T16:29:54.000Z
2022-03-21T16:29:54.000Z
examples/getchar.py
scalabli/quo
70b6d4129ee705930f1f8a792fc4c9247d973f9d
[ "MIT" ]
null
null
null
from quo.getchar import getchar getchar()
10.75
31
0.790698
39ba63060a98264d50b88d069b64e85c7235e07b
752
js
JavaScript
client/build/precache-manifest.708493f575ba81e603ad2cd4dce696a8.js
jackilex/Library_Book_Playlist
ad36b499f8638bdcd6cc118cd8705a988e770313
[ "MIT" ]
null
null
null
client/build/precache-manifest.708493f575ba81e603ad2cd4dce696a8.js
jackilex/Library_Book_Playlist
ad36b499f8638bdcd6cc118cd8705a988e770313
[ "MIT" ]
null
null
null
client/build/precache-manifest.708493f575ba81e603ad2cd4dce696a8.js
jackilex/Library_Book_Playlist
ad36b499f8638bdcd6cc118cd8705a988e770313
[ "MIT" ]
null
null
null
self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "e401aa709f44ee8710d0edc154afe2ee", "url": "/index.html" }, { "revision": "4c4643617e6a10680e6b", "url": "/static/css/2.bb93bc02.chunk.css" }, { "revision": "b48c8fe025bf59c11176", "url": "/static/css/main.3077e57e.chunk.css" }, { "revision": "4c4643617e6a10680e6b", "url": "/static/js/2.b2717ffb.chunk.js" }, { "revision": "5ac48c47bb3912b14c2d8de4f56d5ae8", "url": "/static/js/2.b2717ffb.chunk.js.LICENSE.txt" }, { "revision": "b48c8fe025bf59c11176", "url": "/static/js/main.87179612.chunk.js" }, { "revision": "9b4e396c183e42c1fa5c", "url": "/static/js/runtime-main.09b85ec0.js" } ]);
25.066667
66
0.62367
074684db4579e90340c52e633c1a3a6035bcb3b6
9,552
rs
Rust
src/pulga.rs
carmesim/pulga
3df351a9cbd79e768517604e7d9af5de3f1a1482
[ "MIT" ]
2
2020-12-29T19:40:50.000Z
2021-02-01T20:31:51.000Z
src/pulga.rs
carmesim/newfetch
3df351a9cbd79e768517604e7d9af5de3f1a1482
[ "MIT" ]
1
2021-02-01T20:31:37.000Z
2021-02-26T14:19:39.000Z
src/pulga.rs
carmesim/pulga
3df351a9cbd79e768517604e7d9af5de3f1a1482
[ "MIT" ]
null
null
null
// TODO: /cpu/procinfo quirks // * Intel usually puts an @ with the frequency in `model name` // * AMD usually puts something like "Eight-Core Processor" in `model name` // (at least in the Ryzen series) // * `model nome` is really vague in Raspberry Pis. Getting `Hardware` would // be a better fit. use crate::{ screenres::get_screen_resolution, sysinfo::SysInfo, uname::UnameData, util::{char_ptr_to_string, os_str_to_string, get_base}, }; #[cfg(feature = "use_xlib")] use crate::screenresx11; use libc::{c_char, gethostname, getpwuid_r, getuid, passwd, sysconf}; use smallvec::{smallvec, SmallVec}; use std::{cmp, env, fs, mem, ptr}; #[derive(Debug)] pub struct UserData { pub username: String, // User's username pub hostname: String, // User's hostname pub cpu_info: String, // Some CPU info pub cwd: String, // User's current working directory. TODO: unneeded? pub hmd: String, // User's home directory pub shell: String, // User's standard shell pub desk_env: String, // User's desktop environment // pub distro_id: String, // User's distro ID name pub distro: String, // User's distro's pretty name pub uptime: String, // Time elapsed since boot pub editor: String, // User's default editor, as pointed by the EDITOR var env. pub kernel_version: String, // User's current kernel version pub total_memory: String, // Total memory in human-readable form pub used_memory: String, // Used memory in human-readable form pub monitor_res: String, // Resolution of currently connected monitors. } /// The number of threads the CPU can handle at any given time fn get_logical_cpus() -> usize { use libc::{cpu_set_t, sched_getaffinity, _SC_NPROCESSORS_ONLN}; let mut set: cpu_set_t = unsafe { mem::zeroed() }; let code = unsafe { sched_getaffinity(0, mem::size_of::<cpu_set_t>(), &mut set) }; // If sched_getaffinity returns 0 (succeeded) if code == 0 { let mut count = 0; for i in 0..libc::CPU_SETSIZE as usize { if unsafe { libc::CPU_ISSET(i, &set) } { count += 1 } } count } else { let cpus = unsafe { sysconf(_SC_NPROCESSORS_ONLN) }; cmp::max(1, cpus) as usize } } pub fn get_cpu_max_freq() -> Option<String> { let scaling_max_freq_str = match std::fs::read_to_string("/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq") { Ok(freq) => freq, Err(_) => return None, }; let max_freq_hz: usize = scaling_max_freq_str.trim().parse().ok()?; let max_freq_ghz = (max_freq_hz as f64) / 1000000.0; Some(format!("{:.2} GHz", max_freq_ghz)) } /// pretty_bytes gets a value in bytes and returns a human-readable form of it fn pretty_bytes(num: f64) -> String { let negative = if num < 0.0 { "-" } else { "" }; let num = num.abs(); const UNITS: &[&str] = &["B", "kB", "MB", "GB", "TB"]; if num < 1.0 { return format!("{}{} {}", negative, num, "B"); } let v1 = (num.ln() / 1024_f64.ln()).floor() as i32; let exponent = cmp::min(v1, 4_i32); let pretty_bytes = format!("{:.2}", num / 1024_f64.powi(exponent)); let unit: &str = UNITS[exponent as usize]; format!("{}{} {}", negative, pretty_bytes, unit) } /// get_user_data returns a new UserData structure pub fn get_user_data() -> UserData { let (username, home_dir, shell) = if let Some(res) = get_username_home_dir_and_shell() { res } else { let unknown = "Unknown".to_string(); (unknown.clone(), unknown.clone(), unknown) }; // Current working directory let cwd: String = os_str_to_string(env::current_dir().unwrap().as_ref()); let uname_data = UnameData::gather(); let hostname = get_hostname().unwrap_or_else(|| "Unknown".to_string()); let distro = get_distro().unwrap_or_else(|| "Linux".to_string()); let sys_info = SysInfo::gather(); #[cfg(feature = "use_xlib")] let resolution = unsafe { screenresx11::get_screen_resolution().join(" ") }; #[cfg(not(feature = "use_xlib"))] let resolution = get_screen_resolution().unwrap_or_else(|| "Unknown".to_string()); UserData { username, hostname, cpu_info: format!( "{} - {}x {}", get_cpu_model().unwrap_or_else(|| "Unknown".to_string()), get_logical_cpus(), get_cpu_max_freq().unwrap_or_else(|| "Unknown Freq.".to_string()), ), cwd, hmd: home_dir, shell, editor: get_default_editor().unwrap_or_else(|| "Unknown".to_string()), kernel_version: uname_data.release, desk_env: get_desktop_environment(), distro: format!("{} ({})", distro, uname_data.machine), uptime: get_uptime( // We pass to get_uptime the amount obtained with libc::sysinfo sys_info.uptime, ), total_memory: pretty_bytes(sys_info.total_ram as f64), used_memory: pretty_bytes((sys_info.total_ram - sys_info.free_ram) as f64), monitor_res: resolution, } } pub fn get_hostname() -> Option<String> { let hostname_max = unsafe { sysconf(libc::_SC_HOST_NAME_MAX) } as usize; let mut buffer = vec![0_u8; hostname_max + 1]; // +1 to account for the NUL character let ret = unsafe { gethostname(buffer.as_mut_ptr() as *mut c_char, buffer.len()) }; if ret == 0 { let end = buffer .iter() .position(|&b| b == 0) .unwrap_or_else(|| buffer.len()); buffer.resize(end, 0); String::from_utf8(buffer).ok() } else { None } } pub fn get_distro() -> Option<String> { let distro = std::fs::read_to_string("/etc/os-release").ok()?; for line in distro.lines().filter(|line| line.len() >= 11) { if let "PRETTY_NAME" = &line[..11] { return Some(line[13..].trim_matches('"').to_string()); } } Some("Linux".to_string()) } pub fn get_username_home_dir_and_shell() -> Option<(String, String, String)> { // Warning: let rustc infer the type of `buf`, as the value of // `buf.as_mut_ptr()` below may vary in type depending on the architecture // e.g.: *mut i8 on x86-64 // *mut u8 on ARMv7 let mut buf = [0; 2048]; let mut result = ptr::null_mut(); let mut passwd: passwd = unsafe { mem::zeroed() }; let getpwuid_r_code = unsafe { getpwuid_r( getuid(), &mut passwd, buf.as_mut_ptr(), buf.len(), &mut result, ) }; if getpwuid_r_code == 0 && !result.is_null() { let username = unsafe { char_ptr_to_string(passwd.pw_name) }; let home_dir = unsafe { char_ptr_to_string(passwd.pw_dir) }; let shell = unsafe { char_ptr_to_string(passwd.pw_shell) }; // From "/usr/bin/shell" to just "shell" let shell = get_base(&shell); Some((username, home_dir, shell)) } else { None } } pub fn get_cpu_model() -> Option<String> { let data = fs::read_to_string("/proc/cpuinfo").ok()?; for line in data.lines() { if line.len() < 11 { continue; } if let "model name" = &line[..10] { return Some(line[12..].splitn(2, '@').next().unwrap().trim().to_string()); }; } None } pub fn get_uptime(uptime_in_centiseconds: usize) -> String { let periods: SmallVec<[(u64, &str); 8]> = smallvec![ (60 * 60 * 24 * 365, "year"), (60 * 60 * 24 * 30, "month"), (60 * 60 * 24, "day"), (60 * 60, "hour"), (60, "minute"), (1, "second"), ]; // Ignore decimal places let mut uptime_in_seconds = uptime_in_centiseconds as u64; // Final result let mut uptime = String::new(); for (period, period_name) in periods { let times = uptime_in_seconds / period; if times > 0 { // Add space between entries if !uptime.is_empty() { uptime.push(' '); } uptime.push_str(&format!("{} ", times)); // Add the "year" period name uptime.push_str(period_name); // Fix plural if times > 1 { uptime.push('s'); } // Update for next uptime_in_seconds %= period; } } uptime } pub fn get_default_editor() -> Option<String> { let def_editor_path = std::env::var_os("EDITOR")?; let def_editor_path = def_editor_path.to_string_lossy(); // Return the editor's executable name, without its path Some( get_base(&def_editor_path) ) } pub fn get_desktop_environment() -> String { std::env::var_os("DESKTOP_SESSION") .map(|env| { let env = get_base(env.to_str().unwrap()).to_lowercase(); match env { _ if env.contains("gnome") => "Gnome", _ if env.contains("lxde") => "LXDE", _ if env.contains("openbox") => "OpenBox", _ if env.contains("i3") => "i3", _ if env.contains("ubuntu") => "Ubuntu", _ if env.contains("plasma") => "KDE", _ if env.contains("mate") => "MATE", _ => env.as_str(), } .into() }) .unwrap_or_else(|| "Unknown".to_string()) }
32.600683
96
0.57255
b5a592d4b8c77151aac4b04ed1695a6ca10f9c2f
1,101
rs
Rust
src/sprite.rs
intjelic/atari-2600
82f4d68f15718551a0c12ebd4cc2cb291287b8d4
[ "MIT" ]
null
null
null
src/sprite.rs
intjelic/atari-2600
82f4d68f15718551a0c12ebd4cc2cb291287b8d4
[ "MIT" ]
null
null
null
src/sprite.rs
intjelic/atari-2600
82f4d68f15718551a0c12ebd4cc2cb291287b8d4
[ "MIT" ]
null
null
null
// Copyright (c) 2020 - Jonathan De Wachter // // This source file is part of Atari 2600 Emulator which is released under the // MIT license. Please refer to the LICENSE file that can be found at the root // of the project directory. // // Written by Jonathan De Wachter <dewachter.jonathan@gmail.com>, December 2020 //! Brief description. //! //! This module defines something that is to be described. //! use crate::location::{GRP0, GRP1, REFP0, REFP1}; use crate::console::Console; use crate::console::Player; use crate::utils::byte_to_boolean_array; pub(crate) fn _player_bits(console: &Console, player: Player) -> [bool; 8] { match player { Player::One => byte_to_boolean_array(*console.memory(GRP0)), Player::Two => byte_to_boolean_array(*console.memory(GRP1)) } } pub(crate) fn _is_player_mirrored(console: &Console, player: Player) -> bool { match player { Player::One => *console.memory(REFP0) & 0b000_1000 != 0, Player::Two => *console.memory(REFP1) & 0b000_1000 != 0 } } #[cfg(test)] mod test { #[test] fn test_player() { } }
28.973684
79
0.675749
74d04c65b0019f72f186ff3c663c2c8adbfc47b1
1,767
rs
Rust
src/lib.rs
CryZe/WindWakerDebugMenu
9920269e0f772af9cb4bf61b0bdb2b8baa3d2ff8
[ "MIT" ]
26
2016-03-12T19:36:09.000Z
2022-03-30T22:33:32.000Z
src/lib.rs
CryZe/WindWakerDebugMenu
9920269e0f772af9cb4bf61b0bdb2b8baa3d2ff8
[ "MIT" ]
11
2016-03-17T19:01:12.000Z
2020-02-22T13:02:04.000Z
src/lib.rs
CryZe/WindWakerDebugMenu
9920269e0f772af9cb4bf61b0bdb2b8baa3d2ff8
[ "MIT" ]
9
2016-03-13T02:24:26.000Z
2022-03-06T19:56:26.000Z
#![no_std] #![allow(non_upper_case_globals)] use libtww::{game::Console, system::custom_game_loop}; use gcn_fonts::prelude::*; pub mod cheat_menu; pub mod controller; pub mod flag_menu; pub mod inventory_menu; pub mod main_menu; pub mod memory; pub mod popups; pub mod print; pub mod settings; pub mod spawn_menu; pub mod utils; pub mod warp_menu; pub static mut visible: bool = false; struct State { font: UploadedFont, settings: settings::Settings, } static mut STATE: Option<State> = None; unsafe fn get_state() -> &'static mut State { STATE.get_or_insert_with(|| State { font: gcn_fonts::include_font! { path: "res/Calamity-Bold.ttf", size: 18.0 }.upload(), settings: settings::Settings { drop_shadow: true }, }) } #[no_mangle] pub extern "C" fn game_loop() -> ! { let console = Console::get(); console.line_count = 32; console.x = 0; console.y = 16; console.font_scale_x *= 1.2; console.font_scale_y *= 1.2; console.background_color.a = 150; console.clear(); custom_game_loop(|| { cheat_menu::apply_cheats(); let d_down = controller::DPAD_DOWN.is_pressed(); let rt_down = controller::R.is_down(); let console = Console::get(); if unsafe { visible } { console.background_color.a = 150; utils::render(); } else if d_down && rt_down && unsafe { !popups::visible } { console.visible = true; unsafe { visible = true; } } else { // Only check popups if the Debug Menu is not open popups::check_global_flags(); } }) } #[no_mangle] pub unsafe extern "C" fn draw() { print::setup_draw(); memory::render_watches(); }
23.878378
94
0.613469
58eefb2a0e36497c6f55c8b89aa4c138b2ff76d1
440
rs
Rust
lib/c-api/src/wasm_c_api/mod.rs
webmaster128/wasmer
e9529c2c868c6c4d7f39bad2d2194682066a9522
[ "MIT" ]
24
2020-10-26T17:09:57.000Z
2020-11-05T10:09:22.000Z
lib/c-api/src/wasm_c_api/mod.rs
webmaster128/wasmer
e9529c2c868c6c4d7f39bad2d2194682066a9522
[ "MIT" ]
null
null
null
lib/c-api/src/wasm_c_api/mod.rs
webmaster128/wasmer
e9529c2c868c6c4d7f39bad2d2194682066a9522
[ "MIT" ]
2
2020-10-27T06:51:17.000Z
2020-10-27T06:57:07.000Z
//! Entrypoints for the standard C API #[macro_use] pub mod macros; pub mod engine; /// cbindgen:ignore pub mod externals; /// cbindgen:ignore pub mod instance; /// cbindgen:ignore pub mod module; /// cbindgen:ignore pub mod store; /// cbindgen:ignore pub mod trap; /// cbindgen:ignore pub mod types; /// cbindgen:ignore pub mod value; #[cfg(feature = "wasi")] pub mod wasi; pub mod wasmer; #[cfg(feature = "wat")] pub mod wat;
12.222222
38
0.686364
d2a623a652ebba9460340e7bab6f99b796377c86
68
sql
SQL
resources/migrations/000036_drop_song_requests_user_id_column.up.sql
partyoffice/spotifete
59d4fc8de4cdc3d8a3d7a4beaa72fdcb85c656e3
[ "MIT" ]
null
null
null
resources/migrations/000036_drop_song_requests_user_id_column.up.sql
partyoffice/spotifete
59d4fc8de4cdc3d8a3d7a4beaa72fdcb85c656e3
[ "MIT" ]
8
2021-08-30T20:04:34.000Z
2022-03-21T16:47:59.000Z
resources/migrations/000036_drop_song_requests_user_id_column.up.sql
47-11/SpotiFete
5cabd805a44f4c78b96340a0f1d6070aa52ceb83
[ "MIT" ]
null
null
null
BEGIN; ALTER TABLE song_requests DROP COLUMN user_id; COMMIT;
9.714286
25
0.75
f040ef34e6f7f28b762c5ac7fa85d111d72daca8
1,530
py
Python
cdk/consoleme_ecs_service/nested_stacks/vpc_stack.py
avishayil/consoleme-ecs-service
357f290c23fb74c6752961a4a4582e4cbab54e0a
[ "MIT" ]
2
2021-06-19T04:28:43.000Z
2021-06-19T06:12:25.000Z
cdk/consoleme_ecs_service/nested_stacks/vpc_stack.py
avishayil/consoleme-ecs-service
357f290c23fb74c6752961a4a4582e4cbab54e0a
[ "MIT" ]
10
2021-06-19T08:12:41.000Z
2021-06-20T22:00:34.000Z
cdk/consoleme_ecs_service/nested_stacks/vpc_stack.py
avishayil/consoleme-ecs-service
357f290c23fb74c6752961a4a4582e4cbab54e0a
[ "MIT" ]
null
null
null
""" VPC stack for running ConsoleMe on ECS """ import urllib.request from aws_cdk import ( aws_ec2 as ec2, core as cdk ) class VPCStack(cdk.NestedStack): """ VPC stack for running ConsoleMe on ECS """ def __init__(self, scope: cdk.Construct, id: str, **kwargs) -> None: super().__init__(scope, id, **kwargs) # VPC and security groups vpc = ec2.Vpc( self, 'Vpc', max_azs=2 ) consoleme_sg = ec2.SecurityGroup( self, 'LBSG', vpc=vpc, description='Consoleme ECS service load balancer security group', allow_all_outbound=True ) # Open ingress to the deploying computer public IP my_ip_cidr = urllib.request.urlopen( 'http://checkip.amazonaws.com').read().decode('utf-8').strip() + '/32' consoleme_sg.add_ingress_rule( peer=ec2.Peer.ipv4(cidr_ip=my_ip_cidr), connection=ec2.Port.tcp(port=443), description='Allow HTTPS traffic' ) redis_sg = ec2.SecurityGroup( self, 'ECSG', vpc=vpc, description='Consoleme Redis security group', allow_all_outbound=True ) redis_sg.connections.allow_from(consoleme_sg, port_range=ec2.Port.tcp( port=6379), description='Allow ingress from ConsoleMe containers') self.vpc = vpc self.redis_sg = redis_sg self.consoleme_sg = consoleme_sg
25.081967
82
0.578431
cf7ee5c10dee95f30d61d0afb3369f0c36ee1652
1,708
css
CSS
src/css/style.css
alinaYamkova/goit-js-hw-13-image-finder
9561809e2f405ff2caeecf9c1444b8cc41681095
[ "MIT" ]
null
null
null
src/css/style.css
alinaYamkova/goit-js-hw-13-image-finder
9561809e2f405ff2caeecf9c1444b8cc41681095
[ "MIT" ]
null
null
null
src/css/style.css
alinaYamkova/goit-js-hw-13-image-finder
9561809e2f405ff2caeecf9c1444b8cc41681095
[ "MIT" ]
null
null
null
*, *::before, *::after { box-sizing: inherit; padding: 0; /* outline: 1px solid red; */ } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; color: #fff; background-color: #020115; padding-left: 18px; padding-right: 18px; } .picturesConteiner_js { display: flex; margin-right: auto; margin-left: auto; padding-top: 20px; max-width: 1200px; /* flex-direction: row; */ justify-content: space-around; } img { display: block; } .gallery { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0 auto; } .search-form > input { width: 100%; height: 35px; background: rgb(217, 235, 255); } .photo-card { display: flex; padding: 15px 5px 5px; height: 180px; } .stats-item { box-sizing: border-box; height: 46px; margin: 5px; color: #3e00ff52; border-bottom: 2px groove #3e00ff52; cursor: pointer; text-align: center; } .stats-item:hover { color: rgba(255, 255, 255, 0.994); } .stats-item:hover>.material-icons { color: inherit; } /* .stats-item:not(:first-child) { margin-left: 2px; } */ .stats{ display: flex; /* padding-top: 6px; padding-bottom: 8px; */ justify-content: center; } .material-icons { display: flex; justify-content: center; color: #2200ff87; min-width: 53px; } .btn { display: inline-block; text-align: center; margin-left: 3px; margin-right: 3px; text-transform: uppercase; border: 0; background-color: #078af562; color: #ffffff; padding: 10px 20px; cursor: pointer; font-size: 12px; border-radius: 4px; } .hidden { display: none; }
16.423077
139
0.647541
5fbab8f7f0f7cb1f37c0d4c00328eb4fdd3b08dc
1,765
h
C
Assets/header/EmoticonPickViewController.h
NuolanNuolan/IPAPatch-master
0f1821950c9b26d504c73681673901b8efa1e44c
[ "MIT" ]
5
2017-09-21T06:56:18.000Z
2021-01-02T22:15:23.000Z
Assets/header/EmoticonPickViewController.h
NuolanNuolan/IPAPatch-master
0f1821950c9b26d504c73681673901b8efa1e44c
[ "MIT" ]
null
null
null
Assets/header/EmoticonPickViewController.h
NuolanNuolan/IPAPatch-master
0f1821950c9b26d504c73681673901b8efa1e44c
[ "MIT" ]
5
2017-11-14T03:18:42.000Z
2019-12-30T03:09:35.000Z
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "MMUIViewController.h" #import "EmoticonCustomManageAddLogicDelegate-Protocol.h" #import "UIAlertViewDelegate-Protocol.h" @class EmoticonCustomManageAddLogic, NSData, NSString, UIImage, UIImageView; @interface EmoticonPickViewController : MMUIViewController <EmoticonCustomManageAddLogicDelegate, UIAlertViewDelegate> { NSData *m_imageData; UIImage *m_image; UIImageView *m_emoticonBkgView; NSString *m_localMd5; UIImageView *_m_imageView; EmoticonCustomManageAddLogic *_addEmoticonLogic; } @property(retain, nonatomic) EmoticonCustomManageAddLogic *addEmoticonLogic; // @synthesize addEmoticonLogic=_addEmoticonLogic; @property(retain, nonatomic) UIImageView *m_imageView; // @synthesize m_imageView=_m_imageView; @property(retain, nonatomic) NSString *m_localMd5; // @synthesize m_localMd5; @property(retain, nonatomic) UIImageView *m_emoticonBkgView; // @synthesize m_emoticonBkgView; @property(retain, nonatomic) UIImage *m_image; // @synthesize m_image; - (void).cxx_destruct; - (void)AddEmoticonFinishedWithWrap:(id)arg1 IsSuccessed:(_Bool)arg2; - (void)alertView:(id)arg1 clickedButtonAtIndex:(long long)arg2; - (_Bool)realHasAlphaForImage:(id)arg1; - (id)dataRepresentationForImage:(id)arg1; - (void)viewDidLoad; - (void)Confirm; - (void)Cancel; - (void)showTipsAndQuit:(id)arg1; - (void)initToolBar; - (void)dealloc; // Remaining properties @property(readonly, copy) NSString *debugDescription; @property(readonly, copy) NSString *description; @property(readonly) unsigned long long hash; @property(readonly) Class superclass; @end
36.020408
127
0.78017
7a94f003354a469fb418885783baf42c3c8f9629
131
rb
Ruby
test/mailers/previews/account_mailer_preview.rb
zoniawebservices/sbanking
6b6920793d7b438d9f361d5ec78901fd064d03d9
[ "Apache-2.0" ]
null
null
null
test/mailers/previews/account_mailer_preview.rb
zoniawebservices/sbanking
6b6920793d7b438d9f361d5ec78901fd064d03d9
[ "Apache-2.0" ]
null
null
null
test/mailers/previews/account_mailer_preview.rb
zoniawebservices/sbanking
6b6920793d7b438d9f361d5ec78901fd064d03d9
[ "Apache-2.0" ]
null
null
null
# Preview all emails at http://localhost:3000/rails/mailers/account_mailer class AccountMailerPreview < ActionMailer::Preview end
26.2
74
0.824427
059ee1e43b5c485df1443215384962cbab782061
157
swift
Swift
SwiftUIKit/Core/UIKitConvenient/UI.swift
misshypocrite/iOS.SwiftUIKit
13996e47c635a27c1bf1b21d16141b287fa75a0d
[ "MIT" ]
6
2021-04-26T08:29:40.000Z
2022-03-07T18:33:50.000Z
SwiftUIKit/Core/UIKitConvenient/UI.swift
misshypocrite/iOS.SwiftUIKit
13996e47c635a27c1bf1b21d16141b287fa75a0d
[ "MIT" ]
null
null
null
SwiftUIKit/Core/UIKitConvenient/UI.swift
misshypocrite/iOS.SwiftUIKit
13996e47c635a27c1bf1b21d16141b287fa75a0d
[ "MIT" ]
2
2021-04-22T14:25:05.000Z
2022-03-07T18:36:30.000Z
// // UI.swift // SwiftUIKit // // Created by finos.son.le on 22/04/2021. // import Foundation /// Namespace for the view subclasses. public enum UI {}
13.083333
42
0.656051
bd62a81627cfa9eb43e8e1d296121423b164e769
2,617
rs
Rust
trigger-interpreter/src/iface_impl/action_manifest.rs
dalloriam/shift3
bd4b41b1a1377e6b4c02e9050da15a8632e003db
[ "MIT" ]
1
2020-11-05T21:37:31.000Z
2020-11-05T21:37:31.000Z
trigger-interpreter/src/iface_impl/action_manifest.rs
dalloriam/shift3
bd4b41b1a1377e6b4c02e9050da15a8632e003db
[ "MIT" ]
54
2020-06-11T02:20:17.000Z
2022-03-23T10:44:21.000Z
trigger-interpreter/src/iface_impl/action_manifest.rs
dalloriam/shift3
bd4b41b1a1377e6b4c02e9050da15a8632e003db
[ "MIT" ]
null
null
null
use std::{ fs, path::{Path, PathBuf}, sync::{ atomic::{AtomicU64, Ordering}, Arc, }, }; use anyhow::{ensure, Result}; use async_trait::async_trait; use gcloud::{auth, pubsub}; use protocol::ActionManifest; use toolkit::queue::MemoryQueue; use crate::interface::ActionManifestQueueWriter; pub struct PubSubActionManifestWriter { topic: pubsub::Topic, } impl PubSubActionManifestWriter { pub async fn new( project_id: String, authenticator: auth::AuthProvider, topic_id: String, ) -> Result<Self> { let client = pubsub::Client::new(&project_id, authenticator).await?; let topic = client.topic(&topic_id).await?; Ok(Self { topic }) } pub async fn from_credentials<P: AsRef<Path>>( project_id: String, credentials_file_path: P, topic: String, ) -> Result<Self> { let authenticator = auth::AuthProvider::from_json_file(credentials_file_path)?; Self::new(project_id, authenticator, topic).await } } #[async_trait] impl ActionManifestQueueWriter for PubSubActionManifestWriter { async fn push_action_manifest(&self, manifest: ActionManifest) -> Result<()> { self.topic.publish(manifest).await?; Ok(()) } } /// Writes action manifests to a directory. pub struct FileActionManifestWriter { counter: AtomicU64, path: PathBuf, } impl FileActionManifestWriter { pub fn new<P: AsRef<Path>>(path: P) -> Result<Self> { ensure!( path.as_ref().exists(), format!("{:?} does not exist", path.as_ref()) ); Ok(Self { counter: AtomicU64::new(0), path: PathBuf::from(path.as_ref()), }) } } #[async_trait] impl ActionManifestQueueWriter for FileActionManifestWriter { async fn push_action_manifest(&self, manifest: ActionManifest) -> Result<()> { let value = self.counter.fetch_add(1, Ordering::SeqCst); let path = self.path.join(format!("action_manifest_{}.txt", value)); let file_handle = fs::File::create(path)?; serde_json::to_writer(file_handle, &manifest)?; Ok(()) } } pub struct InMemoryActionManifestQueueWriter { queue: Arc<MemoryQueue>, } impl InMemoryActionManifestQueueWriter { pub fn new(queue: Arc<MemoryQueue>) -> Self { Self { queue } } } #[async_trait] impl ActionManifestQueueWriter for InMemoryActionManifestQueueWriter { async fn push_action_manifest(&self, manifest: ActionManifest) -> Result<()> { self.queue.publish(manifest)?; Ok(()) } }
24.92381
87
0.6389
85c8e60c1941f6a8b95f56213384a8fcfeae6a84
757
js
JavaScript
resources/assets/js/helpers/authorization.js
makkanimation/react-laravel
ba92ac63451229a37a22ab6b9f1a3bec723a7849
[ "MIT" ]
null
null
null
resources/assets/js/helpers/authorization.js
makkanimation/react-laravel
ba92ac63451229a37a22ab6b9f1a3bec723a7849
[ "MIT" ]
null
null
null
resources/assets/js/helpers/authorization.js
makkanimation/react-laravel
ba92ac63451229a37a22ab6b9f1a3bec723a7849
[ "MIT" ]
null
null
null
import decode from 'jwt-decode'; export function getToken() { return localStorage.getItem('token') } export function setToken(token) { localStorage.setItem('token', token) } export function loggedIn() { // Checks if there is a saved token and it's still valid const token = getToken() // GEtting token from localstorage return !!token && !isTokenExpired(token); } export function removeToken(){ localStorage.removeItem('token'); } export function isTokenExpired(token) { try { const decoded = decode(token); if (decoded.exp < Date.now() / 1000) { // Checking if token is expired. N return true; } else return false; } catch (err) { return false; } }
22.264706
81
0.628798
4a59377fe0fffe3ba6fea2c6865d167c435124a8
272
js
JavaScript
src/app/common/constants.js
x2gboye/guidebox
4f8b5debeffb2e08c06ab37d3b035e2be2045ea2
[ "MIT" ]
null
null
null
src/app/common/constants.js
x2gboye/guidebox
4f8b5debeffb2e08c06ab37d3b035e2be2045ea2
[ "MIT" ]
null
null
null
src/app/common/constants.js
x2gboye/guidebox
4f8b5debeffb2e08c06ab37d3b035e2be2045ea2
[ "MIT" ]
null
null
null
module.exports = (app) => { app.constant("CHANNELS", { none: { name: "", short_name: "" }, all: { name: "All Channels", short_name: "all" } }); };
19.428571
37
0.308824
9a0200f134452e5c1b19d6dd1eba8fe2d9ee7070
1,286
swift
Swift
PDSwift/Model/User.swift
PeideXiao/PDSwift
b4aae8e2efc938e1dc616a876221c0bf1247741d
[ "MIT" ]
1
2018-12-06T03:32:24.000Z
2018-12-06T03:32:24.000Z
PDSwift/Model/User.swift
PeideXiao/NewConcept
b4aae8e2efc938e1dc616a876221c0bf1247741d
[ "MIT" ]
null
null
null
PDSwift/Model/User.swift
PeideXiao/NewConcept
b4aae8e2efc938e1dc616a876221c0bf1247741d
[ "MIT" ]
null
null
null
// // User.swift // PDSwift // // Created by 肖培德 on 11/25/18. // Copyright © 2018 肖培德. All rights reserved. // import UIKit @objcMembers class User: NSObject { var id : NSNumber? var name: String? var profile_image_url:String? // 认证类型 -1:没有认证,0,认证用户,2,3,5: 企业认证,220: 草根明星(达人) var verified_type: NSNumber? var verifiedImage:UIImage?{ switch verified_type?.intValue { case 0: //未认证 return UIImage(named: "avatar_vip") case 2,3,5: return UIImage(named: "avatar_enterprise_vip") case 220: return UIImage(named: "avatar_grassroot") default: return UIImage(named: "avatar_vip") } } var vipLevelImage:String?{ if let level = mbrank?.intValue { if level >= 0 && level < 7 { return "common_icon_membership_level\(level)" } } return "common_icon_membership_expired" } var avatar_large: String? // 1~6 一共6级会员 var verified_level:NSNumber? var mbrank:NSNumber? init(dict: [String : AnyObject]) { super.init() setValuesForKeys(dict) } override func setValue(_ value: Any?, forUndefinedKey key: String) {} }
22.964286
73
0.569984
302c83dea4c311697ebc5093d2a7de356892fc23
37
sql
SQL
DB/database.sql
Cygnut/Poco
94fe127dacf479c259f086e1ceef884966822c3f
[ "MIT" ]
null
null
null
DB/database.sql
Cygnut/Poco
94fe127dacf479c259f086e1ceef884966822c3f
[ "MIT" ]
null
null
null
DB/database.sql
Cygnut/Poco
94fe127dacf479c259f086e1ceef884966822c3f
[ "MIT" ]
null
null
null
CREATE DATABASE IF NOT EXISTS `poco`
37
37
0.783784
184289b41a24ac9faadb19aa8a456e22362fe2f0
4,381
css
CSS
app/styles/styles.css
nisargkolhe/safecup-web
4c5642f97f44c7fee0e36688c9d9024c370650f0
[ "CC-BY-4.0" ]
null
null
null
app/styles/styles.css
nisargkolhe/safecup-web
4c5642f97f44c7fee0e36688c9d9024c370650f0
[ "CC-BY-4.0" ]
null
null
null
app/styles/styles.css
nisargkolhe/safecup-web
4c5642f97f44c7fee0e36688c9d9024c370650f0
[ "CC-BY-4.0" ]
null
null
null
html, body { font-family: 'Raleway', 'Helvetica', sans-serif; margin: 0; padding: 0; background: linear-gradient( to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6) ),url(../images/michael-discenza-199756.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; color: #f0f0f0; } h1{ font-family: 'Arkhip', 'Helvetica', sans-serif; font-size: 2.5em; text-decoration: underline; } section a{ color: #000; text-decoration: none; border-bottom: 2px solid #000; -webkit-transition:all .1s ease; -moz-transition:all .1s ease; -ms-transition:all .1s ease; -o-transition:all .1s ease; transition:all .1s ease; } section a:hover{ color: #0f0f0f; padding-bottom: 2px; } #header { font-family: 'Arkhip', 'Helvetica', sans-serif; top: 0; margin-top: 2em; width: 100%; list-style-type:none; padding:0; overflow:hidden; position: fixed; z-index: 99; display: -webkit-inline-flex; /* Safari */ display: inline-flex; -webkit-flex-direction: row; /* Safari */ flex-direction: row; -webkit-justify-content: center; /* Safari */ justify-content: center; -webkit-align-items: center; /* Safari */ align-items: center; } #header a{ color:#f0f0f0; text-decoration: none; border-bottom: 0px solid #fff; -webkit-transition:all .1s ease; -moz-transition:all .1s ease; -ms-transition:all .1s ease; -o-transition:all .1s ease; transition:all .1s ease; } #header a:hover{ color: #fff; border-bottom: 3px solid #fff; } .headitem{ margin: 0 2em; } .logo{ width: 550px; height: auto; -webkit-transition:all .3s ease; -moz-transition:all .3s ease; -ms-transition:all .3s ease; -o-transition:all .3s ease; transition:all .3s ease; } .heroBg{ top: 0; height: 100%; z-index: 0; width:100%; background: url(../images/michael-discenza-199756.jpg) no-repeat center center fixed; position: fixed; } .hero{ padding-top: 250px; height: 100%; display: flex; justify-content: center; text-align: center; margin: 5em; text-shadow: 0 1px 0 black; } .hero h1{ font-family: 'Nexa Bold', Helvetica, Arial, sans-serif !important; font-size: 2.5em !important; text-decoration: none; } .problem{ padding: 2em 0; text-align: center; background-color: #fff; color: #0f0f0f; } .solution{ display: flex; -webkit-justify-content: center; /* Safari */ justify-content: center; -webkit-align-items: center; /* Safari */ align-items: center; } .science{ width: 100%; margin: -154px 0; min-height: 500px; background: url(../images/science.jpg); background-attachment: fixed; background-size: cover; } .team{ display: flex; flex-wrap: wrap; -webkit-justify-content: center; /* Safari */ justify-content: center; -webkit-align-items: center; /* Safari */ align-items: center; -webkit-flex-direction: row; /* Safari */ flex-direction: row; } .teamBox{ margin: 2em; } .teamBox img{ height: 200px; width: 200px !important; border-radius: 50%; filter: grayscale(100%); -webkit-filter: grayscale(100%); -webkit-transition:all 1s ease; -moz-transition:all 1s ease; -ms-transition:all 1s ease; -o-transition:all 1s ease; transition:all 1s ease; } .teamBox img:hover { filter: grayscale(0%); -webkit-filter: grayscale(0%); -webkit-transition:all 1s ease; -moz-transition:all 1s ease; -ms-transition:all 1s ease; -o-transition:all 1s ease; transition:all 1s ease; } .footer{ margin: 2em; text-align: center; color: #f0f0f0; line-height: 2em; } section .in{ margin: 0 auto; width: 800px; padding: 1em; } section .in p{ line-height: normal; font-size: 1.5em; } .no-pad { padding:0!important; } .seperator { line-height:0; } .seperator img { width:100%; } .love { display: inline-block; position: relative; top: .2em; font-size: 1.4em; color: #e74c3c; -webkit-transform: scale(.9); -moz-transform: scale(.9); transform: scale(.9); -webkit-animation: love 0.7s infinite linear alternate-reverse; -moz-animation: love 0.7s infinite linear alternate-reverse; animation: love 0.7s infinite linear alternate-reverse; } @-webkit-keyframes love { to {-webkit-transform: scale(1.0);} } @-moz-keyframes love { to {-moz-transform: scale(1.0);} } @keyframes love { to {transform: scale(1.0);} } .clearboth{ clear:both; }
18.485232
87
0.672449
0cc6b77ea41d331e83dae3c140155ab948a16ad5
400
asm
Assembly
programs/oeis/156/A156180.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/156/A156180.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/156/A156180.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A156180: Denominator of Euler(n,1/3). ; 1,6,9,108,81,486,729,17496,6561,39366,59049,708588,531441,3188646,4782969,229582512,43046721,258280326,387420489,4649045868,3486784401,20920706406,31381059609,753145430616,282429536481,1694577218886,2541865828329,30502389939948 add $0,1 mov $1,4 pow $1,$0 sub $3,$0 gcd $1,$3 lpb $0 sub $0,1 mul $1,3 mov $2,1 lpe add $1,$2 sub $1,4 div $1,3 add $1,1
22.222222
229
0.7375
e9b5f638850c1691b66c9e46134fb7620231addc
16,293
rs
Rust
src/main.rs
kevin-logan/rsr
90c60e989e3e369413e89ab241ffae7b3cdd4061
[ "Apache-2.0" ]
null
null
null
src/main.rs
kevin-logan/rsr
90c60e989e3e369413e89ab241ffae7b3cdd4061
[ "Apache-2.0" ]
null
null
null
src/main.rs
kevin-logan/rsr
90c60e989e3e369413e89ab241ffae7b3cdd4061
[ "Apache-2.0" ]
null
null
null
macro_rules! info { ( $quiet:expr, $($args:expr),+ ) => { if !($quiet) { println!($($args),*); } } } struct StringReplacer { search_expression: Option<regex::Regex>, replace_pattern: Option<String>, } impl StringReplacer { pub fn new( search_expression: Option<regex::Regex>, replace_pattern: Option<String>, ) -> StringReplacer { match (search_expression, replace_pattern) { // if no search but there is a replace we'll need a basic search (None, Some(replace)) => StringReplacer { search_expression: Some( regex::Regex::new(".*").expect("Failed to compile simple '.*' expression"), ), replace_pattern: Some(replace), }, (search, replace) => StringReplacer { search_expression: search, replace_pattern: replace, }, } } pub fn matches(&self, text: &str) -> bool { match &self.search_expression { Some(expression) => expression.is_match(text), None => true, } } pub fn has_search(&self) -> bool { return self.search_expression.is_some(); } pub fn has_replace(&self) -> bool { return self.replace_pattern.is_some(); } pub fn do_replace<'t>(&self, text: &'t str) -> std::borrow::Cow<'t, str> { match &self.search_expression { Some(search) => match &self.replace_pattern { Some(replace) => search.replace_all(text, replace.as_str()), None => std::borrow::Cow::from(text), }, None => std::borrow::Cow::from(text), } } } struct RSRInstance { filename_replacer: StringReplacer, text_replacer: StringReplacer, prompt: bool, quiet: bool, } impl RSRInstance { pub fn new( filename_replacer: StringReplacer, text_replacer: StringReplacer, prompt: bool, quiet: bool, ) -> RSRInstance { RSRInstance { filename_replacer, text_replacer, prompt, quiet, } } pub fn handle_directory(&self, directory: &std::path::Path) { match directory.read_dir() { Ok(iter) => { for entry in iter { if let Ok(entry) = entry { let path = entry.path(); if let Ok(file_type) = entry.file_type() { if file_type.is_dir() { self.handle_directory(&path); } else { self.handle_file(&path); } } else { info!(self.quiet, "Ignored {:?}, could not get file type", path); } } else { info!(self.quiet, "Ignoring invalid entry within {:?}", directory); } } } Err(e) => info!( self.quiet, "Skipping {:?}, error iterating directory: {}", directory, e ), } } fn handle_file(&self, file: &std::path::Path) { if let Some(filename) = file.file_name() { if let Some(filename) = filename.to_str() { if self.filename_replacer.matches(&filename) { let mut print_filename = true; if self.text_replacer.has_replace() { print_filename = false; // did something so no need to print filename self.replace_file_contents(&filename, &file); } else if self.text_replacer.has_search() { print_filename = false; // did something so no need to print filename self.search_file_contents(&file); } // do we need to rename? if self.filename_replacer.has_replace() { let new_filename = self.filename_replacer.do_replace(filename); let new_path = file.with_file_name(new_filename.as_ref()); if new_path != file { print_filename = false; // did something so no need to print filename if self.confirm(&format!("Rename {:?} => {:?}?", file, new_path)) { if let Err(e) = std::fs::rename(file, &new_path) { println!( "Failed to rename {:?} to {:?}: {}!", file, new_path, e ); }; } } } // if we didn't do text search or a rename it's just file match if print_filename { info!(self.quiet, "{}", file.to_string_lossy()); } } } else { info!( self.quiet, "Skipping {:?} as the the filename could not be parsed", file ); } } else { info!(self.quiet, "Skipping {:?} as the it had no filename", file); } } fn replace_file_contents(&self, input_filename: &str, input_path: &std::path::Path) { let mut read_option = std::fs::OpenOptions::new(); read_option.read(true); if let Ok(input_file) = read_option.open(&input_path) { let tmp_file = input_path.with_file_name(input_filename.to_owned() + ".rsr_tmp"); let mut write_option = std::fs::OpenOptions::new(); write_option.write(true).create_new(true); match write_option.open(&tmp_file) { Ok(output_file) => { use std::io::{BufRead, Write}; let mut reader = std::io::BufReader::new(input_file); let mut writer = std::io::BufWriter::new(output_file); let mut line_number = 1; loop { line_number += 1; // starts at zero so increment first let mut line = String::new(); match reader.read_line(&mut line) { Ok(count) => { // 0 count indicates we've read everything if count == 0 { break; } let new_line = self.text_replacer.do_replace(&line); let result = if new_line != line && self.confirm(&format!( "{}:{}\n\t{}\n\t=>\n\t{}", input_path.to_string_lossy(), line_number, line.trim(), new_line.trim() )) { writer.write_all(new_line.as_bytes()) } else { writer.write_all(line.as_bytes()) }; if let Err(e) = result { // this is actually an error, print regardless of quiet level println!( "Skipping {:?} as not all lines could be written to {:?}: {}", input_path, tmp_file, e ); std::fs::remove_file(tmp_file).unwrap_or(()); // we don't care if the remove fails return; } } Err(e) => { // this is actually an error, print regardless of quiet level println!( "Skipping {:?} as not all lines could be read: {}", input_path, e ); std::fs::remove_file(tmp_file).unwrap_or(()); // we don't care if the remove fails return; } } } // if we got here we've successfully read and written everything, close the files and rename the temp drop(reader); drop(writer); if let Ok(old_metadata) = std::fs::metadata(&input_path) { if let Err(e) = std::fs::set_permissions(&tmp_file, old_metadata.permissions()) { println!("Failed to match permissions for {:?}, permissions may have changed: {}", input_path, e); } } if let Err(e) = std::fs::rename(&tmp_file, &input_path) { // this is actually an error, print regardless of quiet level println!( "Failed to rename temporary file {:?} to original file {:?}: {}", tmp_file, input_path, e ); } } Err(e) => { // this is actually an error, print regardless of quiet level println!( "Skipping {:?} as the the temporary file {:?} could not be opened: {}", input_path, tmp_file, e ); } } } else { info!( self.quiet, "Skipping {:?} as the the file could not be opened", input_path ); } } fn search_file_contents(&self, input_path: &std::path::Path) { let mut read_option = std::fs::OpenOptions::new(); read_option.read(true); if let Ok(input_file) = read_option.open(&input_path) { use std::io::BufRead; let mut reader = std::io::BufReader::new(input_file); let mut line_number = 0; loop { line_number += 1; // starts at zero so increment first let mut line = String::new(); match reader.read_line(&mut line) { Ok(count) => { // 0 count indicates we've read everything if count == 0 { break; } if self.text_replacer.matches(&line) { info!( self.quiet, "{}:{: <8}{}", input_path.to_string_lossy(), line_number, line.trim() ); } } Err(e) => { // this is actually an error, print regardless of quiet level println!( "Skipping {:?} as not all lines could be read: {}", input_path, e ); return; } } } // if we got here we've successfully read and written everything, close the files and rename the temp drop(reader); } else { info!( self.quiet, "Skipping {:?} as the the file could not be opened", input_path ); } } fn confirm(&self, message: &str) -> bool { match self.prompt { true => { println!("{} ... Confirm [y/N]: ", message); let mut user_response = String::new(); match std::io::stdin().read_line(&mut user_response) { Ok(_) => user_response.trim() == "y", Err(_) => false, } } false => true, } } } fn main() { let args = clap::App::new("Recursive Search & Replace") .version("0.1.0") .about("A Recursive Search & Replace program which can find all files matching a pattern and find matches of another pattern in those files and potentially replace those as well") .author("Kevin Logan") .arg(clap::Arg::with_name("input") .short("i") .long("input") .required(false) .help("A regex pattern to filter files which will be included") .takes_value(true)) .arg(clap::Arg::with_name("output") .short("o") .long("output") .required(false) .help("A replacement pattern to be applied to <input> (or '.*' if <input> is not provided) to produce the output filename") .takes_value(true)) .arg(clap::Arg::with_name("search") .short("s") .long("search") .required(false) .help("A regex pattern for text to search for in the searched files") .takes_value(true)) .arg(clap::Arg::with_name("replace") .short("r") .long("replace") .required(false) .help("A replacement pattern to replace any matching text with again <search>. May include references to capture groups, e.g. ${1} or named capture groups like ${name} which would be captured as (?P<name>.*). The curly-brackets are optional but may be required to distinguish between the capture and the rest of the replacement text") .takes_value(true)) .arg(clap::Arg::with_name("prompt") .short("p") .long("prompt") .required(false) .help("If set, a y/N prompt will allow the user to decide if each instance of the found text should be replaced. Only relevant if <replace_pattern> is used") .takes_value(false)) .arg(clap::Arg::with_name("quiet") .short("q") .long("quiet") .required(false) .help("If set, supresses any messages that are neither required nor errors") .takes_value(false)) .arg(clap::Arg::with_name("dir") .required(false) .index(1) .help("The directory to search for files within")) .get_matches(); let dir = match args.value_of("dir") { Some(value) => std::path::Path::new(value), None => std::path::Path::new("."), }; let input = match args.value_of("input") { Some(pattern) => match regex::Regex::new(&pattern) { Ok(regex) => Some(regex), Err(e) => { println!("Failed to compile regex {}: {}", pattern, e); None } }, None => None, }; let output = match args.value_of("output") { Some(value) => Some(String::from(value)), None => None, }; let search = match args.value_of("search") { Some(pattern) => match regex::Regex::new(&pattern) { Ok(regex) => Some(regex), Err(e) => { println!("Failed to compile regex {}: {}", pattern, e); None } }, None => None, }; let replace = match args.value_of("replace") { Some(value) => Some(String::from(value)), None => None, }; let prompt = args.is_present("prompt"); let quiet = args.is_present("quiet"); let filename_replace = StringReplacer::new(input, output); let text_replace = StringReplacer::new(search, replace); let instance = RSRInstance::new(filename_replace, text_replace, prompt, quiet); instance.handle_directory(dir); }
39.546117
346
0.441478
de20947793252bebd99d83c30204a1c4d1bc850e
203,870
sql
SQL
database/seeds/script/mysql_martyrs.sql
hieunv2/staffmanager
cd959c1c0b1c5598f15dae8b6f5c3919c9fa11ca
[ "MIT" ]
null
null
null
database/seeds/script/mysql_martyrs.sql
hieunv2/staffmanager
cd959c1c0b1c5598f15dae8b6f5c3919c9fa11ca
[ "MIT" ]
6
2021-03-10T13:12:14.000Z
2022-02-27T02:20:55.000Z
database/seeds/script/mysql_martyrs.sql
hieunv2/staffmanager
cd959c1c0b1c5598f15dae8b6f5c3919c9fa11ca
[ "MIT" ]
null
null
null
INSERT INTO `martyrs` (`id`, `ministry_code`, `province_code`, `full_name`, `nickname`, `birth_date`, `birth_month`, `birth_year`, `sex`, ward_id, `district_id`, `province_id`, `enlistment_day`, `rank`, `position`, `dead_date`, `dead_month`, `dead_year`, `dead_place_by_notice`, `dead_place_by_family`, `combat_unit`, `martyrs_cemetery_id`, `cemetery_ward_id`, `cemetery_district_id`, `cemetery_province_id`) VALUES ('1', 'MLS_1', '', 'Trần văn toả', '', '0', '0', '0', '0', '0991', '031', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '0', '0', '89'), ('2', 'MLS_3', '', ' Đoàn Dự', '', '1', '1', '1920', '1', '00721', '026', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '30337', '886', '89'), ('4', 'MLS_1', '', 'trần văn minh', '', '2', '1', '1851', '1', '0991', '031', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '30337', '886', '89'), ('5', 'MLS_7', '', 'lê thị thảo', '', '0', '0', '0', '0', '0991', '031', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '30337', '886', '89'), ('6', 'MLS_8', '', 'Mai Thu Hương', '', '0', '0', '0', '2', '0991', '031', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '30337', '886', '89'), ('7', 'MLS_10', 'NULL', 'Hoàng văn thái', 'NULL', '0', '0', '0', '0', '0991', '031', '02', NULL, 'NULL', 'NULL', '0', '0', '0', 'NULL', 'NULL', 'NULL', '5', '0991', '031', '02'), ('8', 'MLS_11', '', 'trần vâ', '', '0', '0', '0', '1', '0991', '031', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '30337', '886', '89'), ('9', 'MLS_12', '', 'trần nam', '', '0', '0', '0', '1', '0991', '031', '02', NULL, '', '', '0', '0', '0', '', '', '', '0', '30337', '886', '89'), ('10', 'MLS_13', 'NULL', 'Trần văn duy', 'NULL', '0', '0', '0', '0', '0991', '031', '02', NULL, 'NULL', 'NULL', '0', '0', '0', 'NULL', 'NULL', 'NULL', '5', '0991', '031', '02'), ('39', 'HD/LS 22447', '', 'Tiêu Hà Hiề', '', '0', '0', '0', '1', '10828', '294', '30', NULL, 'Hạ sĩ ', 'Chiến sĩ QĐNDV', '28', '8', '1974', 'Mặt trận phía Nam', '', '', '1', '', '0', '2'), ('40', '0 có mã Bộ', 'TTH/LS 13923', 'Nguyễn Sỹ Quế', '', '0', '0', '1949', '1', '19798', '474', '46', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '10', '10', '1970', '', '', 'Thuộc P2', '0', '19513', '466', '45'), ('41', 'TT/LS 12626', 'TT/LS 3211', 'Hoàng Đãi', '', '0', '0', '1945', '1', '19870', '477', '46', NULL, 'Hạ sĩ', 'Tiểu đội phó', '28', '8', '1966', '"Phong Hiề', ' Phong Điề', 'Bộ đội chủ lực huyện Quảng Điề', '5Q 870b', '2', '1', '0'), ('42', 'TT/LS 13399', 'TT/LS 3212', 'Văn Cách', '', '0', '0', '1949', '1', '19876', '477', '46', NULL, 'Hạ sĩ', '', '1', '7', '1967', '"Phong Nhiê', ' Hương Điề', 'Chiến sĩ đại đội 114 huyện đội Quảng Điề', '5U 879b', '2', '2', '0'), ('43', 'TT/LS 13396', 'TT/LS 3213', 'Lê Khương', '', '0', '0', '1936', '1', '19870', '477', '46', NULL, 'Hạ sĩ', '', '30', '6', '1966', '"Ngã 4 Vùng Vàng', ' Phong Điền"', 'Chiến sĩ huyện đội Phong Điền cũ', '2', '', '', '0'), ('44', 'TT/LS 13418', 'TT/LS 3214', 'Thái Văn Kĩnh', '', '0', '0', '1945', '1', '19870', '477', '46', NULL, 'Hạ sĩ', '', '30', '6', '1967', '"Quảng Vinh', ' Quảng Điề', 'Chiến sĩ huyện đội Quảng Lợi', '5U 983b', '2', '1', '0'), ('45', 'TT/LS 13856', 'TT/LS 3215', 'Lê Trớt', '', '0', '0', '1939', '1', '19870', '477', '46', NULL, 'Binh nhất', '', '7', '2', '1965', '"Quảng Lợi', ' Quảng Điề', 'Chiến sĩ huyện đội Quảng Điề', '1', '', '0', '2'), ('46', 'TT/LS 13397', 'TT/LS 3216', 'Hoàng Cho', '', '0', '0', '1940', '1', '19870', '477', '46', NULL, 'Binh nhất', '', '28', '8', '1966', '"Phong Hiề', ' Phong Điề', 'Chiến sĩ K10 tỉnh Thừa Thiê', '2', '', '0', '2'), ('47', 'TT/LS 13848', 'TT/LS 3218', 'Nguyễn Mót', '', '0', '0', '1925', '1', '19876', '477', '46', NULL, '', 'Chiến sĩ', '18', '5', '1949', '"Phong Thu', ' Phong Điề', 'Bộ đội chủ lực huyện Hương Điền (cũ),', '1', '', '0', '2'), ('48', 'TT/LS 13849', 'TT/LS 3219', 'Nguyễn Xưng', '', '0', '0', '1924', '1', '19876', '477', '46', NULL, '', 'Chiến sĩ', '31', '12', '1951', '"Đường 9', ' Quảng Trị"', 'Vệ quốc đoà', '2', '', '0', '2'), ('49', 'TT/LS 13850', 'TT/LS 3220', 'Văn Hứa', '', '0', '0', '1925', '1', '19870', '477', '46', NULL, '', 'Chiến sĩ', '24', '2', '1952', '"Đường 9', ' Quảng Trị"', 'Vệ quốc đoà', '1', '', '0', '2'), ('50', 'TT/LS 13851', 'TT/LS 3221', 'Văn Vỉ', '', '0', '0', '1920', '1', '19876', '477', '46', NULL, '', 'Chiến sĩ', '6', '6', '1952', '"Phong Mỹ', ' Phong Điề', 'Vệ quốc đoà', '1EC 411b', '2', '2', '0'), ('51', 'TT/LS 13420', 'TT/LS 3222', 'Cao Giai', '', '0', '0', '1908', '1', '19876', '477', '46', NULL, '', 'Chiến sĩ', '19', '4', '1950', '"Phong Sơ', ' Phong Điề', 'Trung đoàn 101', '1GC 483b', '2', '2', '0'), ('52', 'TT/LS 12046', 'TT/LS 3223', 'Ngô Khả', '', '0', '0', '1921', '1', '19876', '477', '46', NULL, '', 'Chiến sĩ', '31', '12', '1947', '"Đập đá', ' thành phố Huế"', 'Trung đoàn Trần Cao Vâ', '2', '', '', '0'), ('53', 'TT/LS 12045', 'TT/LS 3224', 'Hồ Uyể', '', '0', '0', '1938', '1', '19885', '477', '46', NULL, '', 'Chiến sĩ', '24', '4', '1954', '"Phong Bình', ' Phong Điề', 'Tiểu đoàn 231 chủ lực tỉnh Thừa Thiê', '1GC 731b', '2', '1', '0'), ('54', 'TT/LS 12033', 'TT/LS 3225', 'Nguyễn Lẩm', '', '0', '0', '1929', '1', '19885', '477', '46', NULL, '', 'Chiến sĩ', '31', '12', '1953', '"Mỹ Xá', ' Quảng Điề', 'Bộ đội địa phương huyện Quảng Điề', '1GC 711b', '2', '1', '0'), ('55', 'TT/LS 13404', 'TT/LS 3226', 'Phạm Thiể', '', '0', '0', '1923', '1', '19870', '477', '46', NULL, '', 'Tiểu đội trưởng', ' tiểu đoàn 227', ' trung đoàn 95"', '31', '1', '', '"Đại đội 9', '0', '0', '2', '1'), ('56', 'TT/LS 13857', 'TT/LS 3227', 'Phạm Bá Nôn (Nộn),', '', '0', '0', '1930', '1', '19762', '474', '46', NULL, '', 'Tiểu đội phó', ' sư đoàn 325"', '30', '8', '', '"Phong Điề', '"Trung đoàn 101', '1', '', '0', '2'), ('57', 'TT/LS 13854', 'TT/LS 3228', 'Đặng Dật', '', '0', '0', '1924', '1', '19876', '477', '46', NULL, '', 'Tiểu đội trưởng', '7', '7', '1954', 'Biên giới Lào', '', 'Vệ quốc đoà', '0', '', '', ''), ('58', 'TT/LS 13853', 'TT/LS 3229', 'Phạm Bá Chịu', '', '0', '0', '1926', '1', '19870', '477', '46', NULL, '', 'Chiến sĩ', '31', '12', '1949', '', '', 'Vệ quốc đoà', '0', '', '', ''), ('59', 'TT/LS 13858', 'TT/LS 3230', 'Văn Luyệ', '', '0', '0', '1930', '1', '19870', '477', '46', NULL, '', 'Tiểu đội phó', ' tiểu đoàn 227', ' trung đoàn 95"', '31', '1', '', '"Đại đội 114', '1EC 299b', '2', '2', '0'), ('60', 'TT/LS 12028', 'TT/LS 3231', 'Hoàng Vu', '', '0', '0', '1934', '1', '19870', '477', '46', NULL, '', 'Tiểu đội trưởng', '19', '11', '1953', '"Quảng Thọ', ' Quảng Điề', 'Bộ đội địa phương huyện Quảng Điề', '1GC 716b', '2', '2', '0'), ('61', 'TT/LS 13852', 'TT/LS 3232', 'Văn Miê', '', '0', '0', '1927', '1', '19870', '477', '46', NULL, '', 'Chiến sĩ', '9', '11', '1950', 'Sơn Tùng', '', 'Vệ quốc đoà', '1', '', '0', '2'), ('62', 'TT/LS 13860', 'TT/LS 3233', 'Phan Xoại', '', '0', '0', '1927', '1', '19876', '477', '46', NULL, '', 'Chiến sĩ', '30', '5', '1954', '"Quảng Lợi', ' Quảng Điề', 'Tiểu đoàn 231', '1', '', '0', '2'), ('63', 'TT/LS 12034', 'TT/LS 3234', 'Văn Khủng', '', '0', '0', '1931', '1', '19870', '477', '46', NULL, '', 'Chiến sĩ', '7', '6', '1953', '"Quảng Trạch', ' Quảng Bình"', 'Trung đoàn 95', '2', '', '0', '2'), ('64', 'TT/LS 11680', 'TT/LS 3235', 'Văn Hào', '', '0', '0', '1923', '1', '19885', '477', '46', NULL, '', 'Tiểu đội trưởng', '21', '5', '1952', '"Hải Lăng', ' Quảng Trị"', 'Trung đoàn 101', '0', '0', '2', '2'), ('65', 'TT/LS 13395', 'TT/LS 3236', 'Nguyễn Văn Đậu', '', '0', '0', '1929', '1', '19876', '477', '46', NULL, '', 'Tiểu đội trưởng', '20', '6', '1952', '"Quảng Vinh', ' Quảng Điề', 'Tiểu đoàn 231', '1', '', '0', '2'), ('66', 'TT/LS 4838', 'TT/LS 3237', 'Hoàng Trọng Phú', '', '0', '0', '1938', '1', '19936', '478', '46', NULL, 'Trung sĩ', 'Tiểu đội trưởng', ' tiểu đoàn 20', ' đoàn 580"', '14', '1', '', '"Đại đội 203', '2', '', '0', '2'), ('67', 'TT/LS 8868', 'TT/LS 3238', 'Trần Văn Yết', '', '0', '0', '1938', '1', '19954', '478', '46', NULL, '', 'Trung đội trưởng', '27', '6', '1972', '"Thôn Hà Vĩnh', ' Thừa Thiên Huế"', '', '0', '0', '2', '1'), ('68', 'TT/LS 10669', 'TT/LS 3239', 'Trương Ngọc Đoái', '', '0', '0', '1916', '1', '19951', '478', '46', NULL, '', 'Huyện ủy viê', '7', '8', '1967', '"Vinh Thái', ' Phú Vang', 'Huyện ủy viên huyện Phú Vang', '2X 298c', '2', '2', '0'), ('69', 'TT/LS 3807', 'TT/LS 3240', 'Trương Đình Lụa', '', '0', '0', '1926', '1', '19951', '478', '46', NULL, '', 'Chính trị viên đại đội', ' B4"', '14', '5', '', '"Quận 4', '"Chính trị viên đại đội K10', '0', '0', '2', '1'), ('70', 'TT/LS 8867', 'TT/LS 3241', 'Võ Văn Thanh', '', '0', '0', '1941', '1', '19954', '478', '46', NULL, '', 'Trung đội trưởng', '2', '3', '1971', '"Nam Đông', ' Thừa Thiên Huế"', 'Tiểu đoàn 10', '0', '0', '2', '1'), ('71', 'TT/LS 8820', 'TT/LS 3242', 'Huỳnh Mỵ', '', '0', '0', '1949', '1', '19954', '478', '46', NULL, '', 'Trung đội trưởng', '20', '9', '1969', '"Lang Xá Bàu', ' Hương Thủy', 'Đội vũ trang huyện Phú Vang', '5D 928b', '2', '2', '0'), ('72', 'TT/LS 427', 'TT/LS 3244', 'Nguyễn Văn Cứ', '', '0', '0', '1936', '1', '19954', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', '15', '4', '1969', '', '', 'Bộ đội địa phương huyện Phú Vang', '0', '', '', ''), ('73', 'TT/LS 10606', 'TT/LS 3245', 'Võ Văn Thức', '', '0', '0', '1938', '1', '19954', '478', '46', NULL, '', 'Đội phó', '20', '7', '1966', '"Vinh Hà', ' Phú Vang', 'Đội công tác xã Vinh Hà', '2E 452c', '2', '1', '0'), ('74', 'TT/LS 6886', 'TT/LS 3246', 'Võ Văn Đằng', '', '0', '0', '1942', '1', '19954', '478', '46', NULL, '', 'Thôn đội trưởng', ' xã Vinh Thái"', '8', '6', '', 'Thạch Lam Bồ', '"Đội trưởng thôn Mong B', '0', '0', '2', '1'), ('75', 'TT/LS 14125', 'TT/LS 3247', 'Nguyễn Thanh Sơ', '', '0', '0', '1926', '1', '19945', '478', '46', NULL, '', 'Bí thư chi bộ xã', '5', '10', '1952', '"Phú Đa', ' Phú Vang', 'Bí thư chi bộ xã Phú Phong (nay là Vinh Hà),', 'GC 455c', '2', '1', '0'), ('76', 'TT/LS 10811', 'TT/LS 3248', 'Nguyễn Em', '', '0', '0', '1922', '1', '19918', '478', '46', NULL, '', 'Tiểu đội phó', '5', '2', '1949', '', '', 'Vệ quốc đoà', '0', '', '', ''), ('77', 'TT/LS 10810', 'TT/LS 3249', 'Võ Hường', '', '0', '0', '1929', '1', '19900', '478', '46', NULL, '', 'Chiến sĩ', '27', '3', '1952', '', '', 'Vệ quốc đoà', '0', '', '', ''), ('78', 'TT/LS 11613', 'TT/LS 3250', 'Hoàng Văn Hợp', '', '0', '0', '1947', '1', '19927', '478', '46', NULL, '', 'Đội viê', '24', '10', '1969', '"Phú Xuâ', ' Phú Vang', 'Đội công tác xã Phú Thiệ', '2Z 309c', '2', '1', '0'), ('79', 'TT/LS 11618', 'TT/LS 3251', 'Trần Văn Cường', '', '0', '0', '1922', '1', '19909', '478', '46', NULL, '', 'Công a', '16', '6', '1949', '"Phú Mậu', ' Phú Vang', 'Xã Phú Mậu', 'PC 146c', '2', '2', '0'), ('80', 'TT/LS 11606', 'TT/LS 3252', 'Võ Cầu', '', '0', '0', '1946', '1', '19954', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', ' tỉnh đội Thừa Thiên"', '0', '6', '', '', '"Tiểu đoàn 4', '2', '', '', '0'), ('81', 'TT/LS 8799', 'TT/LS 3253', 'Lê Văn Xiêm', '', '0', '0', '1943', '1', '19951', '478', '46', NULL, '', 'Trung đội phó', '22', '5', '1968', '', '', '', '0', '', '', ''), ('82', 'TT/LS 8822', 'TT/LS 3254', 'Phan Quý Sơn (Phi),', '', '0', '0', '1927', '1', '19951', '478', '46', NULL, '', 'Trợ lý chính trị', '28', '5', '1965', '"Phú Vang', ' Thừa Thiên Huế"', 'Huyện đội Phú Vang', '0', '0', '2', '2'), ('83', 'TT/LS 6020', 'TT/LS 3255', 'Nguyễn Yêm', '', '0', '0', '1925', '1', '19951', '478', '46', NULL, '', 'Chiến sĩ', '6', '6', '1953', '', '', 'Vệ quốc đoà', '0', '', '', ''), ('84', 'TT/LS 3493', 'TT/LS 3256', 'Nguyễn Thính', '', '0', '0', '1923', '1', '19951', '478', '46', NULL, '', 'Tiểu đội trưởng', '6', '11', '1951', '', '', 'Trung đoàn 101', '0', '', '', ''), ('85', 'TT/LS 4847', 'TT/LS 3257', 'Đặng Văn Hường', '', '0', '0', '1944', '1', '19951', '478', '46', NULL, '', 'Đội viên du kích', '3', '4', '1965', '"Vinh Phú', ' Phú Vang', 'Xã Vinh Phú', '2Đ 143k', '2', '1', '0'), ('86', 'TT/LS 2894', 'TT/LS 3258', 'Nguyễn Thế Phiệt', '', '0', '0', '1930', '1', '19954', '478', '46', NULL, '', 'Trợ lý chính trị', '7', '3', '1950', '', '', 'Đại đội D319 E101', '0', '', '', ''), ('87', 'TT/LS 8119', 'TT/LS 3259', 'Nguyễn Văn Chính', '', '0', '0', '1924', '1', '19954', '478', '46', NULL, '', 'Phó Chủ tịch', '6', '7', '1952', '"Vinh Thái', ' Phú Vang', 'Xã Vinh Thái', 'NC 584c', '2', '2', '0'), ('88', 'TT/LS 8597', 'TT/LS 3260', 'Hồ Đắc Thông', '', '0', '0', '1925', '1', '19912', '478', '46', NULL, '', 'Chiến sĩ', '7', '8', '1948', '"Phú A', ' Phú Vang', 'Du kích xã Phú A', 'MC 618k', '2', '2', '0'), ('89', 'TT/LS 8596', 'TT/LS 3261', 'Đặng Cữ', '', '0', '0', '1914', '1', '19912', '478', '46', NULL, '', 'Giao liê', '20', '3', '1947', '"Phú A', ' Phú Vang', 'Nhân viên liên lạc huyện Phú Vang', 'OC 230c', '2', '2', '0'), ('90', 'TT/LS 10749', 'TT/LS 3202', 'Trần Văn Don (Dung),', '', '0', '0', '1920', '1', '19783', '474', '46', NULL, '', 'Chủ tịch', '10', '3', '1953', '"Phú Mỹ', ' Phú Vang', 'Ủy ban hành chính xã Phú Thiện (cũ), (nay là Phú An),', 'MC 137k', '2', '1', '0'), ('91', 'TT/LS 10755', 'TT/LS 3263', 'Hồ Đắc Long', '', '0', '0', '1925', '1', '19912', '478', '46', NULL, '', 'Phó Chủ tịch', '8', '8', '1948', '"Phú A', ' Phú Vang', 'Ủy ban xã Phú A', 'NC 597c', '2', '1', '0'), ('92', 'TT/LS 8819', 'TT/LS 3264', 'Lê Gia Đương', '', '0', '0', '1925', '1', '19924', '478', '46', NULL, '', 'Chiến sĩ', '31', '12', '1950', '"Phú Đa', ' Phú Vang', 'Vệ quốc đoàn huyện đội Hương Thủy', '1ĐC 061b', '2', '1', '0'), ('93', 'TT/LS 12125', 'TT/LS 3266', 'Trần Đình Sơ', '', '0', '0', '1927', '1', '19888', '477', '46', NULL, '', 'Đội viên tự vệ', '18', '2', '1947', '"Mỹ Xá', ' Quảng Điề', 'Xã Quảng A', 'MC 612k', '2', '1', '0'), ('94', 'TT/LS 8376', 'TT/LS 3267', 'Phan Cảnh Hò', '', '0', '0', '1930', '1', '19888', '477', '46', NULL, '', 'Trung đội trưởng', '11', '10', '1951', '"Quảng Ngạ', ' Quảng Điề', 'Đội du kích xã Quảng Lộc', 'MC 599k', '2', '1', '0'), ('95', 'TT/LS 4863', 'TT/LS 3268', 'Hoàng Điề', '', '0', '0', '1933', '1', '19891', '477', '46', NULL, '', 'Tiểu đội trưởng', '23', '3', '1951', 'Thôn Đông Xuyê', '', 'Đội du kích xã Quảng Lộc', '1', '', '0', '2'), ('96', 'TT/LS 9993', 'TT/LS 3269', 'Đào Lô', '', '0', '0', '1934', '1', '19891', '477', '46', NULL, '', 'Nhân dâ', '4', '7', '1954', '"Quảng Thành', ' Quảng Điề', 'Thôn Thành Trung', 'NC 869c', '2', '1', '0'), ('97', 'TT/LS 9994', 'TT/LS 3270', 'Phan Xuân Hạt (Hải),', '', '0', '0', '1925', '1', '19891', '477', '46', NULL, '', 'Bí thư chi bộ', '7', '3', '1967', '"Quảng Lộc', ' Quảng Điề', 'Xã Quảng Lộc', '2T 943c', '2', '2', '0'), ('98', 'TT/LS 13845', 'TT/LS 3271', 'Trần Du', '', '0', '0', '1924', '1', '20014', '480', '46', NULL, '', 'Đội trưởng', '6', '10', '1953', '"Quảng Lộc', ' Quảng Điề', 'Thôn Đông Xuyê', 'MC 342k', '2', '1', '0'), ('99', 'TT/LS 9586', 'TT/LS 3272', 'Nguyễn Văn Vĩ (Vỹ),', '', '0', '0', '1906', '1', '19888', '477', '46', NULL, '', 'Đại đội phó', '0', '12', '1946', '"Phú Lộc', ' Thừa Thiên Huế"', 'Tỉnh đội Thừa Thiê', '2', '', '', '0'), ('100', 'TT/LS 10012', 'TT/LS 3273', 'Phan Văn Tiểu', '', '0', '0', '1933', '1', '19885', '477', '46', NULL, '', 'Giao liê', '3', '3', '1947', 'Lao Thừa phủ Huế', '', 'Ủy ban kháng chiến xã Quảng Vinh', '0', '', '', ''), ('101', 'TT/LS 10011', 'TT/LS 3274', 'Nguyễn Hữu Nam', '', '0', '0', '1940', '1', '19885', '477', '46', NULL, '', 'Tiểu đội trưởng', '25', '6', '1966', '"Quảng Vinh', ' Quảng Điề', 'Đội công tác xã Quảng Thuận (cũ), (nay là Quảng Vinh),', '2T 973c', '2', '2', '0'), ('102', 'TT/LS 10010', 'TT/LS 3275', 'Nguyễn Mô', '', '0', '0', '1923', '1', '19885', '477', '46', NULL, '', 'Trung đội trưởng', '23', '8', '1948', '', '', 'Huyện đội Quảng Điề', '0', '', '', ''), ('103', 'TT/LS 12507', 'TT/LS 3276', 'Hồ Tào', '', '0', '0', '1924', '1', '19885', '477', '46', NULL, '', 'Trung đội trưởng', ' tiểu đoàn 227', ' trung đoàn 95"', '10', '4', '', '"Đại đội 9', '1', '', '0', '2'), ('104', 'TT/LS 12615', 'TT/LS 3277', 'Lê Cảnh Lư', '', '0', '0', '1933', '1', '19882', '477', '46', NULL, '', 'Trung đội trưởng', ' E812 Bình Thuận"', '25', '4', '', '', '"D86', '2', '', '', '0'), ('105', 'TT/LS 12616', 'TT/LS 3279', 'Lê Ấ', '', '0', '0', '1927', '1', '19867', '477', '46', NULL, '', 'Trung đội trưởng', ' D227', ' E95"', '3', '4', '', '"C9', '2', '', '0', '2'), ('76919', 'HE/LS 2807', '', 'Lê Văn Ché', '', '0', '0', '1949', '1', '12079', '327', '33', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '27', '4', '1971', 'Mặt trận phía Nam', '', 'C7 D8 KB', '0', '', '', ''), ('76920', 'LK/LS 300 B', 'LCI/LS 1133', 'Nguyễn Văn Long ', '', '0', '0', '1945', '1', '02635', '080', '10', NULL, 'Binh nhât', 'Chiến Sỹ', '0', '0', '1967', '', 'Sầm Nưa', 'C5 D5', '0', '', '', ''), ('76921', 'HNM/LS8566', 'NULL', 'Lê Thiết Đạt', '', '0', '0', '1942', '1', '13510', '352', '35', NULL, 'công nhân phụ ô tô', '', '12', '6', '1968', '', '', 'Công trường 050', '1349', '13510', '352', '35'), ('76922', 'HNM/LS895', 'NULL', 'Vũ Đức Lai', '', '0', '0', '1958', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Chiến sỹ', '22', '2', '1979', 'MT phía Bắc', '', 'E46F326QK2', '1349', '13510', '352', '35'), ('76923', 'HNM/LS 9880', 'NULL', 'Nguyễn Quang Hạp', '', '0', '0', '1951', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Chiến sỹ', '18', '9', '1971', 'MT phía nam', 'MT phía nam', 'E2P2', '0', 'NULL', 'NULL', 'NULL'), ('76924', 'HNM/LS 9885', 'NULL', 'Phạm Văn Sáu', '', '0', '0', '1936', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Chiến sỹ', '13', '5', '1968', 'MT phía nam', '', 'P4', '0', 'NULL', 'NULL', 'NULL'), ('76925', 'HNM/LS 12077', 'NULL', 'Trần Văn Nhất', '', '0', '0', '1938', '1', '13510', '352', '35', NULL, 'Binh Nhất', 'Chiến sỹ', '10', '2', '1970', 'MT phía Tây', '', 'C14 đơn vị 9625', '0', 'NULL', 'NULL', 'NULL'), ('76926', 'HNM/LS 3477', 'NULL', 'Nguyễn Quang Hiệp', '', '0', '0', '1949', '1', '13510', '352', '35', NULL, '', 'Trung đội trưởng', '7', '3', '1969', '', 'MT phía nam', 'K', '0', 'NULL', 'NULL', 'NULL'), ('76927', 'HNM/LS 10369', 'NULL', 'Lương Đình Diệp', '', '0', '0', '1934', '1', '13510', '352', '35', NULL, 'Binh Nhất', '', '6', '5', '1967', '', '', 'E222', '0', 'NULL', 'NULL', 'NULL'), ('76928', 'HNM/LS 5890', 'NULL', 'Trần Văn Mầu', '', '0', '0', '1937', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Chiến sỹ', '14', '2', '1966', 'MT phía Nam', '', 'D7K', '1349', '13510', '352', '35'), ('76929', 'HNM/LS 1373', 'NULL', 'Trần Đình Thắng', '', '0', '0', '1951', '1', '13510', '352', '35', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '13', '9', '1972', 'MT phía Nam', '', 'KB', '0', 'NULL', 'NULL', 'NULL'), ('76930', 'HNM/LS 9882', 'NULL', 'Lương Đình Tháo', '', '0', '0', '1944', '1', '13510', '352', '35', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '28', '1', '1973', '', 'MT phía Nam', 'D48 quân khu 8 P2', '0', 'NULL', 'NULL', 'NULL'), ('76931', 'HNM/LS 7357', 'NULL', 'Phạm Văn Thự', '', '0', '0', '1932', '1', '13510', '352', '35', NULL, '', 'Tiểu đoàn phó', '20', '9', '1967', 'MT phía Tây', '', 'P3', '0', 'NULL', 'NULL', 'NULL'), ('76932', 'NĐ/LS 17197', '295', 'Đặng Văn Nam', '', '0', '0', '0', '1', '13729', '358', '36', NULL, 'HẠ SĨ', '', '14', '5', '1970', '', 'MIỀN ĐÔNG NAM BỘ', 'PK 5 MIỀN ĐÔNG NAM BỘ', '0', '', '', ''), ('76933', 'HNM/LS 8445', 'NULL', 'Lương Nhân Thụ', '', '0', '0', '1944', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Chiến sỹ', '21', '5', '1970', '', 'MT phía Nam', 'P2', '0', 'NULL', 'NULL', 'NULL'), ('76934', 'HNM/CP 01662', 'NULL', 'Nguyễn Văn Mười', '', '0', '0', '0', '1', '13510', '352', '35', NULL, '', 'Chiến sỹ cảm tử quân Nam Định', '0', '12', '1946', '', '', 'Nam Định', '0', 'NULL', 'NULL', 'NULL'), ('76935', 'HE/LS 7208', '', 'Lê Văn Chà', '', '0', '0', '1944', '1', '12079', '327', '33', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '27', '7', '1973', 'Mặt trận phía Nam', '', 'P1', '0', '', '', ''), ('76936', 'HNM/LS 07650', 'NULL', 'Nguyễn Ngọc Kiểu', '', '0', '0', '0', '1', '13510', '352', '35', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '17', '2', '1966', 'MT phía Nam', '', '', '0', 'NULL', 'NULL', 'NULL'), ('76937', 'HNM/LS 05132', 'NULL', 'Nguyễn Hữu Lượng', '', '0', '0', '1955', '1', '13510', '352', '35', NULL, 'Trung sỹ', 'Tiểu đội phó', '18', '6', '1974', '', '', '', '0', 'NULL', 'NULL', 'NULL'), ('76938', 'HNM/LS 08977', 'NULL', 'Hoàng Xuân Sinh', '', '0', '0', '1948', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Tiểu đội phó', '9', '4', '1972', 'MT phía Nam', '', 'C1D7 K', '0', 'NULL', 'NULL', 'NULL'), ('76939', 'HNM/LS 07656', 'NULL', 'Đào Minh Khang', '', '0', '0', '1940', '1', '13510', '352', '35', NULL, 'Trung sỹ', 'Tiểu đội phó', '27', '6', '1968', 'MT phía Nam', '', 'D14KH', '0', 'NULL', 'NULL', 'NULL'), ('76940', 'HNM/LS 45729', 'NULL', 'Vũ Văn Thành', '', '0', '0', '1954', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Chiến sỹ', '2', '10', '1971', '', '', 'E1', '0', 'NULL', 'NULL', 'NULL'), ('76941', 'HNM/LS 08982', 'NULL', 'Lê Văn Cảnh', '', '0', '0', '1936', '1', '13510', '352', '35', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', '7', '5', '1970', '', 'MT phía Nam', 'E38 K', '0', 'NULL', 'NULL', 'NULL'), ('76942', 'HNM/LS 03812', 'NULL', 'Phạm Văn Chính', '', '0', '0', '1952', '1', '13510', '352', '35', NULL, 'Hạ sỹ', 'Y tá', '5', '5', '1972', 'MT phía Nam', '', 'C16 KT', '0', 'NULL', 'NULL', 'NULL'), (129, 'TT/LS 13340', 'TT/LS 3304', 'Nguyễn Văn Ly', '', 0, 0, 1926, 1, '19909', '478', '46', NULL, '', 'Đội viê', 16, 4, 1949, 'Phú Mậu, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Mậu', 0, '', '', ''), (130, 'TT/LS 9754', 'TT/LS 3305', 'Nguyễn Văn Trung', '', 0, 0, 1923, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 31, 12, 1946, '', '', 'B 319, E 101', 0, '', '', ''), (131, 'TT/LS 9753', 'TT/LS 3306', 'Nguyễn Xuân Cháu', '', 0, 0, 1928, 1, '19909', '478', '46', NULL, '', 'Tiểu đội phó', 9, 8, 1951, '', '', 'Đại đội D319 E101', 0, '', '', ''), (132, 'TT/LS 9755', 'TT/LS 3307', 'Trần Văn Trọng', '', 0, 0, 1923, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 31, 12, 1946, '', '', 'Đại đội D319 E101', 0, '', '', ''), (133, 'TT/LS 9756', 'TT/LS 3308', 'Cao Văn Bé', '', 0, 0, 1902, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 20, 5, 1950, 'Phú Dương, Hương Phú, Bình Trị Thiê', '', 'Đơn vị 264 quân báo', 0, '', '', ''), (134, 'TT/LS 9757', 'TT/LS 3309', 'Trần Ngọc Do', '', 0, 0, 1922, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 18, 1, 1947, 'Triều Sơn, Hương Điền, Bình Trị Thiê', '', 'Trung đoàn Trần Cao Vâ', 0, '', '', ''), (135, 'TT/LS 9773', 'TT/LS 3310', 'Trần Phụng', '', 0, 0, 1927, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 6, 5, 1951, 'Phú Mỹ, Phú Vang, Thừa Thiên Huế', '', 'Huyện đội Phú Vang', 0, '', '', ''), (136, 'TT/LS 9774', 'TT/LS 3311', 'Lê Quang Đực', '', 0, 0, 1934, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 31, 5, 1951, 'Phú Mậu, Phú Vang, Thừa Thiên Huế', '', 'C 323 Phú Vang', 0, '', '', ''), (137, 'TT/LS 9775', 'TT/LS 3312', 'Nguyễn Văn Co', '', 0, 0, 1908, 1, '19909', '478', '46', NULL, '', 'Tiểu đội phó', 13, 5, 1949, 'Xuân Bồ, Lệ Ninh, Bình Trị Thiê', '', 'E18', 0, '', '', ''), (138, 'TT/LS 13111', 'TT/LS 3313', 'Đồng Sĩ Kỳ', '', 0, 0, 1929, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 23, 6, 1951, 'Ba Lòng, Quảng Trị', '', 'Tiểu đoàn 42', 0, '', '', ''), (139, 'TT/LS 13112', 'TT/LS 3314', 'Trần Văn Tấ', '', 0, 0, 1928, 1, '19909', '478', '46', NULL, '', 'Chiến sĩ', 31, 12, 1953, 'La Chữ, Hương Trà, Thừa Thiên Huế', '', 'Tiểu đoàn 328, trung đoàn 101', 0, '', '', ''), (140, 'TT/LS 10918', 'TT/LS 3316', 'Đoàn Văn Trọng', '', 0, 0, 1930, 1, '19930', '478', '46', NULL, '', 'Đội viên tự vệ', 14, 1, 1947, 'Phú Thượng, Phú Vang, Thừa Thiên Huế', '', 'Thôn Ngọc Anh, xã Phú Thượng', 0, '', '', ''), (141, 'TT/LS 10915', 'TT/LS 3317', 'Nguyễn Văn Liễ', '', 0, 0, 1925, 1, '19930', '478', '46', NULL, '', 'Đội viên tự vệ', 14, 1, 1947, 'Phú Thượng, Phú Vang, Thừa Thiên Huế', '', 'Thôn Ngọc Anh, xã Phú Thượng', 0, '', '', ''), (142, 'TT/LS 10914', 'TT/LS 3318', 'Nguyễn Văn Thoai', '', 0, 0, 1925, 1, '19930', '478', '46', NULL, '', 'Đội viên tự vệ', 14, 1, 1947, 'Phú Thượng, Phú Vang, Thừa Thiên Huế', '', 'Thôn Ngọc Anh, xã Phú Thượng', 0, '', '', ''), (143, 'TT/LS 10913', 'TT/LS 3319', 'Nguyễn Hữu Khiê', '', 0, 0, 1925, 1, '19930', '478', '46', NULL, '', 'Xã đội phó', 8, 8, 1951, 'Phú Vang, Thừa Thiên Huế', '', 'Xã Phú Thượng', 0, '', '', ''), (144, 'TT/LS 384', 'TT/LS 3320', 'Trần Lê', '', 0, 0, 1951, 1, '19930', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 0, 12, 1969, '', '', 'KDM', 0, '', '', ''), (145, 'TT/LS 8039', 'TT/LS 3321', 'Nguyễn Thắng', '', 0, 0, 1926, 1, '19930', '478', '46', NULL, '', 'Đội viên tự vệ', 5, 12, 1946, 'Thủy An, Hương Phú, Bình Trị Thiê', '', 'Đội chiến đấu xã Phú Thượng', 0, '', '', ''), (146, 'TT/LS 8026', 'TT/LS 3322', 'Nguyễn Hữu Đồn (Đốn),', '', 0, 0, 0, 1, '19930', '478', '46', NULL, '', 'Bí thư chi bộ', 10, 6, 1949, 'Phú Thượng, Phú Vang, Thừa Thiên Huế', '', 'Xã Phú Thượng', 0, '', '', ''), (147, 'TT/LS 8591', 'TT/LS 3323', 'Nguyễn Văn Lương', '', 0, 0, 1929, 1, '19930', '478', '46', NULL, '', 'Phó bí thư chi bộ', 28, 6, 1952, 'Xóm Chùa, Chiết Bi', '', 'Xã Phú Thượng', 0, '', '', ''), (149, 'TT/LS 8040', 'TT/LS 3325', 'Dương Văn Mừng', '', 0, 0, 1947, 1, '19933', '478', '46', NULL, '', 'Nhân viê', 0, 0, 1969, 'Phú Bài, Hương Thủy, Thừa Thiên Huế', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (150, 'TT/LS 9593', 'TT/LS 3326', 'Dương Văn Tám', '', 0, 0, 0, 1, '19798', '474', '46', NULL, '', 'Trung đội trưởng', 21, 4, 1951, 'Ba Dốc, Quảng Trị', '', 'C 119, D 227, E 95', 0, '', '', ''), (151, 'TT/LS 9594', 'TT/LS 3327', 'Dương Đức Thịnh', '', 0, 0, 1943, 1, '19939', '478', '46', NULL, '', 'Đại đội trưởng', 19, 7, 1971, '', '', 'Tỉnh đội Thừa Thiê', 0, '', '', ''), (152, 'TT/LS 9241', 'TT/LS 3328', 'Nguyễn Láo', '', 0, 0, 1921, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 23, 5, 1953, '', '', 'Tỉnh đội Thừa Thiê', 0, '', '', ''), (153, 'TT/LS 9248', 'TT/LS 3329', 'Nguyễn Tuyế', '', 0, 0, 1926, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 2, 3, 1952, '', '', 'D 319, E 101', 0, '', '', ''), (154, 'TT/LS 9249', 'TT/LS 3330', 'Bạch Văn Bòng', '', 0, 0, 1937, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 20, 7, 1969, 'Phú Hồ, Phú Vang, Thừa Thiên Huế', '', 'C 117 Phú Vang', 0, '', '', ''), (155, 'TT/LS 11647', 'TT/LS 3331', 'Mai Văn Cung', '', 0, 0, 1925, 1, '19939', '478', '46', NULL, '', 'Tiểu đội trưởng', 5, 4, 1949, 'Đồn Cử Lai', '', 'Bộ đội chủ lực tỉnh Thừa Thiê', 0, '', '', ''), (156, 'TT/LS 12137', 'TT/LS 3332', 'Võ Khắc Đý', '', 0, 0, 1949, 1, '19939', '478', '46', NULL, '', 'Đội viê', 2, 3, 1968, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Lương', 0, '', '', ''), (157, 'TT/LS 12136', 'TT/LS 3333', 'Võ Hưng (Hãn),', '', 0, 0, 1917, 1, '19783', '474', '46', NULL, '', 'Ủy viê', 17, 8, 1948, 'Phú An, Hương Phú, Bình Trị Thiê', '', 'Ban cán sự khu 3, văn phòng huyện ủy Phú Vang', 0, '', '', ''), (158, 'TT/LS 968', 'TT/LS 3334', 'Đinh Như Thú', '', 0, 0, 1937, 1, '19789', '474', '46', NULL, '', 'Đại đội trưởng', 16, 6, 1968, '', '', 'C2, D10, tỉnh đội Thừa Thiê', 0, '', '', ''), (159, 'TT/LS 3705', 'TT/LS 3335', 'Khương Soạ', '', 0, 0, 1922, 1, '19933', '478', '46', NULL, '', 'Chiến sĩ', 5, 12, 1946, '', '', 'Vệ quốc đoàn, trung đoàn Trần Cao Vân - Thừa Thiê', 0, '', '', ''), (160, 'TT/LS 5003', 'TT/LS 3336', 'Dương Văn Khuê', '', 0, 0, 1947, 1, '19933', '478', '46', NULL, 'Trung sĩ', 'Tiểu đội phó', 20, 5, 1967, '', '', 'Bộ đội địa phương tỉnh Thừa Thiê', 0, '', '', ''), (161, 'TT/LS 1005', 'TT/LS 3337', 'Dương Văn Huê', '', 0, 0, 1944, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 1, 6, 1968, '', '', 'Huyện đội Phú Vang', 0, '', '', ''), (162, 'TT/LS 1002', 'TT/LS 3338', 'Dương Văn Tăng', '', 0, 0, 1937, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 18, 11, 1965, '', '', 'Huyện đội Phú Vang', 0, '', '', ''), (163, 'TT/LS 8800', 'TT/LS 3339', 'Đặng Thị Phụng', '', 0, 0, 1949, 2, '19933', '478', '46', NULL, 'Trung sĩ', 'Tiểu đội trưởng', 24, 11, 1968, '', '', 'Bộ đội địa phương tỉnh Thừa Thiê', 0, '', '', ''), (164, 'TT/LS 3340', 'TT/LS 3340', 'Khương Hoàng', '', 0, 0, 1946, 1, '19933', '478', '46', NULL, 'Binh nhất', 'Chiến sĩ', 2, 7, 1965, '', '', 'Bộ đội địa phương tỉnh Thừa Thiê', 0, '', '', ''), (165, 'TT/LS 3835', 'TT/LS 3341', 'Dương Văn Độc', '', 0, 0, 1943, 1, '19933', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 13, 12, 1965, '', '', 'Bộ đội địa phương tỉnh Thừa Thiê', 0, '', '', ''), (166, 'Tt/LS 3703', 'TT/LS 3342', 'Đặng Khắc Tề', '', 0, 0, 1943, 1, '19933', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 21, 8, 1968, '', '', 'Biệt động thành Huế', 0, '', '', ''), (167, 'TT/LS 10646', 'TT/LS 3343', 'Nguyễn Đình Trọng', '', 0, 0, 1943, 1, '19933', '478', '46', NULL, 'Bác sĩ', 'Trưởng ban quân y', 15, 4, 1975, 'Mặt trận phía Nam', '', 'Trung đoàn E141, F3', 0, '', '', ''), (168, 'TT/LS 8023', 'TT/LS 3344', 'Dương Đại', '', 0, 0, 1940, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 4, 3, 1969, 'Phú Hồ, Phú Vang, Thừa Thiên Huế', '', 'Huyện đội Phú Vang', 0, '', '', ''), (169, 'TT/LS 8022', 'TT/LS 3345', 'Nguyễn Hữu Bao', '', 0, 0, 1927, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 16, 3, 1953, '', '', 'Đại đội 320, tiểu đoàn 231 Thừa Thiê', 0, '', '', ''), (170, 'TT/LS 8021', 'TT/LS 3346', 'Bùi Ngộ', '', 0, 0, 1930, 1, '19933', '478', '46', NULL, '', 'Đại đội phó', 5, 2, 1968, 'Quảng Trị', '', 'K2, công trường 6, quân khu Trị Thiên Huế', 0, '', '', ''), (171, 'TT/LS 8057', 'TT/LS 3347', 'Bùi Quang Xiêm', '', 0, 0, 1938, 1, '19789', '474', '46', NULL, 'Thiếu úy', 'Chính trị viê', 20, 4, 1970, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Trung đội huyện đội Phú Vang', 0, '', '', ''), (172, 'TT/LS 8045', 'TT/LS 3348', 'Bạch Thị Hoa', '', 0, 0, 1947, 2, '19933', '478', '46', NULL, '', 'Nhân viê', 4, 5, 1972, 'Thừa Thiê', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (173, 'TT/LS 8044', 'TT/LS 3349', 'Trương Văn Kháng', '', 0, 0, 1950, 1, '19933', '478', '46', NULL, '', 'Nhân viê', 0, 7, 1969, 'Tân Lộc, Phú Lộc, Thừa Thiê', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (174, 'TT/LS 8043', 'TT/LS 3350', 'Dương Thị Đát', '', 0, 0, 1949, 1, '19801', '474', '46', NULL, '', 'Nhân viê', 20, 11, 1967, 'Phú Bài, Hương Thủy, Thừa Thiên Huế', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (175, 'TT/LS 8042', 'TT/LS 3351', 'Bùi Quang Ấu', '', 0, 0, 1934, 1, '19933', '478', '46', NULL, '', 'Cán bộ', 4, 5, 1970, 'Quận 4, miền Tây Thừa Thiê', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (176, 'TT/LS 8041', 'TT/LS 3352', 'Dương Văn Nhỏ', '', 0, 0, 0, 1, '19795', '474', '46', NULL, '', 'Nhân viê', 20, 1, 1967, 'Phong Điền, Thừa Thiên Huế', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (177, 'TT/LS 3806', 'TT/LS 3353', 'Dương Văn Xử', '', 0, 0, 1922, 1, '19933', '478', '46', NULL, '', 'Chính trị viê', 15, 3, 1963, 'Mặt trận phía Nam', '', 'Đại đội K10, B4', 0, '', '', ''), (178, 'TT/LS 9561', 'TT/LS 3354', 'Nguyễn Thị Gái', '', 0, 0, 1945, 2, '19831', '476', '46', NULL, '', 'Đội viê', 25, 6, 1968, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Phò Trạch', 0, '', '', ''), (179, 'TT/LS 12132', '3355', 'Nguyễn Ngọc Hiề', '', 0, 0, 1939, 1, '19831', '476', '46', NULL, 'Huyện ủy viê', 'Bí thư chi bộ', 17, 6, 1967, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Xã Phong Bình', 0, '', '', ''), (180, 'TT/LS 2811', 'TT/LS 3357', 'Nguyễn Văn Tại', '', 0, 0, 1946, 1, '19831', '476', '46', NULL, 'Thượng sĩ', 'Đội phó', 25, 6, 1970, '', '', 'Quân khu Trị Thiê', 0, '', '', ''), (181, 'TT/LS 14300', 'TT/LS 3358', 'Nguyễn Thanh Tịnh', '', 0, 0, 1946, 1, '19831', '476', '46', NULL, '', 'Tiểu đoàn phó', 11, 6, 1972, '', '', 'D bộ D6, trung đoàn 6', 0, '', '', ''), (182, 'TT/LS 409', 'TT/LS 3359', 'Dương Văn Toà', '', 0, 0, 1937, 1, '19933', '478', '46', NULL, '', 'Đại đội phó', 1, 3, 1968, '', '', 'Tỉnh đội Thừa Thiê', 0, '', '', ''), (183, 'TT/LS 8025', 'TT/LS 3360', 'Dương Đức Tuy', '', 0, 0, 1939, 1, '19933', '478', '46', NULL, '', 'Trung đội phó', 8, 12, 1968, 'Phú Xuân, Phú Vang, Thừa Thiên Huế', '', 'Đại đội 117 Phú Vang (cũ),', 0, '', '', ''), (184, 'TT/LS 8024', 'TT/LS 3361', 'Dương Văn Mãng', '', 0, 0, 1939, 1, '19933', '478', '46', NULL, '', 'Trung đội trưởng', 25, 7, 1969, 'Phú Hồ, Phú Vang, Thừa Thiên Huế', '', 'C117 Phú Vang (cũ),', 0, '', '', ''), (185, 'TT/LS 9969', 'TT/LS 3362', 'Trần Viết Khiểm', '', 0, 0, 1929, 1, '19831', '476', '46', NULL, '', 'Đội viê', 21, 6, 1953, 'Phong Thu, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích xã Phong Thu', 0, '', '', ''), (186, 'TT/LS 9968', 'TT/LS 3363', 'Nguyễn Văn Cừ', '', 0, 0, 1950, 1, '19831', '476', '46', NULL, '', 'Đội viê', 22, 8, 1968, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Phò Trạch', 0, '', '', ''), (187, 'TT/LS 9967', 'TT/LS 3364', 'Trần Văn Diệ', '', 0, 0, 1941, 1, '19831', '476', '46', NULL, '', 'Xã đội phó', 16, 11, 1969, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Xã Phong Bình', 0, '', '', ''), (188, 'TT/LS 9966', 'TT/LS 3365', 'Trần Văn Đấu', '', 0, 0, 1948, 1, '19831', '476', '46', NULL, '', 'Đội viê', 6, 2, 1968, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Xã Phong Bình', 0, '', '', ''), (189, 'TT/LS 13896', 'TT/LS 3366', 'Nguyễn Ngọc Thành (Uyên),', '', 0, 0, 1927, 1, '19831', '476', '46', NULL, '', 'Thôn đội trưởng', 2, 4, 1966, '', '', 'Thôn Vân Trình', 0, '', '', ''), (190, 'TT/LS 9976', 'TT/LS 3368', 'Nguyễn Thị Xi', '', 0, 0, 1945, 2, '19831', '476', '46', NULL, '', 'Trung đội trưởng', 28, 8, 1966, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích xã Phong Bình', 0, '', '', ''), (191, 'TT/LS 9973', 'TT/LS 3369', 'Hoàng Văn Chắt (Chắc),', '', 0, 0, 1929, 1, '19831', '476', '46', NULL, '', 'Tiểu đội trưởng', 16, 8, 1951, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích xã Phong Bình', 0, '', '', ''), (192, 'TT/LS 9977', 'TT/LS 3370', 'Nguyễn Thanh Phương', '', 0, 0, 1949, 1, '19831', '476', '46', NULL, '', 'Đội viê', 4, 3, 1968, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích xã Phong Bình', 0, '', '', ''), (193, 'TT/LS 9978', 'TT/LS 3371', 'Nguyễn Ngọc Tấ', '', 0, 0, 1946, 1, '19831', '476', '46', NULL, '', 'Tiểu đội trưởng', 22, 8, 1968, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Phò Trạch', 0, '', '', ''), (194, 'TT/LS 12578', 'TT/LS 3372', 'Trần Văn Diệ', '', 0, 0, 1943, 1, '19861', '476', '46', NULL, '', 'Trung đội trưởng', 0, 2, 1965, '', '', 'Huyện đội Phong Điề', 0, '', '', ''), (195, 'TT/LS 12577', 'TT/LS 3373', 'Nguyễn Quốc', '', 0, 0, 1939, 1, '19864', '476', '46', NULL, '', 'Trung đội trưởng', 28, 12, 1966, 'Phong An, Phong Điền, Thừa Thiên Huế', '', 'Huyện đội Phong Điề', 0, '', '', ''), (196, 'TT/LS 12576', 'TT/LS 3374', 'Nguyễn Văn Thơ', '', 0, 0, 0, 1, '19864', '476', '46', NULL, '', 'Nhân viên thợ rè', 8, 7, 1966, 'Phong Sơn, Phong Điền, Thừa Thiên Huế', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (197, 'TT/LS 9587', 'TT/LS 3375', 'Đặng Quang Ngật', '', 0, 0, 1946, 1, '19861', '476', '46', NULL, '', 'Đại đội trưởng', 8, 5, 1968, '', '', 'C2, D2, đặc công anh hùng Huế', 0, '', '', ''), (198, 'TT/LS 9591', 'TT/LS 3376', 'Đặng Quang Chương', '', 0, 0, 1937, 1, '19861', '476', '46', NULL, '', 'Đại đội trưởng', 25, 6, 1966, '', '', 'Tiểu đoàn 6', 0, '', '', ''), (199, 'TT/LS 7045', 'TT/LS 3377', 'Hồ Đạo', '', 0, 0, 1946, 1, '19864', '476', '46', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 18, 2, 1966, '', '', 'Huyện đội Phong Điề', 0, '', '', ''), (200, 'TT/LS 14765', 'TT/LS 3378', 'Hoàng Ngọc Điệt', '', 0, 0, 1938, 1, '19864', '476', '46', NULL, '', 'Tiểu đội trưởng', 0, 5, 1965, 'Phong Sơn, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Công Thành', 0, '', '', ''), (201, 'TT/LS 5393', 'TT/LS 3379', 'Lê Viết Nhuậ', '', 0, 0, 1930, 1, '19864', '476', '46', NULL, '', 'Công dâ', 27, 1, 1949, 'Phong An, Phong Điền, Thừa Thiên Huế', '', 'Đoàn viên hoạt động bí mật thôn Cổ Bi', 0, '', '', ''), (202, 'TT/LS 9970', 'TT/LS 3380', 'Nguyễn Ngọc Phước', '', 0, 0, 1948, 1, '19831', '476', '46', NULL, '', 'Tổ trưởng', 22, 8, 1968, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Phò Trạch', 0, '', '', ''), (203, 'TT/LS 9971', 'TT/LS 3381', 'Hoàng Phước Đơ', '', 0, 0, 1947, 1, '19831', '476', '46', NULL, '', 'Xã đội trưởng', 20, 7, 1967, 'Phong Hòa, Phong Điền, Thừa Thiên Huế', '', 'Xã Phong Bình', 0, '', '', ''), (204, 'TT/LS 12124', 'TT/LS 3382', 'Nguyễn Tào', '', 0, 0, 1917, 1, '19855', '476', '46', NULL, '', 'Đội viê', 0, 3, 1947, '', '', 'Đội du kích xã Phong Mỹ', 0, '', '', ''), (205, 'TT/LS 13898', 'TT/LS 3383', 'Nguyễn Bệu', '', 0, 0, 1942, 1, '19828', '476', '46', NULL, '', 'Chiến sĩ', 26, 6, 1969, 'Đảo Phú Quốc', '', 'Đội du kích xã Phong Hải', 0, '', '', ''), (206, 'TT/LS 9986', 'TT/LS 3384', 'Nguyễn Văn Lượng', '', 0, 0, 1944, 1, '19840', '476', '46', NULL, '', 'Đội viê', 0, 2, 1968, 'Phong Hải, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Thế Mỹ', 0, '', '', ''), (207, 'TT/LS 9981', 'TT/LS 3385', 'Trần Thuyê', '', 0, 0, 1923, 1, '19852', '476', '46', NULL, '', 'Trung đội trưởng', 27, 1, 1948, '', '', 'E101', 0, '', '', ''), (208, 'TT/LS 2522', 'TT/LS 3387', 'Hoàng Đẻo', '', 0, 0, 1937, 1, '19852', '476', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 0, 7, 1968, '', '', 'Bộ đội địa phương tỉnh Thừa Thiê', 0, '', '', ''), (209, 'TT/LS 12479', 'TT/LS 3388', 'Hoàng Chiểu', '', 0, 0, 1925, 1, '19852', '476', '46', NULL, '', 'Trợ lý quân khí', 8, 6, 1966, 'Phong Hiền, Phong Điền, Thừa Thiên Huế', '', 'Huyện đội Quảng Điề', 0, '', '', ''), (210, 'TT/LS 12580', 'TT/LS 3389', 'Đặng Quang Thiệu', '', 0, 0, 1948, 1, '19864', '476', '46', NULL, '', 'Nhân viê', 0, 12, 1972, 'Phú Lộc, Thừa Thiên Huế', '', 'Ban kinh tài tỉnh Thừa Thiê', 0, '', '', ''), (211, 'TT/LS 12579', 'TT/LS 3390', 'Cao Đời', '', 0, 0, 1945, 1, '19864', '476', '46', NULL, '', 'Đại đội trưởng', 17, 12, 1973, 'Phong An, Phong Điền, Thừa Thiên Huế', '', 'Huyện đội Phong Điề', 0, '', '', ''), (212, 'TT/LS 391', 'TT/LS 3391', 'Phạm Bá Tuệ', '', 0, 0, 1928, 1, '19831', '476', '46', NULL, '', 'Chính trị viê', 25, 6, 1968, '', '', 'Trường quân chính Quân khu 5', 0, '', '', ''), (213, 'TT/LS 1874', 'TT/LS 3392', 'Nguyễn Đình Điều', '', 0, 0, 1924, 1, '19831', '476', '46', NULL, 'Thượng sĩ', 'Chính trị viê', 7, 2, 1965, '', '', 'Đại đội 1, tiểu đoàn 1, trung đoàn 6', 0, '', '', ''), (214, 'TT/LS 12482', 'TT/LS 3393', 'Nguyễn Hữu Phúc', '', 0, 0, 1936, 1, '19837', '476', '46', NULL, '', 'Trung đội trưởng', 15, 2, 1967, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Huyện đội Phong Điề', 0, '', '', ''), (215, 'TT/LS 12480', 'TT/LS 3394', 'Nguyễn Đình Trầm', '', 0, 0, 1926, 1, '19837', '476', '46', NULL, '', 'Đại đội phó', 21, 8, 1952, '', '', 'Đại đội 115, tiểu đoàn 319, trung đoàn 101', 0, '', '', ''), (216, 'TT/LS 12481', 'TT/LS 3395', 'Hồ Văn Dai (Hiền),', '', 0, 0, 1948, 1, '19837', '476', '46', NULL, '', 'Trung đội trưởng', 0, 9, 1970, 'Miền Tây Thừa Thiên Huế', '', 'K10 Thành đội Huế', 0, '', '', ''), (217, '12483', 'TTH/LS 3396', 'Nguyễn Dư Quê', '', 0, 0, 1944, 1, '19837', '476', '46', NULL, '', 'Trung đội trưởng', 0, 10, 1968, '', '', 'K6', 0, '', '', ''), (218, 'TT/LS 9599', 'TT/LS 3397', 'Nguyễn Xuân Coi (Cường),', '', 0, 0, 1930, 1, '19837', '476', '46', NULL, '', 'Trung đội trưởng', 10, 6, 1968, 'Phú Hồ, Phú Vang, Thừa Thiên Huế', '', 'K10 Thành đội Huế', 0, '', '', ''), (219, 'TT/LS 4579', 'TT/LS 3398', 'Trương Minh Tiệ', '', 0, 0, 0, 1, '19795', '474', '46', NULL, '', 'Thượng sĩ', 10, 4, 1969, 'Hương Trà, Thừa Thiên Huế', '', 'Đội trinh sát công an thành phố Huế', 0, '', '', ''), (220, 'TT/LS 12123', 'TT/LS 3399', 'Nguyễn Vịnh', '', 0, 0, 1922, 1, '19855', '476', '46', NULL, '', 'Đội viê', 0, 3, 1947, '', '', 'Đội du kích xã Phong Mỹ', 0, '', '', ''), (221, 'TT/LS 14184', 'TT/LS 3400', 'Nguyễn Chảnh Nuôi', '', 0, 0, 1915, 1, '19858', '476', '46', NULL, '', 'Chiến sĩ', 0, 11, 1946, '', '', 'Trung đoàn 95, tiểu đoàn 227, đại đội 7', 0, '', '', ''), (222, 'TT/LS 7145', 'TT/LS 3401', 'Ngô Văn Đạo', '', 0, 0, 1945, 1, '19846', '476', '46', NULL, '', 'Trung đội trưởng', 10, 8, 1969, '', '', 'Huyện đội Phong Điề', 0, '', '', ''), (223, 'TT/LS 14196', 'TT/LS 3402', 'Nguyễn Khoa Lâm', '', 0, 0, 1931, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 31, 12, 1949, '', '', 'Trung đoàn 95', 0, '', '', ''), (224, 'TT/LS 14197', 'TT/LS 3403', 'Nguyễn Hữu Úc', '', 0, 0, 1928, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 20, 6, 1949, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Đại đội 300 huyện đội Phong Điề', 0, '', '', ''), (225, 'TT/LS 14198', 'TT/LS 3404', 'Nguyễn Khoa Hòe', '', 0, 0, 1926, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 15, 5, 1947, '', '', 'Cảm tử quâ', 0, '', '', ''), (226, 'TT/LS 14195', 'TT/LS 3405', 'Nguyễn Thanh Cháu', '', 0, 0, 1925, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 31, 12, 1949, '', '', 'Vệ quốc đoà', 0, '', '', ''), (227, 'TT/LS 11078', 'TT/LS 3406', 'Nguyễn Đăng Phùng', '', 0, 0, 1929, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 20, 5, 1946, 'Đèo Lao Bảo, Quảng Trị', '', 'Vệ quốc đoà', 0, '', '', ''), (228, 'TT/LS 11079', 'TT/LS 3407', 'Nguyễn Ngọc Tha', '', 0, 0, 1928, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 20, 2, 1948, '', '', 'Vệ quốc đoàn huyện đội Hương Thủy', 0, '', '', ''), (229, 'TT/LS 11080', 'TT/LS 3408', 'Trương Công Tiều', '', 0, 0, 1921, 1, '19846', '476', '46', NULL, '', 'Chiến sĩ', 6, 6, 1947, '', '', 'Biệt động quân Thừa Thiê', 0, '', '', ''), (230, 'TT/LS 3409', 'TT/LS 3409', 'Trịnh Đình Minh', '', 0, 0, 1934, 1, '19846', '476', '46', NULL, 'Chuẩn úy', '', 13, 4, 1966, 'Tuyên Hóa, Quảng Bình', '', 'Q410', 0, '', '', ''), (231, 'TT/LS 1499', 'TT/LS 12823', 'Lê Thị Hường', 'Hữu', 0, 0, 1917, 2, '19813', '474', '46', NULL, '', 'Ủy viên ban chấp hành phụ nữ xã', 22, 5, 1953, 'Hương Thọ, Hương Trà, Thừa Thiên Huế', '', 'Phường Thủy Xuân, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (232, '482 (PC 062b),', 'TT/LS 3410', 'Văn Đức Hứu', '', 0, 0, 1927, 1, '19849', '476', '46', NULL, '', 'Chiến sĩ', 24, 2, 1952, '', '', '', 0, '', '', ''), (233, 'TT/LS 14094', 'TT/LS 3411', 'Nguyễn Văn Tề', '', 0, 0, 1925, 1, '19825', '476', '46', NULL, '', 'Đội viê', 6, 6, 1948, 'Phong Sơn, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích xã Phong Thành (cũ),', 0, '', '', ''), (234, 'TT/LS 6988', 'TT/LS 6988', 'Phạm Bá Lai', '', 0, 0, 0, 1, '19831', '476', '46', NULL, '', 'Bí thư nông hội', 23, 3, 1952, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Xã Phong Dinh (Phong Bình),', 0, '', '', ''), (235, 'TT/LS 1065', 'TT/LS 3413', 'Phạm Bá Phác', '', 0, 0, 1920, 1, '19831', '476', '46', NULL, '', 'Tiểu đội phó', 0, 8, 1949, '', '', '', 0, '', '', ''), (236, 'TT/LS 1500', 'TT/LS 12824', 'Trần Lữ', '', 0, 0, 1910, 1, '19813', '474', '46', NULL, '', 'Đội viên tự vệ', 0, 3, 1947, 'Nam Giao, Thủy Xuân, Huế', '', 'Phường Thủy Xuân, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (237, 'TT/LS 8377', 'TT/LS 3416', 'Nguyễn Văn Cự', '', 0, 0, 1925, 1, '19825', '476', '46', NULL, '', 'Đội viê', 20, 11, 1949, 'Phong Bình, Phong Điền, Thừa Thiên Huế', '', 'Xã Phong Thạnh (cũ),', 0, '', '', ''), (238, 'TT/LS 9982', 'TT/LS 3417', 'Hoàng Đá', '', 0, 0, 1930, 1, '19825', '476', '46', NULL, '', 'Trung đội trưởng', 1, 11, 1951, '', '', 'Đại đội 300 Phong Điề', 0, '', '', ''), (239, 'TT/LS 3418', 'TT/LS 3418', 'Lê Thị Húng', '', 0, 0, 1934, 1, '19858', '476', '46', NULL, '', 'Đội viê', 29, 5, 1954, 'Phong An, Phong Điền, Thừa Thiên Huế', '', 'Đội du kích thôn Thượng Hòa', 0, '', '', ''), (240, 'TT/LS 12568', 'TT/LS 3319', 'Hoàng Trọng Thái', 'Trần Phú Năm', 0, 0, 1920, 1, '19894', '477', '46', NULL, 'Trung úy', 'Trưởng ban binh vậ', 9, 11, 1971, 'Miền Tây Thừa Thiên (cũ),', '', 'Huyện Quảng Điề', 0, '', '', ''), (241, 'TT/LS 12565', 'TT/LS 3120', 'Hoàng Công Giáo', '', 0, 0, 1926, 1, '19894', '477', '46', NULL, '', 'Trung đội phó', 13, 8, 1952, '', '', 'D319, E101', 0, '', '', ''), (242, 'TT/LS 9729', 'TT/LS 3421', 'Trần Duy Thì', '', 0, 0, 1931, 1, '19825', '476', '46', NULL, '', 'Tiểu đội phó', 7, 12, 1949, 'Phong Điền, Thừa Thiên Huế', '', 'Đội du kích xã Phong Thạnh (Cũ),', 0, '', '', ''), (243, 'TT/LS 13842', 'TT/LS 3422', 'Trương Quý Bằng', '', 0, 0, 1932, 1, '20014', '480', '46', NULL, '', 'Nhân viê', 30, 4, 1951, 'Hải Lăng, Quảng Trị', '', 'Ban bình dân học vụ huyện Hương Trà (cũ),', 0, '', '', ''), (244, '12129', 'TTH/LS 3423', 'Ngô Thị Dục', '', 0, 0, 1922, 2, '20014', '480', '46', NULL, '', 'Cán bộ', 10, 6, 1951, 'Hương Vinh, Hương Trà, Thừa Thiên Huế', '', 'Huyện ủy Hương Trà (cũ),', 0, '20014', '480', '46'), (245, '13895', 'TTH/LS 3424', 'Trần Chấp', '', 0, 0, 1929, 1, '20014', '480', '46', NULL, '', 'Trung đội trưởng', 1, 6, 1954, '', '', 'Đại đội 203, trinh sát F325', 0, '', '', ''), (246, 'TT/LS 13894', 'TT/LS 3425', 'Nguyễn Đăng Sung', '', 0, 0, 1929, 1, '19804', '474', '46', NULL, '', 'Chính trị phó đại đội', 23, 3, 1954, '', '', 'Huyện đội Hương Trà (cũ),', 0, '', '', ''), (247, 'TT/LS 12463', 'TT/LS 3426', 'Nguyễn Văn Meo', '', 0, 0, 1939, 1, '20029', '480', '46', NULL, '', 'Nhân viê', 0, 11, 1968, 'Quận 3, miền Tây Thừa Thiê', '', 'Ban kinh tế khu Trị Thiê', 0, '', '', ''), (248, 'TT/LS 3427', 'TT/LS 3427', 'Trương Văn Triền (Chiến, Tiền),', 'Dung', 0, 0, 1930, 1, '19849', '476', '46', NULL, '', 'Nhân viê', 13, 3, 1967, 'Phong An, Phong Điền, Thừa Thiên Huế', '', 'Ty kinh tế tỉnh Thừa Thiê', 0, '', '', ''), (249, 'TT/LS 10685', 'TT/LS 10229', 'Lê Công Hưng', '', 0, 0, 1920, 1, '19774', '474', '46', NULL, '', 'Phó chủ nhiệm hậu cầ', 27, 2, 1968, 'Mặt trận Phía Nam', '', 'K200, B4', 0, '', '', ''), (250, 'TT/LS 13288', 'TT/LS 3429', 'Lê Tượng', '', 0, 0, 1924, 1, '19750', '474', '46', NULL, '', 'Trung đội trưởng', 1, 12, 1952, '', '', 'E308, C285, E102', 0, '', '', ''), (251, 'TT/LS 9596', 'TT/LS 3434', 'Nguyễn Đình Hạng', '', 0, 0, 1920, 1, '19894', '477', '46', NULL, '', 'Trung đội trưởng', 0, 6, 1964, 'Đường 22', '', 'Binh trạm đường 12', 0, '', '', ''), (252, 'TT/LS 13780', 'TT/LS 3435', 'Nguyễn Lệnh', '', 0, 0, 1919, 1, '19894', '477', '46', NULL, '', 'Cán bộ', 15, 7, 1965, 'Quảng Lợi, Quảng Điền, Thừa Thiên Huế', '', 'Huyện ủy viên huyện Quảng Điền (cũ),', 0, '', '', ''), (253, 'TT/LS 12568', 'TT/LS 3436', 'Lê Văn Tư', '', 0, 0, 1933, 1, '19894', '477', '46', NULL, '', 'Trung đội trưởng', 28, 4, 1966, 'Nam Đông, Thừa Thiên Huế', '', 'Biệt động F338', 0, '', '', ''), (254, 'TT/LS 12567', 'TT/LS 3437', 'Trần Huy (Ngưu),', '', 0, 0, 1943, 1, '19894', '477', '46', NULL, '', 'Trung đội phó', 0, 4, 1970, 'Quảng Vinh, Quảng Điền, Thừa Thiên Huế', '', 'Huyện đội Quảng Điề', 0, '', '', ''), (255, 'TT/LS 13321', 'TT/LS 3438', 'Mai Do', '', 0, 0, 1920, 1, '19921', '478', '46', NULL, '', 'Bí thư chi bộ', 16, 7, 1953, 'Phú Diên, Phú Vang, Thừa Thiên Huế', '', 'Xã Phú Hải (cũ),', 0, '', '', ''), (256, 'TT/LS 3804', 'TT/LS 3439', 'Nguyễn Chánh Truyệ', '', 0, 0, 1948, 1, '19921', '478', '46', NULL, 'Trung sĩ', 'Tiểu đội phó', 13, 5, 1968, 'Phú Hồ, Phú Vang, Thừa Thiên Huế', '', 'C2, K10 Thừa Thiên (cũ),', 0, '', '', ''), (257, 'TT/LS 8505', 'TT/LS 3440', 'Nguyễn Văn A', '', 0, 0, 0, 1, '19921', '478', '46', NULL, '', 'Chiến sĩ', 29, 3, 1966, '', '', 'Bộ đội địa phương huyện Phú Vang', 0, '', '', ''), (258, 'TT/LS 6898', 'TT/LS 3441', 'Trần Văn Thiệ', '', 0, 0, 0, 1, '19921', '478', '46', NULL, '', 'Đội viê', 26, 6, 1968, 'Phú Diên, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích thôn Phong Diên, xã Phú Diê', 0, '', '', ''), (259, 'TT/LS 11457', 'TT/LS 3442', 'Trần Ngọc Bả', '', 0, 0, 1938, 1, '19921', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 31, 10, 1971, 'Hương Nguyên, Miền Tây, quân khu 4', '', 'Hậu cần tỉnh đội Thừa Thiên (cũ),', 0, '', '', ''), (260, 'TT/LS 10251', 'TT/LS 3443', 'Trần Văn Dò', '', 0, 0, 1949, 1, '19921', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 14, 3, 1967, '', '', 'Đại đội 2, tiểu đoàn 4', 0, '', '', ''), (261, 'TT/LS 8792', 'TT/LS 3444', 'Đặng Văn Ký', '', 0, 0, 1949, 1, '19921', '478', '46', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 9, 9, 1973, 'Cửa rừng số 9, Hương Thủy', '', 'Biệt động Phú Vang', 0, '', '', ''), (262, 'TT/LS 3445', 'TT/LS 3445', 'Lê Viết Cớp (Cư),', '', 0, 0, 1947, 1, '19921', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ y tá', 6, 5, 1968, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'C118 tỉnh đội Thừa Thiê', 0, '', '', ''), (263, 'TT/LS 10250', 'TT/LS 3446', 'Nguyễn Văn Hiệp', '', 0, 0, 1951, 1, '19921', '478', '46', NULL, '', 'Y tá', 14, 7, 1970, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'Huyện đội Phú Vang (cũ),', 0, '', '', ''), (264, 'TT/LS 11458', 'TT/LS 3447', 'Nguyễn Văn Thuẫn (Bình),', '', 0, 0, 1947, 1, '19921', '478', '46', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 2, 9, 1968, 'Phú Xuân, Phú Vang, Thừa Thiên Huế', '', 'C117 tỉnh Thừa Thiê', 0, '', '', ''), (265, 'TT/LS 2068', 'TT/LS 3448', 'Phan Văn Vui', '', 0, 0, 1950, 1, '19903', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 2, 5, 1968, '', '', 'Đại đội 117', 0, '', '', ''), (266, 'TT/LS 5927', 'TT/LS 3449', 'Phan Văn Giáo', '', 0, 0, 1943, 1, '19903', '478', '46', NULL, '', 'Chiến sĩ', 28, 2, 1969, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Thuậ', 0, '', '', ''), (267, 'TT/LS 9597', 'TT/LS 3431', 'Nguyễn Đình Rơi', '', 0, 0, 1932, 1, '19894', '477', '46', NULL, '', 'Trung đội trưởng', 0, 11, 1965, 'Quảng Thọ, Quảng Điền, Thừa Thiên Huế', '', 'Huyện đội Quảng Điề', 0, '', '', ''), (268, 'TT/LS 9598', 'TT/LS 3432', 'Hoàng Công Tánh', '', 0, 0, 1921, 1, '19894', '477', '46', NULL, '', 'Trung đội trưởng', 15, 10, 1951, '', '', 'Huyện đội Quảng Điề', 0, '', '', ''), (269, 'TT/LS 958', 'TT/LS 3433', 'Trần Thức', '', 0, 0, 1942, 1, '19894', '477', '46', NULL, '', 'Trung đội trưởng', 25, 12, 1968, '', '', 'Huyện đội Quảng Điề', 0, '', '', ''), (270, '3907', 'TTH/LS 12893', 'Hà Văn Đinh', '', 0, 0, 1927, 1, '20020', '480', '46', NULL, '', 'Nhân viên liên lạc xã', 0, 9, 1948, 'Hương Xuân, Hương Trà, tỉnh Thừa Thiên Huế', '', 'Phường Hương Chữ, thị xã Hương Trà, Tỉnh Thừa Thiên Huế', 0, '', '', ''), (271, 'TT/LS 4050', 'TT/LS 12825', 'Lê Đình Trị', '', 0, 0, 1943, 1, '19813', '474', '46', NULL, '', 'Đội viê', 16, 2, 1968, 'Thủy Xuân, Thành phố Huế', '', 'Phường Thủy Xuân, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (272, 'TT/LS 3901', 'TT/LS 12826', 'Trương Thị Liễu', '', 0, 0, 1989, 2, '19813', '474', '46', NULL, '', 'Đội viê', 0, 0, 1947, 'Nam Giao, Thủy Xuân, Thành phố Huế', '', 'Phường Thủy Xuân, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (273, '3908', 'TTH/LS 12894', 'Hà Xuân Hoàng', '', 0, 0, 1920, 1, '20020', '480', '46', NULL, '', 'Đội viên du kích ', 0, 6, 1953, 'Hương Chữ, Hương Trà', '', 'Phường Hương Chữ, thị xã Hương Trà, tỉnh Thừa Thiên Huế', 0, '20020', '480', '46'), (274, 'TT/LS 4391', 'TT/LS 13140', 'Hồ Đăng Nghĩa', '', 0, 0, 1930, 1, '19762', '474', '46', NULL, '', 'Chiến Sĩ', 16, 9, 1949, '', '', 'Trung đoàn 83 Quân khu 6', 0, '', '', ''), (275, 'TT/LS 2345', 'TT/LS 12936', 'Hồ Phước Sình', '', 0, 0, 1940, 1, '20020', '480', '46', NULL, '', 'Tổ trưởng', 20, 1, 1975, 'Khe Điê', '', 'Bưu điện Thị xã Hương Trà', 0, '', '', ''), (276, 'TT/LS 3902', 'TT/LS 12828', 'Nguyễn Bích', '', 0, 0, 1915, 1, '19780', '474', '46', NULL, '', 'Ủy viên ủy ban kháng chiến hành chính xã', 0, 0, 1947, 'Đồn canh nông Huế', '', 'Phường Thủy Xuân, Thành phố Huế, Tỉnh Thừa Thiên Huế', 0, '', '', ''), (277, 'TT/LS 4051', 'TT/LS 12829', 'Nguyễn Ngọc Diệu', '', 0, 0, 1927, 1, '19750', '474', '46', NULL, '', 'Cán bộ ', 26, 8, 1968, '', '', 'Ban kinh tế tại khu Trị Thiê', 0, '', '', ''), (279, 'TT/LS 6861', 'TT/LS 12856', 'Đỗ Văn Tấ', '', 0, 0, 1897, 1, '19807', '474', '46', NULL, '', 'Cơ sở công nhân nhà máy vôi', 0, 5, 1947, '', '', 'Nhà máy vôi Long Thọ, phường Thủy Biều, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (280, 'TT/LS 7114', 'TT/LS 12857', 'Lê Đức Thái', '', 0, 0, 1930, 1, '19795', '474', '46', NULL, '', 'Đội viên du kích thô', 0, 4, 1953, '', '', 'Xã Phú Diên, huyện Phú Vang, tỉnh Thừa Thiên Huế', 0, '', '', ''), (281, 'TT/LS 4033', 'TT/LS 12950', 'Lê Đình Phúc', '', 0, 0, 1950, 1, '20020', '480', '46', NULL, 'Hạ sỹ ', 'Chiến Sỹ', 28, 3, 1970, 'Không thể hiệ', '', 'C41. Hỏa lực Trung Đoàn 5', 0, '', '', ''), (282, '4101', 'TTH/LS 12867', 'Nguyễn Đăng Vui', '', 0, 0, 1929, 1, '19803', '474', '46', NULL, '', 'Cán bộ ban kinh tế tỉnh', 1, 1, 1967, '', '', 'Ty kinh tế tỉnh Thừa Thiê', 0, '', '', ''), (283, 'TT/LS 1490', 'TT/LS 12868', 'Lê Kim Ngọc', '', 0, 0, 1926, 1, '19804', '474', '46', NULL, '', 'Xã đội trưởng', 8, 2, 1954, '', '', 'Phường Hương Sơ, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (284, '4117', 'TTH/LS 12869', 'Lê Chữ', '', 0, 0, 1902, 1, '19803', '474', '46', NULL, '', 'Trưởng thô', 22, 2, 1968, '', 'Văn Xá, Hương Trà', 'Hương Sơ, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (285, 'TT/LS 4108', 'TT/LS 12870', 'Nguyễn Văn Tình', '', 0, 0, 0, 1, '19750', '474', '46', NULL, '', 'Thôn đội phó', 20, 7, 1969, '', '', 'Xã Phong Chương, huyện Phong Điền, tỉnh Thừa Thiên Huế', 0, '', '', ''), (286, 'TT/LS 4079', 'TT/LS 12970', 'Trần Thiện Â', '', 0, 0, 1923, 1, '20029', '480', '46', NULL, '', 'Trung đội phó', 7, 7, 1967, '', '', 'Đại đội Lê Hồng Phương lử 270', 0, '', '', ''), (287, 'TT/LS 4118', 'TT/LS 12874', 'Phan Văn Đa', '', 0, 0, 1918, 1, '19804', '474', '46', NULL, '', 'Công dâ', 1, 1, 1968, '', '', 'Phường Hương Sơ, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (288, 'TT/LS 4031', 'TT/LS 12900', 'Nguyễn Văn Trố', '', 0, 0, 1923, 1, '19780', '474', '46', NULL, '', 'Tiểu đội trưởng', 29, 7, 1949, '', '', 'Phường Thủy Xuân, thành phố Huế, tỉnh Thừa Thiên Huế', 0, '', '', ''), (289, 'TT/LS 2356', 'TT/LS 12937', 'Hoàng Thị Quýt', '', 0, 0, 1948, 2, '19801', '474', '46', NULL, '', 'Y tá xã', 13, 9, 1968, '', '', 'Xã Phong Hiền, huyện Phong Điền, tỉnh Thừa Thiên Huế', 0, '', '', ''), (290, 'TT/LS 376', 'TT/ LS 12973', 'Nguyễn Thị Thêm', '', 0, 0, 1942, 2, '20017', '480', '46', NULL, '', 'Nhân viên kinh tế huyệ', 6, 4, 1968, '', '', 'Huyện Hương Trà', 0, '', '', ''), (291, '8577', 'TTH/LS 12945', 'Hoàng Trọng Khiết', '', 0, 0, 1920, 1, '19798', '474', '46', NULL, '', 'Bí thư chi bộ xã', 26, 8, 1948, '', '', 'Xã Thủy Thanh, thị xã Hương Thủy, tỉnh Thừa Thiên Huế ', 0, '', '', ''), (292, 'TT/LS 377', 'TT/LS 12974', 'Ngô Văn Năm', '', 0, 0, 1929, 1, '20017', '480', '46', NULL, '', 'Chiến sỹ ', 7, 10, 1953, '', '', 'Chủ lực tỉnh Thừa thiê', 0, '', '', ''), (293, 'TT/LS 2344', 'TT/LS 12946', 'Lê Trọng Thố', '', 0, 0, 1920, 1, '19795', '474', '46', NULL, '', 'Nhân viên khai thác Bưu (Cán bộ),', 13, 5, 1948, '', '', 'Bưu điện tỉnh Thừa Thiê', 0, '', '', ''), (294, 'TT/LS 3958', 'TT/LS 12948', 'Lê Hữu Quyề', '', 0, 0, 1911, 1, '19815', '474', '46', NULL, '', 'Xã đội trưởng và phó chủ tịch xã', 8, 8, 1951, '', '', 'Xã Thủy An, Hương Phú, tỉnh Bình Trị Thiê', 0, '', '', ''), (295, 'TT/LS 552', 'TT/LS 12975', 'Nguyễn Đắc Quang', '', 0, 0, 1950, 1, '20017', '480', '46', NULL, '', 'Đội trưởng giao liê', 25, 12, 1975, '', '', 'Chánh bắc, Thành Phố Huế', 0, '', '', ''), (296, 'TT/LS 1460', 'TT/LS 12951', 'Nguyễn Văn Đường', '', 0, 0, 1917, 1, '19807', '474', '46', NULL, '', 'Đội viên du kích', 16, 8, 1948, '', '', 'Xã Thủy Biều, huyện Hương Phú, tỉnh Bình Trị Thiê', 0, '', '', ''), (297, '0987', 'TTH/LS 12980', 'Phan Thị Biu', '', 0, 0, 1932, 2, '20020', '480', '46', NULL, '', 'Nhân viên cấp dưỡng', 0, 4, 1968, '', 'Miệu khe nước, Hương Chữ', 'Đội công tác xã Hương Chữ', 0, '20020', '480', '46'), (298, '375', 'TTH/LS 12989', 'Dương Văn Trai', '', 0, 0, 1930, 1, '20017', '480', '46', NULL, '', 'Giao liê', 5, 5, 1947, '', '', 'Đường dây Hương Trà (cũ),', 0, '', '', ''), (299, '0770', 'TTH/LS 12990', 'Đặng Vàng', 'Di', 0, 0, 1922, 1, '20014', '480', '46', NULL, '', 'Đại đội trưởng', 30, 11, 1949, 'Cửa Lò, Nghệ A', 'Cửa Lò, Nghệ A', 'Trung Đoàn 95', 0, '', '', ''), (300, 'TT/LS 988', 'TT/LS 12991', 'Hồ Văn Hoà', '', 0, 0, 1925, 1, '20008', '480', '46', NULL, '', 'Cán bộ', 1, 9, 1965, '', '', 'Tỉnh ủy Thừa Thiên cũ', 0, '', '', ''), (302, 'TT/LS 4426', 'TT/LS 13036', 'Lê Văn Cường', '', 0, 0, 1924, 1, '20017', '480', '46', NULL, 'Thượng Sỹ', 'Tiểu đội trưởng', 30, 8, 1964, '', '', 'Tiểu đoàn 3 Quảng Trị', 0, '', '', ''), (303, 'TT/LS 4427', 'TT/LS 13037', 'Nguyễn Văn Ná', '', 0, 0, 1920, 1, '20017', '480', '46', NULL, '', 'Chiến sỹ', 27, 11, 1946, '', '', 'Bộ đội chủ lực Thừa Thiên cũ', 0, '', '', ''), (304, 'TT/LS 48', 'TT/LS 13072', 'Phan Văn Yê', '', 0, 0, 1937, 1, '20017', '480', '46', NULL, '', 'Nguyên cán bộ Tổng cục đường sắt', 0, 0, 0, '', '', 'Không thể hiệ', 0, '', '', ''), (305, 'TT/LS 51', 'TT/LS 13074', 'Nguyễn Đình Cháu', '', 7, 9, 1919, 1, '20005', '480', '46', NULL, '', 'Tiểu đội trưởng', 20, 4, 1947, '', '', 'Đội biệt động Thành Phố Huế', 0, '', '', ''), (306, 'TT/LS 1459', 'TT/LS 12953', 'Võ Bá Diệm', '', 0, 0, 1919, 1, '19807', '474', '46', NULL, '', 'Trưởng ban công an xã', 17, 3, 1949, '', '', 'Xã Thủy Biều', 0, '', '', ''), (307, 'TT/LS 1667', 'TT/LS 10121', 'Nguyễn Nhị', '', 0, 0, 1926, 1, '19948', '478', '46', NULL, '', 'Tiểu đội trưởng', 0, 1, 1951, 'Thanh Lam Bồ, Thừa Thiê', '', 'Trung đoàn 101', 0, '', '', ''), (308, 'TT/LS 1458', 'TT/LS 12954', 'Hoàng Trọng Co', '', 0, 0, 1929, 1, '19807', '474', '46', NULL, '', 'Đội viên du kích xã', 0, 9, 1950, '', '', 'Xã Thủy Biều', 0, '', '', ''), (309, 'TT/LS 4098', 'TT/LS 12957', 'Phan Hồng Trinh', '', 0, 0, 1933, 1, '19810', '474', '46', NULL, '', 'Tiểu đoàn Trưởng', 31, 12, 1969, '', '', 'Tiểu đoàn 33. Đoàn 305. B4', 0, '', '', ''), (310, 'TT/LS 10968', 'TT/LS 12976', 'Nguyễn Như Lanh', '', 0, 0, 1950, 1, '19750', '474', '46', NULL, 'Trung sĩ', 'Chiến Sĩ', 10, 3, 1968, '', '', 'Công an nhân dân huyện Hương Điề', 0, '', '', ''), (311, 'TT/LS 550', 'TT/LS 12979', 'Nguyễn Thị Hương Se', '', 0, 0, 1949, 2, '19810', '474', '46', NULL, '', 'Ủy viên ban chấp hành huyện đoà', 25, 4, 1972, '', '', 'Huyện Hương Trà', 0, '', '', ''), (312, '14450', 'TTH/LS 13003', 'Võ Sỷ Thứ', '', 0, 0, 1907, 1, '19803', '474', '46', NULL, '', 'Tỉnh đội phó', 17, 2, 1947, '', 'Cổ Bưu, Hương A', 'Tỉnh đội Thừa Thiê', 0, '', '', ''), (313, 'LS 39', 'LCI/LS 2136', 'Nguyễn Thế Vĩnh', '', 0, 0, 1950, 1, '02746', '082', '10', NULL, '', 'Xã đội phó', 19, 2, 1979, 'Xã Cốc San, Bát Xát, Hoàng Liên Sơ', 'Km 15,Xã Cốc San, Bát Xát, Hoàng Liên Sơ', 'Xã Cốc San, Bát Xát, Hoàng Liên Sơ', 0, '02746', '082', '10'), (315, 'LS 1112', 'LCI/LS 1308', 'Nguyễn Văn Canh', '', 0, 0, 1951, 1, '02746', '082', '10', NULL, 'Thượng Sỹ', 'Tiểu đội trưởng', 12, 8, 1973, 'Mặt trận phía nam', '', 'Tiểu đoàn 8, KT', 0, '', '', ''), (317, 'LS 1172', 'LCI/LS1720', 'Vi Lý Sẩu', '', 0, 0, 1919, 1, '02746', '082', '10', NULL, '', '', 13, 3, 1979, 'Tòng Sành, Cốc San, Bát Xát, Lào Cao', '', '', 0, '02746', '082', '10'), (335, 'Ls 1173', 'LCI/LS 1721', 'Vi A Lù', '', 0, 0, 1960, 1, '02746', '082', '10', NULL, 'Chiến Sỹ dân Quâ', '', 13, 3, 1979, 'Toòng Sành, Cốc San, |Bát Xát, Lào Cai', '', '', 0, '02746', '082', '10'), (337, 'LS 150', 'LCI/LS 769', 'Hồ A Lìu', '', 22, 7, 1957, 1, '02746', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 11, 3, 1979, 'Biên giới Viêt Nam , Trung Quốc', '', '', 0, '', '', ''), (338, 'LS 345', 'LCI/LS 765', 'Nguyễn Duy Luậ', '', 0, 0, 1947, 1, '02746', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 30, 4, 1972, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (339, 'LS 580', 'LCI/LS 1326', 'Nguyễn Văn Quý', '', 1, 12, 1956, 1, '02746', '082', '10', NULL, 'Binh nhất', 'Chiến Sỹ', 17, 2, 1979, 'Thị xã Lào Cai', '', 'C1-D5 thị xã lào Cai, Hoàng Liên Sơ', 0, '02925', '086', '10'), (340, 'LS 966', 'LCI/LS 1283', 'Nguyễn Văn Kiê', '', 0, 0, 1948, 1, '02746', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 30, 5, 1972, 'Mặt trận phía nam', 'tỉnh P Lây Cu', 'D8-KT', 0, '', '', ''), (341, 'LS 999', 'LCI/LS 1257', 'Đặng Văn Đạo', '', 0, 0, 1949, 1, '02746', '082', '10', NULL, 'Trung Sỹ', 'Tiểu đội phó', 17, 6, 1969, 'Mặt trận phía nam', '', 'Đại đội 5, tiểu đoàn 33', 0, '', '', ''), (342, 'LS 696', 'LCI/LS 1355', 'Phàn Duần Sài', '', 0, 0, 1962, 1, '02692', '082', '10', NULL, '', 'Chiến Sỹ', 10, 4, 1982, 'Xã A Lù, huyện Bát Xát, Hoàng Liên Sơ', '', 'Dân quân xã A Lù, huyện Bát Xát', 0, '02692', '082', '10'), (343, 'LS 789', 'LCI/LS 1248', 'Lý Gió Giờ', '', 0, 0, 1959, 1, '02692', '082', '10', NULL, '', 'Chiến sỹ dân quâ', 11, 9, 1981, 'Xã A Lù, huyện Bát Xát, Hoàng Liên Sơ', 'Xã A Lù, huyện Bát Xát, Hoàng Liên Sơ', 'Dân quân xã A Lù, huyện Bát Xát', 0, '02692', '082', '10'), (344, 'LK/LS 886', 'LCI/LS 776', 'Vàng Seo La', '', 0, 0, 1944, 1, '02866', '085', '10', NULL, 'Trung sỹ', 'tiểu đội phó ', 10, 8, 1970, 'Mặt trận phía nam', '', 'Đại đội 1 tiểu đoàn 3 KT', 0, '', '', ''), (345, 'LK/LS 864', 'LCI/LS 1250', 'Hoàng A Giểng', '', 0, 0, 1951, 1, '02692', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 21, 11, 1970, 'Mặt trận phía nam', '', 'Đâị đội 3 tiểu đoàn 7, KB', 0, '02683', '082', '10'), (346, 'LK/LS 1529', 'LCI/LS 1397', 'Tẩn Phù Thiề', '', 0, 0, 1959, 1, '02692', '082', '10', NULL, '', 'Chiến Sỹ', 10, 4, 1982, 'Thôn Suối Cầu 1 xã A Lù, huyện Bát Xát, tỉnh Hoàng Liên Sơ', 'Xã A Lù, huyện Bát Xát, tỉnh Hoàng Liên Sơ', 'xã A Lù, huyện Bát Xát, tỉnh Hoàng Liên sơ', 0, '02692', '082', '10'), (347, 'LS', 'LCI/LS 2001', 'Vũ Đoàn Thể', '', 0, 0, 0, 1, '02710', '082', '10', NULL, 'Tiểu đội trưởng', '', 21, 1, 1947, 'Thành phố Nam Định', '', 'Đ 369, E34', 0, '13786', '359', '36'), (348, 'LS', 'LCI/LS 2001', 'Vũ Đoàn Thể', '', 0, 0, 0, 1, '02710', '082', '10', NULL, 'Tiểu đội trưởng', '', 21, 1, 1947, 'Thành phố Nam Định', '', 'Đ 369, E34', 0, '13786', '359', '36'), (349, 'LS', 'LCI/LS 1354', 'Sùng A Sình', '', 0, 0, 1946, 1, '02698', '082', '10', NULL, '', 'Phó bí thư chi bộ', 10, 2, 1982, 'Thôn cán Cấu, xã ngải Thầu, bát Xát, Hoàng Liên Sơ', '', 'Xã A Mú Sung, Bát Xát, Hoàng Liên Sơ', 0, '02698', '082', '10'), (350, 'LS 17', 'LCI/LS 1249', 'Thào A Giống', '', 0, 0, 1940, 1, '02698', '082', '10', NULL, 'Huyện ủy viê', 'Khu phó khu Y Tý', 12, 7, 1980, 'xã Y Tý, Bát Xát, Hoàng Liên Sơ', '', 'huyện ủy huyện Bát Xát, Hoàng Liên Sơ', 0, '02698', '082', '10'), (351, 'LS 78', 'LCI/LS 770', 'Phạm Thị Lâm', '', 0, 0, 1960, 2, '02710', '082', '10', NULL, '', 'Chiến Sỹ', 17, 2, 1979, 'Chót khu, kho tàu, xã Bản Vược, Bát Xat, Hoàng Liên Sơ', '', 'dân quân xã bản Phiệt, Bát Xat, Hoàng Liên Sơ', 0, '02683', '082', '10'), (352, 'LS 202', 'LCI/LS 1293', 'Nguyễn Xuân Bao', '', 0, 0, 1951, 1, '02710', '082', '10', NULL, 'trung sỹ', 'tiểu đội phó', 30, 5, 1975, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (353, 'TT/LS 13322', 'TT/LS 3451', 'Hoàng Trọng Huâ', '', 0, 0, 1939, 1, '19921', '478', '46', NULL, '', 'Đội trưởng', 3, 4, 1949, 'Vinh Xuân, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Diê', 0, '', '', ''), (354, 'TT/LS 11654', 'TT/LS 3452', 'Lê Đình Thông', '', 0, 0, 1928, 1, '19921', '478', '46', NULL, '', 'Đội viê', 2, 2, 1947, 'Vinh Thanh, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Diê', 0, '', '', ''), (355, 'TT/LS 11653', 'TT/LS 3453', 'Nguyễn Văn Kiềm', '', 0, 0, 1932, 1, '19921', '478', '46', NULL, '', 'Dân quâ', 29, 2, 1968, 'Vinh Thái, Phú Vang, Thừa Thiên Huế', '', 'Vận tải ngắn hạn xã Phú Diê', 0, '', '', ''), (356, 'TT/LS 11639', 'TT/LS 3454', 'Phan Văn Bình', '', 0, 0, 1950, 1, '19921', '478', '46', NULL, '', 'Đội viê', 17, 5, 1968, 'Phú Diên, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Diê', 0, '', '', ''), (357, 'TT/LS 11638', 'TT/LS 3455', 'Nguyễn Văn Tành', '', 0, 0, 1942, 1, '19921', '478', '46', NULL, '', 'Chiến sĩ', 10, 8, 1968, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'Đội giao liên huyện Phú Vang', 0, '', '', ''), (358, 'TT/LS 11637', 'TT/LS 3456', 'Nguyễn Đại Ẩ', '', 0, 0, 1921, 1, '19921', '478', '46', NULL, '', 'Nhân viê', 19, 6, 1952, 'Phú Xuân, Phú Vang, Thừa Thiên Huế', '', 'Ban kinh tài huyện Phú Vang', 0, '', '', ''), (359, 'TTH/LS 11636', 'TTH/LS 3457', 'Hồ Văn Uông', '', 0, 0, 1927, 1, '19921', '478', '46', NULL, '', 'Đội viê', 29, 2, 1968, 'Vinh Thái, Phú Vang', '', 'Đội dân công vận tải xã Phú Diê', 0, '', '', ''), (360, 'TT/LS 8599', 'TT/LS 3458', 'Võ Quyế', '', 0, 0, 1919, 1, '19984', '479', '46', NULL, '', 'Trung đội trưởng', 14, 3, 1952, 'Thủy Phù, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích tập trung xã Hải Thủy (cũ),', 0, '', '', ''), (361, 'TT/LS 2045', 'TT/LS 3459', 'Lê Chạt', '', 0, 0, 1927, 1, '19903', '478', '46', NULL, '', 'Chiến sĩ', 10, 10, 1949, '', '', 'Đại đội 123, tiểu đoàn 328', 0, '', '', ''), (362, 'TT/LS 2754', 'TT/LS 3460', 'Nguyễn Đại Hách', '', 0, 0, 1931, 1, '19915', '478', '46', NULL, '', 'Chiến sĩ', 18, 3, 1952, '', '', 'Vệ quốc đoà', 0, '', '', ''), (363, 'TT/LS 3538', 'TT/LS 3461', 'Đặng Văn Sa', '', 0, 0, 1920, 1, '19915', '478', '46', NULL, '', 'Chính trị viê', 0, 2, 1954, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Xã đội Phú Thuậ', 0, '', '', ''), (364, 'TT/LS 2078', 'TT/LS 3462', 'Nguyễn Đức Phổ', '', 0, 0, 1913, 1, '19915', '478', '46', NULL, '', 'Chiến sĩ', 0, 2, 1952, '', '', 'Tiểu đoàn 319, trung đoàn 101', 0, '', '', ''), (365, 'TT/LS 11635', 'TT/LS 3463', 'Ngô Đức Quỳ', '', 0, 0, 1916, 1, '19903', '478', '46', NULL, '', 'Chi ủy viê', 25, 9, 1952, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Chi bộ xã Phú Thuậ', 0, '', '', ''), (366, 'TT/LS 11644', 'TT/LS 3464', 'Nguyễn Bình Quyề', '', 0, 0, 1925, 1, '19777', '474', '46', NULL, '', 'Huyện ủy viê', 9, 2, 1965, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Huyện Phú Vang', 0, '', '', ''), (367, 'TT/LS 11643', 'TT/LS 3465', 'Nguyễn Thế', '', 0, 0, 0, 1, '19915', '478', '46', NULL, '', 'Cán bộ', 9, 1, 1965, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Huyện Phú Vang (cũ),', 0, '', '', ''), (368, 'LK/LS 231', 'LCI/LS 1376', 'Ly Già Mờ', '', 0, 0, 1945, 1, '02701', '082', '10', NULL, '', 'Chiến Sỹ', 12, 7, 1980, '', '', '', 0, '02701', '082', '10'), (369, 'LK/LS 15', 'LCI/LS 1753', 'Tràng A Sư', '', 0, 0, 1958, 1, '02701', '082', '10', NULL, 'Trung sỹ', 'A trưởng', 0, 0, 0, '', '', 'D20 Bộ tham mưu quân khu 2', 0, '02701', '082', '10'), (370, 'LK/LS 1219', 'LCI/LS 1358', 'Lý Láo Sử', '', 20, 11, 1962, 1, '02740', '082', '10', NULL, '', 'Chiến Sỹ', 3, 7, 1958, '', '', 'Ủy ban nhân dân xã Nậm Pung', 0, '02740', '082', '10'), (371, 'LK/LS 35', 'LCI/LS 1404', 'Nguyễn Văn Toà', '', 0, 0, 1957, 1, '02725', '082', '10', NULL, '', 'Dân quâ', 17, 2, 1979, '', '', 'xã Bản Vược, Bát Xát ,Hoàng Liên Sơ', 0, '02683', '082', '10'), (372, 'LK/LS 632', 'lCI/LS 772', 'Đỗ Thanh Lương', '', 0, 0, 1956, 1, '02719', '082', '10', NULL, 'Binh nhât', 'Chiến sỹ', 30, 7, 1981, '', '', 'Sư đoàn 345 trung đoàn 124', 0, '02683', '082', '10'), (373, 'LK/LS 415', 'LCI/LS 1344', 'Hoàng Xuân Pí', '', 0, 0, 1954, 1, '02719', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 14, 3, 1979, 'cao điểm 368', '', 'đại đội 2, tiểu đoàn 4 , trung đoàn 121, sư đoàn 345', 0, '02671', '080', '10'), (374, 'LK/LS 415', 'LCI/LS 1344', 'Hoàng Xuân Pí', '', 0, 0, 1954, 1, '02719', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 14, 3, 1979, 'cao điểm 368', '', 'đại đội 2, tiểu đoàn 4 , trung đoàn 121, sư đoàn 345', 0, '02668', '080', '10'), (375, 'LK/LS 810', 'LCI/LS 1357', 'Vương Văn Xèm', '', 0, 0, 1946, 1, '02719', '082', '10', NULL, 'Binh nhât', 'Chiến Sỹ', 11, 3, 1967, 'Mặt trận phía tây', '', 'Đâị đội 1, tiểu đoàn 3', 0, '', '', ''), (376, 'LK/LS 1121', 'LCI/LS 1272', 'Nguyễn Đức Huynh', '', 0, 0, 1950, 1, '02704', '082', '10', NULL, 'Hạ sỹ', 'chiến sỹ', 21, 6, 1971, 'Mặt trận phía tây', '', 'D7,E9', 0, '', '', ''), (377, 'LK/LS 1111', 'LCI/LS 1394', 'Nguyễn Xuân Thành', '', 0, 0, 1952, 1, '02704', '082', '10', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', 13, 7, 1973, 'Mặt trận phía nam', '', 'C 19-KB', 0, '19597', '468', '45'), (378, 'LK/LS 1044', 'LCI/LS 768', 'Trần Văn Lương', '', 0, 0, 1949, 1, '02719', '082', '10', NULL, 'Trung sỹ', 'Tiểu đội phó', 15, 6, 1969, 'Mặt trận phía nam', '', 'C9;D6;KB', 0, '', '', ''), (379, 'LK/LS 1015', 'LCI/LS 771', 'Nguyễn Văn Lượng', '', 0, 0, 1962, 1, '02704', '082', '10', NULL, '', 'Tiểu đội trưởng dân quâ', 20, 4, 1972, '', '', 'Trung đội dân quân trực chiến xã Cốc Mỳ', 0, '02704', '082', '10'), (380, 'LK/LS 965', 'LCI/LS 1393', 'Vũ Quang Tiế', '', 0, 0, 1947, 1, '02695', '082', '10', NULL, 'Hạ sỹ', 'Chiến sỹ', 18, 9, 1968, 'Mặt trận phía nam', '', 'D5; Đ 429; X10; KB', 0, '', '', ''), (381, 'LK/LS 917', 'LCI/LS 1295', 'Nguyễn Thanh Bao', '', 0, 0, 1947, 1, '02719', '082', '10', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', 20, 2, 1972, 'Mặt trận phía nam', '', 'Đại đội 10, tiểu đoàn 107 ,K', 0, '', '', ''), (382, 'LK/LS 563', 'LCI/LS 1258', 'Đặng Văn Điều', '', 0, 0, 1949, 1, '02734', '082', '10', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', 28, 6, 1971, '', '', 'Phòng hậu cần Đại đội 50-KB', 0, '04252', '132', '15'), (383, 'LK/LS 540', 'LCI/LS 1391', 'Trần Văn Tiểm', '', 0, 0, 1956, 1, '02734', '082', '10', NULL, 'trung sỹ', 'Tiểu đội trưởng', 19, 2, 1979, '', '', 'Đồn 202 bộ đội biên phòng Mường Khương, Lào Cai', 0, '02683', '082', '10'), (384, 'LK/LS 1353', 'LCI/LS 350', 'Lâm Ngọc Thạch', '', 0, 0, 1934, 1, '02971', '087', '10', NULL, 'H 1', 'Chiến sỹ', 8, 8, 1968, '', '', '', 0, '', '', ''), (385, 'LK/LS 146', 'LCI/LS 1405', 'Từ Viết Tiế', '', 0, 0, 1959, 1, '02734', '082', '10', NULL, 'trung sỹ', 'Tiểu đội phó', 17, 2, 1979, '', '', 'Công an vũ trang huyện Bát Xát', 0, '02683', '082', '10'), (386, 'LK/LS 62', 'LCI/LS 1318', 'Lý Thị Nhím', '', 0, 0, 1952, 2, '02704', '082', '10', NULL, '', 'Y sỹ đa khoa bệnh viện huyện Bát Xát', 17, 2, 1979, '', '', 'Bệnh viện đa khoa huyện Bát ', 0, '02683', '082', '10'), (387, 'LK/LS 57', 'LCI/LS 1383', 'Lò A Lỷ', '', 0, 0, 1944, 1, '02734', '082', '10', NULL, '', 'trung đội trưởng dân quân du kích', 17, 2, 1979, '', '', 'B trưởng dân quân xã Quang Kim, huyện Bát Xát, tỉnh Hoàng Liên Sơ', 0, '02683', '082', '10'), (388, 'LK/LS 49', 'LCI/LS 1402', 'Phan Văn Thao', '', 0, 0, 1961, 1, '02734', '082', '10', NULL, '', 'Đội viên dân quâ', 17, 2, 1979, '', '', 'Ban chỉ huy quân sự xã Quang Kim', 0, '', '', ''), (389, 'LK/LS 292', 'LCI/LS 1400', 'Nguyễn Đức Toà', '', 0, 10, 1956, 1, '02716', '082', '10', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', 19, 2, 1979, '', '', 'Trung đoàn 03, BCHQS tỉnh Cao Bằng', 0, '1576', '049', '04'), (390, 'LK/LS 969', 'LCI/LS 1392', 'Mai Hồng Thuyê', '', 0, 0, 1940, 1, '02704', '082', '10', NULL, 'Thượng Sỹ', 'Tiểu đội trưởng', 23, 12, 1970, 'Mặt trận phía nam', '', 'thuộc KB', 0, '', '', ''), (391, 'LK/LS 184', 'LCI/LS 773', 'Vằng Seo Lở', '', 0, 0, 1938, 1, '02701', '082', '10', NULL, '', 'Phó chủ tịch UBND xã Y Tý, Bát Xát, Hoàng Liên Sơ', 22, 8, 1979, '', '', 'UBND xã Y Ý, Bát Xat, Hoàng Liên Sơ', 0, '02701', '082', '10'), (392, 'LS 0', 'LCI/LS 2237', 'Bùi Văn Quyể', '', 0, 0, 1949, 1, '02683', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 0, 0, 0, 'Mặt trận phía nam', '', 'K', 0, '', '', ''), (393, 'LS 00', 'LCI/LS 1398', 'Phạm Xuân Thanh', '', 0, 0, 1949, 1, '02704', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 14, 7, 1969, 'Mặt trận phía nam', '', 'Tiểu đoàn 03-K', 0, '', '', ''), (394, 'LK/LS 347', 'LCI/LS 1322', 'Trần Hữu Nhưng', '', 0, 0, 1949, 1, '02683', '082', '10', NULL, 'Trung sỹ', 'tiểu đội phó', 25, 11, 1970, '', '', 'KBM', 0, '19333', '461', '45'), (395, 'LK/LS 1079', 'LCI/LS 1321', 'Trần Văn Nhâ', '', 0, 0, 1950, 1, '02683', '082', '10', NULL, 'Binh nhât', 'Chiến Sỹ', 11, 12, 1972, '', '', '', 0, '19333', '461', '45'), (396, 'LK/LS 33', 'LCI/LS 286', 'Vũ Văn Vũ', '', 0, 0, 1933, 1, '02683', '082', '10', NULL, '', 'Đội trưởng dân quâ', 17, 2, 1979, '', '', 'Kho Tầu, Bản Vược, Bát Xát, Hoàng Liên Sơ', 0, '02683', '082', '10'), (397, 'LK/LS 47', 'LCI/LS 1320', 'Vũ Xuân Nam', '', 0, 0, 1949, 1, '02683', '082', '10', NULL, '', 'dân quâ', 17, 2, 1979, '', '', 'Xã Bản Qua, Bát Xát, Lào Cai', 0, '02683', '082', '10'), (398, 'LK/LS 61', 'LCI/LS 1253', 'Lý A Đanh', '', 0, 0, 1959, 1, '02683', '082', '10', NULL, 'Y sỹ', 'Phụ trách bệnh viện Trịnh Tường, Bát Xát', 17, 2, 1979, '', '', 'bệnh viện Trịnh Tường, Bát Xát', 0, '02683', '082', '10'), (399, 'LK/LS 73', 'LCI/LS 1352', 'Phạm Xuân Sinh', '', 0, 0, 1957, 1, '02716', '082', '10', NULL, '', 'dân quâ', 17, 2, 1979, '', '', 'Dân quân xã Bản Qua, Bát Xát Hoàng Liên Sơ', 0, '02683', '082', '10'), (400, 'LK/LS 81', 'LCI/LS 1692', 'Vũ Xuân Ngọc', '', 0, 0, 1932, 1, '02683', '082', '10', NULL, '', 'Xã đội trưởng', 19, 2, 1979, '', '', 'xã Bản Vược, Bát Xát ,Hoàng Liên Sơ', 0, '02683', '082', '10'), (401, 'LK/LS 151', 'LCI/LS 1307', 'Vũ Văn Cảnh', '', 0, 0, 1956, 1, '02704', '082', '10', NULL, 'Trung sỹ', 'tiểu đội trưởng', 17, 2, 1979, 'Biên giới Viêt Nam , Trung Quốc', '', 'Đồn A Mú Sung, Bát Xát Lào Cai', 0, '', '', ''), (402, 'TT/LS 11642', 'TT/LS 3466', 'Nguyễn Cang', '', 0, 0, 1929, 1, '19903', '478', '46', NULL, '', 'Phó Chủ tịch', 10, 3, 1954, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Ủy ban kháng chiến xã Phú Thuậ', 0, '', '', ''), (403, 'TT/LS 11641', 'TT/LS 3467', 'Nguyễn Văn Sinh', '', 0, 0, 1921, 1, '19903', '478', '46', NULL, '', 'Đại đội trưởng', 13, 2, 1947, 'Phú Thuận, Phú Vang, Thừa Thiên Huế', '', 'Đội tự vệ chiến đấu xã Phú Thuậ', 0, '', '', ''), (404, 'TTH/LS 9574', 'TTH/LS 3469', 'Hoàng Đình Bé', '', 0, 0, 1926, 1, '19930', '478', '46', NULL, '', 'Tiểu đội trưởng', 0, 12, 1947, 'Phú Thượng, Phú Vang', '', 'Đội du kích xã Phú Thuậ', 0, '', '', ''), (405, 'TT/LS 13093', 'TT/LS 3471', 'Trần Văn Châu', '', 0, 0, 1945, 1, '19930', '478', '46', NULL, '', 'Chiến sĩ', 26, 12, 1968, '', '', 'Đội trinh sát vũ trang an ninh thành phố Huế', 0, '', '', ''), (406, 'TT/LS 8632', 'TT/LS 3472', 'Nguyễn Anh Liê', '', 0, 0, 1924, 1, '19930', '478', '46', NULL, '', 'Ủy viên thường trực', 3, 12, 1950, 'Xã Hàm Trí', '', 'Ủy ban hành chính xã Hàm Trí', 0, '', '', ''), (407, 'TT/LS 11607', 'TT/LS 3473', 'Nguyễn Tấ', '', 0, 0, 1925, 1, '19900', '478', '46', NULL, '', 'Chủ tịch', 27, 2, 1954, 'Phú Thanh, Phú Vang, Thừa Thiên Huế', '', 'Ủy ban mặt trận xã Phú Tâ', 0, '', '', ''), (408, 'TT/LS 13338', 'TT/LS 3474', 'Trần Hữu Tình', '', 0, 0, 1917, 1, '19900', '478', '46', NULL, '', 'Đảng viê', 10, 11, 1951, 'Phú Tân, Phú Vang, Thừa Thiên Huế', '', 'Cán bộ nông hội thôn Diên Trường', 0, '', '', ''), (409, 'TT/LS 11608', 'TT/LS 3475', 'Nguyễn Hợi', '', 0, 0, 1922, 1, '19900', '478', '46', NULL, '', 'Xã đội phó', 13, 7, 1952, 'Phú Dương, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích xã Phú Tâ', 0, '', '', ''), (410, 'TT/LS 11609', 'TT/LS 3476', 'Trương Văn Hiế', '', 0, 0, 1927, 1, '19900', '478', '46', NULL, '', 'Đội viê', 25, 8, 1948, 'Phú Tân, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích tập trung xã Phú Tâ', 0, '', '', ''), (411, 'TT/LS 11610', 'TT/LS 3477', 'Võ Cầ', '', 0, 0, 1931, 1, '19900', '478', '46', NULL, '', 'Chiến sĩ', 2, 11, 1951, 'Phú Dương, Phú Vang, Thừa Thiên Huế', '', 'Đội giao liên xã Phú Tâ', 0, '', '', ''), (412, 'LK/LS 240', 'LCI/LS 1342', 'Vùi A Phúc', '', 0, 0, 1955, 1, '02716', '082', '10', NULL, 'Binh nhât', 'Chiến Sỹ', 17, 2, 1979, '', '', 'Đại độio 2, tiểu đoàn 02, Bát Xát, Hoàng Liên Sơ', 0, '02683', '082', '10'), (413, 'LK/LS 344', 'LCI/LS 1281', 'Trần Văn Khánh', '', 0, 0, 1945, 1, '02683', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 30, 10, 1970, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (414, 'LK/LS 425', 'LCI/LS 1401', 'Lý A Tờ', '', 0, 0, 1945, 1, '02683', '082', '10', NULL, 'Trung sỹ', 'Đồn phó', 17, 2, 1979, 'Đồn biên phòng A Mú Sung, Bát Xát, Hoàng Liên Sơ', '', 'Đồn biên phòng A Mú Sung, Bát Xát, Hoàng Liên Sơ', 0, '', '', ''), (415, 'LK/LS 426', 'LCI/LS 1359', 'Hoàng Văn Sủ', '', 0, 0, 1957, 1, '02716', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 17, 2, 1979, '', '', 'Đồn 257 bát Xát , Hoàng Liên Sơ', 0, '02683', '082', '10'), (416, 'LK/LS 427', 'LCI/LS 1395', 'Lý A Tú', '', 0, 0, 1959, 1, '02716', '082', '10', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 14, 2, 1979, '', '', 'Đông Na Lốc, huyện Mường Khương, Hoàng Liên Sơ', 0, '02683', '082', '10'), (417, 'LK/LS 782', 'LCI/LS 1275', 'Tẩn Sài Hi', '', 0, 0, 1943, 1, '02707', '082', '10', NULL, 'Binh nhât', 'Chiến Sỹ', 0, 1, 1968, 'Mặt trận phía tây', '', 'C2;D1;E335', 0, '', '', ''), (418, 'LK/LS 875', 'LCI/LS 1273', 'Phan Thế Hữu', '', 0, 0, 1945, 1, '02683', '082', '10', NULL, 'Trung sỹ', 'Chiến sỹ', 0, 0, 0, '', '', 'Đại đội 6 - KB', 0, '02683', '082', '10'), (419, 'LK/LS 990', 'LCI/LS 1282', 'Đoàn Thế Khải', '', 0, 0, 1938, 1, '02683', '082', '10', NULL, 'Trung đội phó', '', 10, 4, 1972, 'Mặt trận phía nam', '', 'KB', 0, '', '', ''), (420, 'LK/LS 1063', 'LCI/LS 1356', 'Vũ Văn Sự', '', 0, 0, 1952, 1, '02683', '082', '10', NULL, 'Binh nhât', 'Chiến sĩ QĐNDV', 12, 4, 1972, '', '', '', 0, '23401', '612', '62'), (421, 'LK/LS 1138', 'LCI/LS 1284', 'Tẩn Cao Kiê', '', 0, 0, 1946, 1, '02716', '082', '10', NULL, 'Trung úy', 'A Phó', 2, 5, 1972, 'Mặt trận phía nam', '', 'K9', 0, '', '', ''), (422, 'LK/LS 1159', 'LCI/LS 1685', 'Trần Hữu Dâm', '', 0, 0, 1918, 1, '02683', '082', '10', NULL, '', '', 17, 2, 1979, '', '', '', 0, '02683', '082', '10'), (423, 'LK/LS 1177', 'LCI/LS 1750', 'Hoàng Kim Phủ', '', 0, 4, 1931, 1, '02749', '082', '10', NULL, '', 'Chủ tịch UBND xã Tòng Sành, huyện Bát Xát', 22, 2, 1979, '', '', 'Chủ tịch UBND xã Tòng Sành, huyện Bát Xát, Hoàng Liên Sơ', 0, '02749', '082', '10'), (424, 'LK/LS 1166', 'LCI/LS 1735', 'Trần Huy Tả', '', 0, 0, 1953, 1, '02683', '082', '10', NULL, '', '', 17, 2, 1979, '', '', 'Công ty điện máy Hoàng Liên Sơ', 0, '02683', '082', '10'), (425, '2912', '2912', 'Nguyễn Ngọc Nở', '', 0, 0, 1945, 1, '26068', '731', '75', NULL, 'Thư ký', '', 11, 6, 1968, '', '', '', 0, '26341', '739', '75'), (426, 'TT/LS 12135', 'TT/LS 3478', 'Nguyễn Viết Kiếm', '', 0, 0, 1929, 1, '19939', '478', '46', NULL, '', 'Thôn đội trưởng', 25, 1, 1952, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Thôn Lê Xá Trung', 0, '', '', ''), (427, 'TT/LS 12134', 'TT/LS 3479', 'Nguyễn Đức Tuấ', '', 0, 0, 1945, 1, '19939', '478', '46', NULL, '', 'Đội phó', 27, 7, 1967, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Xã đội Phú Lương', 0, '', '', ''), (428, 'TT/LS 12133', 'TT/LS 3480', 'Hồ Thảo', '', 0, 0, 1917, 1, '19939', '478', '46', NULL, '', 'Đội viê', 24, 4, 1948, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Đội du kích thôn Khê Xá', 0, '', '', ''), (429, 'TT/LS 9221', 'TT/LS 3481', 'Nguyễn Sâm', '', 0, 0, 1927, 1, '19939', '478', '46', NULL, '', 'Chiến sĩ', 30, 1, 1951, 'Đồn Phủ Lại, Quảng Điề', '', 'Tiểu đoàn 328, trung đoàn 101, sư đoàn 325', 0, '', '', ''), (430, 'TT/LS 9220', 'TT/LS 3482', 'Nguyễn Văn Học', '', 0, 0, 1923, 1, '19786', '474', '46', NULL, '', 'Chiến sĩ', 20, 12, 1946, 'Cửa hàng số 01 thành phố Huế', '', 'Bộ đội chủ lực tỉnh Thừa Thiê', 0, '', '', ''), (431, 'TT/LS 9219', 'TT/LS 3483', 'Nguyễn Đức Thê', '', 0, 0, 1921, 1, '19939', '478', '46', NULL, '', 'Chiến sĩ', 5, 12, 1946, 'Thành phố Huế', '', 'Bộ đội chủ lực tỉnh Thừa Thiê', 0, '', '', ''), (432, 'TT/LS 9218', 'TT/LS 3484', 'Ngô Nhớ', '', 0, 0, 1929, 1, '19939', '478', '46', NULL, '', 'Chiến sĩ', 8, 7, 1953, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Bộ đội chủ lực huyện Phú Vang', 0, '', '', ''), (433, 'TT/LS 9262', 'TT/LS 3486', 'Nguyễn Đức Thảnh', '', 0, 0, 1951, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Tiểu đội phó', 12, 6, 1968, 'Nam Phổ Hạ, Phú Lộc', '', 'Đại đội 2, tiểu đoàn 4', 0, '', '', ''), (434, 'TT/LS 9261', 'TT/LS 3487', 'Lê Văn Ngạnh (Thế),', '', 0, 0, 1926, 1, '19939', '478', '46', NULL, '', 'Tiểu đội trưởng', 4, 5, 1952, 'Phú Vang, Thừa Thiên Huế', '', 'Bộ đội chủ lực tỉnh Thừa Thiê', 0, '', '', ''), (435, 'TT/LS 8548', 'TT/LS 3488', 'Ngô Văn Phúc', '', 0, 0, 0, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 23, 9, 1966, '', '', 'K10', 0, '', '', ''), (436, 'TT/LS 8549', 'TT/LS 3489', 'Nguyễn Ngọc Kham', '', 0, 0, 1949, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 1, 1, 1971, 'Thủy Châu, Hương Thủy, Thừa Thiên Huế', '', 'Đội biệt động thành Huế', 0, '', '', ''), (437, 'TT/LS 8850', 'TT/LS 3490', 'Đỗ Tịnh', '', 0, 0, 1950, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 2, 2, 1968, 'Cầu Lò Rèn, thành phố Huế', '', 'K4, tỉnh Thừa Thiên (cũ),', 0, '', '', ''), (438, 'TT/LS 8551', 'TT/LS 3491', 'Nguyễn Thạnh', '', 0, 0, 1950, 1, '19960', '479', '46', NULL, 'Trung sĩ', 'Tiểu đội phó', 8, 7, 1968, '', '', 'C3 K4 hỏa lực', 0, '', '', ''), (439, 'TT/LS 8559', 'TT/LS 3493', 'Nguyễn Bích', '', 0, 0, 1940, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 4, 1, 1966, '', '', 'Bộ đội địa phương huyện Phú Vang', 0, '', '', ''), (440, 'TT/LS 8544', 'TT/LS 3494', 'Lê Quang Bố', '', 0, 0, 1944, 1, '19939', '478', '46', NULL, 'Trung sĩ', 'Chiến sĩ', 17, 4, 1967, 'Hương Thủy, Thừa Thiên Huế', '', 'Đội biệt động thành đội Huế', 0, '', '', ''), (441, 'TT/LS 8545', 'TT/LS 3495', 'Hồ Viết Trữ', '', 0, 0, 1948, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 3, 12, 1967, 'Phú Lương, Phú Vang, Thừa Thiên Huế', '', 'Đội biệt động thành đội Huế', 0, '', '', ''), (442, 'TT/LS 8546', 'TT/LS 3496', 'Lê Văn Bảy', '', 0, 0, 1950, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 8, 5, 1968, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'Huyện đội Phú Vang', 0, '', '', ''), (443, 'TT/LS 8547', 'TT/LS 3497', 'Hồ Thị Cầm', '', 0, 0, 1943, 1, '19939', '478', '46', NULL, 'Trung sĩ', 'Chiến sĩ y tá', 31, 12, 1968, '', '', 'E4 tỉnh đội Thừa Thiê', 0, '', '', ''), (444, 'TT/LS 8575', 'TT/LS 3498', 'Trần Văn Là', '', 0, 0, 1946, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 18, 4, 1967, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'K4 tỉnh đội Thừa Thiê', 0, '', '', ''), (445, 'TT/LS 8557', 'TT/LS 3499', 'Nguyễn Chuẩ', '', 0, 0, 1951, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 31, 12, 1968, 'Cao điểm 372, đường 12', '', 'Quân chủ lực tỉnh đội Thừa Thiê', 0, '', '', ''), (446, 'TT/LS 8556', 'TT/LS 3500', 'Lê Văn Châu', '', 0, 0, 0, 1, '19939', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 26, 6, 1965, '', '', 'Bộ đội địa phương huyện Phú Vang', 0, '', '', ''), (447, 'TT/LS 8555', 'TT/LS 3501', 'Văn Đình Phước', '', 0, 0, 1948, 1, '19939', '478', '46', NULL, 'Trung sĩ', 'Tiểu đội trưởng', 6, 6, 1968, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'Tiểu đoàn 4, tỉnh đội Thừa Thiê', 0, '', '', ''), (448, 'TT/LS 8554', 'TT/LS 3502', 'Đỗ Chót', '', 0, 0, 1940, 1, '19939', '478', '46', NULL, 'Trung sĩ', 'Chiến sĩ', 5, 5, 1967, 'Phú Đa, Phú Vang, Thừa Thiên Huế', '', 'Tiểu đoàn 4 Thừa Thiê', 0, '', '', ''), (449, 'TT/LS 8553', 'TT/LS 3503', 'Dương Công Quả', '', 0, 0, 1940, 1, '19918', '478', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 30, 9, 1964, 'Vinh Thái, Phú Vang, Thừa Thiên Huế', '', 'Đại đội 117', 0, '', '', ''), (450, 'TT/LS 9749', 'TT/LS 3504', 'Huỳnh Do', '', 0, 0, 1943, 1, '19960', '479', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 31, 12, 1968, 'Thủy Xuân, Hương Phú, Bình Trị Thiê', '', 'Đội vận tải thành đội Huế', 0, '', '', ''), (451, 'TT/LS 13098', 'TT/LS 3506', 'Đoàn Thị Mỹ', '', 0, 0, 1929, 1, '19975', '479', '46', NULL, '', 'Cơ sở hợp pháp', 5, 4, 1968, 'Thủy Châu, Hương Thủy, Thừa Thiên Huế', '', 'Đảng ủy xã Minh Thủy (cũ), nay là Thủy Châu', 0, '', '', ''), (452, 'TT/LS 11659', 'TT/LS 3507', 'Lê Văn Việ', '', 0, 0, 1946, 1, '19939', '478', '46', NULL, 'Trung sĩ', 'Tiểu đội trưởng', 12, 9, 1969, 'Hà Thành, Phú Lộc, Bình Trị Thiê', '', 'Đại đội 118, huyện đội Hương Phú', 0, '', '', ''), (453, 'TT/LS 4220', 'TT/LS 3508', 'Lê Xuân Dũng', '', 0, 0, 1944, 1, '19972', '479', '46', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 30, 1, 1968, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội trinh sát an ninh thành phố Huế', 0, '', '', ''), (454, 'TT/LS 4174', 'TT/LS 3509', 'Nguyễn Thị Hiế', '', 0, 0, 1949, 2, '19972', '479', '46', NULL, 'Chuẩn úy', 'Trung đội trưởng', 1, 11, 1972, '', '', 'Công an huyện Hương Thủy', 0, '', '', ''), (455, 'TT/LS 4217', 'TT/LS 3510', 'Nguyễn Văn Đê', '', 0, 0, 0, 1, '19972', '479', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 12, 3, 1968, 'Thủy Phù, Hương Thủy, Thừa Thiên Huế', '', 'Đội trinh sát công an huyện Hương Phú (cũ),', 0, '', '', ''), (456, 'TT/LS 4222', 'TT/LS 3511', 'Nguyễn Văn Nhơ', '', 0, 0, 1946, 1, '19972', '479', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 10, 2, 1969, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội trinh sát công an huyện Hương Phú (cũ),', 0, '', '', ''), (457, 'TT/LS 3772', 'TT/LS 3512', 'Trần Bế', '', 0, 0, 1942, 1, '19966', '479', '46', NULL, 'Chuẩn úy', 'Trung đội trưởng', 25, 1, 1973, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Công an huyện Hương Thủy', 0, '', '', ''), (458, 'TTH/LS 11661', 'TTH/LS 3513', 'Nguyễn Viết Sỹ (Cách),', '', 0, 0, 1937, 1, '19972', '479', '46', NULL, '', 'Đội trưởng', 0, 5, 1965, 'Thủy Phương, Hương Thủy', '', 'Đội du kích tập trung xã Mỹ Thủy (cũ),', 0, '19972', '479', '46'), (459, 'TT/LS 11660', 'TT/LS 3514', 'Trần Xuân Ao', '', 0, 0, 1944, 1, '19972', '479', '46', NULL, '', 'Đội viê', 10, 10, 1967, 'Võ Xá, Nam Hòa', '', 'Đội du kích tập trung xã Thủy Phương', 0, '', '', ''), (460, 'TT/LS 5508', 'TT/LS 3515', 'Trần Duy Ngâ', '', 0, 0, 1944, 1, '19966', '479', '46', NULL, 'Thượng sĩ', '', 5, 12, 1967, 'Thủy Thanh, Hương Thủy, Thừa Thiên Huế', '', 'Đội trinh sát công an vũ trang thành phố Huế', 0, '', '', ''), (461, 'Tt/LS 5307', 'TT/LS 3516', 'Phan Thanh Ngà', '', 0, 0, 1950, 1, '19966', '479', '46', NULL, 'Hạ sĩ', '', 2, 11, 1969, 'Hải Thủy, Hương Phú, Bình Trị Thiê', '', 'Đội trinh sát an ninh thành phố Huế', 0, '', '', ''), (462, 'TT/LS 1000', 'TT/LS 3517', 'Đặng Văn Nghệ', '', 0, 0, 0, 1, '19966', '479', '46', NULL, '', 'Trung đội phó', 27, 10, 1967, '', '', 'Huyện đội Hương Thủy', 0, '', '', ''), (463, 'TT/LS 11667', 'TT/LS 3518', 'Nguyễn Thị Chanh', '', 0, 0, 1943, 2, '19972', '479', '46', NULL, '', 'Cán bộ cơ sở', 9, 9, 1965, '', '', 'Xã Thủy Phương', 0, '', '', ''), (464, 'TT/LS 11672', 'TT/LS 3522', 'Nguyễn Văn Nơm', '', 0, 0, 1950, 1, '19972', '479', '46', NULL, '', 'Đội viê', 24, 6, 1968, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích tập trung xã Thủy Phương', 0, '', '', ''), (465, 'TT/LS 11675', 'TT/LS 3524', 'Nguyễn Văn Xu', '', 0, 0, 1947, 1, '19972', '479', '46', NULL, '', 'Tổ phó', 19, 11, 1967, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội giao liên huyện Hương Thủy (cũ),', 0, '', '', ''), (466, 'TT/LS 11674', 'TT/LS 3525', 'Nguyễn Đình Xích', '', 0, 0, 1952, 1, '19972', '479', '46', NULL, '', 'Chiến sĩ', 5, 5, 1967, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích tập trung xã Thủy Phương', 0, '', '', ''), (467, 'TT/LS 11673', 'TT/LS 3526', 'Trần Văn Giá', '', 0, 0, 1922, 1, '19972', '479', '46', NULL, '', 'Đội phó', 10, 6, 1964, 'Vùng núi Mỏ Tàu', '', 'Đội công tác huyện Hương Phú (cũ),', 0, '', '', ''), (468, 'TT/LS 11662', 'TT/LS 3527', 'Nguyễn Đình Chuông', '', 0, 0, 1948, 1, '19975', '479', '46', NULL, '', 'Đội phó', 0, 2, 1970, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Xã Mỹ Thủy (cũ),', 0, '', '', ''), (469, 'TTH/LS 11628', 'TTH/LS 3528', 'Nguyễn Hồ', '', 0, 0, 1927, 1, '19987', '479', '46', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 0, 12, 1964, '', '', 'Trung đoàn 209', 2778, '19987', '479', '46'), (470, 'TT/LS 11627', 'TT/LS 3529', 'Lê Thưởng', '', 0, 0, 1927, 1, '19987', '479', '46', NULL, '', 'Chiến sĩ', 5, 2, 1921, 'Thanh Hương, Hương Điền, Bình Trị Thiê', '', 'Tiểu đoàn 319, trung đoàn 101, sư đoàn 325', 0, '', '', ''), (471, 'TT/LS 11620', 'TT/LS 3530', 'Đặng Văn Lời', '', 0, 0, 1937, 1, '19966', '479', '46', NULL, '', 'Trưởng thô', 5, 10, 1968, 'Thủy Thanh, Hương Thủy, Thừa Thiên Huế', '', 'Xã Thủy Thanh', 0, '', '', ''), (472, 'TT/LS 11619', 'TT/LS 3531', 'Lê Đắc Sang', '', 0, 0, 1943, 1, '19966', '479', '46', NULL, '', 'Nhân viê', 19, 6, 1971, '', '', 'Ban kinh tài huyện ủy Hương Thủy', 0, '', '', ''), (473, 'TT/LS 5308', 'TT/LS 3532', 'Ngô Văn Vẻ', '', 0, 0, 1951, 1, '19966', '479', '46', NULL, '', 'Thượng sĩ', 25, 6, 1971, 'Hải Thủy, Hương Phú, Bình Trị Thiê', '', 'Đội trinh sát an ninh thành phố Huế', 0, '', '', ''), (474, 'TT/LS 4825', 'TT/LS 3533', 'Phan Thanh Ngà', '', 0, 0, 1949, 1, '19966', '479', '46', NULL, 'Hạ sĩ', '', 11, 11, 1969, '', '', 'Đội trinh sát công an vũ trang thành phố Huế', 0, '', '', ''), (475, 'TT/LS 11683', 'TT/LS 3535', 'Lê Văn Sáu', '', 0, 0, 1932, 1, '19960', '479', '46', NULL, '', 'Cán bộ', 18, 5, 1966, 'Khu 3, huyện Hương Phú', '', 'Ban kinh tài huyện Hương Phú', 0, '', '', ''), (476, 'TT/LS 11688', 'TT/LS 3536', 'Nguyễn Văn Kiê', '', 0, 0, 1925, 1, '19972', '479', '46', NULL, '', 'Chiến sĩ', 25, 9, 1949, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích tập trung thôn Đồng Lợi, xã Thủy Phương', 0, '', '', ''), (477, 'TT/LS 11666', 'TT/LS 3537', 'Lê Công Chớ', '', 0, 0, 1940, 1, '19972', '479', '46', NULL, '', 'Cán bộ', 26, 3, 1967, 'Thủy Phương, Hương Thủy, Thừa Thiên Huế', '', 'Đội công tác xã Thủy Phương', 0, '', '', ''), (478, 'TT/LS 11612', 'TT/LS 3538', 'Hồ Xuân Hiệ', '', 0, 0, 1919, 1, '19780', '474', '46', NULL, '', 'Chủ tịch liên việt', 5, 6, 1953, 'Xã Hương Mai', '', 'Xã Thủy Biều', 0, '', '', ''), (479, 'TT/LS 11611', 'TT/LS 3539', 'Huỳnh Văn Dồng', '', 0, 0, 1939, 1, '19807', '474', '46', NULL, '', 'Đội phó', 19, 8, 1968, 'Núi Cao Hoàng, xã Thượng Bằng', '', 'Xã đội Thủy Biều', 0, '', '', ''), (480, 'TT/LS 11616', 'TT/LS 3540', 'Lê Văn Đài', '', 0, 0, 1916, 1, '19984', '479', '46', NULL, '', 'Tiểu đội trưởng', 0, 4, 1949, 'Sân bay Phú Bài', '', 'Đội dân công du kích xã Hải Thủy', 0, '', '', ''), (481, 'TT/LS 11615', 'TT/LS 3541', 'Võ Ty', '', 0, 0, 1952, 1, '19984', '479', '46', NULL, '', 'Tiểu đội trưởng', 5, 8, 1969, 'Thủy Tân, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích xã Hải Thủy (cũ),', 0, '', '', ''), (482, 'Tt/LS 11626', 'TT/LS 3542', 'Nguyễn Cầ', '', 0, 0, 1930, 1, '19987', '479', '46', NULL, '', 'Chiến sĩ', 20, 4, 1949, '', '', 'Đại đội 302, tiểu đoàn 221, quân chủ lực', 0, '', '', ''), (483, 'TT/LS 11652', 'TT/LS 3543', 'Nguyễn Thị Cháu (Thúy),', '', 0, 0, 1948, 2, '19987', '479', '46', NULL, '', 'Y tá', 0, 5, 1972, '', '', 'Văn phòng huyện ủy', 0, '', '', ''), (484, 'TT/LS 11632', 'TT/LS 3544', 'Văn Thị Ngải', '', 0, 0, 1952, 2, '19987', '479', '46', NULL, '', 'Cán bộ phụ nữ', 25, 3, 1973, 'Thủy Phù, Hương Thủy, Thừa Thiên Huế', '', 'Đội công tác xã Thủy Phù', 0, '', '', ''), (485, '12345jhg', '123', 'Nguyễn Hồng Thanh', '', 10, 10, 1960, 1, '25396', '696', '70', NULL, 'aa', 'aa', 10, 10, 1975, '', '', 'hh', 0, '', '', ''), (486, 'TT/LS 11631', 'TT/LS 3545', 'Ngô Đức Sung', '', 0, 0, 1922, 1, '19987', '479', '46', NULL, '', 'Chiến sĩ', 31, 12, 1949, '', '', 'Quân chủ lực tỉnh Thừa Thiê', 0, '', '', ''), (487, 'TT/LS 11630', 'TT/LS 3546', 'Phan Dầ', '', 0, 0, 1925, 1, '19987', '479', '46', NULL, '', 'Chiến sĩ', 16, 4, 1952, '', '', 'Vệ quốc đoàn, tiểu đoàn 319, trung đoàn 101', 0, '', '', ''), (488, 'TTH/LS 11629', 'TTH/LS 3547', 'Ngô Kiệm', '', 0, 0, 1931, 1, '19987', '479', '46', NULL, '', 'Tiểu đội trưởng', 31, 12, 1965, '', '', 'Huyện đội Phú Vang', 2778, '19987', '479', '46'), (489, 'TT/LS 11614', 'TT/LS 3550', 'Ngô Bảy', '', 0, 0, 0, 1, '19792', '474', '46', NULL, '', 'Bí thư', 15, 5, 1970, 'Thủy Vân, Hương Thủy, Thừa Thiên Huế', '', 'Huyện ủy xã Thủy Vâ', 0, '', '', ''), (490, 'TTH/LS 11623', 'TTH/LS 3551', 'Nguyễn Đắc Nghé', '', 0, 0, 1928, 1, '19963', '479', '46', NULL, '', 'Đội viê', 19, 11, 1949, 'Thủy Thanh, Hương Thủy', '', 'Đội du kích tập trung xã Thủy Vâ', 0, '', '', ''), (491, 'TT/LS 11622', 'TT/LS 3552', 'Hồ Thị Bưởi', '', 0, 0, 1951, 1, '19963', '479', '46', NULL, '', 'Đội viê', 29, 7, 1968, 'Thủy Vân, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích tập trung xã Thủy Vâ', 0, '', '', ''), (492, 'TT/LS 3553', 'TT/LS 3553', 'Lê Ngọc Bụi', '', 0, 0, 0, 1, '19792', '474', '46', NULL, '', 'Đội viê', 2, 1, 1951, 'Thủy Vân, Hương Thủy, Thừa Thiên Huế', '', 'Đội du kích tập trung xã Thủy Vâ', 0, '', '', ''), (493, 'TT/LS 2065', 'TT/LS 3554', 'Nguyễn Văn Ái (Nguyễn Hữu Ái),', '', 0, 0, 1931, 1, '19807', '474', '46', NULL, '', 'Chính trị viê', 19, 8, 1966, '', '', 'Đại đội 3, trung đoàn 6', 0, '', '', ''), (494, 'TT/LS 11634', 'TT/LS 3555', 'Hoàng Văn Lương', '', 0, 0, 1901, 1, '19807', '474', '46', NULL, '', 'Đội viê', 0, 10, 1950, 'Thủy Biều, thành phố Huế', '', 'Đội du kích tập trung xã Thủy Biều', 0, '', '', ''), (495, 'TT/LS 11633', 'TT/LS 3556', 'Phan Ngoạ', '', 0, 0, 1925, 1, '19807', '474', '46', NULL, '', 'Đội viê', 5, 1, 1947, 'Ga tàu Huế', '', 'Đội du kích tự vệ chiến đấu xã Thủy Biều', 0, '', '', ''), (496, 'TTH/LS 2818', 'TTH/LS 3557', 'Trần Quý Hai', 'Dũng', 0, 0, 0, 1, '19987', '479', '46', NULL, 'Thượng úy', '', 5, 10, 1971, 'Cầu Hai, Phú Lộc', '', 'Ty công an tỉnh Bình Trị Thiê', 0, '', '', ''), (497, 'TT/LS 9750', 'TT/LS 3558', 'Huỳnh Dật', '', 0, 0, 1927, 1, '19963', '479', '46', NULL, '', 'Chiến sĩ', 28, 2, 1949, 'Bệnh viện Dương Hòa', '', 'Đội quân chủ lực tỉnh Thừa Thiê', 0, '', '', ''), (498, 'TTH/LS 7823', 'TTH/LS 3559', 'Lê Ất', '', 0, 0, 1927, 1, '19987', '479', '46', NULL, '', 'Đội trưởng', 9, 8, 1967, 'Thủy Phù, Hương Thủy', '', 'Đội du kích xã Thủy Phù', 0, '', '', ''), (499, 'TT/LS 3560', 'TT/LS 3560', 'Võ Thanh Tửu', '', 0, 0, 1925, 1, '19960', '479', '46', NULL, '', 'Trung đội trưởng', 8, 1, 1954, '', '', '', 0, '', '', ''), (500, 'TT/LS 10550', 'TT/LS 3561', 'Nguyễn Hữu Thắng', '', 0, 0, 1943, 1, '19795', '474', '46', NULL, '', 'Cán bộ', 2, 8, 1969, 'Vùng giáp ranh Hương Thủy', '', 'Đội công tác thành phố quận ủy, quận 3 Huế', 0, '', '', ''), (501, 'TT/LS 12262', 'TT/LS 3562', 'Huỳnh Ngọc Cháu', '', 0, 0, 1926, 1, '19813', '474', '46', NULL, '', 'Đội viê', 12, 2, 1947, 'Trường kỹ nghệ Huế', '', 'Đội tự vệ cảm tử thành phố Huế', 0, '', '', ''), (502, 'TT/LS 12762', 'TT/LS 3563', 'Lê Văn Minh (Lợi),', '', 0, 0, 1931, 1, '19987', '479', '46', NULL, '', 'Huyện ủy viên (kiêm bí thư chi bộ),', 12, 3, 1965, 'Nhà lao Đà Nẵng', '', 'Xã Thủy Phù, huyện Hương Thủy (cũ),', 0, '', '', ''), (503, 'LCI/LS 1388', '', 'Sần Thà Dé', '', 0, 0, 1946, 1, '02701', '082', '10', NULL, '', 'Chiến sỹ dân quâ', 24, 9, 1979, '', '', 'dân quân xã y Tý, huyện Bát Xát', 0, '', '', ''), (504, 'LK/LS 00109', 'LCI/LS 1388', 'Sần Thà Dế', '', 0, 0, 1946, 1, '02701', '082', '10', NULL, '', 'chiến sỹ dân quâ', 24, 9, 1979, '', '', 'Dân quân xã Y Tý, huyện Bát Xát, tỉnh Hoàng Liên Sơ', 0, '', '', ''), (505, 'TT/LS 11256', 'TT/LS 3564', 'Ngô Thị Đặng', '', 0, 0, 1949, 2, '19987', '479', '46', NULL, '', 'Bí thư', 27, 2, 1972, 'Thủy Phù, Hương Thủy, Thừa Thiên Huế', '', 'Hội phụ nữ xã Thủy Phù', 0, '', '', ''), (506, 'TTH/LS 3781', 'TTH/LS 3565', 'Cao Bờ', '', 0, 0, 1920, 1, '19972', '479', '46', NULL, '', 'Chiến sĩ', 31, 12, 1953, '', 'Quảng Xuyên, Quảng Trị', 'Bộ đội địa phương tỉnh Thừa Thiên (cũ),', 0, '', '', ''), (507, 'TT/LS 3779', 'TT/LS 3566', 'Nguyễn Duy Dũng', '', 0, 0, 1947, 1, '19972', '479', '46', NULL, 'Binh nhất', 'Chiến sĩ', 31, 8, 1965, 'Hương Thọ, Hương Điền, Bình Trị Thiê', '', 'Đại đội 1, thành đội Huế', 0, '', '', ''), (508, 'TT/LS 3777', 'TT/LS 3567', 'Nguyễn Sơn Đài (Viết Đoái),', '', 0, 0, 1924, 1, '19972', '479', '46', NULL, '', 'Phó chủ nhiệm hậu cầ', 11, 11, 1967, '', '', 'Quân khu 4', 0, '', '', ''), (509, 'TT/LS 3776', 'TT/LS 3568', 'Lê Văn Cháu', '', 0, 0, 1924, 1, '19972', '479', '46', NULL, '', 'Chính trị viên đại đội', 24, 4, 1965, '', '', 'Trung đoàn 1, sư đoàn 2', 0, '', '', ''), (510, 'TT/LS 3773', 'TT/LS 3569', 'Nguyễn Đình Chiế', '', 0, 0, 1949, 1, '19972', '479', '46', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 9, 8, 1972, 'Thủy Bằng', '', 'Công an Hương Thủy', 0, '', '', ''), (511, 'TTH/LS 3780', 'TTH/LS 3570', 'Võ Sáu', '', 0, 0, 1950, 1, '19972', '479', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 31, 5, 1968, 'Phú Vang, Thừa Thiên Huế', '', 'Đoàn 5, thành đội Huế', 0, '', '', ''), (512, 'TT/LS 3774', 'TT/LS 3571', 'Nguyễn Xà (Phương),', '', 0, 0, 1928, 1, '19762', '474', '46', NULL, 'Đại úy', 'Trợ lý binh vậ', 28, 2, 1968, '', '', 'K300, B4', 0, '', '', ''), (513, 'TT/LS 5445', 'TT/LS 3572', 'Nguyễn Đình Nguyê', '', 0, 0, 1924, 1, '19972', '479', '46', NULL, '', 'Chủ nhiệm quân y trung đoà', 11, 10, 1969, '', '', 'Sư đoàn 325', 0, '', '', ''), (514, 'TT/LS 7230', 'TT/LS 3573', 'Nguyễn Tất La', '', 0, 0, 1947, 1, '19972', '479', '46', NULL, 'Trung sĩ', 'Tiểu đội phó', 28, 8, 1967, '', '', 'Vũ trang tỉnh đội', 0, '', '', ''), (515, 'TT/LS 2581', 'TT/LS 3576', 'Nguyễn Xuân Hài', '', 0, 0, 1936, 1, '19972', '479', '46', NULL, '', 'Đại đội phó', 3, 7, 1963, '', '', 'Tiểu đoàn 800 quân khu Trị Thiê', 0, '', '', ''), (516, 'TT/LS 6680', 'TT/LS 3578', 'Dương Văn Tuầ', '', 0, 0, 1940, 1, '19972', '479', '46', NULL, 'Hạ sĩ', 'Chiến sĩ', 15, 7, 1966, '', '', 'Huyện đội Hương Thủy', 0, '', '', ''), (517, 'ĐK/Kna/0001', '', 'Đàm Mua', '', 0, 0, 1930, 1, '24565', '655', '66', NULL, '', '', 29, 1, 1957, '', '', 'Cơ sở tổng hợp thực phẩm', 0, '20818', '513', '49'), (518, 'DL/KNa', '', 'Đặng Đình Vương', '', 0, 0, 0, 1, '24571', '655', '66', NULL, '', 'Chiến sỹ', 22, 2, 1975, '', '', 'Đại đội 2, tiểu đoàn 7, KH5', 0, '20512', '506', '49'), (519, 'DL/KNa', '', 'Đặng Đình Vương', '', 0, 0, 0, 1, '24571', '655', '66', NULL, '', 'Chiến sỹ', 22, 2, 1975, '', '', 'Đại đội 2, tiểu đoàn 7, KH5', 0, '20512', '506', '49'), (520, 'QA/ls13108', 'qđ40192', 'Phạm văn Tài', '', 0, 0, 1938, 1, '20884', '514', '49', NULL, '', 'Thôn đôi trưởng du kích', 0, 0, 1970, 'xã Tiên Phong, huyện Tiên Phước', 'Xã Tiên Phong, huyện Tiên Phước', 'xã tiên Phong, huyện Tiên Phước', 0, '20884', '514', '49'), (521, 'ĐN/LS 001', 'DNI/LS 1', 'Nguyễn Thị thanh Vâ', 'Năm Hiề', 0, 0, 1932, 2, '26014', '731', '75', NULL, 'Tỉnh Ủy Viê', '', 24, 6, 1969, 'Xã Hiệp Hòa', '', 'Tỉnh ủy Biên Hòa', 0, '30337', '886', '89'), (522, 'dshyhuk', '', 'tfghtfyry', '', 0, 0, 0, 1, '26338', '739', '75', NULL, '', '', 0, 0, 0, '', '', '', 0, '30337', '886', '89'), (523, 'YB/LS 3366', 'LS/LY421', 'Lộc Văn Hiề', '', 5, 5, 1965, 1, '04369', '135', '15', NULL, 'Binh Nhất', 'Chiến sỹ chinh sát', 13, 7, 1988, 'Duyên Hải Lào cai Hoàng Liên Sơ', 'Duyên Hải Lào cai Hoàng Liên Sơ', 'Đại đội 20 phòng tham mưu BCH quân sự tỉnh Hoàng Liên Sơ', 0, '02746', '082', '10'), (524, 'TU/LS 06294', 'A 1287', 'Lương Quang Trung', '', 0, 0, 1947, 1, '05650', '168', '19', NULL, 'Hạ sĩ', '', 26, 9, 1970, 'Mặt trận phía nam', '', '', 0, '', '', ''), (525, 'TU/LS 07521', 'A 4636', 'Triệu Văn Đồng', '', 0, 0, 1950, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 29, 2, 1972, 'Mặt trận phía Nam', 'Trong nước', 'KB', 0, '', '', ''), (526, 'TU/LS 4994', 'A 6222', 'Phan Thanh Liêm', '', 0, 0, 1947, 1, '05632', '168', '19', NULL, 'Trugn sĩ', 'Chiến sĩ', 30, 8, 1970, 'Mặt trận phía Nam', 'Trong nước', 'F304', 0, '', '', ''), (527, 'TU/LS 01283', 'A 4785', 'Hoàng Trung Việt', '', 0, 0, 1954, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 10, 3, 1974, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'Đại đội 13-KT', 0, '', '', ''), (528, 'TU/LS 04330', 'A 3736', 'Bùi Đức Hạnh', '', 0, 0, 1949, 1, '05632', '168', '19', NULL, 'Trung sĩ', 'Tiểu đội phó', 10, 11, 1971, 'Mặt trận phía nam', '', 'C1-KB', 0, '', '', ''), (529, '9271', '9271', 'Nguyễn Văn Cá', '', 0, 0, 1936, 1, '31108', '912', '91', NULL, '', 'Trung đội phó', 2, 9, 1962, '', '', 'Bộ đội địa phương huyện Hồng Dân, tỉnh Minh Hải', 0, '', '', ''), (530, 'TU/LS 00096', 'A 8888', 'Lã Văn Hiếu', '', 0, 0, 1940, 1, '05632', '168', '19', NULL, 'Binh Nhất', 'Chiến sĩ', 23, 3, 1966, 'Mặt trận phía Tây', 'Lào', 'Đoàn 959', 0, '', '', ''), (531, 'TU/LS 9005cp', '', 'Tống Văn Chấm', '', 0, 0, 1921, 1, '05632', '168', '19', NULL, 'Đội viê', 'Du kích xã', 25, 11, 1947, '', '', 'Khu 1', 0, '', '', ''), (532, 'TU/LS 05626', 'A 3884', 'Hoàng Văn Tuầ', '', 0, 0, 1950, 1, '05632', '168', '19', NULL, '', 'Đại đội phó', 13, 6, 1970, 'Mặt trận phía Nam', '', 'Thuộc KT', 0, '', '', ''), (533, 'TU/LS 07051', 'A 868', 'Hoàng Việt Hà', '', 6, 9, 1952, 1, '05632', '168', '19', NULL, 'Binh nhất', 'Chiến sĩ', 4, 3, 1971, 'Mặt trận phía tây', 'Mặt trận phía tây', 'Đại đội 17, tiểu đoàn 27, đoàn 305', 0, '', '', ''), (534, '921', '921', 'Lê Việt Hồng', '', 0, 0, 1934, 1, '31108', '912', '91', NULL, '', 'Cán bộ thu thuế CTM tỉnh', 21, 11, 1971, 'Xã Đông Yên - An Biên - Kiên Giang', '', 'Ban kinh tế tài chính tỉnh Rạch Giá', 0, '', '', ''), (535, 'TU/LS 05321', 'A 1827', 'Lã Quý Quâ', '', 0, 0, 1941, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 6, 3, 1969, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'C5-D8-KB', 0, '', '', ''), (536, '10426', '10426', 'Nguyễn Văn Vỹ', '', 0, 0, 1911, 1, '31108', '912', '91', NULL, '', 'Ủy viên ban tuyên huấn xã Đông Thái', 23, 4, 1971, '', '', 'Ủy viên ban tuyên huấn xã', 36, '30736', '899', '91'), (537, 'TU/LS 02687', 'A 4463', 'Hoàng Văn Phòng', '', 0, 0, 1943, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 13, 9, 1968, 'Mặt trận phía nam', 'Mặt trận phía nam', 'Tiểu đoàn 2-K', 0, '', '', ''), (538, '2576', '2576', 'Nguyễn Văn Khéo', '', 0, 0, 1949, 1, '31108', '912', '91', NULL, 'B bậc trưởng', 'Trung đội phó', 16, 11, 1967, '', '', 'Tiểu đoàn 207', 0, '30967', '907', '91'), (539, 'TU/CP 113', '', 'Hoàng Văn Cửu', '', 0, 0, 1923, 1, '05632', '168', '19', NULL, 'Chiến sĩ', '', 0, 0, 1946, 'Sơn La', 'Sơn La', 'Quân đội nhân dân Việt Nam', 0, '', '', ''), (540, '1475', '1475', 'Huỳnh Văn Thành', '', 0, 0, 1944, 1, '31108', '912', '91', NULL, '', 'Du kích xã', 14, 2, 1968, '', '', 'Xã đội xã Tây Yê', 0, '30988', '908', '91'), (541, 'TU/LS 00944', 'A 4175', 'Hoàng Đức Thiệ', '', 0, 0, 1954, 1, '05632', '168', '19', NULL, 'Binh nhất', 'Tiểu đội phó', 28, 9, 1972, 'Mặt trận phía nam Quân khu 4', 'Mặt trận phía nam Quân khu 4', 'Đại đội 3- Tiểu đoàn 7- Trung đoàn 66', 0, '', '', ''), (542, 'TU/LS 07588', 'A 723', 'Lưu Bá Chước', '', 0, 0, 1924, 1, '05632', '168', '19', NULL, '', 'Chính trị viên Đại đội', 21, 12, 1967, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'Thuộc K', 0, '', '', ''), (543, '11034', '11034', 'Ngô Tấn Vâ', '', 0, 0, 1938, 1, '31108', '912', '91', NULL, '', 'Ấp đội trưởng', 2, 2, 1969, '', '', 'ấp 15 Xã Tân Hưng', 0, '31036', '909', '91'), (544, 'TU/LS 05164', 'A 8015', 'Phan Văn Điều', '', 0, 0, 1957, 1, '05632', '168', '19', NULL, 'Binh nhất', 'Tiểu đội phó', 13, 3, 1979, 'Huyện Trà Lĩnh, tỉnh Cao Bằng', '', 'C1-D4-E677-F346', 0, '', '', ''), (545, 'TU/LS 00632', 'A 3132', 'Ma Lăng Thảo (Thỏa),', '', 0, 0, 1951, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 22, 2, 1972, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'K', 0, '', '', ''), (546, 'TU/LS 06508', 'A 1880', 'Hoàng Văn Tô', '', 0, 0, 1947, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 20, 6, 1967, 'Mặt trận phía nam', '', 'K', 0, '21448', '534', '51'), (547, 'TU/LS 05476', 'A 3297', 'Hoàng Ngọc Hoa', '', 0, 0, 1940, 1, '05632', '168', '19', NULL, '', 'Trung độ trưởng', 28, 7, 1972, 'Mặt trận phía nam', 'Mặt trận phía nam', 'Thuộc K', 0, '', '', ''), (548, '7495', '7495', 'Ngô Văn Bảy', '', 0, 0, 1947, 1, '31108', '912', '91', NULL, '', 'Đội viên chiến sỹ du kích', 18, 11, 1967, '', '', 'Xã Biển Bạch, Thái Bình', 0, '32065', '967', '96'), (549, '2370', '2370', 'Ngô Tuấn Hạnh', '', 0, 0, 1946, 1, '31108', '912', '91', NULL, 'Trung sĩ', 'Tiểu đội phó', 18, 6, 1968, 'Tại Tây Ninh', '', 'C94 F5', 0, '25456', '703', '72'), (550, 'TU/LS 06325', 'A 1338', 'Bùi Duy Bang', '', 0, 0, 1949, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 29, 8, 1972, 'Mặt trận phía tây', 'Cánh đồng Chum, Siêng Khoảng', 'K9', 0, '', '', ''), (551, '10841', '10841', 'Nguyễn Văn Luyế', '', 0, 0, 1955, 1, '31108', '912', '91', NULL, '', 'Trung đội phó', 28, 10, 1984, 'Phường 4, tỉnh Campot', '', 'Đại đội 2 tiểu đoàn công binh Sư đoàn 8', 0, '30736', '899', '91'), (552, 'TU/LS 02616', 'A 4434', 'Lưu Văn Soa', '', 0, 0, 1944, 1, '05632', '168', '19', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 17, 3, 1970, 'mặt trận phía nam', 'mặt trận phía nam', 'K', 0, '', '', ''), (553, '8674', '8674', 'Ngô Văn Ả', '', 0, 0, 1921, 1, '31108', '912', '91', NULL, '', 'Trưởng trại giáo hóa', 0, 10, 1960, 'ấp Hòn Tre', '', 'Huyện Châu Thành, Kiên Giang', 0, '', '', ''), (554, '14624', '14624', 'Vũ Sáng Tạo', '', 0, 0, 1954, 1, '31108', '912', '91', NULL, '', 'Trung đội phó', 14, 3, 1975, '', '', 'C1 D403 Quân khu V', 0, '21031', '522', '51'), (555, '11617', '11617', 'Lê Văn Khoánh', '', 0, 0, 1955, 1, '31108', '912', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 18, 6, 1975, '', '', 'Đại đội 3 công an vũ trang tỉnh Kiên Giang', 36, '30736', '899', '91'), (556, '14627', '14627', 'Nguyễn Văn Phú', '', 0, 0, 1957, 1, '31108', '912', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 9, 5, 1977, '', '', 'Đại đội 381 công binh tỉnh An Giang', 0, '30463', '889', '89'), (557, '12049', '12049', 'Nguyễn Văn Chiế', '', 0, 0, 1956, 1, '31111', '912', '91', NULL, '', 'Chiến Sỹ', 2, 8, 1979, '', '', 'C4d2 huyện An Biên, tỉnh Kiên Giang', 0, '30766', '900', '91'), (558, '13913', '13913', 'Khổng Văn Tiểu', '', 0, 0, 1905, 1, '31111', '912', '91', NULL, '', 'ủy viên ban chấp hành nông dân xã', 30, 1, 1961, '', '', 'Xã Phú Ngãi, huyện Ba Tri, tỉnh Bến Tre', 0, '', '', ''), (559, '5324', '5324', 'Phạm Văn Mừng', '', 0, 0, 1952, 1, '31111', '912', '91', NULL, '', 'Công nhân viê', 28, 11, 1972, '', '', 'Ban binh vận Thị xã Rạch Giá', 0, '', '', ''), (560, '13439', '13439', 'Nguyễn Văn Nhị', '', 0, 0, 1946, 1, '31111', '912', '91', NULL, '', 'CS giao liên xã', 20, 10, 1963, '', '', 'xã Thới Quản, huyện Gò Quao, tỉnh Kiên Giang', 0, '30961', '907', '91'), (561, '14504', '14504', 'Ngô Bằng', '', 0, 0, 1937, 1, '31111', '912', '91', NULL, '', 'Trạm phó giao bưu huyện Phú Mỹ', 21, 6, 1966, '', '', 'Bưu điện huyện Phú Mỹ', 0, '21742', '545', '52'), (562, '14470', '14470', 'Trương Văn Dự', '', 0, 0, 1963, 1, '31111', '912', '91', NULL, 'Thượng Sỹ', 'Trung đội phó', 30, 7, 1985, '', '', 'Tiểu đoàn 7, đoàn 9904, MT 979', 0, '30736', '899', '91'), (563, '6548', '6548', 'Trần Văn Gương', '', 0, 0, 1939, 1, '31111', '912', '91', NULL, '', 'Y tá đội du kích', 11, 2, 1961, '', '', 'xã đội xã Vân Khánh', 0, '31042', '909', '91'), (564, '12499', '12499', 'Trần Văn Kiế', '', 0, 0, 1920, 1, '31111', '912', '91', NULL, '', 'Bí thư chi bộ xã Vân Khánh', 19, 5, 1962, '', '', 'xã Vân Khánh', 0, '31033', '909', '91'), (565, '8420', '8420', 'Nguyễn Văn Đang', '', 0, 0, 1952, 1, '31111', '912', '91', NULL, 'Hạ Sỹ', 'Tiểu đội phó', 15, 4, 1972, '', '', 'Bộ đội địa phương huyện Vĩnh Thuậ', 0, '31060', '910', '91'), (566, '6203', '6203', 'Phạm Khánh Hùng', 'Hùng Hải', 0, 0, 1944, 1, '31111', '912', '91', NULL, '', 'Y tá', 24, 9, 1966, '', '', 'Văn phòng tỉnh ủy Kiên Giang', 0, '30736', '899', '91'), (567, '14380', '14380', 'Lê Văn Thậm', '', 0, 0, 1938, 1, '31111', '912', '91', NULL, '', 'Ấp đội trưởng ấp Nguyễn Huế', 15, 1, 1961, '', '', 'ấp Nguyễn Huế, xã Biển Bạch, huyện Thới Bình, tỉnh Minh Hải', 0, '32068', '967', '96'), (568, 'TU/LS 06785', 'A 1394', 'Trần Bá Huynh', '', 0, 0, 1950, 1, '05632', '168', '19', NULL, 'Trung sĩ', 'Tiểu đội phó', 22, 2, 1971, 'Mặt trận phía Nam', '', 'D2-KB', 0, '', '', ''), (569, '6524', '6524', 'Huỳnh Văn Trụ', '', 0, 0, 1937, 1, '31111', '912', '91', NULL, '', 'ấp đội trưởng ấp 2 Trong', 27, 7, 1968, '', '', 'Xã đội xã Tây Yê', 0, '31000', '908', '91'), (570, 'TU/LS 05992', 'A 8713', 'Phạm Đức Vượng', '', 0, 0, 1964, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 2, 12, 1985, 'xã Thanh Đức, huyện Vị Xuyên, tỉnh Hà Tuyê', '', 'Đại đội 2, tiểu đoàn 1, trung đoàn 2, sư đoàn 3, QĐ 14', 0, '00955', '030', '02'), (571, '3450', '3450', 'Bùi Văn Lượng', '', 0, 0, 1948, 1, '31111', '912', '91', NULL, '', 'xã đội phó xã Đông Hòa', 3, 4, 1972, '', '', 'xã đội xã Đông Hòa', 0, '', '', ''), (572, '10852', '10852', 'Nguyễn Văn Thành', '', 0, 0, 1925, 1, '31111', '912', '91', NULL, '', 'Cán bộ binh vận huyện Gò Quao', 10, 3, 1969, '', '', 'Binh vận huyện Gò Quao', 36, '30736', '899', '91'), (573, 'TU/CP 271', '', 'Triệu Văn Giánh', '', 0, 0, 1923, 1, '05632', '168', '19', NULL, 'Chiến sĩ', '', 3, 3, 1946, 'Bảo vệ đường sắt Hà Nội - Lạng Sơ', 'Tỉnh Bắc Giang', 'Quân đội nhân dân Việt Nam', 0, '', '', ''), (574, '2554', '2554', 'Nguyễn Văn Sử', '', 0, 0, 0, 1, '31111', '912', '91', NULL, 'Thượng Sỹ', 'Tiểu đội trưởng', 2, 2, 1968, '', '', 'Tiểu đoàn 207', 0, '31000', '908', '91'), (575, 'TU/LS 06489', 'A 1895', 'Nguyễn Thanh Toa', '', 0, 0, 1945, 2, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 10, 12, 1967, 'Mặt trận phía nam', '', 'K', 0, '', '', ''), (576, '2825', '2825', 'Nguyễn Văn Hai', '', 0, 0, 1939, 1, '31111', '912', '91', NULL, '', 'ấp đội phó ấp Thạnh Xuâ', 8, 4, 1965, '', '', 'ấp Thạnh Xuâ', 0, '', '', ''), (577, '3364', '3364', 'Nguyễn Văn Tòng', '', 0, 0, 1935, 1, '31111', '912', '91', NULL, 'Binh Nhất', 'nhân viê', 23, 3, 1969, '', '', 'Ban binh vận tỉnh Rạch Giá', 0, '', '', ''), (578, 'TBH/NX - 036b', '', 'Nguyễn Sỹ Thâu', '', 0, 0, 0, 1, '05599', '167', '19', NULL, '', 'chiến sĩ', 25, 5, 1953, '', '', '', 0, '', '', ''), (579, '11000', '11000', 'Lê Văn Quy', '', 0, 0, 1962, 1, '31111', '912', '91', NULL, '', 'Chiến Sỹ', 27, 12, 1981, '', '', 'Đại đội 19 trung đoàn 88', 0, '30787', '902', '91'), (580, 'TU/LS 07139', 'A 979', 'Hoàng Minh Bế', '', 0, 0, 1944, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 24, 6, 1970, 'Mặt trận phía nam', '', 'D 270, KB', 0, '', '', ''), (581, '13504', '13504', 'Tạ Văn Ngày', '', 0, 0, 1932, 1, '31111', '912', '91', NULL, 'Chiến sỹ', 'nhân viên công an huyệ', 9, 4, 1952, '', '', 'Công an huyện Châu Thành', 36, '30736', '899', '91'), (582, 'TU/LS 01240', 'A 4698', 'Dương Quý Phúc', '', 0, 0, 1951, 1, '05632', '168', '19', NULL, 'Trung sĩ', 'Tiểu đội phó', 7, 12, 1972, 'Mặt trận phía nam', '', 'Tiểu đoàn 22 - KB', 0, '', '', ''), (583, '9689', '9689', 'Trương Công Danh', '', 0, 0, 1932, 1, '31114', '912', '91', NULL, '', 'Phó ban kinh tài xã', 5, 3, 1964, '', '', 'xã Vĩnh Bình, Vĩnh Thuậ', 0, '', '', ''), (584, 'TU/LS 01212', 'A 4750', 'Đặng Đình Thu', '', 0, 0, 1948, 1, '05632', '168', '19', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 20, 4, 1974, 'Mặt trận phía nam', '', 'C50-KB', 0, '', '', ''), (585, '14609', '14609', 'Lê Văn Viề', '', 0, 0, 1938, 1, '31114', '912', '91', NULL, '', 'Công nhâ', 13, 10, 1968, '', '', 'Phân trạm VTTN Cẩm Xuyê', 0, '18682', '446', '42'), (586, 'TU/LS 04888', 'A 4949', 'Lưu Viết Soi', '', 0, 0, 1951, 1, '05632', '168', '19', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 27, 1, 1974, 'Mặt trận phía nam', '', 'Tiểu đoàn 2 - KT', 0, '', '', ''), (587, 'TU/LS 05868', 'A 4614', 'Lưu Ngọc Dây', '', 0, 0, 1955, 1, '05632', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 2, 11, 1974, 'Mặt trận phía nam', '', 'Đại đội 1 - K5', 0, '', '', ''), (588, '14614', '14614', 'Tạ Văn Quắ', '', 0, 0, 1954, 1, '31114', '912', '91', NULL, '', 'Cán bộ cơ sở nội tiế', 21, 6, 1974, '', '', 'xã An Thạnh, Mỏ Cày', 0, '28951', '833', '83'), (589, '4532', '4532', 'Lê Thành Phă', '', 0, 0, 1940, 1, '31114', '912', '91', NULL, '', 'Tiểu đội trưởng du kích ấp Mương Đào B', 0, 4, 1962, '', '', 'xã đội xã Vân Khánh', 0, '31030', '909', '91'), (590, '11125', '11125', 'Nguyễn Văn Trường', '', 0, 0, 1941, 1, '31115', '912', '91', NULL, '', 'Trưởng ban binh vận xã Tây Yê', 27, 8, 1969, '', '', 'Ban binh vận xã Hòa Yê', 0, '', '', ''), (591, '8918', '8918', 'Đặng Trung Thành', '', 0, 0, 1955, 1, '31115', '912', '91', NULL, '', 'Binh nhất chiến sĩ', 4, 1, 1979, '', '', 'huyện đội An Biê', 0, '31006', '908', '91'), (592, '11292', '11292', 'Nguyễn Văn Trọng', '', 0, 0, 1952, 1, '31115', '912', '91', NULL, '', 'Đoàn viên thanh niê', 26, 6, 1973, '', '', '', 0, '31030', '909', '91'), (593, '7101', '7101', 'Nguyễn Văn Mười', '', 0, 0, 1950, 1, '31054', '913', '91', NULL, '', 'Trung đội phó', 3, 8, 1972, '', '', 'Địa phương quân Vĩnh Thuận, Kiên Giang', 0, '31051', '910', '91'), (594, '10243', '10243', 'Lê Văn Sửa', '', 0, 0, 1938, 1, '31054', '913', '91', NULL, '', 'Cán bộ binh vận xã', 28, 12, 1971, '', '', 'Binh vận xã Đông Yê', 0, '31000', '908', '91'), (595, '7616', '7616', 'Phạm Văn Sanh', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, '', 'xã đội phó', 22, 4, 1971, '', '', 'xã đội xã Vĩnh Hòa', 0, '31000', '908', '91'), (596, '2010', '2010', 'Trinh Văn Să', '', 0, 0, 1953, 1, '31054', '913', '91', NULL, 'Chiến sỹ', 'Chiến Sỹ', 22, 2, 1971, '', '', '616 tỉnh đội Kiên Giang', 0, '', '', ''), (597, '2013', '2013', 'Lê Bá Tòng', '', 0, 0, 1949, 1, '31054', '913', '91', NULL, 'Chiến sỹ', 'Chiến Sỹ', 2, 3, 1971, '', '', 'Đại đội 616 tỉnh đội Kiên Giang', 0, '31000', '908', '91'), (598, '8616', '8616', 'Phạm Văn Việt', '', 0, 0, 1952, 1, '31054', '913', '91', NULL, '', 'Đại đội trưởng', 10, 2, 1973, '', '', 'Tiểu đoàn 309, trung đoàn I, quân khu 9', 0, '', '', ''), (599, 'B456', '', 'Lê Thị Lại', '', 0, 0, 1946, 2, '24577', '655', '66', NULL, '', 'Cán sự 2', 1, 2, 1968, '', '', 'Ban công thương khu ủy 2', 0, '', '', ''), (600, '10403', '10403', 'Đặng Văn Đó', '', 0, 0, 1953, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Tiểu đội trưởng', 5, 5, 1971, '', 'Giồng Riềng, Kiên Giang', 'Tiểu đoàn 207', 0, '', '', ''), (601, '3721', '3721', 'Nguyễn Văn Thọ', '', 0, 0, 1949, 1, '31054', '913', '91', NULL, '', 'Tiểu đội phó', 21, 4, 1968, '', '', 'Du kích xã Vĩnh Phước', 36, '30736', '899', '91'), (602, '12967', '12967', 'Trần Văn Trinh', '', 0, 0, 1920, 1, '31054', '913', '91', NULL, 'Trưởng ban nông dân xã', '', 25, 5, 1958, 'Vĩnh Hòa, Vĩnh Thuận, Kiên Giang', '', 'Vĩnh Hòa, Vĩnh Thuận, Kiên Giang', 0, '', '', ''), (603, '7098', '7098', 'Trần Văn Hòa', '', 12, 9, 1938, 1, '31054', '913', '91', NULL, 'B bậc trưởng', 'Trung đội trưởng', 12, 9, 1964, '', '', 'Công binh huyện đội An Biê', 0, '31000', '908', '91'), (604, '7097', '7097', 'Trần Văn Bình', '', 0, 0, 1944, 1, '31054', '913', '91', NULL, 'B bậc trưởng', 'Trung đội trưởng', 2, 6, 1968, '', '', 'Bộ đội địa phương huyện An Biê', 0, '31000', '908', '91'), (605, '6119', '6119', 'Nguyễn Văn Nhẹ', '', 0, 0, 1936, 1, '31054', '913', '91', NULL, 'Đội viên du kích', '', 0, 3, 1968, '', '', 'xã Vĩnh Phước', 36, '30736', '899', '91'), (606, '11595', '11595', 'Nguyễn Văn Lực', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, '', 'Trung đội bậc trưởng', 3, 9, 1970, '', '', 'B1-C1-Tiểu đoàn T70- Quân khu 9', 0, '31000', '908', '91'), (607, '3465', '3465', 'Lê Văn Lập', '', 0, 0, 1956, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Tiểu đội phó', 10, 11, 1972, 'Hòa Hưng - Giồng Riềng', '', 'Tiểu đoàn 207', 0, '', '', ''), (608, '3465', '3465', 'Lê Minh Thành', '', 0, 0, 1953, 1, '31054', '913', '91', NULL, '', 'tiểu đội phó du kích', 29, 2, 1972, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '31054', '913', '91'), (609, '3467', '3467', 'Lê Văn Lập', '', 0, 0, 1956, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Tiểu đội phó', 10, 11, 1972, 'Hòa Hưng - Giồng Riềng', '', 'Tiểu đoàn 207', 0, '', '', ''), (610, '7621', '7621', 'Phạm Minh Út', 'Hoàng Lương', 11, 2, 1946, 1, '31054', '913', '91', NULL, '', 'Giáo viê', 11, 2, 1969, '', '', 'phòng giáo dục huyện Vĩnh Thuậ', 0, '31051', '910', '91'), (611, '1564', '1564', 'Phạm Văn Chiế', '', 0, 0, 1942, 1, '31054', '913', '91', NULL, 'Thượng Sĩ', 'Y tá', 8, 5, 1969, '', '', 'Châu Thành, Rạch Giá, Kiên Giang', 0, '31054', '913', '91'), (612, '8144', '8144', 'Đồng Văn Hườ', '', 0, 0, 1945, 1, '31054', '913', '91', NULL, 'Trung đội bậc trưởng', 'Trung đội trưởng', 28, 1, 1973, '', '', 'Bộ đội địa phương huyện Vĩnh Thuậ', 0, '31051', '910', '91'), (613, '4069', '4069', 'Lê Văn Khuê', 'Ba cà lăm', 0, 0, 1902, 1, '31054', '913', '91', NULL, 'Bí thư chi bộ văn phòng huyện ủy', '', 27, 7, 1959, '', '', 'huyện Long Mỹ, tỉnh Hậu Giang', 0, '31489', '936', '93'), (614, '7117', '7117', 'Nguyễn Văn Ngà', '', 0, 0, 1924, 1, '31054', '913', '91', NULL, '', 'chi ủy viên đảng ủy Vĩnh Hòa', 19, 1, 1969, '', '', 'xã Vĩnh Hòa, huyện Vĩnh Thuận, tỉnh Kiên Giang', 0, '', '', ''), (615, '5411', '5411', 'Nguyễn Văn Ba', '', 0, 0, 1935, 1, '31054', '913', '91', NULL, 'Du kích mật ấp Trèm Trẹm', 'Chiến sỹ', 6, 5, 1961, '', '', 'Xã Lộc Ninh, huyện Hồng Dân, tỉnh Minh Hải', 0, '', '', ''), (616, '5412', '5412', 'Nguyễn Văn Đời', '', 0, 0, 1937, 1, '31054', '913', '91', NULL, 'xã đội phó', 'Trung đội trưởng', 8, 11, 1963, '', '', 'Xã Lộc Ninh, huyện Hồng Dân, tỉnh Minh Hải', 0, '31855', '956', '95'), (617, '3487', '3487', 'Bùi Văn Tỏi', '', 0, 0, 1938, 1, '31054', '913', '91', NULL, 'đội viên du kích', 'tiểu đội trưởng', 14, 9, 1960, '', '', 'xã Vĩnh Hòa, huyện Vĩnh Thuận, tỉnh Kiên Giang', 0, '31054', '913', '91'), (618, '13539', '13539', 'Bùi Văn Dư', '', 0, 0, 1941, 1, '31054', '913', '91', NULL, '', 'Trung đội trưởng', 16, 5, 1965, '', '', 'Đại đội 4, tiểu đoàn 309, Quân khu 9', 0, '32071', '967', '96'), (619, '3499', '3499', 'Phạm Văn Tiếm', '', 0, 0, 1954, 1, '31054', '913', '91', NULL, 'Thượng sĩ', 'Trung đội trưởng', 15, 9, 1971, 'Hòn Me, kiên Hải', '', 'Tiểu đoàn 309, QK9', 0, '', '', ''), (620, '5658', '5658', 'Nguyễn Văn Hoàng', '', 0, 0, 1949, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Chiến Sỹ', 16, 4, 1970, 'Ba Hồ, Gò Quao', '', 'Kiên Giang tiểu đoàn 207', 0, '', '', ''), (621, '5411', '5411', 'Nguyễn Văn Ba', '', 0, 0, 1935, 1, '31054', '913', '91', NULL, 'Du kích mật ấp Trèm Trẹm', 'Chiến Sỹ', 0, 0, 0, '', '', 'Xã Lộc Ninh, huyện Hồng Dân, tỉnh Minh Hải', 0, '', '', ''), (622, '5411', '5411', 'Nguyễn Văn Ba', '', 0, 0, 1935, 1, '31054', '913', '91', NULL, 'Du kích mật ấp Trèm Trẹm', 'Chiến Sỹ', 6, 5, 1961, '', '', 'Xã Lộc Ninh, huyện Hồng Dân, tỉnh Minh Hải', 0, '', '', ''), (623, '5411', '5411', 'Nguyễn Văn Ba', '', 0, 0, 1935, 1, '31054', '913', '91', NULL, 'Du kích mật ấp Trèm Trẹm', 'Chiến Sỹ', 6, 5, 1961, '', '', 'Xã Lộc Ninh, huyện Hồng Dân, tỉnh Minh Hải', 0, '', '', ''), (624, '7119', '7119', 'Nguyễn Văn Bình', '', 0, 0, 1954, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'Trung đội trưởng', 13, 3, 1973, '', '', 'Tiểu đoàn 207, Kiên Giang', 0, '30943', '906', '91'), (625, '3496', '3496', 'Nguyễn Văn A', '', 0, 0, 1942, 1, '31054', '913', '91', NULL, 'Du kích', '', 14, 9, 1960, '', '', 'xã Vĩnh Hòa, huyện Vĩnh Thuận, tỉnh Kiên Giang', 0, '31054', '913', '91'), (626, '11232', '11232', 'Võ Quang Đáng', '', 0, 0, 1949, 1, '31054', '913', '91', NULL, '', 'ấp đội phó', 20, 9, 1986, '', '', 'Vĩnh Hòa, Vĩnh Thuận, Kiên Giang', 0, '31054', '913', '91'), (627, '13820', '13820', 'Lê Hoàng Tấ', '', 0, 0, 1936, 1, '31054', '913', '91', NULL, '', 'xã ủy viên chính trị viên xã đội', 17, 2, 1970, '', '', 'xã đội xã Vĩnh Hòa, Vĩnh Thuận, Kiên Giang', 0, '', '', ''), (628, '2006', '2006', 'Nguyễn Văn Tư', '', 0, 0, 1946, 1, '31054', '913', '91', NULL, '', 'B bậc trưởng', 4, 12, 1972, '', '', 'Cán bộ ban an ninh miề', 0, '25486', '705', '72'), (629, '5616', '5616', 'Nguyễn Văn Lượm', '', 0, 0, 1941, 1, '31054', '913', '91', NULL, '', 'Cán bộ binh vận tỉnh', 0, 7, 1968, '', '', 'Tỉnh Kiên Giang', 0, '', '', ''), (630, '7120', '7120', 'Nguyễn Văn Cường', '', 0, 0, 1946, 1, '31054', '913', '91', NULL, 'Đại đội trưởng', 'Đại đội bậc trưởng', 10, 12, 1972, 'Tiền Giang', '', 'Tiểu đoàn 2 trung đoàn 1 sư đoàn 5', 0, '', '', ''), (631, '6127', '6127', 'Trần Văn Sử', '', 0, 0, 1932, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 25, 5, 1967, '', '', 'T70 - Quân khu 9', 0, '31054', '913', '91'), (632, '8147', '8147', 'Trần Văn Cứ', '', 0, 0, 1929, 1, '31054', '913', '91', NULL, '', 'Trung đội phó', 27, 11, 1965, '', '', 'phòng tham mưu quân khu 9', 0, '31363', '932', '93'), (633, '7108', '7108', 'Lâm Văn Mỹ', '', 0, 0, 1943, 1, '31054', '913', '91', NULL, 'Du kích', 'Ấp đội trưởng', 25, 4, 1974, '', '', 'Du kích ấp Vĩnh Chánh, xã Vĩnh Hòa', 0, '', '', ''), (634, '3497', '3497', 'Nguyễn Văn Nhằm', '', 0, 0, 1951, 1, '31054', '913', '91', NULL, 'Du kích', 'đội viên du kích', 22, 2, 1970, '', '', 'Du kích xã Vĩnh Hòa, Vĩnh Thuận, Kiên Giang', 36, '30736', '899', '91'), (635, '2001', '2001', 'Nguyễn Thị Diệu', '', 0, 0, 1951, 2, '31054', '913', '91', NULL, 'đại đội bậc trưởng', 'Đại đội trưởng', 26, 9, 1973, '', '', 'C4 D309', 0, '31318', '930', '93'), (636, '3466', '3466', 'Hồ Văn Luậ', '', 0, 0, 0, 1, '31054', '913', '91', NULL, '', 'Chiến sỹ giao liên xã', 19, 2, 1971, '', '', 'xã Vĩnh Hòa, huyện Vĩnh Thuận, tỉnh Kiên Giang', 0, '31054', '913', '91'), (637, '2009', '2009', 'Nguyễn Minh Thành', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Y tá', 29, 4, 1968, 'Biên Hòa', '', 'Trung đoàn 5, Quân khu 7', 0, '', '', ''), (638, '3461', '3461', 'Nguyễn Văn Dương', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Du kích', 'Ấp đội trưởng ấp Vĩnh Thạnh', 19, 3, 1972, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '31054', '913', '91'), (639, '2025', '2025', 'Lê Văn Đào', '', 0, 0, 1950, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Tiểu đội phó', 10, 11, 1968, 'Trà Vinh', '', 'tiểu đoàn 303, Quân khu 9, E3', 0, '', '', ''), (640, '728', '728', 'Nguyễn Văn Tư', '', 0, 0, 1950, 1, '31054', '913', '91', NULL, '', 'ấp đội phó', 8, 11, 1974, '', '', 'ấp đội xã Vĩnh Bình Bắc, Vĩnh Thuận, Kiên Giang', 0, '31051', '910', '91'), (641, '3500', '3500', 'Phạm Văn Lành', '', 0, 0, 1939, 1, '31054', '913', '91', NULL, 'Du kích', 'ấp đội trưởng ấp Vĩnh Thạnh', 11, 1, 1960, '', '', 'Trực thuộc xã đội xã Vĩnh Hòa, Vĩnh Thuận, Kiên Giang', 0, '31054', '913', '91'), (642, '10110', '10110', 'Lê Hữu Nghề', '', 0, 0, 1927, 1, '31054', '913', '91', NULL, 'Thư ký nông ngư vậ', '', 3, 7, 1972, '', '', 'Thị xã ủy Rạch Giá', 0, '31000', '908', '91'), (643, '3463', '3463', 'Ngô Văn Ngà', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, 'ấp đội trưởng', '', 0, 0, 1971, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '31054', '913', '91'), (644, '2004', '2004', 'Huỳnh Văn Dâ', '', 0, 0, 1951, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 18, 4, 1972, '', '', 'Cục Hậu cần Quân khu 9', 0, '31054', '913', '91'), (645, '2008', '2008', 'Nguyễn Văn Thụ', 'Thuậ', 0, 0, 1955, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Tiểu đội phó', 14, 4, 1975, '', '', 'Tiểu đoàn 207', 0, '31054', '913', '91'), (646, '9130', '9130', 'Nguyễn Hoàng Anh', '', 0, 0, 1959, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 3, 9, 1979, 'Mặt trận phía Tây Nam', '', 'E152 Kiên Giang', 0, '', '', ''), (647, '7634', '7634', 'Phạm Văn Mới', '', 0, 0, 1934, 1, '31054', '913', '91', NULL, '', 'Trung đội trưởng', 10, 6, 1960, 'huyện Hồng Dâ', '', 'U Minh/10, tỉnh Kiên Giang', 0, '', '', ''), (648, '2003', '2003', 'Huỳnh Văn Hai', '', 0, 0, 1942, 1, '31054', '913', '91', NULL, 'Đội viên du kích xã', '', 18, 2, 1967, '', '', 'xã Vĩnh Tuy', 0, '31000', '908', '91'), (649, '6125', '6125', 'Trương Văn Cho', '', 0, 0, 1921, 1, '31054', '913', '91', NULL, 'Trung đội bậc trưởng', 'tiểu đội trưởng', 28, 8, 1949, '', '', 'Tiểu đoàn 410, trung đoàn Tây Đô, Quân khu 9', 0, '31054', '913', '91'), (650, '3483', '3483', 'Dương Văn Khi', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Vệ sĩ', 'y tá', 0, 5, 1970, '', '', 'Ban binh vận tỉnh', 0, '31054', '913', '91'), (651, '7096', '7096', 'Phạm Văn Em', '', 0, 0, 1944, 1, '31054', '913', '91', NULL, 'Bí thư xã chi đoàn T', '', 18, 10, 1961, '', '', 'xã Vĩnh Hòa, huyện Vĩnh Thuận, tỉnh Kiên Giang', 0, '31060', '910', '91'), (652, '4067', '4067', 'Phạm Văn Vui', '', 0, 0, 1921, 1, '31054', '913', '91', NULL, '', 'nhân viên y tá', 20, 9, 1973, '', '', 'Ban dân y tỉnh Kiên Giang', 0, '31018', '909', '91'), (653, '6604', '6604', 'Nguyễn Hữu Đoà', 'Thanh', 0, 0, 0, 1, '31054', '913', '91', NULL, 'đại đội bậc trưởng', 'Trưởng ban quân khu ', 25, 8, 1969, '', '', 'phòng hậu cần tỉnh Kiên Giang', 0, '31000', '908', '91'), (654, '7623', '7623', 'Nguyễn Văn Tư', '', 0, 0, 1932, 1, '31054', '913', '91', NULL, '', 'cán bộ ấp', 3, 3, 1971, '', '', 'ấp Vĩnh Tiến, xã Vĩnh Hòa', 0, '', '', ''), (655, '3475', '3475', 'Trần Văn Kiệ', '', 0, 0, 1943, 1, '31054', '913', '91', NULL, '', 'đội viên du kích', 0, 1, 1974, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '31054', '913', '91'), (656, '7930', '7930', 'Nguyễn Văn Diệ', '', 0, 0, 1927, 1, '31054', '913', '91', NULL, '', 'cán bộ nông hội huyện Vĩnh Thuậ', 29, 10, 1969, '', '', 'huyện Vĩnh Thuậ', 0, '31054', '913', '91'), (657, '6607', '6607', 'Nguyễn Văn Tòng', '', 0, 0, 1951, 1, '31054', '913', '91', NULL, 'Trung đội trưởng, trung đội thanh niên xung phong', '', 27, 5, 1968, '', '', 'Tỉnh đoàn thanh niên Kiên Giang', 0, '30853', '904', '91'), (658, '10749', '10749', 'Nguyễn Văn Tuội', '', 0, 0, 1919, 1, '31054', '913', '91', NULL, '', 'Trưởng kinh tài ấp', 3, 2, 1970, '', '', 'ấp Vĩnh Tiến, xã Vĩnh Hòa', 0, '31054', '913', '91'), (659, '11344', '11344', 'Trần Văn Bửu', '', 0, 0, 1946, 1, '31054', '913', '91', NULL, '', 'Du kích ấp 7, xã Bình Minh', 2, 6, 1970, '', '', 'ấp 7, xã Bình Minh', 0, '', '', ''), (660, '7087', '7087', 'Lê Văn Hoa', 'Sáu Kiệt', 0, 0, 1946, 1, '31054', '913', '91', NULL, 'Binh nhất', 'Chiến Sỹ', 0, 3, 1968, '', '', 'Bộ đội địa phương huyện Vĩnh Thuậ', 0, '31051', '910', '91'), (661, '10438', '10438', 'Lê Văn Thưởng', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, '', 'Tiểu đội phó', 15, 10, 1968, '', '', 'Địa phương quân Vĩnh Thuận, Kiên Giang', 0, '30736', '899', '91'), (662, '7625', '7625', 'Phạm Thị Út Nam', '', 0, 0, 1950, 2, '31054', '913', '91', NULL, 'nhân viên ty công an Tỉnh', '', 6, 12, 1968, '', '', 'Công an tỉnh Kiên Giang', 0, '31054', '913', '91'), (663, '2995', '2995', 'Ngô Văn Nới', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, 'Tiểu đội trưởng du kích', '', 0, 12, 1968, 'huyện Gò Quao', 'huyện Gò Quao', 'xã Vĩnh Phước', 0, '', '', ''), (664, '6239', '6239', 'Huỳnh Văn Điêu', '', 0, 0, 1950, 1, '31054', '913', '91', NULL, 'Cán bộ Ty Công an Kiên Giang', '', 27, 5, 1970, '', '', 'Đội bảo vệ tỉnh ủy tỉnh Kiên Giang', 0, '', '', ''), (665, '2028', '2028', 'Huỳnh Văn Hùng', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 3, 5, 1975, 'Kiên Giang', '', 'Đặc công quân khu 9', 0, '31054', '913', '91'), (666, '7127', '7127', 'Lê Văn Hòa', '', 0, 0, 1933, 1, '31054', '913', '91', NULL, 'Bí thư chi bộ ấp', '', 27, 4, 1971, '', '', 'ấp Vĩnh Thạnh', 0, '31054', '913', '91'), (667, '14225', '14255', 'Huỳnh Văn Nhiều', '', 0, 0, 1945, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', '', 21, 8, 1961, '', '', '75 Sóc Trăng', 0, '32244', '973', '96'), (668, '10973', '10973', 'Nguyễn Văn Nở', '', 0, 0, 1963, 1, '31054', '913', '91', NULL, 'Binh nhất', '', 7, 5, 1985, '', '', 'C11 - D9 - E92 - F4', 0, '31471', '936', '93'), (669, '470', '470', 'Phạm Văn Hoàng', '', 0, 0, 1937, 1, '31054', '913', '91', NULL, 'Thượng Sỹ', 'tiểu đội phó', 12, 8, 1970, '', '', 'Tiểu đoàn 207, Kiên Giang', 0, '31051', '910', '91'), (670, '12387', '12387', 'Trương Thanh Tùng', '', 0, 0, 1914, 1, '31054', '913', '91', NULL, 'Biện hộ sư', '', 0, 0, 1954, '', '', 'Tòa án nhân dân tỉnh Kiên Giang', 0, '', '', ''), (671, '6124', '6124', 'Nguyễn Văn Sang', '', 0, 0, 1936, 1, '31054', '913', '91', NULL, 'Cán bộ', 'Căn cứ bảo vệ', 17, 9, 1970, '', '', 'Ban tuyên huấn tỉnh Kiên Giang', 0, '', '', ''), (672, '7128', '7128', 'Lê Văn Tự', '', 0, 0, 1928, 1, '31054', '913', '91', NULL, '', 'xã đội phó', 22, 2, 1960, '', '', 'xã Vĩnh Hòa', 0, '', '', ''), (673, '8806', '8806', 'Lê Văn Ngà', '', 0, 0, 1946, 1, '31054', '913', '91', NULL, 'Tiểu đội trưởng', 'Du kích xã', 14, 4, 1963, '', '', 'xã Vĩnh Bình Bắc', 0, '31051', '910', '91'), (674, '5618', '5618', 'Nguyễn Công Tâm', 'Na', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Chiến sỹ', 'Chiến Sỹ', 28, 8, 1970, '', '', 'Bộ đội địa phương huyện Hà Tiê', 0, '', '', ''), (675, '13629', '13629', 'Trần Văn Mười', 'Lé', 0, 0, 1944, 1, '31054', '913', '91', NULL, 'Chiến sỹ', 'Binh vận tỉnh', 28, 2, 1974, '', '', 'Ban binh vận tỉnh Kiên Giang', 0, '', '', ''), (676, '7617', '7617', 'Nguyễn Văn Tây', '', 0, 0, 1956, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 6, 3, 1971, '', '', 'Tiểu đoàn 207, Kiên Giang', 0, '31006', '908', '91'), (677, '7131', '7131', 'Nguyễn Văn A', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, '', 'Trung đội phó', 2, 12, 1966, '', 'Bình Đông', 'Trung đoàn 3, Sư đoàn 9', 0, '', '', ''), (678, '12661', '12661', 'Trần Văn Được', '', 0, 0, 1933, 1, '31054', '913', '91', NULL, 'Tổ trưởng binh vận ấp', '', 0, 0, 1973, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '', '', ''), (679, '14277', '14277', 'Trần Văn Đức', 'Trần Văn Dũng', 0, 0, 1950, 1, '31054', '913', '91', NULL, 'Trung đội trưởng', 'B trưởng', 14, 1, 1969, '', '', 'Tiểu đoàn 2 (Rạch Giá),', 0, '', '', ''), (680, '13317', '13317', 'Trần Văn Thiê', '', 0, 0, 1935, 1, '31054', '913', '91', NULL, 'Đại đội bậc phó', 'Đại đội phó', 16, 11, 1966, '', '', 'C74, Đinh Tiên Hoàng, Quân khu 9', 0, '', '', ''), (681, '6611', '6611', 'Lê Văn Thành', '', 0, 0, 1955, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'Trung đội phó', 0, 0, 1973, '', '', 'Tiểu đoàn 207', 0, '30853', '904', '91'), (682, '7093', '7093', 'Nguyễn Văn Sỹ', '', 0, 0, 1940, 1, '31054', '913', '91', NULL, 'Du kích xã', 'xã đội trưởng', 19, 5, 1962, '', '', 'xã Vĩnh Hòa, huyện Vĩnh Thuận, tỉnh Kiên Giang', 0, '31054', '913', '91'), (683, '7118', '7118', 'Nguyễn Văn Lực', '', 0, 0, 1928, 1, '31054', '913', '91', NULL, 'Cán bộ ấp', '', 22, 2, 1956, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '', '', ''), (684, '2016', '2016', 'Phan Văn Biệ', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Thượng Sĩ QĐNDV', 'Tiểu đội trưởng', 17, 5, 1970, '', '', 'Hậu cần huyện đội Vĩnh Thuậ', 0, '', '', ''), (685, '2007', '2007', 'Bùi Thị Chỉnh', '', 0, 0, 0, 2, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Nhân viên quân trang', 20, 8, 1964, '', '', 'phòng Hậu Cần tỉnh đội Kiên Giang', 0, '', '', ''), (686, '2000', '2000', 'Bùi Văn Phước', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Trung đội trưởng', 'Quân y sỹ', 20, 9, 1969, '', '', 'Quân y tỉnh Kiên Giang', 0, '', '', ''), (687, '3248', '3248', 'Lương Văn Nuôi', 'Sáu già', 0, 0, 1934, 1, '31054', '913', '91', NULL, 'phó đoàn văn công tỉnh Rạch Giá', '', 11, 7, 1971, '', '', 'Ban tuyên huấn tỉnh Rạch Giá', 0, '31006', '908', '91'), (688, '3464', '3464', 'Võ Văn Quốc', '', 0, 0, 1953, 1, '31054', '913', '91', NULL, 'A bậc phó', 'Đội trinh sát vũ trang thị xã', 17, 5, 1973, '', '', 'Ty công an Kiên Giang', 36, '30736', '899', '91'), (689, '3491', '3491', 'Nguyễn Văn Sế', '', 0, 0, 1952, 1, '31054', '913', '91', NULL, 'Tiểu đội trưởng thanh niên xung phong', '', 20, 7, 1969, 'xã Hòa Lợi', '', 'Thanh niên xung phong', 0, '', '', ''), (690, '3478', '3478', 'Trình Văn Nê', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Chiến sỹ', 'Binh vận tỉnh', 0, 0, 1970, '', '', 'Đội vũ trang binh vận tỉnh Rạch Giá', 0, '', '', ''), (691, '3494', '3494', 'Trần Văn Hớ', '', 0, 0, 1949, 1, '31054', '913', '91', NULL, 'Du kích', 'Dân quâ', 22, 5, 1974, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '31054', '913', '91'), (692, '4068', '4068', 'Lê Văn Lẹ', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Cán bộ ', 'Trung đội bậc trưởng', 15, 8, 1968, '', '', 'Ty công an tỉnh Kiên Giang', 0, '31006', '908', '91'), (693, '5415', '5415', 'Đặng Văn Quang', '', 0, 0, 1936, 1, '31054', '913', '91', NULL, '', 'đội viên du kích', 0, 10, 1957, '', '', 'xã Vĩnh Hòa', 0, '31054', '913', '91'), (694, '6133', '6133', 'Lê Thị Bé', 'Dâu', 0, 0, 1949, 2, '31054', '913', '91', NULL, 'Y tá', '', 10, 8, 1971, 'Bệnh xá tỉnh Kiên Giang', '', 'Bệnh xá tỉnh Kiên Giang', 0, '', '', ''), (695, '4844', '4844', 'Nguyễn Văn Cộng', 'Bảy Truyề', 0, 0, 1945, 1, '31054', '913', '91', NULL, 'phó ban quản trị nhà in tỉnh', '', 17, 1, 1972, '', '', 'Ban tuyên huấn tỉnh Rạch Giá', 36, '30736', '899', '91'), (696, '2024', '2024', 'Cao Văn Lắc', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'Trung đội trưởng', 27, 1, 1973, '', '', 'Tiểu đoàn 519', 0, '31054', '913', '91'), (697, '2017', '2017', 'Lê Văn Quí', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Trung đội bậc trưởng', 'Trung đội trưởng', 26, 6, 1969, '', '', 'Bộ đội địa phương huyện Châu Thành', 0, '', '', ''), (698, '3682', '3682', 'Nguyễn Thanh Hồng', '', 0, 0, 1928, 1, '31054', '913', '91', NULL, 'Du kích ấp', '', 21, 7, 1961, '', '', 'xã Vĩnh Hòa Hưng, An Biê', 0, '31054', '913', '91'), (699, '13449', '13449', 'Dương Văn Nghĩa', '', 0, 0, 1934, 1, '31054', '913', '91', NULL, '', 'Trung đội trưởng', 20, 5, 1968, '', '', 'Ngô Sở', 0, '', '', ''), (700, '3490', '3490', 'Lê Văn Đông', '', 0, 0, 1947, 1, '31054', '913', '91', NULL, '', 'ấp đội phó', 29, 3, 1973, '', '', 'ấp Vĩnh Thành', 0, '', '', ''), (701, '3489', '3489', 'Nguyễn Văn Duy', '', 0, 0, 1952, 1, '31054', '913', '91', NULL, '', 'ấp đội phó', 28, 2, 1974, '', '', 'ấp Vĩnh Thành, xã Vĩnh Hòa', 0, '', '', ''), (702, '6126', '6126', 'Dương Văn Út', 'Út Chuối', 0, 0, 1954, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 28, 6, 1972, '', '', 'Đại đội 616 tỉnh Kiên Giang', 0, '', '', ''), (703, '10079', '10079', 'Trần Văn Tấ', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'phó hạt lâm trường 103', '', 22, 5, 1974, '', '', 'Ty Lâm Nghiệp Kiên Giang', 0, '31054', '913', '91'), (704, 'QA/LS 13120', 'QĐ 40340', 'Lê Năm', '', 0, 0, 1939, 1, '20566', '507', '49', NULL, '', 'Trưởng ban đấu tranh chính trị xã', 17, 10, 1970, '', '', 'Ủy ban nhân dân xã Điện Hồng', 0, '20566', '507', '49'), (705, '9214', '9214', 'Trần Văn Thu', '', 0, 0, 1945, 1, '31054', '913', '91', NULL, 'Đại đội bậc phó', 'Đại đội phó', 10, 9, 1969, '', '', 'Đại đội ĐK 75 Trung đoàn 2', 0, '31489', '936', '93'), (706, '3460', '3460', 'Trần Văn Đông', '', 0, 0, 1948, 1, '31054', '913', '91', NULL, 'Du kích xã', '', 0, 7, 1973, '', '', 'xã Vĩnh Hòa', 0, '31054', '913', '91'), (707, '2042', '2042', 'Nguyễn Văn Bửu', '', 0, 0, 1950, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 16, 1, 1971, '', '', 'Hậu cần quân khu 9', 0, '', '', ''), (708, '1696', '1696', 'Bùi Văn Qua', '', 0, 0, 1945, 2, '31054', '913', '91', NULL, '', 'Giao liên xã', 0, 4, 1962, '', '', 'Xã đội xã Tây Yê', 0, '31054', '913', '91'), (709, '6952', '6952', 'Lê Văn Soi', '', 0, 0, 1953, 1, '31054', '913', '91', NULL, 'A phó', '', 17, 5, 1973, '', '', 'Đội TSVT thị xã Rạch Giá', 0, '30736', '899', '91'), (710, '1697', '1697', 'Bùi Văn Quyề', '', 0, 0, 1955, 1, '31054', '913', '91', NULL, 'Du kích xã', '', 6, 7, 1974, '', '', 'xã đội xã Đông Yê', 0, '31006', '908', '91'), (711, '14131', '14131', 'Đoàn Văn Ngà', '', 0, 0, 1934, 1, '31054', '913', '91', NULL, '', 'Đội viên du kích ấp', 0, 9, 1963, '', '', 'ấp Trường Thạnh, Trường Thành', 0, '', '', ''), (712, '4849', '4849', 'Lê Văn Phú', '', 0, 0, 1936, 1, '31054', '913', '91', NULL, '', 'nhân viên công trường', 27, 10, 1961, '', '', 'xã Đông Thái', 0, '31006', '908', '91'), (713, '2039', '2039', 'Ngô Văn Xiếu', '8 Chiế', 0, 0, 1948, 1, '31054', '913', '91', NULL, 'Đội trưởng đội bảo vệ cơ qua', '', 28, 8, 1970, '', '', 'Cơ quan tỉnh đoà', 0, '31054', '913', '91'), (714, '6073', '6073', 'Trần Thị Đe', '', 0, 0, 0, 2, '31054', '913', '91', NULL, 'Binh nhất', 'Chiến Sỹ', 1, 7, 1967, '', '', 'Bộ đội địa phương huyện Vĩnh Thuậ', 0, '31051', '910', '91'), (715, '10607', '10607', 'Phạm Văn Cò', '', 0, 0, 1938, 1, '31054', '913', '91', NULL, '', 'Ấp đội trưởng', 28, 6, 1970, '', '', 'ấp Tiến Hiếu, xã Hòa Tiế', 0, '', '', ''), (716, '2033', '2033', 'Võ Thành Được', '', 0, 0, 1939, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 18, 2, 1967, '', '', 'Quân khu 9', 0, '', '', ''), (717, '12307', '12307', 'Đặng Văn Đầy', '', 0, 0, 1932, 1, '31054', '913', '91', NULL, '', 'công an xã', 4, 11, 1970, '', '', 'Công an xã Vĩnh Hòa', 0, '', '', ''), (718, '2090', '2090', 'Đặng Văn Tài', '', 0, 0, 1945, 1, '31054', '913', '91', NULL, 'Hạ Sỹ', 'Chiến Sỹ', 12, 6, 1968, '', '', 'HT A 540', 0, '31018', '909', '91'), (719, '2030', '2030', 'Huỳnh Văn Cứng', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 11, 4, 1969, '', '', 'd 303 F1 Quân khu 9', 0, '', '', ''), (720, '2035', '2035', 'Phan Văn Gồng', '', 0, 0, 0, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 24, 9, 1969, '', '', 'Tiểu đoàn 207', 0, '', '', ''), (721, 'YB/CP379', 'LS/LY424', 'Đàm Thế Bằng', '', 0, 0, 1928, 1, '04369', '135', '15', NULL, 'Thượng sỹ', 'tiểu đội trưởng', 26, 12, 1952, '', '', 'Trung đoàn 238 , tiểu đoàn 432, đại đội 210, huyện Hiệp Hòa, tỉnh Bắc Giang', 0, '7840', '223', '24'), (723, 'TU/LS 03748', 'A 8315', 'Nguyễn Ngọc Tuấ', '', 0, 0, 1959, 1, '05467', '164', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', 22, 2, 1979, 'Bản Ne, Chi Phương, Tràng Định, Lạng Sơ', '', 'Tiểu đoàn Bộ tiểu đoàn 1', 0, '06040', '180', '20'), (724, 'YB/Ls2782', 'LS/LY419', 'Đàm văn Khoa', '', 0, 0, 1952, 1, '04369', '135', '15', NULL, 'binh nhất', 'chiến sỹ', 16, 11, 1972, 'Xuyên Khoảng Lào', 'Xuyên Khoảng Lào', 'đại đội 11, tiểu đoàn 3, K16', 60, '04303', '135', '15'), (725, '7091', '7091', 'Võ Văn Hạp', '', 0, 0, 1934, 1, '31054', '913', '91', NULL, 'Cán bộ xã', '', 0, 7, 1956, '', '', 'xã Vĩnh Hòa', 0, '', '', ''), (726, '7085', '7085', 'Lê Văn Phước', '', 0, 0, 1945, 1, '31054', '913', '91', NULL, '', 'Trung đội trưởng du kích xã', 1, 1, 1962, '', '', 'xã đội Vĩnh Hòa', 0, '31054', '913', '91'), (727, '7083', '7083', 'Thái Văn Ngoạ', '', 0, 0, 1924, 1, '31054', '913', '91', NULL, '', 'Cán bộ ấp', 18, 12, 1955, '', '', 'ấp Vĩnh Tiến, xã Vĩnh Hòa', 0, '', '', ''), (728, '3485', '3485', 'Lê Văn Lý', '', 0, 0, 0, 1, '31054', '913', '91', NULL, '', 'Chiến Sỹ', 12, 2, 1971, '', '', 'Vũ trang binh vận tỉnh Rạch Giá', 36, '30736', '899', '91'), (729, '2031', '2031', 'Phạm Văn Lâm', '', 0, 0, 1948, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'Y tá', 0, 10, 1969, '', '', 'Trung đoàn 2 sư đoàn 9 quân khu 9', 0, '', '', ''), (730, '3455', '3455', 'Trần Văn Tiết', '', 0, 0, 1957, 1, '31054', '913', '91', NULL, '', 'nhân viên ty giao thông vận tải', 2, 10, 1974, '', '', 'giao bưu vậ', 0, '31054', '913', '91'), (731, 'YB/LS 2802', 'LS/LY 270', 'Tăng Ngọc Định', '', 0, 0, 1935, 1, '04348', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 24, 11, 1969, 'Mặt trận phía nam', '', 'KB', 0, '', '', ''), (732, 'YB-LS/2801', 'YB/LY-06', 'Lưu Chí Thiều', 'không', 0, 0, 1952, 1, '04339', '135', '15', NULL, '', 'Chiến sĩ', 0, 0, 1972, '', '', 'Kho vật tư Cục Hậu cần 935', 0, '16279', '404', '38'), (733, 'YBI/YE720b', 'ly/ly 423', 'Nông Văn Binh', '', 0, 0, 1938, 1, '04369', '135', '15', NULL, 'H12', 'tiểu đội trưởng', 25, 12, 1969, '', '', 'KBM', 0, '', '', ''), (734, 'YB/LS 2369', 'LS/LY 272', 'Nông Văn Chước', '', 15, 6, 1942, 1, '04348', '135', '15', NULL, 'Hạ sĩ', '', 15, 6, 1968, 'Mặt trận phía nam', '', 'D4, KB', 0, '', '', ''), (735, 'YB-LS/1807', 'LS/LY-18', 'Chu Xuân Cảnh', 'không', 0, 0, 1956, 1, '04303', '135', '15', NULL, '', 'Trung đội phó', 20, 2, 1979, 'Biên giới tây nam', '', 'Trung đoàn 1, sư đoàn 330', 0, '', '', ''), (736, 'YB/LS 1642', 'LS/LY 267', 'Nông Văn Dư', '', 0, 0, 1956, 1, '04348', '135', '15', NULL, '', 'Chiến sĩ', 14, 7, 1978, 'Biên giới tây nam', '', 'Tiểu đoàn 7, trung đoàn 66', 0, '25501', '705', '72'), (737, 'YB/ly 284', 'yb/ly414', 'Lộc văn Vi', '', 0, 0, 1943, 1, '04369', '135', '15', NULL, '', '', 9, 8, 1968, 'Chiến trường khe sanh phía nam', 'Chiến trường khe sanh phía nam', 'c1d3', 0, '30337', '886', '89'), (738, 'YB/LS 181', 'LS/LY 263', 'Ngôn Xuân Đường', '', 0, 0, 1944, 1, '04348', '135', '15', NULL, '', '', 14, 3, 1975, 'Mặt trận phía nam', '', '', 0, '', '', ''), (739, 'YB LS/3255', 'LS YB-LY/217', 'Trương Hà Bê', NULL, 0, 0, 1959, 1, '04345', '135', '15', NULL, NULL, 'Chiến sĩ', 16, 8, 1988, NULL, NULL, 'C2 D2 E356', 0, NULL, NULL, NULL), (740, 'YB/LS 2885', 'LS/LY418', 'Hoàng Ngọc Loa', '', 0, 4, 1954, 1, '04369', '135', '15', NULL, 'binh nhì', 'chiến sỹ', 13, 9, 1972, 'xã linh sơn huyện đồng hỷ, tỉnh Thái Nguyê', 'xã linh sơn huyện đồng hỷ, tỉnh Thái Nguyê', '7620 cục hậu cần quân khu Việt Bắc', 0, '05464', '164', '19'), (741, 'YB/LS 1586', 'LS/LY426', 'Triệu Ngọc Năng', '', 0, 0, 1957, 1, '04369', '135', '15', NULL, 'hạ sỹ', 'tiểu đội trưởng', 17, 2, 1979, '', '', 'c4-d1-e254 bộ CHQS tỉnh Hoàng Liên Sơ', 0, '02902', '086', '10'), (742, 'YB/LS 2113', 'LS/LY 274', 'Hoàng Đức Thạch', '', 0, 0, 1950, 1, '04348', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 17, 5, 1971, 'Mặt trận phía nam', '', 'NB', 0, '', '', ''), (743, 'YB/LS 183', 'LS/LY 262', 'Trần Văn Chung', '', 0, 0, 1936, 1, '04348', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 28, 9, 1971, 'Mặt trận phía nam', '', 'D4, KB', 0, '', '', ''), (744, 'YB/LS 2415', 'LS/LY410', 'Hứa Trung Chính', '', 16, 5, 1948, 1, '04369', '135', '15', NULL, 'binh nhất', 'tiểu đội phó', 26, 8, 1972, 'Hải phú, Hải Lăng, tỉnh Quảng Trị', 'Hải phú, Hải Lăng, tỉnh Quảng Trị', 'C9-D9-E18-F325', 0, '19702', '470', '45'), (745, 'YB/LS 1766', 'LS/LY428', 'Nông Văn Chỉ', '', 0, 0, 1960, 1, '04369', '135', '15', NULL, 'trung sỹ', 'tiểu đội trưởng', 18, 2, 1979, 'E192-F355-CĐ6', 'đội không tên , Bát sát, Hoàng liên Sơ', 'trung ddoanf, tiểu đoàn 355, CĐ6', 0, '30337', '886', '89'), (746, 'YB/CP 846', 'LS/LY 273', 'Vũ Văn Tường', '', 0, 0, 0, 1, '04348', '135', '15', NULL, 'Chiến sĩ', '', 9, 7, 1954, 'Bắc Hà, Lào Cai', '', 'C90, Tỉnh đội Yên Bái', 0, '', '', ''), (747, 'YB/LS1722', 'LS-NL134', 'Lò Văn Đích', '', 0, 0, 1959, 1, '04294', '133', '15', NULL, 'Hạ Sĩ', ' Tiểu đội Trưởng', 17, 2, 1979, 'Bát sát, Hoàng Liên Sơ', 'Bát Sát, Hoàng Liên Sơn,', 'Đại Đội 2, Tiểu đoàn 2, Bát Xát', 34, '02683', '082', '10'), (748, 'YBLS/128', 'LS-NL/128', 'Hoàng Văn Nò', '', 0, 0, 1946, 1, '04294', '133', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 4, 4, 1971, 'Nghĩa trang mặt trận phía Tây', 'Nghĩa trang mặt trận phía Tây', 'C5-D11-F316', 0, '', '', ''), (749, 'YB/LS 1077', 'LS/LY 287', 'Luyện Đình Tiế', '', 0, 0, 1958, 1, '04348', '135', '15', NULL, 'Trung sĩ', 'Cơ yếu viê', 17, 2, 1979, 'Biên giới Việt Nam - Trung Quốc', '', 'Công a', 0, '', '', ''), (750, 'YB/LS 1596', 'LS YB-LY/223', 'Nông Quốc Thính', NULL, 0, 0, 1957, 1, '04345', '135', '15', NULL, NULL, NULL, 27, 2, 1979, NULL, NULL, NULL, 0, NULL, NULL, NULL), (751, 'HG/LS 1140', 'LS/MV 41K', 'Lò Mí Thè', '', 0, 0, 0, 1, '00769', '027', '02', NULL, '', 'Ủy viê', 0, 0, 1900, 'Thị trấn Mèo Vạc', 'Thị Trấn Mèo Vạc', 'UBND huyện Mèo Vạc, Hà Giang', 0, '00769', '027', '02'), (752, 'YB/LS 2479', 'LS/YB-LY 611', 'Vi Văn Thuật', '', 0, 0, 1938, 1, '04318', '135', '15', NULL, '', 'Chiến sỹ QĐNDV', 11, 10, 1968, '', '', 'Sư đoàn 304B', 0, '', '', ''), (753, 'YB/LS2564', 'LS-NL126', 'Lò Văn Pành', '', 0, 0, 1949, 1, '04294', '133', '15', NULL, 'Binh Nhất', ' Chiến sĩ', 4, 8, 1967, 'Mặt trận Phia Tây', 'Mặt trận Phia Tây', 'Phân đoàn 28, thuộc 1001', 0, '', '', ''), (754, 'YB/LS-1744', 'LS/VY-239', 'Nguyễn Văn Thắng', 'không', 0, 0, 1960, 1, '04408', '136', '15', NULL, '', 'Chiến sĩ', 18, 2, 1979, '', '', 'C3d5 thị xã Lào Cai', 0, '04408', '136', '15'), (755, 'YB/LS 1222', 'LS/LY 264', 'Dương Văn Đửng', '', 0, 0, 1944, 1, '04348', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 30, 9, 1968, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (756, 'HG/LS 137', 'LS/MV 13K', 'Hờ Mý Sài', '', 0, 0, 1945, 1, '00769', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 0, 5, 1972, 'Vắng ti', '', 'Hòm thư 63597 HT', 0, '', '', ''), (757, 'YB/LS-1544', 'LS/VY-238', 'Hoàng Văn Hương', 'không', 0, 0, 1966, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 6, 3, 1985, 'Ngòi A, Văn Yên, Yên Bái', 'Ngòi A, Văn Yên, Yên Bái', 'Tiểu đoàn 1, trung đoàn 876, sư đoàn 356, quan khu II', 0, '04408', '136', '15'), (758, 'YB/LS 1271', 'LS/LY 281', 'Nhữ Hữu Đức', '', 0, 0, 1947, 1, '04348', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 7, 2, 1974, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (759, 'YB/CP535', 'LS-NL127', 'Hà Văn Liều', '', 0, 0, 1927, 1, '04294', '133', '15', NULL, 'Chiến sĩ', '', 0, 0, 1947, '', '', '', 0, '', '', ''), (760, 'HG/LS 136', 'LS/MV 08K', 'Giàng Mý Lầu', '', 0, 0, 1948, 1, '00769', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 0, 0, 1969, 'Vắng ti', '', 'Hòm thư 63597 HT', 0, '', '', ''), (761, 'YB/LS 1888', 'LS YB-TY/1014', 'Lộc Văn Cấp', '', 0, 0, 1957, 1, '04525', '137', '15', NULL, 'Trung sĩ', 'B Trưởng', 2, 6, 1980, 'Nậm Chảy, Mường Khương', '', 'Đồn 121 Nậm Chảy, Mường Khương, HLS', 0, '', '', ''), (762, 'YB/LS 2748', 'LS/LY 276', 'Nguyễn Hữu Lịch', '', 0, 0, 1945, 1, '04348', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 10, 5, 1970, 'Mặt trận phía nam', '', 'Tiều đoàn 267, KB', 0, '', '', ''), (763, 'YB/LS-942', 'LS/VY-240', 'Bàn Văn Cá', 'không', 0, 0, 1950, 1, '04408', '136', '15', NULL, 'Binh nhất', 'Chiến sĩ', 0, 0, 0, 'Mặt trạn phái Tây', 'Mặt trận phía tây', 'Đại đội 10, Bộ tư lệnh 500', 0, '', '', ''), (764, 'YB/LS-442', 'LS/VY-241', 'Lưu Hồng Liê', 'không', 0, 0, 1943, 1, '04408', '136', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 24, 2, 1968, 'Mặt trận phía Nam', 'mặt trận phí Nam', 'c2d4KBM', 0, '', '', ''), (765, 'YB/LS 2500', 'LS/YB-LY 605', 'Hoàng Văn Tư', '', 0, 0, 1947, 1, '04318', '135', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 31, 3, 1970, 'Mặt trận phía Nam', '', 'Tiểu đoàn 14-K', 0, '', '', ''), (766, 'YB/LS684', 'LS-NL122', 'Hoàng Văn Bố', '', 0, 0, 1956, 1, '04294', '133', '15', NULL, 'Binh Nhất', 'Chiến Sĩ', 17, 2, 1979, 'Mường Vi, Bát Xát', 'Mường Vi, Bát Xát', 'C2,D2 Bát Xát', 0, '02719', '082', '10'), (767, 'YB/LS 2585', 'LS/LY425', 'Hoàng Ngọc Vă', '', 0, 0, 1945, 1, '04369', '135', '15', NULL, 'H2', 'tiểu đội phó', 7, 7, 1968, 'Mặt trận phí nam', 'Đồng hỡi Quảng bình', 'c11 -d3 -e246 pháo 12 ly bảy', 0, '18859', '450', '44'), (768, 'YB/LS-444', 'LS/VY-242', 'Lý Văn Thái', 'không', 0, 0, 1944, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 18, 8, 1966, 'xã Tân Hợp, huyện Văn Yên, tỉnh Yên Bái', 'xã Tân Hợp, huyện Văn Yên, tỉnh Yên Bái', 'xã Tân Hợp, huyện Văn Yên, tỉnh Yên Bái', 0, '04414', '136', '15'), (769, 'LS/YB 2780', 'LS/YB-LY 602', 'Nguyễn Văn Pha', '', 0, 0, 1952, 1, '04318', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 12, 10, 1972, 'Mặt trận phía Tây', '', 'Đại đội 3. tiểu đoàn 8, K 16', 0, '', '', ''), (770, 'YB/LS 2808', 'YBi/LS 176', 'Đinh Viết Quy', '', 0, 0, 1947, 1, '04786', '141', '15', NULL, 'Binh Nhì', 'Chiến sĩ', 18, 3, 1971, 'Mặt trận phía Nam', '', 'phòng Hậu Cầu, Sư đoàn 30', 0, '', '', ''), (771, 'YB/LS 2377', 'LS Yb-LY/211', 'Lục Văn Điệ', '', 0, 0, 1947, 1, '04345', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 21, 11, 1967, '', 'Mặt trận phía Nam', 'KH', 0, '', '', ''), (772, 'YB-LS/3070', 'LS/VY-243', 'Đinh Ngọc Vỵ', 'không', 0, 0, 1945, 1, '04408', '136', '15', NULL, 'Thiếu úy', 'Trung đội trưởng', 22, 5, 1969, 'Mặt trận phía Nam', '', '', 0, '', '', ''), (773, 'YB/LS 2503', 'LS/LY 280', 'Hoàng Kim Quang', '', 0, 0, 1950, 1, '04348', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 25, 4, 1968, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (774, 'YB/LS 1765', 'LS/YB-LY 589', 'Hoàng Văn Quả', '', 0, 0, 1961, 1, '04318', '135', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 14, 7, 1980, 'mốc 9, huyện Mường Khương, Hoàng Liên Sơ', '', 'Đại đội 1, trung đoàn 822, Hoàng Liên Sơ', 50, '02761', '083', '10'), (775, 'YB/LS 1237', 'LS YB-LY/214', 'Lục Văn Xiêm', '', 0, 0, 1948, 1, '04345', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 25, 10, 1971, 'Mặt trận phía Nam', '', 'KBM', 0, '', '', ''), (776, 'YB/LS 2886', 'LS/LY 286', 'Mông Văn Thạch', '', 25, 8, 1950, 1, '04348', '135', '15', NULL, 'Chuẩn úy', 'Trung đội phó', 17, 3, 1971, 'Mặt trận phía nam', '', 'NB', 0, '', '', ''), (777, 'YB/LS-00536', 'LS/VY-244', 'Phạm Quốc Bình', 'không', 0, 0, 1957, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 17, 2, 1979, 'La Lốc, Bản Lầu, Mường Khương, Lào Cai', '', 'Công an nhân dân Vũ trang', 0, '', '', ''), (778, 'YB/LS2134', 'LS-NL129', ' Lù Văn Ổng', '', 0, 0, 0, 1, '04294', '133', '15', NULL, 'Hạ sĩ', '', 12, 6, 1966, 'Mặt trận Phía Tây', 'Mặt trận Phía Tây', 'C7,D5,E148', 0, '', '', ''), (779, 'YB/LS 2180', 'LS/LY 277', 'Lường Văn Tác', '', 0, 0, 1949, 1, '04348', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 14, 12, 1969, 'Mặt trận phía nam', '', 'KH', 0, '', '', ''), (780, 'YB/LS 1039', 'LS/YB-LY 596', 'Nguyễn Chí Thăng', '', 0, 0, 1958, 1, '04318', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 20, 1, 1977, 'Xa mát, xã Tân Lập, Huyện Tân Biên, tỉnh Tây Ninh', '', 'Đại đội 20, Trung đoàn 64, Sư đoàn 320, Quân Đoàn 3', 0, '25513', '705', '72'), (781, 'yb/LS 2410', 'LS/LY427', 'Sầm Văn Cảm', '', 0, 0, 1948, 1, '04369', '135', '15', NULL, 'trung sỹ', 'Tiểu đội phó', 13, 12, 1967, 'Mặt trận phí nam', 'Mặt trận phí nam', 'K', 0, '', '', ''), (782, 'YB/LS 2409', 'LS YB-LY/210', 'Triệu Văn Quế', '', 0, 0, 1940, 1, '04345', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 12, 1, 1972, '', '', 'D26 K5 MTP', 0, '19495', '466', '45'), (783, 'YB/LS-00194', 'LS/VY- 245', 'Hoàng Đình Sông', 'không', 0, 0, 1932, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 22, 1, 1954, 'Văn Chấn, Thái Mèo', '', 'c51d955', 0, '04624', '140', '15'), (784, 'YB/LS 2353', 'VC/LS 888', 'Bàn Phúc Xuâ', '', 0, 0, 1945, 1, '04708', '140', '15', NULL, 'Thượng sĩ', 'Trung đội phó', 22, 4, 1969, 'Mặt trận phía Tây', '', 'C 2, D 4, E 148', 0, '', '', ''), (785, 'YB/LS 2532', 'LS-NL123', ' Hoàng Văn Miề', '', 0, 0, 1944, 1, '04294', '133', '15', NULL, 'Binh Nhất', ' Chiến sĩ', 8, 2, 1966, 'Mặt trận Phía Tây', 'Mặt trận Phía Tây', 'd7 Đoàn 959', 0, '', '', ''), (786, 'YB/LS 2372', 'LS/LY 261', 'Mông Thành Đồng', '', 0, 0, 1947, 1, '04348', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 3, 6, 1968, 'Mặt trận phía nam', '', 'D4, KHM', 0, '', '', ''), (787, 'YB/LS 404', 'LS/LY416', 'Sầm Minh Đoài', '', 25, 2, 1954, 1, '04369', '135', '15', NULL, 'Hạ Sỹ', 'chiến sỹ', 25, 1, 1973, 'Mặt trận phí nam', 'Mặt trận phía nam', 'C56- D734-K5', 0, '19309', '457', '44'), (788, 'YB/LS-00597', 'LS/VY- 246', 'Hoàng Tiến Tha', 'không', 0, 0, 1947, 1, '04408', '136', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 25, 2, 1964, 'Ngòi A, Văn Yên, Yên Bái', '', 'c2b, Đoàn 7610', 0, '', '', ''), (789, 'YB/LS 1248', 'LS/LY 282', 'Hoàng Đức Vịnh', '', 0, 0, 1948, 1, '04348', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 25, 12, 1969, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (790, 'YB/LS 1570', 'LS YB-LY/219', 'Triệu Hồng Tỵ', '', 0, 0, 1939, 1, '04345', '135', '15', NULL, 'Phó đại đội', 'Chính trị viê', 29, 12, 1974, 'mặt trận phía Nam', '', 'KB', 0, '30985', '908', '91'), (791, 'YB/LS-00512', 'LS/Vy-247', 'Hoàng Đình Đệ', 'không', 0, 0, 1904, 1, '04408', '136', '15', NULL, 'Xã đội du kích', 'Du kích', 30, 12, 1947, '', '', 'Xã đội du kích', 0, '04408', '136', '15'), (792, 'YB/LS 1874', 'LS/YB-LY 587', 'Vi Quốc Trị', '', 0, 0, 1958, 1, '04318', '135', '15', NULL, '', '', 13, 2, 1979, 'chiến trường tây nam', '', 'Đại đội 20, trung đoàn 28, sư đoàn 10', 0, '26341', '739', '75'), (793, 'YB/LS-01829', 'LS/VY- 248', 'Hoàng Văn Mùi', 'không', 0, 0, 1959, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'B.Phó', 8, 3, 1979, 'Chiến trường Tây Nam', 'Chiến trường Tây Nam', 'c3d1E66F10', 0, '26050', '731', '75'), (794, 'YB/LS590', 'LS-NL/136', 'Hà Văn Miề', '', 0, 0, 1945, 1, '04294', '133', '15', NULL, ' Trung Sĩ', 'Tiểu đội phó', 21, 7, 1968, 'Mặt trận Phía nam', 'Mặt trận Phía nam', 'C1,D1,E1,KH', 0, '', '', ''), (795, 'YB/LS-02212', 'LS/VY- 249', 'Phùng Xuân Đường', 'không', 0, 0, 1943, 1, '04408', '136', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 13, 4, 1970, 'Mặt trận phái Tây', 'Mặt trận phía tây', 'c5s766Booj tư lệnh 959', 0, '', '', ''), (796, 'YB/LS 1806', 'LS/LY 268', 'Nhạc Xuân Khu', '', 16, 1, 1959, 1, '04348', '135', '15', NULL, 'Binh nhất', 'Chiến sĩ', 3, 7, 1978, 'Biên giới phía Tây Nam', '', 'c6 d8 e66 f10 QĐ3', 0, '', '', ''), (797, 'YB/LS 245', 'LS/LY415', 'Nông Kim Ngọc', '', 0, 0, 1950, 1, '04369', '135', '15', NULL, 'Binh nhất', 'chiến sỹ', 28, 8, 1972, 'Mặt trận phía nam', 'MTPN quân khu 4', 'C6- D18 -E243', 0, '', '', ''), (798, 'YB/LS 1213', 'LS YB-LY/215', 'Hoàng Văn Tượng', '', 0, 0, 1937, 1, '04345', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 12, 12, 1969, 'Mặt trận phía Nam', '', 'KBM', 0, '', '', ''), (799, 'YB/LS 1041', '', 'Nguyễn Minh Hoành', '', 0, 0, 0, 1, '04318', '135', '15', NULL, '', 'H1', 9, 12, 1986, '', '', 'D6, E 819, QK2', 0, '00640', '020', '01'), (800, 'YB/LS-02391', 'LS/VY- 250', 'Hoàng Văn Sở', 'không', 0, 0, 1943, 1, '04408', '136', '15', NULL, '', 'Trung đội trưởng', 27, 8, 1968, 'Mặt trận phía Nam', '', 'b3c8d2e246 quân khu Việt Bắc', 0, '', '', ''), (801, 'YB/LS3383', 'LS-NL/125', 'Lò Văn Chồm', '', 0, 0, 0, 1, '04294', '133', '15', NULL, 'Binh Nhì', 'Chiến sĩ', 30, 12, 1961, '', '', '', 0, '', '', ''), (802, 'YB/LS 2781', 'LS/YB 628', 'Đinh Công Nhâ', '', 0, 0, 1930, 1, '04276', '132', '15', NULL, '', '', 20, 9, 1952, 'Dốc voi vượt xã Hưng Khánh , huyện Trấn Yê', '', '', 0, '', '', ''), (803, 'YB/LS-02690', 'LS/VY- 253', 'Hoàng Đình Vuông', 'không', 0, 0, 1940, 1, '04408', '136', '15', NULL, 'Binh nhì', 'Chiến sĩ', 17, 4, 1971, 'Chiến trường miền tây', '', 'c11d15e284', 0, '', '', ''), (804, 'YB/CP 305', 'LS/YB-LY 613', 'Hoàng Văn Tại', '', 0, 0, 0, 1, '04318', '135', '15', NULL, '', 'chiến sĩ', 0, 12, 1950, 'Pha Long, Lào Cai', '', 'E 248', 50, '02761', '083', '10'), (805, 'YB/LS 3307', 'LS YB-LY/216', 'Hoàng Xuân Trường', '', 0, 0, 1960, 1, '04345', '135', '15', NULL, 'Trung sĩ', 'Chiến sĩ', 16, 10, 1984, 'Pha Long, Mường Khương, Hoàng Liên Sơ', 'Pha Long, Mường Khương', 'Đại đội 2, tiểu đoàn 4, Trung đoàn 819', 0, '02761', '083', '10'), (806, 'YB/LS 1079', 'LS/LY 266', 'Nhạc Văn Công', '', 0, 0, 1944, 1, '04348', '135', '15', NULL, 'Trung úy', 'Đồn trưởng', 17, 2, 1979, 'Biên giới Việt Nam - Trung Quốc', '', 'Đồn 205 xã Bản Lầu, huyện Mường Khương, tỉnh Lào Cai', 0, '', '', ''), (807, 'YB-LS/02110', 'LS/VY- 254', 'Hoàng Đình Khang', 'không', 0, 0, 1936, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 21, 9, 1969, 'Mặt trận phía Nam', '', 'đại đội 2, k4KH', 0, '', '', ''), (808, 'YB/LS-02783', 'LS/VY- 453', 'Hoàng Đình Phong', 'không', 0, 0, 1945, 1, '04408', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 0, 6, 1965, 'Mặt trận phía Nam', '', 'c128 KB', 0, '', '', ''), (809, 'yb/LS 624', 'LS/LY422', 'Triệu Văn Phả', '', 0, 0, 1941, 1, '04369', '135', '15', NULL, 'Thượng sỹ', 'A Trưởng', 7, 6, 1968, 'Mặt trận phía nam', 'Mặt trận phía nam', 'Sư 305 - KB', 0, '', '', ''), (810, 'YBI/GL 78b', 'LS/LY417', 'Lê Hồng Ni', '', 0, 0, 1951, 1, '04369', '135', '15', NULL, 'Hạ Sỹ', 'chiến sỹ', 30, 10, 1971, 'Mặt trận phía Tây', 'Siêng Khoảng Lào', 'Tiểu đoàn 5 - K 9', 0, '', '', ''), (811, 'YB/LS 1269', 'LS YB-LY/213', 'Trần Văn Phát', '', 0, 0, 1949, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 25, 12, 1968, 'Mặt trận phía Nam', '', 'KBM', 0, '', '', ''), (812, 'YB/LS 491', 'LS-NL/135', 'Hoàng Văn Xuyế', '', 3, 3, 1942, 1, '04294', '133', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 11, 5, 1970, 'Mặt trấn phía Tây', 'Mặt trấn phía Tây', ' Đại đội 23- Trung đoàn 174- Sư đoàn 316', 0, '', '', ''), (813, 'YB/LS 589', 'LS-NL/133', ' Lường Văn Nhình', '', 0, 0, 1953, 1, '04294', '133', '15', NULL, 'Hạ Sĩ', ' Chiến sĩ', 15, 9, 1970, '', '', 'Đại đội 213, TRung đoàn 148, Sư đoàn 316-K16', 0, '', '', ''), (814, 'YB/LS 725', 'LS-NL/177', ' Lò Văn Bu', '', 0, 5, 1959, 1, '04294', '133', '15', NULL, ' Hạ Sĩ', ' Chiến sĩ', 23, 2, 1979, 'Km 15, Đường Hữu Nghị 7', 'Km 15, Đường Hữu Nghị 7', 'C5,d8,F124,F345', 67, '02926', '086', '10'), (815, 'YB/LS43', 'LS-NL/131', 'Lục Văn Sinh', '', 0, 0, 1948, 1, '04294', '133', '15', NULL, ' Hạ Sĩ', ' Chiến sĩ', 3, 11, 1969, 'Mặt trận Phía Nam', 'Mặt trận Phía Nam', 'D2,E23, đoàn 301', 0, '', '', ''), (816, 'HG/LS 1011', 'LS/MV 28K', 'Sùng Mí Chính', '', 0, 0, 1941, 1, '00769', '027', '02', NULL, 'Hạ sĩ', 'Chiến sĩ', 15, 7, 1965, 'Mặt trận phía nam', '', 'c7, d5, đoàn 559 - KHG', 0, '', '', ''), (817, 'HG/LS 240', 'LS/MV 03K', 'Doãn Thị Chinh', '', 0, 0, 1957, 2, '00769', '027', '02', NULL, '', 'Xã viê', 27, 7, 1979, 'Thị trấn Mèo Vạc', '', 'UBND thị trấn Mèo Vạc', 0, '00769', '027', '02'), (818, 'HG/LS 1507', 'LS/MV 19K', 'Vàng Mý Phùa', '', 0, 0, 1930, 1, '00769', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 0, 0, 1959, 'Xã Đường Thượng, Yên Minh, Hà Giang', '', 'Đại đội 8, tỉnh đội Hà Giang', 0, '00862', '028', '02'), (819, 'HG/LS 970', 'LS/MV 06K', 'Hoàng Văn Kim', '', 0, 0, 1944, 1, '00769', '027', '02', NULL, 'Trung sĩ', 'A phó', 15, 2, 1971, '', '', 'f304d, QK4', 0, '17329', '424', '40'), (820, 'HG/LS 287', 'LS/MV 22K', 'Trần Văn Thình', '', 0, 0, 1947, 1, '00769', '027', '02', NULL, 'Hạ sĩ', 'A phó', 21, 12, 1968, 'Mặt trận miền tây', '', 'Tiểu đoàn 927, đoàn 766', 0, '14980', '386', '38'), (821, 'HG/LS 857', 'LS/MV 25H', 'Vàng Chẩn Dùng', '', 0, 0, 1949, 1, '00769', '027', '02', NULL, 'Hạ sĩ', 'Chiến sĩ', 11, 2, 1974, 'Mặt trận phía nam', '', 'Đại đội 2 tiểu đoàn 1 KT', 0, '', '', ''), (822, 'HG/LS 360', 'LS/MV 26H', 'Vàng Mí Chơ', '', 0, 0, 1951, 1, '00769', '027', '02', NULL, '', 'Cán bộ', 29, 6, 1984, 'Na Khê, Yên Minh, Hà Giang', '', 'UBND huyện Mèo Vạc', 0, '', '', ''), (823, 'HG/LS 610', 'LS/MV 13H', 'Pon Y Rằng', '', 0, 0, 1945, 1, '00808', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 4, 1, 1969, 'Mặt trận Miền tây', '', 'Đại đội 2, tiểu đoàn 4, trung đoàn 148, sư đoàn 316', 0, '', '', ''), (824, 'HG/LS 312', 'LS/MV 07H', 'Chảo Văn Hùng', '', 0, 0, 1958, 1, '00793', '027', '02', NULL, '', 'Chiến sĩ', 10, 9, 1983, '', '', '', 0, '', '', ''), (825, 'HG/LS 1417', 'LS/MV 01K', 'Thào Mý Chứ', '', 0, 0, 1946, 1, '00769', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 21, 11, 1967, 'Mặt trận miền tây', '', 'd927', 0, '', '', ''), (826, 'HG/LS 1485', 'LS/MV 26K', 'Sùng Chúa Sùng', '', 0, 0, 1928, 1, '00769', '027', '02', NULL, '', 'Xã đội trưởng', 0, 12, 1959, 'Thị trấn Mèo Vạc', '', '', 0, '', '', ''), (827, 'HG/LS 1486', 'LS/MV 18K', 'Vàng Xìa Hầu', '', 0, 0, 1930, 1, '00769', '027', '02', NULL, '', 'Chiến sĩ liên lạc', 29, 12, 1959, 'Pải Lủng, Mèo Vạc, Hà Giang', '', 'UBND xã Đồng Vă', 0, '', '', ''), (828, 'HG/LS 310', 'LS/MV 27K', 'Ma Văn Sính', '', 0, 0, 1956, 1, '00793', '027', '02', NULL, '', 'Đội viê', 10, 9, 1983, 'Xã Sơn Vĩ, Mèo Vạc, Hà Giang', '', 'UBND xã Sơn Vĩ', 0, '', '', ''), (829, 'HG/LS 899', 'LS/MV 43H', 'Hoàng Dỉ Quáng', '', 0, 0, 0, 1, '00793', '027', '02', NULL, '', 'A trưởng', 22, 2, 1979, 'Xã Xín Cái, Mèo Vạc, Hà Tuyê', '', 'Tiểu đoàn 1, Mèo Vạc', 0, '', '', ''), (830, 'HG/LS 288', 'LS/MV 31K', 'Hồ Thình Xính', '', 0, 0, 1947, 1, '00793', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 15, 12, 1967, 'Mặt trận miền tây', '', 'Đại đội 6, tiểu đoàn 5, đoàn 776', 0, '14980', '386', '38'), (831, 'YB/LS 899', 'LS/YB-LY 604', 'Hoàng Xuân Thả', '', 0, 0, 1942, 1, '04318', '135', '15', NULL, '', 'Trung đội phó', 11, 11, 1967, 'Mặt trận phía Nam', '', 'KB', 0, '', '', ''), (832, 'YB/LS 00771', 'LS/VY-256', 'Nguyễn Tiến Ánh', 'không', 0, 0, 1956, 1, '04384', '136', '15', NULL, 'Thượng úy', 'Đại đội trưởng', 3, 2, 1979, 'Mặt trận biên giới Tây Nam', '', 'd64F320 QK 3', 0, '', '', ''), (833, 'YB/LS 1244', 'LS YB-LY/240', 'Nông Văn Vy', '', 0, 0, 1947, 1, '04345', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 25, 3, 1968, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'KBM', 0, '', '', ''), (834, 'YB/LS 02053', 'LS/VY - 270', 'Đinh Kim Quyết', 'không', 0, 0, 1947, 1, '04384', '136', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 21, 4, 1969, 'Mặt trận Phía nam', '', 'Tiểu đoàn 50, K', 0, '', '', ''), (835, 'YB/LS 02084', 'LS/VY - 257', 'Phạm Ngọc Minh', 'không', 0, 0, 1945, 1, '04384', '136', '15', NULL, 'Hạ Sĩ', 'Tiểu đội Phó', 23, 7, 1967, 'Chiến trường phía nam', '', 'Đại đội 7', 0, '', '', ''), (836, 'YB/LS 64', 'LS/YB-LY 584', 'Hà Văn Tu', '', 0, 0, 1939, 1, '04318', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 3, 5, 1970, 'Mặt trận phía Nam', '', 'Tiểu đoàn 32, KBM', 0, '', '', ''), (837, 'YB/LS 2175', 'LS/YB-LY 588', 'Nông Văn Tỉnh', '', 0, 0, 1936, 1, '04318', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 20, 7, 1970, 'Mặt trận phía Nam', '', 'KB', 0, '', '', ''), (838, 'YB/LS 01613', 'LS/VY - 258', 'Phùng Văn Sa', 'không', 0, 0, 1958, 1, '04384', '136', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 18, 7, 1978, 'Biên giới Tây Nam', '', 'c3d7E66', 0, '', '', ''), (839, 'YB/LS 203', '', 'Nguyễn Văn Hò', '', 29, 1, 1950, 1, '04351', '135', '15', NULL, 'Hạ sỹ', 'H1', 16, 6, 1968, 'Mặt trận phía nam', 'Mặt trận phía nam', 'C17- D5-KTM', 0, '', '', ''), (840, 'YB/LS 2820', 'LS/LY 260', 'Vương Văn Đề', '', 0, 0, 1946, 1, '04348', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội trưởng', 5, 4, 1974, 'Mặt trận phía nam', '', 'Đại đội 8, KH', 0, '', '', ''), (841, 'YB/LS 03218', 'LS/VY - 259', 'Dương Quốc Sanh', 'không', 0, 0, 1945, 1, '04384', '136', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 9, 12, 1970, 'Mặt trận Phía nam', '', 'KB', 0, '', '', ''), (842, 'YB/LS 2109', 'LS/LY 259', 'Phạm Đức Khang', '', 0, 0, 1944, 1, '04348', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 11, 2, 1968, 'Mặt trận phía nam', '', 'D8, KH', 0, '', '', ''), (843, 'YB /LS 1179', 'LS YB-LY/238', 'Hoàng Văn Sửu', '', 0, 0, 1949, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 25, 10, 1971, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'KBM', 0, '', '', ''), (844, 'YB/LS 03259', 'LS/VY - 261', 'Đinh Quang Đá', 'không', 0, 0, 1946, 1, '04384', '136', '15', NULL, '', 'Cán bộ Liên lạc', 19, 8, 1972, 'Thị xã Yên Bái', '', 'Huyện Ủy Văn Yê', 0, '', '', ''), (845, 'YB/CP 424', 'LS YB-LY/237', 'Hoàng Văn Nho', '', 0, 0, 1932, 1, '04345', '135', '15', NULL, '', 'Chiến sĩ', 0, 9, 1950, 'Lào Cai', '', 'E165', 0, '', '', ''), (846, 'YB/LS 898', 'LS YB-LY/212', 'Hoàng Văn Tuy', '', 0, 0, 1949, 1, '04345', '135', '15', NULL, 'C Phó', '', 7, 4, 1972, '', '', 'KB', 0, '', '', ''), (847, 'YB/LS 215', 'LS YB-LY/236', 'Hoàng Văn Hội', '', 0, 0, 1947, 1, '04345', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 10, 3, 1970, 'Mặt trận phía Nam', '', 'Đại đội 4, tiểu đoàn 7 KB', 0, '', '', ''), (848, 'YB/LS 2213', 'LS/VY - 263', 'Đặng Văn Thắng', 'không', 0, 0, 1953, 1, '04384', '136', '15', NULL, 'Binh nhất', 'Chiến sĩ', 26, 1, 1972, 'Mặt trận quân khu 4', '', 'c13d114E227', 0, '04375', '136', '15'), (849, 'YB/LS 694', 'LS YB-TY/1010', 'Triệu Tài Khoa', '', 0, 0, 1955, 1, '04525', '137', '15', NULL, '', 'Tiểu đội trưởng', 8, 1, 1979, 'Mặt trận phía Nam', '', 'D1 E95 F38', 0, '', '', ''), (850, 'YB/LS 213', 'LS/YB-LY 645', 'Hoàng Minh Tường', '', 0, 0, 1946, 1, '04339', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 5, 3, 1972, 'Mặt trận phía Nam', 'Tỉnh Tây Ninh Giáp Campuchia', 'KB', 0, '', '', ''), (851, 'YB/ LS 619', 'LS YB-LY/235', 'Hoàng Văn Tầm', '', 0, 0, 1951, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 18, 7, 1975, '', '', 'KB', 0, '22363', '568', '56'), (852, 'YB/LS 3027', 'LS/VY - 264', 'Đặng Xuân Sấ', 'không', 0, 0, 1952, 1, '04384', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 13, 9, 1972, 'Quân khu 4', '', 'c10d3E9', 0, '', '', ''), (853, 'YB/LS 3039', 'LS/VY - 265', 'Nguyễn Xuân Xuyê', 'không', 0, 0, 1948, 1, '04387', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 10, 3, 1970, 'Mặt trận Phía nam', '', 'V102 KB', 0, '', '', ''), (854, 'YB/LS 0349', 'LS/VY - 266', 'Nguyễn Đình Thả', 'không', 0, 0, 1952, 1, '04384', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 11, 11, 1972, 'Mặt trận Phía nam', '', 'c48d30KT', 0, '', '', ''), (855, 'YB/LS 01206', 'LS/VY - 267', 'Nguyễn Văn Định', 'không', 0, 0, 1951, 1, '04384', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 30, 3, 1969, 'Mặt trận Phía nam', '', 'KBM', 0, '', '', ''), (856, 'YB/LS 1220', 'LS/LY 265', 'Nông Văn Lê', '', 0, 0, 1945, 1, '04348', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 4, 10, 1970, 'Mặt trận phía nam', '', 'KBM', 0, '', '', ''), (857, 'YB/LS 03035', 'LS/VY - 268', 'Phạm Văn Hiếu', 'không', 0, 0, 1950, 1, '04384', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 10, 4, 1972, 'Mặt trận Phía Tây', 'Mặt trận Phía Tây', 'K9', 0, '', '', ''), (858, 'YB/LS 3015', 'LS YB-LY/233', 'Nông Đức Được', '', 0, 0, 1950, 1, '04345', '135', '15', NULL, 'Trung sĩ', 'Y tá', 20, 7, 1971, 'Mặt trận phía Nam', '', 'K5', 0, '19496', '466', '45'), (859, 'YB/LS 617', 'LS YB-LY/232', 'Vi Thanh Bút', '', 0, 0, 0, 1, '04345', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 6, 5, 1968, '', '', 'Tiểu đoàn 804 Đoàn 5', 0, '', '', ''), (860, 'YB/LS 1921', 'LS/VY - 01', 'Nguyễn Văn Mai', 'không', 0, 0, 1961, 1, '04417', '136', '15', NULL, 'Binh nhất', 'Chiến sĩ', 9, 2, 1979, 'Bản Lầu, Mường Khương, HLS', '', 'Đồn 205 Bộ đội Biên phòng HLS', 0, '', '', ''), (861, 'YB/LS 2505', 'LS YB-VC/913', 'Phạm Quý Vang', '', 0, 0, 1954, 1, '04702', '140', '15', NULL, '', 'Chiến sĩ', 17, 2, 1979, 'Bát Xát', '', 'Đại đội 2, tiểu đoàn 2, Bát Xát', 0, '', '', ''), (862, 'YB/LS 3310', 'LS/LY 269', 'Lê Văn Chính', '', 20, 4, 1964, 1, '04348', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 12, 7, 1984, 'Mặt trận biên giới phía bắc', '', 'Trung đoàn 76, Cục nghiên cứu - Bộ tổng tham mưu', 0, '', '', ''), (863, 'YB/LS 2967', 'LS/VY - 03', 'Trần Thái Sơ', 'không', 0, 0, 1940, 1, '04417', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 11, 1, 1972, 'Mặt trận Phía Tây', '', 'Đại đội 1, tiểu đoàn 44', 0, '', '', ''), (864, 'YB/CP 433', 'LS YB-VC/219', 'Hoàng Văn Sinh', '', 0, 0, 1924, 1, '04687', '140', '15', NULL, '', 'nhân viên công a', 22, 1, 1952, 'Văn Chấ', '', 'Ty Công an Yên Bái', 0, '04687', '140', '15'), (865, 'YB/CP 748', 'LS YB-LY/229', 'Nông Văn Đa', '', 0, 0, 0, 1, '04345', '135', '15', NULL, 'A phó', '', 8, 1, 1948, 'Lào Cai', 'Phố Ràng, Lào Cai', 'Quân đội nhân dân V', 0, '', '', ''), (866, 'YB/LS 0443', 'LS/VY - 04', 'Nguyễn Ngọc Sử ', 'không', 0, 0, 1950, 1, '04417', '136', '15', NULL, 'Binh nhất', 'Chiến sĩ', 11, 12, 1972, 'Mặt trận Phía Tây', '', 'Đâị đội 11, tiểu oàn 3, K16', 0, '04375', '136', '15'), (867, 'YB/LS 1648', 'LS/LY531', 'Nguyễn Xuân Đức', '', 0, 0, 1954, 1, '04351', '135', '15', NULL, '', 'trung đội Phó', 25, 6, 1978, 'Biên giới Tây Nam', 'Biên giới Tây Nam', 'D5 Lữ đoàn 24 Quân đoàn 4', 0, '25681', '711', '72'), (868, 'YB/LS 03348', 'LS/VY - 05', 'Nguyễn Đình Tú', 'không', 0, 0, 1941, 1, '04417', '136', '15', NULL, 'Binh nhất', 'Chiến sĩ', 3, 7, 1986, 'Mặt trận Vị Xuyên, Hà Tuyê', '', 'c1d28f356 QK II', 0, '', '', ''), (869, 'YB/LS 2652', 'LS-NL/111', 'Lò Văn Mảnh', '', 0, 0, 1950, 1, '04300', '133', '15', NULL, 'Binh nhất', 'Chiến sĩ', 1, 8, 1969, 'Mặt trận phía tây', 'Mặt trận phía tây', 'C9,D3,E174', 0, '', '', ''), (870, 'YB/CP 434', 'LS YB-LY/228', 'Hoàng Văn Thành', '', 0, 0, 1932, 1, '04345', '135', '15', NULL, '', 'Chiến sĩ', 0, 9, 1951, 'Bắc Hà, Lào Cai', 'Cao Bằng', 'E165', 0, '', '', ''), (871, 'YB/LS 1862', 'LS-NL/115', 'Mè Văn Pọm', '', 0, 5, 1961, 1, '04300', '133', '15', NULL, 'Hạ Sĩ', ' Chiến sĩ', 23, 2, 1979, '', '', 'C8,E124,F345', 0, '', '', ''), (872, 'YB/LS 01918', 'LS/VY - 06', 'Nguyễn Văn Khánh', 'không', 0, 10, 1954, 1, '04417', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 2, 3, 1979, 'Quốc Phong, Quảng Hòa, Cao Bằng', '', 'Trung đoàn 567, sư đoàn 322', 0, '', '', ''), (873, 'YB/LS2618', 'LS-NL/118', ' Vì Văn Liê', '', 0, 0, 1950, 1, '04300', '133', '15', NULL, ' Binh Nhất', ' chiến sĩ', 10, 7, 1969, 'Mặt trận Phía tây', 'Mặt trận Phía tây', 'C9,d3,E174', 0, '', '', ''), (874, 'YB/LS 2554', 'LS-NL/119', 'Lò Văn Giảng', '', 10, 10, 1948, 1, '04300', '133', '15', NULL, ' Binh Nhất', 'chiến sĩ', 2, 9, 1969, ' Mặt trận phía tây', ' Mặt trận phía tây', 'C6,D2,E174', 0, '', '', ''), (875, 'YB/LS 63', 'LS YB-LY/225', 'Hà Văn Tý', '', 0, 0, 1945, 1, '04345', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 6, 8, 1969, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'Đại đội 12, tiểu đoàn 9 KBM', 0, '', '', ''), (876, 'YB/CP 356', 'LS YB-LY/250', 'Hoàng Văn Mão', '', 0, 0, 0, 1, '04345', '135', '15', NULL, '', 'Chiến sĩ', 28, 12, 1950, '', 'Lào Cai', 'E165', 0, '', '', ''), (877, 'YB/LS 2742', 'LS YB-LY/222', 'Hoàng Văn Mới', '', 0, 0, 1948, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 18, 1, 1970, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'Tiểu đoàn 2 KB', 0, '', '', ''), (878, 'YB/LS 3053', 'LS-NL/114', ' Hoàng văn Hom', '', 0, 0, 1952, 1, '04300', '133', '15', NULL, ' Binh nhất', ' chiến sĩ', 28, 4, 1975, 'Nghĩa trang Ấp Bầu Trâu, Phước Thạch, Củ Chi', 'Nghĩa trang Ấp Bầu Trâu, Phước Thạch, Củ Chi', 'C1,D2,E174,F2', 0, '27526', '783', '79'), (879, 'YB/LS 27', 'LS-NL 121', 'Điêu Văn Lánh', '', 30, 1, 1947, 1, '04300', '133', '15', NULL, ' Binh nhất', ' chiến sĩ', 5, 7, 1969, ' Mặt Trấn Miền Tây', ' Mặt Trấn Miền Tây', 'C5,D2,E174', 0, '', '', ''), (880, 'YB/LS 2587', 'LS-NL/172', 'Lò Văn Nối', '', 28, 11, 1940, 1, '04300', '133', '15', NULL, 'Trung Sĩ', ' Tiểu đội phó', 29, 9, 1967, ' Mặt trận Phía tây', ' Mặt trận Phía tây ', 'C8,D2,E335', 0, '', '', ''), (881, 'YB/LS3258', 'LS-NL/110', 'Hà Văn A', '', 0, 10, 1964, 1, '04300', '133', '15', NULL, ' Trung Sĩ', ' lái Xe', 2, 12, 1988, 'Xã Xuân Phong,Bảo Thắng, Lao Cai', 'Xã Xuân Phong,Bảo Thắng, Lao Cai', ' D33,Đoàn 29- QKII', 0, '30337', '886', '89'), (882, 'YB/LS 1212', 'LS YB-LY/224', 'Hoàng Long Cảnh', '', 0, 0, 1949, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 5, 1, 1969, 'Mặt trận phía Nam', 'Nghĩa trang Mặt trậ', 'KBM', 0, '', '', ''), (883, 'YB/LS 2852', 'LS/YB-LY 583', 'Hoàng Văn Phó', '', 0, 0, 1949, 1, '04318', '135', '15', NULL, 'Binh nhất', 'Chiến sĩ', 8, 3, 1971, 'Mặt trận phía tây', '', 'C1, D 24, K9', 0, '', '', ''), (884, 'YB/LS 2821', 'LS YB-LY/221', 'Hoàng Đình Ngọ', '', 0, 0, 1940, 1, '04345', '135', '15', NULL, '', '', 28, 4, 1970, 'Mặt trận phía Nam', 'Nghĩa trang Mặt trậ', 'Đại đội 1, tiểu đoàn 7, KT', 0, '', '', ''), (885, 'YB/CP 132', 'LS YB-LY/220', 'Hoàng Văn Khóa', '', 0, 0, 1924, 1, '04345', '135', '15', NULL, 'A phó', '', 13, 2, 1954, 'Púng Luồng, Yên Bái', 'Púng Luồng, Yên Bái', 'C51, D955', 0, '', '', ''), (886, 'YB/LS 615', 'LS YB-LY/209', 'Hoàng Văn Thời', '', 0, 0, 1945, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Chiến sĩ', 2, 9, 1969, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'F312', 0, '', '', ''), (887, 'YB/LS1925', 'LS/YB-LY 590', 'Hoàng Tinh Khoa', '', 0, 0, 1959, 1, '04318', '135', '15', NULL, 'Binh nhất', 'Chiến sĩ', 18, 2, 1979, 'xã Pha Long, huyện Mường Khương, tỉnh Hoàng Liên Sơ', '', 'Đại đội 1, tiểu đoàn 3 thuộc ban chỉ huy quân sự huyện Mường Khương', 0, '', '', ''), (888, 'YB/LS 210', 'VC/LS 911', 'Lý Kim Quý', '', 0, 0, 1937, 1, '04708', '140', '15', NULL, 'Trung sĩ', 'Tiểu đội trưởng', 4, 5, 1968, 'Biên giới', '', 'Công an nhân dân vũ trang tỉnh Sơn La', 0, '', '', ''), (889, 'YB/LS 1516', 'LS/YB-LY595', 'Hoàng Văn Tự', '', 0, 0, 1948, 1, '04318', '135', '15', NULL, 'Binh nhất', 'Chiến sĩ', 6, 5, 1968, 'mặt trận phía nam', '', 'D4, E 270', 0, '19702', '470', '45'), (890, 'YB/LS 1986', 'LS/LY 118', 'Bế Văn Ích', '', 0, 0, 1946, 1, '04330', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 16, 12, 1969, 'Mặt trận phía nam', '', 'KB', 0, '', '', ''), (891, 'YB/LS 2257', 'LS YB-LY/247', 'Trịnh Văn Thỉu', '', 0, 0, 1952, 1, '04345', '135', '15', NULL, '', 'Chiến sĩ', 5, 12, 1972, 'Mặt trận phía Nam', '', 'Tiểu đoàn 4, K 16', 0, '', '', ''), (892, 'YB/LS 2419', 'LS/LY 119', 'Hà Văn Lậ', '', 0, 10, 1951, 1, '04330', '135', '15', NULL, 'Binh nhất', 'Chiến sĩ', 1, 4, 1970, 'Mặt trận chiến trường miền tây', '', 'Đại đội 3, tiểu đoàn 7, trung đoàn 866', 0, '', '', ''), (893, 'YB/LS 3061', 'LS/YB-LY 591', 'Hoàng Văn Tư', '', 0, 0, 1944, 1, '04318', '135', '15', NULL, '', 'Trung đội phó', 9, 7, 1972, 'mặt trận phía nam', '', 'bộ tư lệnh 559', 0, '', '', ''), (894, 'YB/LS 1575', 'LS YB-LY/257', 'Phạm Đức Tọa', '', 0, 0, 1940, 1, '04345', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 16, 8, 1973, 'Mặt trận phía Nam', '', 'KB', 0, '27694', '794', '80'), (895, 'YB/CP 478', 'LS/YB-LY 600', 'Triệu Văn Thành', '', 0, 0, 0, 1, '04318', '135', '15', NULL, '', 'tiểu đội trưởng', 0, 0, 1950, '', '', 'E 165', 0, '', '', ''), (896, 'YB/CP 364', 'LS YB-LY/249', 'Hoàng Văn Lại', '', 0, 0, 1923, 1, '04345', '135', '15', NULL, '', 'Chiến sĩ', 20, 10, 1945, 'Nghĩa Đô, Yên Bái', 'Nghĩa Đô, Yên Bái', 'G.F.Q, đơn vị đ/c Nhượng', 0, '', '', ''), (897, 'YB/LS 842', 'LS/LY532', 'Trần Kim Sỹ', '', 17, 4, 1962, 1, '04351', '135', '15', NULL, 'trung sỹ', 'tiểu đội trưởng', 12, 7, 1984, 'Thanh thủy tinhr Hà Giang', 'Duy Tiên Hà Giang', 'c11-d3-e174-f316', 0, '', '', ''), (898, 'YB/LS 1267', 'LS YB-LY/258', 'Triệu Văn Việt', '', 0, 0, 1948, 1, '04345', '135', '15', NULL, 'Trung sĩ', 'A phó', 11, 6, 1968, 'Mặt trận phía Nam', 'Mặt trận phía Nam', 'KT', 0, '', '', ''), (899, 'YB/LS 688', 'LS/YB-LY 601', 'Nguyễn Trọng Thể', '', 0, 0, 1955, 1, '04318', '135', '15', NULL, '', 'tiểu đội trưởng', 2, 2, 1979, 'Biên giới tỉnh Tây Ninh', '', 'Đại đội 3, tiểu đội 3, trung đoàn 733, sư 73, QK 7', 0, '25486', '705', '72'), (900, 'YB/LS 1035', 'LS/LY 125', 'Hoàng Văn Thuyề', '', 0, 0, 1954, 1, '04330', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 12, 12, 1977, 'Xa mát xã Tân Lập, huyện Tân Biên, tỉnh Tây Ninh', '', 'Đại đội 9, tiểu đoàn 9, trung đoàn 64, sư đoàn 320, quân đoàn 3', 0, '25513', '705', '72'), (901, 'YB/LS 2815', 'LS/LY533', 'Phùng Văn Vượng', '', 0, 0, 1942, 1, '04351', '135', '15', NULL, 'trung sỹ', 'tiểu đội phó', 18, 6, 1970, 'Mặt trận phía nam', '', 'KH', 0, '', '', ''), (902, 'YB/LS 625', 'LS/LY 127', 'Hoàng Văn Sao', '', 0, 0, 1950, 1, '04330', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 12, 9, 1970, '', '', 'KB', 0, '', '', ''), (903, 'YB/CP 76', 'LS/YB-LY 618', 'Dương Văn Yết', '', 0, 0, 0, 1, '04333', '135', '15', NULL, '', 'Chiến sĩ', 0, 0, 1949, 'Yên Bái', '', 'Quân đội nhân dân Việt Nam', 0, '', '', ''), (904, 'YB/LS 301', 'LS/YB-LY 620', 'Hoàng Văn Đáy', '', 0, 0, 1949, 1, '04333', '135', '15', NULL, 'hạ sĩ', 'Chiến sĩ', 23, 2, 1969, 'Chiến trường phía Nam', '', 'Đại đội 5, tiểu đoàn 5', 0, '', '', ''), (905, 'YB/LS 814', 'LS/LY 129', 'Hoàng Văn Toa', '', 4, 5, 1958, 1, '04330', '135', '15', NULL, 'Trung úy', 'Trợ lý tham mưu', 25, 2, 1984, 'Mường Him, Bát Sát, Hoàng Liên Sơ', '', 'Ban chỉ huy quân sự huyện Bát Sát, tỉnh Hoàng Liên Sơ', 0, '02683', '082', '10'), (906, 'YB/LS 02111', 'LS/YB-LY 614', 'Dương Thái Khố', '', 0, 0, 1942, 1, '04333', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 23, 3, 1967, 'mặt trận phía nam', '', 'Đại đội 2, tiểu đoàn 101, KT', 0, '', '', ''), (907, 'YB/LS 1991', 'LS/LY 136', 'Nguyễn Văn Thọ', '', 0, 0, 1948, 1, '04330', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 3, 3, 1970, 'Mặt trận phía nam', '', 'D32, KB', 0, '', '', ''), (908, 'YB/LS 145', 'LS/YB-LY 617', 'Lương Văn Chử', '', 0, 0, 1952, 1, '04333', '135', '15', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', 30, 10, 1974, 'mặt trận phía nam', '', 'Đại đội 11, tiểu đoàn 9, KH5', 0, '20506', '506', '49'), (909, 'YB/LS 3082', 'LS/LY 142', 'Hoàng Văn Chảy', '', 0, 0, 1946, 1, '04330', '135', '15', NULL, '', 'Trung đội phó', 6, 4, 1971, 'Mặt trận phía nam', '', 'KH', 0, '', '', ''), (910, 'YB/LS 701', 'LS-NL/138', 'Hoàng Văn Sóng', '', 0, 0, 1955, 1, '04297', '133', '15', NULL, '', '', 7, 3, 1979, ' lai Châu', ' lai Châu', 'C1,D1,E741', 0, '03571', '109', '12'), (911, 'YB/LS 1883', 'LS YB-LY/335', 'Hoàng Văn Bách', '', 0, 0, 1957, 1, '04309', '135', '15', NULL, '', 'Tiểu đội trưởng', 17, 2, 1979, '', '', 'C 3, D 1, E 254, Hoàng Liên Sơ', 0, '', '', ''), (912, 'YB/LS 1219', 'LS YB-LY/351', 'Hoàng Văn Vè', '', 16, 3, 1949, 1, '04309', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', 10, 11, 1970, '', '', 'KBM', 0, '', '', ''), (913, 'YB/LS 3117', 'LS/LY 143', 'Hoàng Thanh Nhờ', '', 0, 0, 1950, 1, '04330', '135', '15', NULL, 'Hạ sĩ', 'Tiểu đội trưởng', 25, 10, 1972, 'Mặt trận phía nam, quân khu 4', 'Mặt trận phía nam', 'Đại đội 11, tiểu đoàn 3, trung đoàn 9', 0, '', '', ''), (914, 'YB/LS 2386', 'YBi/LS 110', 'Lâm Ngọc Bích', '', 0, 0, 0, 1, '04726', '141', '15', NULL, 'Binh nhất', '', 26, 8, 1965, 'Miền Tây', '', 'Đoàn 959', 0, '', '', ''), (915, 'YB/LS 2031', 'LS-NL/ 168', ' Lại Xuân Tỉnh', '', 0, 0, 1953, 1, '04297', '133', '15', NULL, 'Binh nhất', ' Chiến sĩ', 2, 11, 1972, ' Mặt trận phía tây', ' Mặt trận phía tây', 'Tiểu đoàn 1, Trung đoàn 335', 0, '', '', ''), (916, 'YB/CP 100', 'LS YB-LY/355', 'Hoàng Văn Nay', '', 0, 0, 0, 1, '04309', '135', '15', NULL, '', '', 12, 10, 1948, '', '', 'C 312, E 165', 0, '', '', ''), (917, 'YB/LS 249', 'LS-NL/148', ' Lò Văn Liễu', '', 0, 0, 1948, 1, '04297', '133', '15', NULL, ' Hạ sĩ', 'chiến sĩ', 7, 2, 1971, 'Mặt trận miền tây', 'Mặt trận miền tây', 'D4,E148,F316', 0, '', '', ''), (918, 'YB/LS 2851', 'LS/YB-LY 615', 'Hà Văn Kiề', '', 0, 0, 1940, 1, '04333', '135', '15', NULL, 'Trung sĩ', 'tiểu đội trưởng', 11, 3, 1969, 'mặt trận phía nam', '', 'KB', 0, '', '', ''), (919, 'YB/LS 2396', 'LS-NL/146', ' Đinh Ngọc La', '', 0, 0, 1941, 1, '04297', '133', '15', NULL, '', '', 20, 6, 1964, 'Miền Tây tổ quốc', 'Miền Tây tổ quốc', 'E148,F316', 0, '16837', '417', '40'), (920, 'YB/LS 2738', 'LS/LY534', 'Đặng Tiến Trang', '', 0, 0, 1940, 1, '04327', '135', '15', NULL, 'Hạ sỹ', 'Chiến sỹ', 20, 4, 1970, 'Mặt trận phía nam', '', 'D 161 Binh Trạm 27 Tổng cục Hậu cầ', 0, '19333', '461', '45'), (921, 'YB/LS 2048', 'LS/YB-LY 621', 'Lầu Văn Tâu', '', 0, 0, 1948, 1, '04333', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 22, 8, 1968, 'mặt trận phía nam', '', 'Tiểu đoàn 5, KH', 0, '', '', ''), (922, 'YB/LS 211', 'LS/LY167', 'Hoàng Văn Thụ', '', 0, 0, 1955, 1, '04336', '135', '15', NULL, '', 'chiến sỹ', 14, 7, 1978, 'Biên giới Tây Nam', '', 'C25-E3 F10', 0, '26797', '762', '79'), (923, 'YB/CP 306', 'LS/YB-LY 622', 'Dương Bá Thạch', '', 0, 0, 1916, 1, '04333', '135', '15', NULL, '', 'A trưởng', 4, 3, 1954, 'Điện Biên phủ', ' Nà Bân, Điện Biên Phủ', 'E 165', 0, '', '', ''), (924, 'YB/LS959', 'LS/NL 98', 'Lường Văn Mẳ', '', 0, 0, 1933, 1, '04297', '133', '15', NULL, '', '', 16, 8, 1969, ' Chiến Trường C', ' Chiến Trường C', ' Dân công hỏa tuyế', 0, '', '', ''), (925, 'YB/LS 1992', 'LS/LY419535', 'Hoàng Tinh Thư', '', 0, 0, 1938, 1, '04312', '135', '15', NULL, 'trung sỹ', 'tiểu đội phó', 15, 12, 1969, 'Mặt trận phía nam', '', 'KB', 0, '', '', ''), (926, 'YB/LS 2589', 'LS-NL/144', ' Đinh Hồng Sinh', '', 0, 0, 1945, 1, '04297', '133', '15', NULL, ' Trung sĩ', '', 17, 1, 1968, ' Mặt trận Phía Tây', ' Mặt trận Phía Tây', 'Đoàn 959', 0, '', '', ''), (927, 'YB/LS1121', 'LS-NL/145', ' Hà Văn Hoa', '', 0, 0, 1940, 1, '04297', '133', '15', NULL, ' Trung sĩ', ' Tiểu đội phó', 25, 1, 1967, ' Mặt trận Phía nam', ' Mặt trận Phía nam', ' KB', 0, '', '', ''), (928, 'YB/LS 1916', 'LS/YB-LY 623', 'Dương Thái Ẩ', '', 0, 0, 1938, 1, '04333', '135', '15', NULL, '', 'Trợ lý chính sách', 7, 12, 1980, 'Đèo Tích Lin, tỉnh Công Pông xư Pư, Campuchia', '', 'Phòng chính sách, sự đoàn 4, quân khu 9', 0, '31972', '960', '95'), (929, 'YB/LS 2645', 'LS-NL/143', ' Mè văn Mẳ', '', 0, 0, 1948, 1, '04297', '133', '15', NULL, ' Binh nhất', 'chiến sĩ', 15, 5, 1969, ' Mặt trận Phía tây', ' Mặt trận Phía tây', 'Đại đội 3, tiểu đoàn 1,trung đoàn 174', 0, '', '', ''), (930, 'YB/LS 2704', 'LS/LY4536', 'Nông Thanh Bình', '', 0, 0, 1951, 1, '04336', '135', '15', NULL, 'Binh nhất', 'chiến sỹ', 24, 2, 1970, 'Mặt trận phía Tây', '', 'D 24 Quân khu Tây Bắc', 0, '', '', ''), (931, 'YB/LS 2604', 'LS-NL/139', ' Lò Văn Hiếng', '', 0, 0, 1948, 1, '04297', '133', '15', NULL, ' Hạ Sĩ', ' Tiểu đội phó', 5, 5, 1969, ' Mặt trận phía tây', ' Mặt trận phía tây', 'Đại đội 2, Trung đoàn 174', 0, '', '', ''), (934, 'HG/LS 663', 'LS/MV 30K', 'Sùng Mí Chứ', '', 0, 0, 1946, 1, '00781', '027', '02', NULL, 'Hạ sĩ', 'Chiến sĩ', 0, 0, 0, 'Mặt trận phía tây', '', 'Tiểu đoàn 29, Binh trạm 14', 0, '19513', '466', '45'), (935, 'HG/LS 284', 'LS/MV 21K', 'Vừ Mý Dính', '', 0, 0, 1957, 1, '00815', '027', '02', NULL, 'Hạ sĩ', '', 28, 12, 1979, 'Mặt trận phía bắc, Hà Quảng, Cao Bằng', '', 'Tiểu đoàn 2, trung đoàn 246, sư đoàn 346', 0, '', '', ''), (936, 'HG/LS 239', 'LS/MV 04K', 'Vàng Dúng Dia', '', 0, 0, 1944, 1, '00778', '027', '02', NULL, '', '', 5, 3, 1979, 'Chốt K1A, Xã Xín Cái ', '', 'UBND xã Sín Cái', 0, '', '', ''), (937, 'HG/LS 89', 'LS/MV 09K', 'Lý A Pảo', '', 0, 0, 1948, 1, '00811', '027', '02', NULL, 'Hạ sĩ', 'Chiến sĩ', 26, 6, 1972, 'Mặt trận phía nam', '', 'c1, d4, k8', 0, '19513', '466', '45'), (938, 'HG/LS 138', 'LS/MV 14K', 'Sùng Mý Sáu', '', 0, 0, 1955, 1, '00778', '027', '02', NULL, 'Binh nhì', 'Chiến sĩ', 0, 2, 1979, 'tại e 246, f346 Cao Bằng', '', 'e246, f346 Cao Bằng', 0, '', '', ''), (939, 'HG/LS 1227', 'LS/MV 15K', 'Giàng Lình Sính', '', 0, 0, 1938, 1, '00778', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 6, 10, 1968, 'Mặt trận miền tây', '', 'c65, d923, đoàn 766', 0, '', '', ''), (940, 'HG/LS 1364', 'LS/MV 19H', 'Hoàng Xuân Trai', '', 0, 0, 1967, 1, '00817', '027', '02', NULL, 'Binh nhất', 'Chiến sĩ', 27, 2, 1986, 'Xín Cái, Mèo Vạc, Hà Tuyê', '', 'Đại đội 3 tiểu đoàn 1 Mèo Vạc', 0, '', '', ''), (941, 'HG/LS 380', 'LS/MV 06H', 'Hoàng Văn Hoà', '', 0, 0, 1959, 1, '00817', '027', '02', NULL, 'Trung sĩ', 'Chiến sĩ', 30, 4, 1984, 'Cao điểm 1250 huyện Yên Minh, Mặt trận biên giới phía bắc tỉnh Hà Tuyê', '', 'D bộ tiểu đoàn 3 Yên Minh', 0, '', '', ''), (942, 'HG/LS 311', 'LS/MV 11H', 'Chảo Lình Phúng', '', 0, 0, 1959, 1, '00817', '027', '02', NULL, '', 'Chiến sĩ', 10, 9, 1983, 'Xã Vĩ Sơn, Mèo Vạc, ', '', 'UBND xã Sơn Vĩ', 0, '', '', ''), (943, '6606', '6606', 'Trần Văn Xuâ', 'Trần Văn Xuâ', 0, 0, 1952, 1, '31054', '913', '91', NULL, 'Thượng sỹ', 'Tiểu đội trưởng', 13, 3, 1974, '', 'Rò đất', 'Bộ đội địa phương huyện Châu Thành', 0, '', '', ''), (944, '8618', '8618', 'Phan Văn Mừng', '', 0, 0, 1944, 1, '31054', '913', '91', NULL, '', 'Trung đội phó', 2, 2, 1968, '', '', 'C112 - Miền Đông', 0, '28360', '819', '82'), (945, '8706', '8706', 'Phan Văn Bảnh', '', 0, 0, 1954, 1, '31054', '913', '91', NULL, '', 'Trung đội trưởng', 0, 6, 1977, '', '', 'Đại đội 3, tiểu đoàn II, trung đoàn II, tỉnh Kiên Giang', 0, '30775', '900', '91'), (946, 'YB/LS 036', 'LS/VY - 07', 'Đỗ Xuân Chiêm', 'không', 0, 0, 1944, 1, '04417', '136', '15', NULL, '', 'Chiến sĩ', 0, 0, 0, 'Soài Riêng', '', 'c2, Yên Ninh 2', 0, '', '', ''), (947, 'YB/LS 01582', 'LS/VY - 08', 'Hoàng Văn Hó', 'không', 0, 0, 1945, 1, '04417', '136', '15', NULL, 'Binh nhất', 'Chiến sĩ', 18, 2, 1979, 'Mặt trận Phía bắc', '', 'c21, đặc công, BTM quân khu II', 0, '', '', ''), (948, '2036', '2036', 'Phan Văn Cháp', '', 0, 0, 1952, 1, '31054', '913', '91', NULL, 'Trung sĩ', 'Tiểu đội phó', 12, 4, 1972, 'Kiên Giang', '', 'Đoàn 6 - Quân khu 9', 0, '', '', ''), (949, 'YB/LS 1640', 'LS/LY537', 'Lý Việt Đức', '', 0, 0, 1956, 1, '04351', '135', '15', NULL, '', 'Chiến sỹ', 13, 7, 1978, 'Biên giới Tây Nam', '', 'đại đội 16 trung đoàn 66', 0, '25501', '705', '72'), (950, 'YB/CP 779', 'LS/LY 145', 'Bế Văn Kiệm', '', 0, 0, 1926, 1, '04330', '135', '15', NULL, '', 'Tiểu đội phó', 9, 1, 1950, 'Bình Lư, Yên Bái', 'Bắc Bảo, Hà Giang', 'Trung đoàn 165, sư đoàn 312', 0, '', '', ''), (951, 'YB/LS 02322', 'LS/VY - 10', 'Phạm Văn Phá', 'không', 0, 0, 1947, 1, '04417', '136', '15', NULL, 'Hạ Sĩ', 'Chiến sĩ', 1, 1, 1969, 'Mặt trận Phía nam', '', 'Tiểu đoàn 32, KH', 0, '', '', ''), (952, 'YB/LS 693', 'LS/LY 146', 'Bùi Trường Lương', '', 0, 0, 1954, 1, '04330', '135', '15', NULL, 'Hạ sĩ', 'Y tá', 17, 2, 1979, 'Xã Ma ly pho, huyện Phong Thổ, tỉnh Lai Châu', '', 'Đại đội 8, tiểu đoàn 64, trung đoàn 741', 0, '03574', '109', '12'), (953, '9989', '9989', 'Trần Văn Thủy', '', 0, 0, 1942, 1, '31054', '913', '91', NULL, '', 'Du kích ấp', 16, 3, 1971, '', '', 'xã đội xã Vĩnh Yê', 0, '30985', '908', '91'), (954, 'YB/LS2814', 'LS/LY 150', 'Bế Văn Quyết', '', 0, 0, 1948, 1, '04330', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', 21, 10, 1969, 'Mặt trận phía nam', 'Mặt trận phía nam', 'D4, KT', 0, '', '', ''), ('134627', '5S837b', 'TH6383', 'HUỲNH VĂN XÊ', 'KIỂM', '0', '0', '1944', '1', '23122', '598', '60', NULL, '', 'TIỂU ĐỘI TRƯỞNG', '17', '9', '1968', '', 'XÃ HÀM THẠNH', 'XÃ HÀM THẠNH', '1361', '23086', '597', '60'), ('134628', 'PY/LS 9483', 'PK 6768', 'Nguyễn Lập', '', '0', '0', '1947', '1', '22276', '562', '54', NULL, '', 'Kinh tài xã', '2', '7', '1972', '', '', 'Xã Hòa Đồng', '0', '22041', '555', '54'), ('134629', 'TH/LS 1653', 'C4592', 'CAO XUÂN TỤNG', '', '0', '0', '1946', '1', '15979', '399', '38', NULL, 'Thượng sỹ', '', '25', '3', '1969', '', 'MT phía Nam', 'C1 D25 KT', '0', '', '', ''), ('134630', 'PY/LS 3012', 'LS/PK 12826', 'Nguyễn Phó', 'Sò', '0', '0', '1917', '1', '22156', '559', '54', NULL, '', 'Thủ kho lương thực', '26', '2', '1971', '', '', 'Phòng lương thực huyện Xuân A', '1261', '22156', '559', '54'), ('134631', 'BT/LS01107', 'TH 4582', 'Nguyễn Ngọc Chính ', '', '0', '0', '1940', '1', '23095', '597', '60', NULL, 'Du kích', 'Tiểu đội trưởng', '23', '6', '1966', '', '', 'Xã Hàm Thắng', '0', '23086', '597', '60'), ('134632', 'NĐ/LS 3624', '351', 'Nguyễn Văn Bẩm', '', '0', '0', '1945', '1', '14044', '363', '36', NULL, 'HẠ SĨ', '', '21', '8', '1968', 'MT PHÍA NAM', '', 'KB', '0', '', '', ''), ('134633', 'BT/LS00307', 'TH6418', 'PHẠM NGỌ', 'HAI', '0', '0', '1947', '1', '23122', '598', '60', NULL, '', 'TIỂU ĐỘI TRƯỞNG', ' BÌNH THUẬN"', '27', '7', '', '', '"HẬU CẦ', '1', '597', '60', '1361'), ('134634', 'TH/LS 32147', 'C2718', 'LƯƠNG CHÍ LUẬT', '', '0', '0', '1954', '1', '15877', '399', '38', NULL, 'H2-AP', 'Tiểu đội phó', '24', '9', '1974', '', '"Nhà máy xi măng Kiên Lương', 'C4X - E101 - QK9', '2', '', '', '0'), ('134635', 'BT/LS00484', 'TH6376', 'BÙI VĂN THÀNH', '', '0', '0', '1943', '1', '23122', '598', '60', NULL, '', 'TIỂU ĐỘI TRƯỞNG', '17', '6', '1978', '', '', 'TRINH SÁT BÌNH THUẬ', '1361', '23086', '597', '60'), ('134636', 'NĐ/LS 18166', '384', 'Nguyễn Văn Chinh', '', '0', '0', '1938', '1', '14044', '363', '36', NULL, '', '"Tiểu đội trưởng ', 'P2', '2', '3', '', '', '', '2', '', '', '0'), ('134637', 'PY/LS 2193', 'LS/PK 12315', 'Nguyễn Quỳnh', '', '0', '0', '1911', '1', '22156', '559', '54', NULL, '', 'Bí thư chi bộ xã An Chấ', '20', '7', '1955', '', '', 'Xã An Chấ', '1294', '22041', '555', '54'), ('134638', 'TH/CM 02284', 'C3977', 'LƯƠNG HỮU NGOẠ', '', '0', '0', '1936', '1', '15877', '399', '38', NULL, 'Trung sỹ', 'Tiểu đội phó', '24', '9', '1967', 'MTP', '', 'C12D17 - Binh trạm B43/K4', '0', '', '', ''), ('2645', 'YBI/9S 518b', 'LS/YB-LY 55', 'Hoàng Văn Thự', '', '0', '0', '1956', '1', '04324', '135', '15', NULL, 'Trung sĩ', 'Lái xe', ' Sư đoàn 10"', '12', '12', '', 'Chiến trường Tây Nam', '"Trung đoàn 28', ' hàng 14"', '1', '9S 518b', ''), ('2646', 'LS/YB 622', 'LS/YB-LY 54', 'Hứa KIm Le', '', '0', '0', '1947', '1', '04324', '135', '15', NULL, 'Trung sĩ', 'Tiểu đội phó', '5', '1', '1968', '', '', 'KB', '0', '', '', ''), ('2647', 'YBI/8B 915b', 'LS/YB 648', 'Hoàng Đình Khả', '', '0', '0', '0', '1', '04279', '132', '15', NULL, 'trung sỹ', 'Trung đội trưởng', ' tiểu đoàn 7 trung đoàn 66"', '18', '2', '', '"Biên giới phía tây', '"tiểu đoàn bộ', ' huyện Tân Biê', '8B 915b', '', ' tỉnh Tây Ninh"'), ('2648', 'YB/LS 467', 'LS/YB-LY 52', 'Chu Minh Ngọc', '', '0', '0', '1945', '1', '04324', '135', '15', NULL, '', 'Trung đội phó', '20', '10', '1972', 'Mặt trận phía Nam', '', 'NB', '0', '', '', ''), ('2649', 'YB/LS 2464', 'LS/YB-LY 51', 'Hoàng Lộc Đẩy', '', '0', '0', '1940', '1', '04324', '135', '15', NULL, '', 'Đại đội phó', '10', '1', '1968', 'Mặt trận phía Nam', '', 'K', '0', '', '', ''), ('2650', 'YB/LS 1994', 'LS/YB-LY 50', 'Nông Văn Khoải', '', '0', '0', '1945', '1', '04324', '135', '15', NULL, 'Binh nhất', 'chiến sĩ', '16', '12', '1969', 'Mặt trận phía Nam', '', 'KB', '0', '', '', ''), ('2651', 'YB-LS 01030', 'LS/YB 653', 'Đinh Ngọc Cương', '', '0', '0', '1954', '1', '04279', '132', '15', NULL, 'trung sỹ', 'Trung đội trưởng', '20', '12', '1974', '', 'Bản Đôn - xiêng khoảng - Lào', 'Sư đoàn 312', '0', '', '', ''), ('2652', 'YB/LS 920', 'LS/YB-LY 49', 'Hoàng Công Chương', '', '0', '0', '1950', '1', '04324', '135', '15', NULL, 'Hạ sĩ', 'Chiến sĩ', ' Binh trạm 32', ' Đoàn 559"', '6', '1', '', '"Tiểu đoàn 33', '1', '', '0', '2'), ('2653', 'YB/LS 1411', 'LS/YB 656', 'Nguyễn Văn Lợi', '', '0', '0', '1947', '1', '04276', '132', '15', NULL, 'Hạ Sỹ', '', '12', '2', '1970', 'Mặt trận phía nam', '', '', '0', '', '', ''), ('2654', 'YBI/NV 654 b', 'LS/YB 646', 'Nguyễn Văn Bình', '', '0', '0', '1954', '1', '04279', '132', '15', NULL, 'trung sỹ', 'Trung đội phó', '14', '9', '1973', 'Mặt trận phía nam', '', 'Đại đội 17 KH', '0', '', '', ''), ('2655', 'YB/LS 128', 'LS/YB-LY 400', 'Triệu Văn Thính', '', '0', '0', '1943', '1', '04357', '135', '15', NULL, '', 'Thượng sĩ', ' Tiểu đoàn 16. KT"', '12', '5', '', 'Mặt trận phía Nam', '"Đại đội 2', '2', '', '', '0'), ('2656', 'YB/LS 3162', 'LS YB-TY/736', 'Đinh Văn Định', '', '0', '0', '1935', '1', '04564', '137', '15', NULL, 'Trung sĩ', '', '11', '4', '1970', 'Mặt trận phía Nam', '', 'KB', '0', '', '', ''), ('2657', 'YB/LS 58', 'LS YB-TY/740', 'Lê Quang Minh', '', '0', '0', '1947', '1', '04564', '137', '15', NULL, '', 'chiến sĩ', '12', '4', '1969', 'Mặt trận phía Nam', '', 'KBM', '0', '', '', ''), ('2658', 'YB/LS 1631', 'LS YB-TY/754', 'Đoàn Đức Bình', '', '0', '0', '1954', '1', '04564', '137', '15', NULL, 'Trung sĩ', 'Tiểu đội trưởng', '8', '9', '1979', 'Biên giới Tây Nam', '', 'C5 D2 E28', '8M 678b', '1', '1', '0'), ('2659', 'YB/LS 916', 'LS YB-TY/724', 'Bùi Đăng Huâ', '', '0', '0', '1945', '1', '04564', '137', '15', NULL, 'Hạ sĩ', 'chiến sĩ', '15', '2', '1967', 'Mặt trận phía Nam', '', 'D40 K', '0', '', '', ''), ('2660', 'YB/LS 3147', 'LS YB-TY/753', 'Hằ Khắc Dư', '', '0', '0', '1950', '1', '04564', '137', '15', NULL, '', 'Chiến sĩ', '28', '8', '1972', 'Mặt trận phía Nam', '', 'D17 E209 F312', '0', '', '', ''), ('2661', 'YB/LS 2932', 'LS YB-TY/752', 'Hà Kim Cộng', '', '0', '0', '1945', '1', '04564', '137', '15', NULL, 'Hạ sĩ', 'chiến sĩ', '2', '2', '1968', 'Mặt trận phía Nam', '', 'K', '0', '', '', ''), ('2662', 'YB/LS 2294', 'LS YB-TY/804', 'Bùi Văn Việt', '', '0', '0', '1954', '1', '04567', '137', '15', NULL, 'Binh nhất', 'Chiến sĩ', '7', '2', '1973', 'Mặt trận phía tây', '', 'C3 D1 K16', '0', '', '', ''), ('2663', 'YB/LS 2015', 'LS YB-TY/733', 'Nguyễn Văn Hoa', '', '0', '0', '1950', '1', '04564', '137', '15', NULL, 'Thượng sĩ', '', '18', '11', '1969', 'Mặt trận phía Nam', '', 'C11 D3 KT', '0', '', '', ''), ('2664', 'YB/LS 2235', 'LS YB-TY/737', 'Vũ Đức Nguyê', '', '0', '0', '1942', '1', '04564', '137', '15', NULL, 'Hạ sĩ', 'chiến sĩ', '29', '3', '1972', '"Trường Sơ', ' Quảng Trị"', 'BT9 K5', '2', '15', '0', '1'), ('2665', 'YB/LS 1097', 'LS YB-TY/763', 'Hà Quốc Việt', '', '0', '0', '1958', '1', '04564', '137', '15', NULL, 'trung sĩ', '', '24', '2', '1978', '"Xa Mát', ' Tân Biê', 'C2 D28 F10', '1', '72', '0', '1'), ('2666', 'Đ1260', '', 'Trần Văn Hùng', '', '0', '0', '1962', '1', '24514', '654', '66', NULL, 'Binh nhất', 'Chiến sĩ', 'D6', ' BCHQS Đắk Lắk"', '22', '1', '', '"C1', '1', '67', '0', '1'), ('2667', '033468', '', 'Phạm văn Cúc', '', '0', '0', '1945', '1', '24514', '654', '66', NULL, '', 'Chiến sĩ', '27', '7', '1966', 'Chiến trường phía nam', 'Chiến trường phía nam', 'Trung đoàn 210 QKV', '0', '', '', ''), ('2668', 'QĐ4252', '', 'Bùi Ngọc Anh', '', '0', '0', '1949', '1', '24514', '654', '66', NULL, 'Trung sỹ', 'Tiểu đội trưởng', '4', '11', '1967', '', '', 'V14 Quảng Nam', '0', '20371', '502', '49'), ('2669', 'Y22537', '', 'Lê Mã Lai', '', '0', '0', '1952', '1', '24514', '654', '66', NULL, 'Thượng Úy', 'Đại đội trưởng', '8', '4', '1974', '', '', 'Trung đoàn 48- 320 Gia lai 48F320', '0', '63206', '632', '64'), ('2670', 'HL838', '', 'Đỗ Văn Các', '', '0', '0', '1923', '1', '24505', '654', '66', NULL, '', 'Chiến sĩ', '25', '6', '1953', '', 'Nam Định', 'C60 Tỉnh đội Hà Nam', '0', '', '', ''), ('2671', 'TU/LS 05568', 'A 3956', 'Vũ Văn Minh', '', '0', '0', '1951', '1', '05650', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', '23', '12', '1972', 'Mặt trận phía nam', '', 'D7-KT', '0', '', '', ''), ('2672', 'TU/LS 00426', 'M 15628', 'Đỗ Văn Lộc', '', '0', '0', '1947', '1', '05650', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', '21', '6', '1968', 'Hương Khê- Hà Tĩnh', 'Mặt trận phía nam', 'C4-E230-F367- Bộ Tư lệnh PK-KQ', '0', '', '', ''), ('2673', 'TU/LS 00457', 'A 2204', 'Lưu Văn Lợi', '', '0', '0', '1933', '1', '05650', '168', '19', NULL, '', 'Trung đội trưởng', '15', '11', '1966', 'Mặt trận phía nam', '', 'Thuộc KT', '0', '', '', ''), ('2674', 'TU/CP 307', '', 'Bùi Viết Thi', '', '0', '0', '1918', '1', '05650', '168', '19', NULL, '', 'Chiến sĩ', '20', '8', '1948', 'Bắc Kạ', 'Bắc Kạ', 'D11-C102-F308', '0', '', '', ''), ('2675', 'TU/LS 06500', 'A 1890', 'Nguyễn Văn Tửu', '', '0', '0', '1941', '1', '05650', '168', '19', NULL, '', 'Đại đội phó', '30', '1', '1968', 'Mặt trận phía nam', '', 'NB', '0', '', '', ''), ('2676', 'ĐN/LS 450', 'DNI/LS 450', 'Ngô Thế Quang', '', '0', '0', '1952', '1', '26089', '732', '75', NULL, '', 'Chiến sĩ du kích', ' ấp Xuân Lộc', ' Đồng Nai"', '8', '1', '', '"Bình Lộc', 'CM 250', '1', '1', '0'), ('2677', 'LK/LS 900', '', 'Lục Kim Vượng', '', '0', '0', '1952', '1', '02788', '083', '10', NULL, 'Thượng sỹ', 'tiểu đội phó ', '16', '6', '1974', '', '', '', '37', '02788', '083', '10'), ('2678', 'LK/CP 21', '', 'Ma Seo Ví', '', '0', '0', '0', '1', '02791', '083', '10', NULL, '', 'Cán bộ dân chính', '16', '4', '1954', '"Huyện Sa Pa', ' Lào Cai"', 'UBHC tỉnh Lào Cai', '2', '', '', '0'), ('2679', 'LK/CP 31', '', 'Sùng Seo Páo', '', '0', '0', '1929', '1', '02764', '083', '10', NULL, '', 'Chiến sỹ QĐNDV', '0', '6', '1954', 'huyện Bắc Hà', '', '', '0', '', '', ''), ('2680', 'LK/CP 61', '', 'Nùng Dỉn Cáo', '', '0', '0', '1929', '1', '02770', '083', '10', NULL, '', 'Chiến sĩ QĐNDV', '24', '5', '1952', 'xã Thanh Bình huyện Mường Khương tỉnh Lào Cai', '', '', '0', '', '', ''), ('2681', 'HD/LS 04709', 'G 10191', 'Trần Xuân hơ', '', '0', '0', '1948', '1', '05608', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', '9', '2', '1968', 'Mặt trận phía nam', '', 'Trung đoàn 2', '0', '', '', ''), ('2682', 'Lk/CP 108', '', 'Đỗ Thị Gái', '', '0', '0', '0', '2', '02761', '083', '10', NULL, '', 'Liên lạc Ủy ban xã Mường Khương', '0', '6', '1952', 'Xa Mường Khương', '', ' Ủy ban kháng chiến hành chính xã Mường Khương ', '0', '', '', ''), ('2683', 'TU/LS 4448', 'A 6975', 'Lý Văn Tái', '', '0', '0', '1948', '1', '05650', '168', '19', NULL, 'Binh nhì', 'Chiến sĩ', '17', '12', '1967', 'Hải Hưng', '', 'C11-E 203', '1', '30', '122', '1'), ('2684', 'ĐN/LS 451', 'DNI/LS 451', 'Nguyễn Văn Ngà', '', '0', '0', '1953', '1', '26089', '732', '75', NULL, '', 'Chiến sĩ du kích', '21', '11', '1970', '"ấp Bình Lộc', ' Xuân Lộc"', 'ấp Bình Lộc ', '1', '886', '89', '0'), ('2685', 'ĐN/LS 452', 'DNI/LS 452', 'Trần Văn Đồng', '', '0', '0', '1945', '1', '26089', '732', '75', NULL, '', 'Xã đội trưởng', '16', '10', '1968', 'ấp Bình Lộc', '', 'ấp Bình Lộc ', '0', '30337', '886', '89'), ('2686', 'TU/CP 484', '', 'Phạm Văn Chúc', '', '0', '0', '1930', '1', '05650', '168', '19', NULL, '', 'Chiến sĩ', '24', '3', '1953', 'Bắc Giang', 'Bắc Giang', 'C235-D28', '0', '', '', ''), ('2687', 'ĐN/LS 453', 'DNI/LS 453', 'Trần Thị Hoàng', '', '0', '0', '1949', '2', '26089', '732', '75', NULL, '', 'Trung sĩ QĐNDV', '11', '11', '1971', 'huyện Định Quá', '', 'huyện đội Định Quá', '0', '30337', '886', '89'), ('2688', 'TU/LS 05737', 'A 466', 'Trần Văn Thành', '', '0', '0', '1950', '1', '05650', '168', '19', NULL, 'Binh nhất', 'Chiến sĩ', ' trung đoàn 148"', '18', '3', '', 'Mặt trận phía tây', '"Đại đội 11- Tiểu đoàn 6', '2', '', '', '0'), ('2689', 'ĐN/LS 454', 'DNI/LS 454', 'Huỳnh Văn Hoá', '', '0', '0', '1944', '1', '26089', '732', '75', NULL, '', 'Chiến sĩ du kích', '0', '8', '1972', '"Bảo Chánh', ' Xuân Lộc"', 'xã Bình Lộc', '1', '886', '89', '0'), ('2690', 'NDH/HR-113b', 'P 9522', 'Trần Đức Tỵ', '', '0', '0', '1944', '1', '05458', '164', '19', NULL, 'Hạ sĩ', 'Trung đội phó', '25', '11', '1969', 'Mặt trận phía nam', '', 'KB', '0', '', '', ''), ('2691', 'TU/LS 05858', 'A 359', 'Hoàng Văn Thành', '', '0', '0', '1946', '1', '05650', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', '4', '3', '1968', 'Mặt trận phía nam', '', 'C901-K', '0', '', '', ''), ('2692', 'ĐN/LS 455', 'DNI/LS 455', 'Bình Văn Triệ', '', '0', '0', '1940', '1', '26089', '732', '75', NULL, '', '', '20', '10', '1962', 'xã Bình Lộc', '', 'xã Bình Lộc', '0', '30337', '886', '89'), ('2693', 'LK/LS 41', '', 'Phan Dấu Sài', '', '0', '0', '1942', '1', '02785', '083', '10', NULL, '', 'Đội viên dân quâ', '17', '2', '1979', '', '', 'Ban chỉ huy quân sự xã Lùng Vai', '0', '', '', ''), ('2694', 'TU/LS 01629', 'A 63940', 'Nguyễn Văn Há', '', '0', '0', '1950', '1', '05458', '164', '19', NULL, 'Trung sĩ', 'Trung đội phó', '18', '12', '1972', 'Mặt trận phía nam', '', 'Tiểu ddooij4- Trung đội 4- Đại đội 9- E246', '0', '', '', ''), ('2695', 'ĐN/LS 456', 'DNI/LS 456', 'Bình Thị Quyề', '', '0', '0', '1942', '2', '26089', '732', '75', NULL, '', 'Chiến sĩ du kích', '19', '9', '1971', '"Bến Nôm', ' Định Quán"', 'xã Bình Lộc', '1', '886', '89', '0'), ('2696', 'TU/LS 01156', 'A 4685', 'Trần Văn Lủy', '', '0', '0', '1953', '1', '05650', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', '11', '3', '1975', 'Mặt trận phía nam', 'Buôn Mê Thuật', 'Tiểu đoàn 27-KT', '0', '', '', ''), ('2697', 'LK/LS 32', '', 'Phạm Văn Mây', '', '0', '0', '1950', '1', '02788', '083', '10', NULL, '', 'Trung đội trưởng dân quâ', '19', '2', '1979', '', '', 'xã bản Lầu huyện Mường Khương tỉnh Hoàng Liên Sơ', '37', '02788', '083', '10'), ('2698', 'ĐN/LS 457', 'DNI/LS 457', 'Lương Tặng', '', '0', '0', '1948', '1', '26089', '732', '75', NULL, '', 'Chiến sĩ du kích', '12', '1', '1972', 'xã Bình Lộc', '', 'xã Bình Lộc', '0', '30337', '886', '89'), ('2699', 'TU/LS 03974', 'A 5170', 'chu Văn Bình', '', '0', '0', '1949', '1', '05650', '168', '19', NULL, '', 'Tiểu đội phó', '3', '2', '1973', 'Mặt trận phía nam', 'Nghĩa trang Bình Định', 'Đại đội 8', '0', '', '', ''), ('2700', 'TU/LS 00004', 'A 2768', 'Nguyễn Thế Cường', '', '0', '0', '1930', '1', '05458', '164', '19', NULL, '', 'Đội phó thanh niên xung phong', '24', '12', '1972', '"Ga Lưu Xá', ' THái Nguyên"', 'Đội TNXP-CMCN 91', '2', '19', '106', '1'), ('2701', 'ĐN/LS 458', 'DNI/LS 458', 'Trần Văn Giỏi', '', '0', '0', '1955', '1', '26098', '732', '75', NULL, '', 'Chiến sĩ du kích', '27', '1', '1973', '"Suối Chồ', ' Xuân Lộc"', '', '1', '886', '89', '0'), ('2702', 'TU/LS 04652', 'A 6969', 'Đào Minh Tam', '', '0', '0', '1942', '1', '05650', '168', '19', NULL, 'Chuẩn úy', 'Tiểu đội trưởng', ' Trung đoàn 252- F 363"', '1', '10', '', '"Cam Lộ', '"Đại đội 515', ' An Hải', 'DM 729b; QĐ số 98/TTga ngày 5/6/1968', 'Hải phòng', ' Hải Phòng"'), ('2703', 'Tu/LS 07253', 'A 3668', 'Nguyễn Văn Trung', '', '0', '0', '1938', '1', '05650', '168', '19', NULL, '', 'Chính trị viên phó đại đội', '2', '11', '1972', 'Mặt trận phía nam', '', 'Thuộc NB', '0', '', '', ''), ('2704', 'TU/LS 03875', 'A 7321', 'Phạm Văn Thường', '', '0', '0', '1943', '1', '05650', '168', '19', NULL, 'Hạ sĩ', 'Chiến sĩ', '10', '10', '1969', 'Mặt trận phía nam', '', 'S 304', '0', '', '', ''), ('2705', 'TU/LS 00219', 'M 13613', 'Đặng Quang Dậu', '', '0', '0', '1945', '1', '05650', '168', '19', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', '24', '11', '1969', 'Mặt trận phía nam', '', 'C2', '0', '', '', ''), ('2706', 'TU/LS 8952cp', '', 'Nguyễn Văn Chưng', '', '0', '0', '1924', '1', '05650', '168', '19', NULL, 'Thanh niên xung phong', '', '16', '3', '1953', '"Chợ Mới', ' Phú Lương', 'Liên phân đội 311 TNXP', ' Thái Nguyên"', '0', 'ĐU 235cp; QĐ số 1116/TTga ngày 11/12/1998', ''), ('2707', 'TU/CP 028', '', 'Nguyễn Đức Giang', '', '0', '0', '1922', '1', '05458', '164', '19', NULL, '', 'Trung đội trưởng', '30', '11', '1947', '"Mặt trận Phủ Thông', ' Bắc Kạn"', 'Trung đoàn 72- Việt Bắc- Quân đội nhân dân Việt Nam', '1', '06', '0', '1'), ('2708', 'ĐL 3129', '', 'Y Bhá Niê', '', '0', '0', '1918', '1', '24427', '652', '66', NULL, '', 'Chủ tịch xã', '0', '12', '1953', 'Nhà tù Buôn Ma Thuột - Đắk Lắk', '', 'xã Ea Lai', '0', '', '', ''), ('2709', 'ĐN/LS 459', 'DNI/LS 459', 'Lê Văn Giác', '', '0', '0', '1943', '1', '26089', '732', '75', NULL, 'Chuẩn uý QĐNDV', 'trung đội phó', '1', '1', '1971', 'huyện Định Quá', '', '', '0', '30337', '886', '89'), ('2710', '56626', '', 'Lưu Thị Đào', '', '0', '0', '1935', '1', '24418', '652', '66', NULL, 'Cơ sở cách mạng', '', '28', '9', '1966', '', '', '', '0', '21883', '548', '52'), ('2711', 'ĐL 2605', '', 'Y Bhin Byă', '', '0', '0', '1919', '1', '24427', '652', '66', NULL, 'Cán bộ', '', '0', '0', '1946', 'Đồn M''đrăk - M''đrăk', '', 'D Ama Trang Lơng', '0', '', '', ''), ('2712', 'LK/LS 744', '', 'Chảo Phù Vảng', '', '0', '0', '1943', '1', '02743', '082', '10', NULL, 'Hạ Sỹ', 'Tiểu đội trưởng ', '26', '12', '1968', 'Mặt trận Miền tây', '', 'Tiểu đoàn 927 Đoàn 766', '0', '', '', ''), ('2713', '25061', '', 'Ngân Văn Sợi', '', '0', '0', '1948', '1', '24418', '652', '66', NULL, 'Trung sỹ', '', '8', '11', '1968', 'Mặt trận phía Nam', '', 'F2', '0', '', '', ''), ('2714', 'TU/CP 018', '', 'Lương Đức Hà', '', '0', '0', '1926', '1', '05458', '164', '19', NULL, '', 'Chính trị viên đại đội', '30', '3', '1954', 'Điện Biên Phủ', 'Mặt trận Điện Biên Phủ', 'Sư đoàn 316- Trung đoàn 98- Tiểu đội 53- Tiểu đoàn 739- QĐNDV', '1', '094', '11', '0'), ('2715', 'LK/CP 131 b', '', 'Lù Cáo Mì', '', '0', '0', '1922', '1', '02761', '083', '10', NULL, '', 'Dân quâ', '5', '5', '1952', 'Xã Pha Long', '', '', '0', '', '', ''), ('2716', 'TU/LS 05342', 'A 3446', 'Trương Văn Đào', '', '0', '0', '1948', '1', '05458', '164', '19', NULL, 'Thượng sĩ', 'Tiểu đội trưởng', '17', '4', '1972', 'Mặt trận phía nam', '', 'D 40-KB', '0', '', '', ''), ('2717', '34800', '', 'Lê Văn Luyệ', '', '0', '0', '1952', '1', '24421', '652', '66', NULL, '', 'B Phó', '8', '2', '1974', 'Mỹ Tho', 'Mỹ Thành - Cai lệ - Mỹ Tho', 'E 320', '0', '', '', ''), ('2718', 'NĐ/LS 19931', '50', 'PHAN ĐÌNH BẠ', 'NULL', '0', '0', '1933', '1', '13705', '356', '36', NULL, 'HẠ SỸ', 'NULL', '20', '1', '1970', 'NULL', 'MẶT TRẬN PHÍA NAM', 'P2', '0', 'NULL', 'NULL', 'NULL'), ('2719', 'TU/CP 809', '', 'Ngô Văn Phong', '', '0', '0', '0', '1', '05458', '164', '19', NULL, '', 'Chiến sĩ', '12', '12', '1946', '"Gia Lâm', ' Bắc Ninh"', 'C8- tỉnh đội Bắc Ninh', '1', '018', '01', '0'), ('2720', 'ĐL 1228', '', 'Y Bdung Mlô', '', '0', '0', '1952', '1', '24427', '652', '66', NULL, '', 'Trạm phó', '0', '12', '1970', '"Buôn Yu', ' H4 cũ', 'Trạm T4 Ban giao bưu', '3Q 701c', '2', '1', '0'), ('121683', 'BN/LS 00654', '953', 'Nguyễn Đức Bắc', '', '0', '0', '1959', '1', '09325', '256', '27', NULL, 'Hạ sỹ', 'Chiến sỹ', 'TĐ852', 'Sư đoàn 322"', '23', '1', '', '"Tiểu đoàn 7', 'Cao Bằng', '2', '1', '9Z-519b'), ('121684', 'BN/CP-03430', '282', 'Nguyễn Văn Ngà', '', '0', '0', '0', '1', '09325', '256', '27', NULL, '', 'ĐVDK', '2', '11', '1950', 'Khắc Niệm-Tiên Du', '', 'Khắc Niệm', '0', 'NULL', 'NULL', 'NULL'), ('121685', 'BN/LS 07877', '975', 'Nguyễn Văn ấp', '', '0', '0', '1938', '1', '09325', '256', '27', NULL, '', 'Trung đội phó', '23', '4', '1971', 'Mặt trận phía Nam', '', 'Thuộc K', '895', '09325', '256', '27'), ('121686', 'BN/LS 06185', '990', 'Dương Xuân Bình', '', '0', '0', '0', '1', '09325', '256', '27', NULL, '', 'Trung đội phó', 'Quân khu 5"', '30', '5', '', 'Chiến trường khu 5', '"Sư đoàn 3', '1', '256', '27', '895'), ('121687', 'BN/LS 04368', '970', 'Ngô Văn Nhâ', '', '0', '0', '1953', '1', '09325', '256', '27', NULL, 'Trung sỹ', 'Tiểu đội phó', '14', '8', '1974', 'Mặt trận phía Nam', '', 'Thuộc KB', '895', '09325', '256', '27'), ('121688', 'BN/LS 08416', '952', 'Trần Văn Thăng', '', '0', '0', '1942', '1', '09325', '256', '27', NULL, 'Hạ sỹ', 'A phó', 'khu 5', 'Thuộc P2"', '17', '1', '', '"F3', '2', 'NULL', '0', '2'), ('121689', 'BN/CP-450', '307', 'Nguyễn Văn Tấ', '', '0', '0', '1930', '1', '09325', '256', '27', NULL, '', 'ĐVDK', '15', '3', '1951', 'Bắc Ninh', '', '', '895', '09325', '256', '27'), ('121690', 'BN/LS 02753', '981', 'Nguyễn Văn Hậu', '', '0', '0', '1942', '1', '09325', '256', '27', NULL, '', 'Trung đội phó', '17', '1', '1974', 'Mặt trận phía Nam', '', 'Cục hậu cần Nam bộ', '895', '09325', '256', '27'), ('121691', 'BN/CP-4432', '308', 'Trần Văn Hiệu', '', '0', '0', '1928', '1', '09325', '256', '27', NULL, '', 'Thôn đội phó', '15', '4', '1950', '"Cầu dù', 'Thuộcđịaphận2', '', '2', '27', '895', '1'), ('121692', 'BN/LS 07902', '985', 'Ngô Khắc Đậu', '', '0', '0', '1939', '1', '09325', '256', '27', NULL, 'Trung sỹ', '', 'Trung đoàn 209', 'Sư 7', 'KB"', '1969', '1', '"Đại đội 16', '1', '895', '1', '2'), ('121693', 'BN/LS 03831', '1033', 'Ngô Văn Ba', '', '0', '0', '1950', '1', '09325', '256', '27', NULL, 'Trung sỹ', '', '8', '10', '1972', 'Mặt trận phía Nam', '', 'Thuộc KB', '0', 'NULL', 'NULL', 'NULL'), ('121694', 'BN/LS 10381', '977', 'Đặng Minh Trượng', '', '0', '0', '1943', '1', '09325', '256', '27', NULL, 'Thượng sỹ', '', 'Trung đoàn 230', 'Sư đoàn 367', 'BTLPK-KQ"', '1968', '1', '"Đại đội 506', 'Nghi Lộc', 'Nm-107b', '', 'Nghệ An"')
201.65183
408
0.499318
58960d494f0f507a5d5ac28ca88b737dca21237f
523
lua
Lua
Mods ChoGGi/Triboelectric Scrubbers Clean Dome Buildings/Code/Script.lua
tjbigliu/tjbigliu
b8228d8ae48312b64fc5d7232b50cb92b0499e15
[ "MIT" ]
1
2021-05-01T07:35:08.000Z
2021-05-01T07:35:08.000Z
Mods ChoGGi/Triboelectric Scrubbers Clean Dome Buildings/Code/Script.lua
tjbigliu/tjbigliu
b8228d8ae48312b64fc5d7232b50cb92b0499e15
[ "MIT" ]
null
null
null
Mods ChoGGi/Triboelectric Scrubbers Clean Dome Buildings/Code/Script.lua
tjbigliu/tjbigliu
b8228d8ae48312b64fc5d7232b50cb92b0499e15
[ "MIT" ]
1
2021-04-08T15:23:48.000Z
2021-04-08T15:23:48.000Z
function TriboelectricScrubber:CleanBuildings() if not self.working then return end self:ForEachDirtyInRange(function(dirty, self) if dirty:IsKindOf("Building") then if dirty ~= self then if dirty:IsKindOf("DustGridElement") then dirty:AddDust(-self.dust_clean) --~ elseif not dirty.parent_dome then --outside of dome else dirty:AccumulateMaintenancePoints(-self.dust_clean) end end elseif dirty:IsKindOf("DroneBase") then dirty:AddDust(-self.dust_clean) end end, self) end
23.772727
59
0.732314
6129bb5be280d02ca756e8f87f34741431d9c2b9
356
css
CSS
streamlit-drawable-canvas-develop/streamlit_drawable_canvas/frontend/src/components/CanvasToolbar.module.css
udaykiran1809/NoCodeAIML
ad40e4176d112f3ac1c2e9639e045b59d9aa9f50
[ "Apache-2.0" ]
210
2020-07-15T06:11:51.000Z
2022-03-25T15:55:44.000Z
streamlit-drawable-canvas-develop/streamlit_drawable_canvas/frontend/src/components/CanvasToolbar.module.css
udaykiran1809/NoCodeAIML
ad40e4176d112f3ac1c2e9639e045b59d9aa9f50
[ "Apache-2.0" ]
62
2020-06-30T07:53:32.000Z
2022-03-28T09:29:27.000Z
streamlit-drawable-canvas-develop/streamlit_drawable_canvas/frontend/src/components/CanvasToolbar.module.css
udaykiran1809/NoCodeAIML
ad40e4176d112f3ac1c2e9639e045b59d9aa9f50
[ "Apache-2.0" ]
33
2020-07-09T03:34:20.000Z
2022-03-22T14:33:28.000Z
.enabled { cursor: pointer; background: none; } .disabled { cursor: not-allowed; filter: invert(95%) sepia(10%) saturate(657%) hue-rotate(184deg) brightness(92%) contrast(95%); } .enabled:hover { filter: invert(41%) sepia(62%) saturate(7158%) hue-rotate(344deg) brightness(101%) contrast(108%); } .invertx { transform: scaleX(-1); }
17.8
67
0.657303
b17345c00a5dabf0002224d40fcc5582f1aed8ee
2,354
h
C
mainwindow.h
amitani/onlineMotionCorrection
f4201dbdd3845075ea379f49987a067acba929ea
[ "MIT" ]
3
2019-04-08T15:45:00.000Z
2020-01-02T06:14:05.000Z
mainwindow.h
amitani/onlineMotionCorrection
f4201dbdd3845075ea379f49987a067acba929ea
[ "MIT" ]
1
2020-02-21T01:40:00.000Z
2020-02-21T01:40:00.000Z
mainwindow.h
amitani/onlineMotionCorrection
f4201dbdd3845075ea379f49987a067acba929ea
[ "MIT" ]
1
2021-11-20T01:16:30.000Z
2021-11-20T01:16:30.000Z
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QSlider> #include <QSpinBox> #include <QCheckBox> #include <QTimer> #include <QCommandLineParser> #include <QGraphicsScene> #include <QGraphicsPixmapItem> #include <QThread> #include <QtTreePropertyBrowser> #include <vector> #include <deque> #include <motioncorrectionthread.h> #include "qtpropertymanager.h" #include "qteditorfactory.h" #include "qttreepropertybrowser.h" #include "movingaverage.h" #include <QImage> class QImageUpdateWorker:public QObject { Q_OBJECT Q_DISABLE_COPY(QImageUpdateWorker) public: explicit QImageUpdateWorker(QObject* parent = 0, MotionCorrectionWorker* mcw=NULL); ~QImageUpdateWorker(); public slots: void setLimits(int ch, int type, int value); void show(); signals: void updated(QImage raw, QImage corrected); private: MotionCorrectionWorker* mcw_; std::vector<std::vector<int>> channel_parameters; //channel_parameters[ch][type] type:0:min, 1:max, 2:enabled int last_frame_tag; QTimer* timer; }; namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); void putRawImage(QImage* im); void putCorrectedImage(QImage* im); public slots: void updated(QImage raw, QImage shifted); void updateParameters(); signals: void parametersUpdated(double factor, int margin_h, int margin_w, double sigma_smoothing, double sigma_normalization, double normalization_offset, int threshold, int replacement); private: Ui::MainWindow *ui; std::vector<QSlider*> minSliders; std::vector<QSlider*> maxSliders; std::vector<QSpinBox*> minSpinBoxes; std::vector<QSpinBox*> maxSpinBoxes; std::vector<QCheckBox*> checkBoxes; QGraphicsScene* graphicsSceneRaw; QGraphicsScene* graphicsSceneShifted; QGraphicsPixmapItem* pixmapItemRaw; QGraphicsPixmapItem* pixmapItemShifted; QtTreePropertyBrowser* propertyBrowser[2]; // 0=new, 1=current QtIntPropertyManager* intManager[2]; std::vector<QtProperty*> intProperties[2]; QThread* motion_correction_thread; QThread* qimage_update_thread; MotionCorrectionWorker* mcw; QImageUpdateWorker* qiuw; std::string logFileName; }; #endif // MAINWINDOW_H
25.042553
121
0.737043
546ca93cd5c498c75cf4c0cf2d6c6ef7d42118b9
3,619
go
Go
vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/elasticsearch/diagnose_instance.go
saqibali-2k/installer
170a59be823af62f760632b2611538b9022ec174
[ "Apache-2.0" ]
1,369
2018-06-08T15:15:34.000Z
2022-03-31T11:58:28.000Z
vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/elasticsearch/diagnose_instance.go
Montana/installer
9eade28a9ce4862a6ef092bc5f5fcfb499342d4d
[ "Apache-2.0" ]
5,738
2018-06-08T19:17:30.000Z
2022-03-31T23:54:17.000Z
vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/elasticsearch/diagnose_instance.go
Montana/installer
9eade28a9ce4862a6ef092bc5f5fcfb499342d4d
[ "Apache-2.0" ]
1,247
2018-06-08T17:05:33.000Z
2022-03-31T19:34:43.000Z
package elasticsearch //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. // // Code generated by Alibaba Cloud SDK Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. import ( "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" ) // DiagnoseInstance invokes the elasticsearch.DiagnoseInstance API synchronously func (client *Client) DiagnoseInstance(request *DiagnoseInstanceRequest) (response *DiagnoseInstanceResponse, err error) { response = CreateDiagnoseInstanceResponse() err = client.DoAction(request, response) return } // DiagnoseInstanceWithChan invokes the elasticsearch.DiagnoseInstance API asynchronously func (client *Client) DiagnoseInstanceWithChan(request *DiagnoseInstanceRequest) (<-chan *DiagnoseInstanceResponse, <-chan error) { responseChan := make(chan *DiagnoseInstanceResponse, 1) errChan := make(chan error, 1) err := client.AddAsyncTask(func() { defer close(responseChan) defer close(errChan) response, err := client.DiagnoseInstance(request) if err != nil { errChan <- err } else { responseChan <- response } }) if err != nil { errChan <- err close(responseChan) close(errChan) } return responseChan, errChan } // DiagnoseInstanceWithCallback invokes the elasticsearch.DiagnoseInstance API asynchronously func (client *Client) DiagnoseInstanceWithCallback(request *DiagnoseInstanceRequest, callback func(response *DiagnoseInstanceResponse, err error)) <-chan int { result := make(chan int, 1) err := client.AddAsyncTask(func() { var response *DiagnoseInstanceResponse var err error defer close(result) response, err = client.DiagnoseInstance(request) callback(response, err) result <- 1 }) if err != nil { defer close(result) callback(nil, err) result <- 0 } return result } // DiagnoseInstanceRequest is the request struct for api DiagnoseInstance type DiagnoseInstanceRequest struct { *requests.RoaRequest InstanceId string `position:"Path" name:"InstanceId"` ClientToken string `position:"Query" name:"ClientToken"` Lang string `position:"Query" name:"lang"` } // DiagnoseInstanceResponse is the response struct for api DiagnoseInstance type DiagnoseInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Result Result `json:"Result" xml:"Result"` } // CreateDiagnoseInstanceRequest creates a request to invoke DiagnoseInstance API func CreateDiagnoseInstanceRequest() (request *DiagnoseInstanceRequest) { request = &DiagnoseInstanceRequest{ RoaRequest: &requests.RoaRequest{}, } request.InitWithApiInfo("elasticsearch", "2017-06-13", "DiagnoseInstance", "/openapi/diagnosis/instances/[InstanceId]/actions/diagnose", "elasticsearch", "openAPI") request.Method = requests.POST return } // CreateDiagnoseInstanceResponse creates a response to parse from DiagnoseInstance response func CreateDiagnoseInstanceResponse() (response *DiagnoseInstanceResponse) { response = &DiagnoseInstanceResponse{ BaseResponse: &responses.BaseResponse{}, } return }
35.135922
165
0.772865
e831208fb6a7f6ba9d3c5b8d9bc964e15b35cf28
4,489
sql
SQL
db/fund.sql
yszhao2016/yii2study
ad7ac9c80c0fc92e71026e4b635373ca35733359
[ "BSD-3-Clause" ]
null
null
null
db/fund.sql
yszhao2016/yii2study
ad7ac9c80c0fc92e71026e4b635373ca35733359
[ "BSD-3-Clause" ]
null
null
null
db/fund.sql
yszhao2016/yii2study
ad7ac9c80c0fc92e71026e4b635373ca35733359
[ "BSD-3-Clause" ]
null
null
null
/* Navicat MySQL Data Transfer Source Server : 192.168.1.223 Source Server Version : 50718 Source Host : 192.168.1.223:3306 Source Database : hello Target Server Type : MYSQL Target Server Version : 50718 File Encoding : 65001 Date: 2017-11-02 11:26:55 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for fund_data -- ---------------------------- DROP TABLE IF EXISTS `fund_data`; CREATE TABLE `fund_data` ( `id` int(11) NOT NULL AUTO_INCREMENT, `num` varchar(11) CHARACTER SET utf8 NOT NULL, `data` float NOT NULL, `date` date NOT NULL, `update_time` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `num` (`num`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of fund_data -- ---------------------------- INSERT INTO `fund_data` VALUES ('1', '002196', '0', '2017-10-13', '0'); -- ---------------------------- -- Table structure for fund_daydata -- ---------------------------- DROP TABLE IF EXISTS `fund_daydata`; CREATE TABLE `fund_daydata` ( `id` int(11) NOT NULL AUTO_INCREMENT, `num` varchar(11) NOT NULL, `near_value` float(255,4) NOT NULL, `real_value` float(255,4) NOT NULL, `date` date NOT NULL, PRIMARY KEY (`id`), KEY `num` (`num`) ) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of fund_daydata -- ---------------------------- INSERT INTO `fund_daydata` VALUES ('71', '001557', '-0.6600', '0.0000', '2017-11-02'); INSERT INTO `fund_daydata` VALUES ('72', '001951', '-0.3400', '0.0000', '2017-11-02'); INSERT INTO `fund_daydata` VALUES ('73', '002196', '-0.3500', '0.0000', '2017-11-02'); INSERT INTO `fund_daydata` VALUES ('74', '110029', '-0.0500', '0.0000', '2017-11-02'); INSERT INTO `fund_daydata` VALUES ('75', '400011', '-0.3300', '0.0000', '2017-11-02'); INSERT INTO `fund_daydata` VALUES ('76', '690008', '0.1500', '0.0000', '2017-11-02'); -- ---------------------------- -- Table structure for fund_info -- ---------------------------- DROP TABLE IF EXISTS `fund_info`; CREATE TABLE `fund_info` ( `id` int(11) NOT NULL AUTO_INCREMENT, `num` varchar(11) NOT NULL, `name` varchar(255) NOT NULL, `manager` varchar(255) NOT NULL COMMENT '基金经理', `company` varchar(255) NOT NULL COMMENT '基金公司', `share` varchar(255) NOT NULL COMMENT '资产份额', `founddate` date NOT NULL COMMENT '创立日期', `status` tinyint(4) NOT NULL, `creat_time` datetime NOT NULL, PRIMARY KEY (`id`), KEY `num` (`num`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of fund_info -- ---------------------------- INSERT INTO `fund_info` VALUES ('1', '690008', '', '', '', '', '0000-00-00', '0', '2017-10-13 17:14:39'); INSERT INTO `fund_info` VALUES ('2', '001951', '', '', '', '', '0000-00-00', '0', '2017-10-13 17:14:43'); INSERT INTO `fund_info` VALUES ('3', '400011', '', '', '', '', '0000-00-00', '0', '2017-10-13 17:14:46'); INSERT INTO `fund_info` VALUES ('4', '002196', '', '', '', '', '0000-00-00', '0', '2017-10-13 17:14:48'); INSERT INTO `fund_info` VALUES ('5', '110029', '', '', '', '', '0000-00-00', '0', '2017-10-13 17:14:52'); INSERT INTO `fund_info` VALUES ('6', '001557', '', '', '', '', '0000-00-00', '0', '2017-10-13 17:14:55'); -- ---------------------------- -- Table structure for migration -- ---------------------------- DROP TABLE IF EXISTS `migration`; CREATE TABLE `migration` ( `version` varchar(180) NOT NULL, `apply_time` int(11) DEFAULT NULL, PRIMARY KEY (`version`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of migration -- ---------------------------- INSERT INTO `migration` VALUES ('m000000_000000_base', '1506593444'); INSERT INTO `migration` VALUES ('m170928_100700_create_status_table', '1506593831'); -- ---------------------------- -- Table structure for status -- ---------------------------- DROP TABLE IF EXISTS `status`; CREATE TABLE `status` ( `id` int(11) NOT NULL AUTO_INCREMENT, `message` text COLLATE utf8_unicode_ci NOT NULL, `permissions` smallint(6) NOT NULL DEFAULT '0', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Records of status -- ----------------------------
37.099174
106
0.551125
f06397887de51ca1b937877f4e3747298d7e6bce
424
js
JavaScript
build-script/asar_packing.js
tsuruclient/tsuru
fac1107b87eb33e49577d53f3a6aa7f3cca8722d
[ "MIT" ]
130
2017-12-14T04:07:41.000Z
2021-03-13T08:00:54.000Z
build-script/asar_packing.js
tsuruclient/tsuru
fac1107b87eb33e49577d53f3a6aa7f3cca8722d
[ "MIT" ]
61
2017-12-16T22:42:37.000Z
2018-11-20T11:38:37.000Z
build-script/asar_packing.js
tsuruclient/tsuru
fac1107b87eb33e49577d53f3a6aa7f3cca8722d
[ "MIT" ]
5
2018-01-09T06:43:08.000Z
2019-06-06T05:28:12.000Z
const files = require('./files'); const del = require('del'); const execSync = require('child_process').execSync; require('colors'); module.exports = (platform) => { console.log('Compressing to asar...'); const filepath = files.release_directory + files.app_dir[platform]; execSync('asar pack ' + filepath + ' ' + filepath + '.asar'); return del(files.release_directory + files.app_dir[platform] + '/'); };
35.333333
72
0.669811
f01c642b471bacb8d1490738afc0dbff441da874
12,810
js
JavaScript
yangguang/js/chunk-b685.0ad84124.js
lixin007/yangguang
ea2ff204f1450ff0dc17055299a4555f94e41100
[ "MIT" ]
1
2018-12-05T01:01:11.000Z
2018-12-05T01:01:11.000Z
yangguang/js/chunk-b685.0ad84124.js
lixin007/yangguang
ea2ff204f1450ff0dc17055299a4555f94e41100
[ "MIT" ]
null
null
null
yangguang/js/chunk-b685.0ad84124.js
lixin007/yangguang
ea2ff204f1450ff0dc17055299a4555f94e41100
[ "MIT" ]
2
2018-12-05T02:34:14.000Z
2018-12-22T15:52:04.000Z
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b685"],{3155:function(t,e,i){},"6c74":function(t,e,i){"use strict";var s=i("e523"),n=i.n(s);n.a},cc95:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",[i("div",{staticClass:"search-con search-con-top"},[i("Select",{staticClass:"search-col",attrs:{placeholder:"请选择搜索字段",clearable:""},on:{"on-clear":t.searchKeyChange,"on-change":t.searchKeyChange},model:{value:t.searchKey,callback:function(e){t.searchKey=e},expression:"searchKey"}},t._l([{key:"is_type",title:"类型"},{key:"is_title",title:"标题"}],function(e){return i("Option",{key:"search-col-"+e.key,attrs:{value:e.key}},[t._v(t._s(e.title))])})),"is_type"===t.searchKey?i("Select",{staticClass:"search-col",attrs:{placeholder:"请选择类型",clearable:""},on:{"on-clear":t.searchKeyChange,"on-change":t.searchKeyChange},model:{value:t.is_type,callback:function(e){t.is_type=e},expression:"is_type"}},t._l(t.isTypeArr,function(e){return i("Option",{key:"search-col-"+e.key,attrs:{value:e.key}},[t._v(t._s(e.title))])})):t._e(),"is_title"===t.searchKey?i("Input",{staticClass:"search-input",attrs:{clearable:"",placeholder:"输入标题关键字搜索"},model:{value:t.is_title,callback:function(e){t.is_title=e},expression:"is_title"}}):t._e(),i("Button",{staticClass:"search-btn",attrs:{type:"primary"},on:{click:t.getDataList}},[i("Icon",{attrs:{type:"search"}}),t._v("搜索")],1),t._l(t.permissionBtns,function(e){return 203===e.p_id?i("Button",{staticClass:"add-btn",attrs:{type:"primary"},on:{click:t.handleAdd}},[t._v(t._s(e.p_name))]):t._e()})],2),i("Table",{ref:"tablesMain",attrs:{data:t.tableData,columns:t.columns}}),i("Page",{staticClass:"page",attrs:{total:t.total,"page-size":t.pageSize,"show-sizer":"","show-elevator":"","prev-text":"上一页","next-text":"下一页"},on:{"on-change":t.pageOnChange,"on-page-size-change":t.onPageSizeChange}})],1),i("Modal",{attrs:{width:"800","mask-closable":!1},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("p",{staticStyle:{color:"#2d8cf0"},attrs:{slot:"header"},slot:"header"},[i("span",[t._v(t._s(t.modalTitle))])]),i("Form",[i("FormItem",[i("label",[t._v("制度类型:")]),i("Input",{attrs:{readonly:t.isView,placeholder:"请选择制度类型"},model:{value:t.isType,callback:function(e){t.isType=e},expression:"isType"}})],1),i("FormItem",[i("label",[t._v("制度标题:")]),i("Input",{attrs:{readonly:t.isView,placeholder:"请输入制度标题"},model:{value:t.isTitle,callback:function(e){t.isTitle=e},expression:"isTitle"}})],1),t.isEdit||!t.isView&&!t.isEdit?i("FormItem",[i("label",[t._v("内容:")]),i("quill-editor",{ref:"myQuillEditor",attrs:{options:t.editorOptions},model:{value:t.isContent,callback:function(e){t.isContent=e},expression:"isContent"}})],1):t._e(),t.isView?i("FormItem",[i("label",[t._v("内容:")]),i("div",{staticStyle:{border:"1px solid #dfdfdf",padding:"5px","margin-bottom":"10px","border-radius":"5px"},domProps:{innerHTML:t._s(t.isContent)}})]):t._e()],1),t.isView&&!t.isEdit?i("label",[t._v("附件:")]):t._e(),i("Upload",{attrs:{action:"http://47.106.109.254:8090/m/documentFile/uploadDocument.do",headers:t.header,multiple:"",name:"document",data:{dfNo:t.editId,dfType:"institution_system"},"on-success":t.handleSuccess,"on-remove":t.handleRemove,"on-preview":t.showPreview,"before-upload":t.handleBeforeUpload,"on-format-error":t.handleFormatError,"default-file-list":t.fileList}},[!t.isView&&t.isEdit?i("Button",{attrs:{id:"upLoadImg",icon:"ios-cloud-upload-outline"}},[t._v("附件上传")]):t._e()],1),i("div",{attrs:{slot:"footer"},slot:"footer"},[t.isView||t.isEdit?t._e():i("Button",{attrs:{type:"info",size:"large"},on:{click:t.addEntity}},[t._v("保存")]),t.isEdit?i("Button",{attrs:{type:"info",size:"large"},on:{click:t.editEntity}},[t._v("修改")]):t._e()],1)],1)],1)},n=[],a=(i("ac4d"),i("8a81"),i("ac6a"),i("ebad")),o=i("66df"),l=i("c276"),r=(i("3155"),i("88ec")),d={name:"meeting_page",components:{QuillEditor:a["a"]},data:function(){var t=this;return{is_type:"",is_title:"",fileList:[],columns:[{title:"序号",align:"center",key:"is_id",sortable:!0},{title:"制度类型",align:"center",key:"is_type"},{title:"制度标题",align:"center",key:"is_title"},{title:"操作",key:"handle",align:"center",render:function(e,i){for(var s=[],n=0;n<t.handleBtns.length;n++){t.handleBtns[n];204===t.handleBtns[n].p_id?s.push(e("Button",{props:{type:"primary",size:"small",disabled:5===i.row.data_level},style:{margin:"2px"},on:{click:function(){t.showOneEntity(i.row.is_id),t.showModal=!0,t.modalTitle="编辑",t.isView=!1,t.isEdit=!0,t.editId=i.row.is_id}}},"编辑")):205===t.handleBtns[n].p_id?s.push(e("Button",{props:{type:"info",size:"small"},style:{margin:"2px"},on:{click:function(){t.showOneEntity(i.row.is_id),t.showModal=!0,t.modalTitle="查看",t.isView=!0,t.isEdit=!1}}},"查看")):206===t.handleBtns[n].p_id?s.push(e("Button",{props:{type:"error",size:"small",disabled:5===i.row.data_level},style:{margin:"2px"},on:{click:function(){t.deleteEntity(i.row.is_id)}}},"删除")):207===t.handleBtns[n].p_id&&s.push(e("Button",{props:{type:"warning",size:"small",disabled:1===i.row.data_level},style:{margin:"2px"},on:{click:function(){t.restoreEntity(i.row.is_id)}}},"恢复"))}return e("div",s)}}],tableData:[],searchValue:"",searchKey:"",showModal:!1,modalTitle:"添加",isType:"",isTitle:"",isContent:"",header:{},quill:null,editorOptions:{placeholder:"请输入内容…",modules:{toolbar:{container:[["bold","italic","underline","strike","image","clean"],[{header:1},{header:2}],[{color:[]},{background:[]}],[{align:[]}]],handlers:{image:function(t){t?(console.log(t),document.querySelector("#upLoadImg").click()):this.quill.format("image",!1)}}}}},meUsers:[],subDepartUsers:[],permissionBtns:[],handleBtns:[],isView:!1,isEdit:!1,total:0,pageNum:1,pageSize:20,getListPath:"",showOnePath:"",editId:"",addOnePath:"",deleteOnePath:"",restoreOnePath:"",isTypeArr:[]}},methods:{handleAdd:function(){this.showModal=!0,this.isView=!1,this.isEdit=!1,this.modalTitle="添加"},getDataList:function(){var t=this;o["a"].request({url:t.getListPath,data:{pageNum:t.pageNum,pageSize:t.pageSize,isType:t.is_type,isTitle:t.is_title},method:"post"}).then(function(e){if(200===e.status){t.tableData=[];for(var i=0;i<e.data.content.list.length;i++)t.tableData.push(e.data.content.list[i])}else t.$Notice.error({title:e.data.msg})})},addEntity:function(){var t=this;o["a"].request({url:t.addOnePath,data:{isType:t.isType,isTitle:t.isTitle,isContent:t.isContent},method:"post"}).then(function(e){200===e.data.code?(t.getDataList(),t.showModal=!1,t.$Notice.success({title:"添加成功"})):t.$Notice.error({title:e.data.msg})})},editEntity:function(){var t=this;o["a"].request({url:"admin/adm/meeting/editEntity.do",data:{isId:t.editId,isType:t.isType,isTitle:t.isTitle,isContent:t.isContent},method:"post"}).then(function(e){200===e.data.code?(t.getDataList(),t.showModal=!1,t.$Notice.success({title:"编辑成功"})):t.$Notice.error({title:e.data.msg})})},showOneEntity:function(t){var e=this;o["a"].request({url:e.showOnePath,data:{entityId:t},method:"post"}).then(function(t){for(var i in console.log(t),e.isType=t.data.content.is_type,e.isTitle=t.data.content.is_title,e.isContent=t.data.content.is_content,e.fileList=[],t.data.content.files)e.fileList.push({id:t.data.content.files[i].df_id,name:t.data.content.files[i].df_name,url:"http://47.106.109.254:8090/"+t.data.content.files[i].df_url})})},deleteEntity:function(t){var e=this;isView?e.$Notice.warning({title:"查看中不允许删除"}):this.$Modal.confirm({title:"提示",content:"确认删除?",onOk:function(){o["a"].request({url:e.deleteOnePath,data:{entityId:t},method:"post"}).then(function(t){200===t.data.code?(e.getDataList(),e.$Notice.success({title:"删除成功"})):e.$Notice.error({title:t.data.msg})})}})},restoreEntity:function(t){var e=this;e.$Modal.confirm({title:"提示",content:"确认恢复?",onOk:function(){o["a"].request({url:e.restoreOnePath,data:{entityId:t},method:"post"}).then(function(t){200===t.data.code?(e.getDataList(),e.$Notice.success({title:"恢复成功"})):e.$Notice.error({title:t.data.msg})})}})},handleSuccess:function(t,e){this.$Spin.hide(),this.$Notice.success({title:"附件上传成功"})},handleRemove:function(t,e){console.log(t);var i=this;i.isView?i.$Notice.Warring({title:"查看中不允许删除"}):o["a"].request({url:"m/documentFile/removeDocument.do",method:"post",data:{documentId:t.id}}).then(function(t){200===t.data.code?i.$Notice.success({title:"删除成功"}):i.$Notice.error({title:t.data.msg})})},showPreview:function(t){window.open(t.url)},handleFormatError:function(){this.$Spin.hide()},handleBeforeUpload:function(){this.$Spin.show({render:function(t){return t("div",[t("Icon",{class:"demo-spin-icon-load",props:{type:"ios-loading",size:18}}),t("div","upLoading")])}})},getSubDepartUsers:function(){var t=this;o["a"].request({url:"m/getSubDepartUsers.do",method:"post"}).then(function(e){for(var i in e.data.content)t.subDepartUsers.push({label:e.data.content[i].username,value:e.data.content[i].id})})},pageOnChange:function(t){this.pageNum=t,this.getDataList()},onPageSizeChange:function(t){this.pageNum=1,this.pageSize=t,this.getDataList()},searchKeyChange:function(){this.me_title="",this.me_name=""},getPermissionBtns:function(){this.permissionBtns=[];var t=!0,e=!1,i=void 0;try{for(var s,n=r["a"].permission[Symbol.iterator]();!(t=(s=n.next()).done);t=!0){var a=s.value;a.p_fid===this.$route.meta.id&&(this.permissionBtns.push(a),202===a.p_id&&(this.getListPath=a.p_path),203===a.p_id&&(this.addOnePath=a.p_path),205===a.p_id&&(this.showOnePath=a.p_path),206===a.p_id&&(this.deleteOnePath=a.p_path),207===a.p_id&&(this.restoreOnePath=a.p_path),204!==a.p_id&&205!==a.p_id&&206!==a.p_id&&207!==a.p_id||this.handleBtns.push(a))}}catch(t){e=!0,i=t}finally{try{t||null==n.return||n.return()}finally{if(e)throw i}}},checkNormal:function(){var t="http://47.106.109.254:8090/file/documents/institution_system/1/服务资料泄密应对机制.pdf";window.open(t)},attachmentUpload:function(){}},mounted:function(){this.getPermissionBtns(),this.getDataList(),this.header={authorization:Object(l["i"])()},this.quill=this.$refs.myQuillEditor.quill,this.getSubDepartUsers()},watch:{showModal:function(t){t||(this.isType="",this.isTitle="",this.isContent="",this.fileList=[],this.isEdit=!1,this.isView=!1)}}},c=d,h=(i("6c74"),i("2877")),u=Object(h["a"])(c,s,n,!1,null,null,null);u.options.__file="institutionSystem.vue";e["default"]=u.exports},e523:function(t,e,i){},ebad:function(t,e,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"quill-editor"},[t._t("toolbar"),i("div",{ref:"editor"})],2)},n=[],a=i("9339"),o=i.n(a),l={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert text here ...",readOnly:!1};const r=window.Quill||o.a;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");const i=Object(t);for(let s=1;s<arguments.length;s++){const t=arguments[s];if(null!=t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])}return i},writable:!0,configurable:!0});var d={name:"quill-editor",data(){return{_options:{},_content:"",defaultOptions:l}},props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})},globalOptions:{type:Object,required:!1,default:()=>({})}},mounted(){this.initialize()},beforeDestroy(){this.quill=null,delete this.quill},methods:{initialize(){this.$el&&(this._options=Object.assign({},this.defaultOptions,this.globalOptions,this.options),this.quill=new r(this.$refs.editor,this._options),this.quill.enable(!1),(this.value||this.content)&&this.quill.pasteHTML(this.value||this.content),this.disabled||this.quill.enable(!0),this.quill.on("selection-change",t=>{t?this.$emit("focus",this.quill):this.$emit("blur",this.quill)}),this.quill.on("text-change",(t,e,i)=>{let s=this.$refs.editor.children[0].innerHTML;const n=this.quill,a=this.quill.getText();"<p><br></p>"===s&&(s=""),this._content=s,this.$emit("input",this._content),this.$emit("change",{html:s,text:a,quill:n})}),this.$emit("ready",this.quill))}},watch:{content(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},value(t,e){this.quill&&(t&&t!==this._content?(this._content=t,this.quill.pasteHTML(t)):t||this.quill.setText(""))},disabled(t,e){this.quill&&this.quill.enable(!t)}}},c=d,h=i("2877"),u=Object(h["a"])(c,s,n,!1,null,null,null);u.options.__file="editor.vue";e["a"]=u.exports}}]);
12,810
12,810
0.697814
c34cf1e481ade606fb27086f2fb4f10f8df75319
1,843
go
Go
vendor/github.com/openebs/maya/pkg/cstor/volumereplica/v1alpha1/utils.go
shovanmaity/dynamic-localpv-provisioner
e0dd3f0ad7b6d44fcb51a2df9b5cdd564c70ab95
[ "Apache-2.0" ]
194
2016-11-25T10:09:02.000Z
2022-02-21T21:05:02.000Z
vendor/github.com/openebs/maya/pkg/cstor/volumereplica/v1alpha1/utils.go
shovanmaity/dynamic-localpv-provisioner
e0dd3f0ad7b6d44fcb51a2df9b5cdd564c70ab95
[ "Apache-2.0" ]
1,239
2016-11-18T04:28:01.000Z
2021-09-15T14:24:36.000Z
vendor/github.com/openebs/maya/pkg/cstor/volumereplica/v1alpha1/utils.go
shovanmaity/dynamic-localpv-provisioner
e0dd3f0ad7b6d44fcb51a2df9b5cdd564c70ab95
[ "Apache-2.0" ]
331
2016-12-14T09:30:27.000Z
2021-12-31T11:45:43.000Z
/* Copyright 2019 The OpenEBS Authors 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. */ package v1alpha1 import ( apis "github.com/openebs/maya/pkg/apis/openebs.io/v1alpha1" errors "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // GetCVRList returns list of volume replicas related to provided volume func GetCVRList(pvName, namespace string) (*apis.CStorVolumeReplicaList, error) { pvLabel := string(apis.PersistentVolumeCPK) + "=" + pvName return NewKubeclient(WithNamespace(namespace)). List(metav1.ListOptions{ LabelSelector: pvLabel, }) } // GetPoolNames returns list of pool names from cStor volume replcia list func GetPoolNames(cvrList *apis.CStorVolumeReplicaList) []string { poolNames := []string{} for _, cvrObj := range cvrList.Items { poolNames = append(poolNames, cvrObj.Labels[string(apis.CStorpoolInstanceLabel)]) } return poolNames } // GetVolumeReplicaPoolNames return list of replicas pool names by taking pvName // and namespace(where pool is installed) as a input and return error(if any error occured) func GetVolumeReplicaPoolNames(pvName, namespace string) ([]string, error) { cvrList, err := GetCVRList(pvName, namespace) if err != nil { return []string{}, errors.Wrapf(err, "failed to list cStorVolumeReplicas related to volume %s", pvName) } return GetPoolNames(cvrList), nil }
34.12963
91
0.76777
9b8130ec7bbd6d54a856fb8a737b598dbe7ea5b8
2,516
swift
Swift
Demos/SharedSource/PublicationListViewController.swift
fabrizioCorut/shopgun-ios-sdk
491162c827644ecfdb496b9de41360cbdc37ff2e
[ "MIT" ]
4
2017-05-09T09:39:08.000Z
2019-11-28T04:40:38.000Z
Demos/SharedSource/PublicationListViewController.swift
fabrizioCorut/shopgun-ios-sdk
491162c827644ecfdb496b9de41360cbdc37ff2e
[ "MIT" ]
7
2018-03-05T17:28:45.000Z
2021-12-13T15:14:28.000Z
Demos/SharedSource/PublicationListViewController.swift
fabrizioCorut/shopgun-ios-sdk
491162c827644ecfdb496b9de41360cbdc37ff2e
[ "MIT" ]
4
2016-02-03T06:44:49.000Z
2021-09-23T10:55:59.000Z
// // ┌────┬─┐ ┌─────┐ // │ ──┤ └─┬───┬───┤ ┌──┼─┬─┬───┐ // ├── │ ╷ │ · │ · │ ╵ │ ╵ │ ╷ │ // └────┴─┴─┴───┤ ┌─┴─────┴───┴─┴─┘ // └─┘ // // Copyright (c) 2019 ShopGun. All rights reserved. import ShopGunSDK import Incito import CoreLocation class PublicationListViewController: UIViewController { var contentVC: UIViewController? = nil { didSet { self.cycleFromViewController( oldViewController: oldValue, toViewController: contentVC ) } } override func viewDidLoad() { super.viewDidLoad() self.title = "ShopGunSDK Demo" // Show the loading spinner self.contentVC = LoadingViewController() // Build the request we wish to send to the coreAPI let location = CoreAPI.Requests.LocationQuery(coordinate: CLLocationCoordinate2D(latitude:55.631090, longitude: 12.577236), radius: nil) let publicationReq = CoreAPI.Requests.getPublications(near: location, sortedBy: .newestPublished) // Perform the request CoreAPI.shared.request(publicationReq) { [weak self] result in // Show different contents depending upon the result of the request switch result { case let .success(publications): self?.contentVC = PublicationListContentsViewController( publications: publications, shouldOpenIncito: { [weak self] in self?.openIncito(for: $0) }, shouldOpenPagedPub: { [weak self] in self?.openPagedPub(for: $0) } ) case let .failure(error): self?.contentVC = ErrorViewController(error: error) } } } func openIncito(for publication: CoreAPI.PagedPublication) { // Create an instance of `IncitoLoaderViewController` let incitoVC = DemoIncitoViewController() incitoVC.load(publication: publication) self.navigationController?.pushViewController(incitoVC, animated: true) } func openPagedPub(for publication: CoreAPI.PagedPublication) { // Create a view controller containing a `PagedPublicationView` let pagedPubVC = DemoPagedPublicationViewController() pagedPubVC.load(publication: publication) self.navigationController?.pushViewController(pagedPubVC, animated: true) } }
34
144
0.581876
be9c86117e2bee0b2ff8397846e5c55bde8f50a0
3,730
lua
Lua
Data/Scripts/Bezier.lua
Core-Team-META/CC-Cinematic-Shot
94f66c69c1a9781893de368dc9ced0c70a81544a
[ "Apache-2.0" ]
null
null
null
Data/Scripts/Bezier.lua
Core-Team-META/CC-Cinematic-Shot
94f66c69c1a9781893de368dc9ced0c70a81544a
[ "Apache-2.0" ]
null
null
null
Data/Scripts/Bezier.lua
Core-Team-META/CC-Cinematic-Shot
94f66c69c1a9781893de368dc9ced0c70a81544a
[ "Apache-2.0" ]
null
null
null
-- Bezier.lua -- An instancable class allowing for a curve to be created and drawn in relation to X number of reference points -- Created by Nicholas Foreman (https://www.coregames.com/user/f9df3457225741c89209f6d484d0eba8) local BezierPointTemplate = script:GetCustomProperty("BezierPoint") local BezierSegmentTemplate = script:GetCustomProperty("BezierSegment") local Module = {} local function lerp(a, b, c) return a + (b - a) * c end function Module.New(references, numberOfSegments) local self = setmetatable({}, {__index = Module}) self._object = true self:Calculate(references, numberOfSegments) return self end function Module.ClearChildren(parent) for _, child in pairs(parent:GetChildren()) do child:Destroy() end end function Module:Calculate(references, numberOfSegments) self.numberOfSegments = numberOfSegments self.references = references self.sum, self.standardPositions, self.sums = self:GetStandardPositions() self.percentPositions = self:GetPercentPositions() end function Module:GetReferencesPositions() assert(self._object, "Must be an object") local positions = {} for _, point in ipairs(self.references:GetChildren()) do table.insert(positions, point:GetWorldPosition()) end return positions end function Module:GetStandardPositions() assert(self._object, "Must be an object") local referencePositions = self:GetReferencesPositions() local sum, ranges, sums = 0, {}, {} for number = 0, self.numberOfSegments do local percent = (number / self.numberOfSegments) local nextPercent = ((number + 1) / self.numberOfSegments) local position1 = self:GetPosition(percent, referencePositions) local position2 = self:GetPosition(nextPercent, referencePositions) local distance = (position2 - position1).size ranges[sum] = {distance, position1, position2} table.insert(sums, sum) sum = sum + distance end return sum, ranges, sums end function Module:GetPercentPositions() assert(self._object, "Must be an object") local sum, standardPositions, sums = self.sum, self.standardPositions, self.sums local percentPositions = {} for number = 0, self.numberOfSegments - 1 do local t = number / self.numberOfSegments local T, near = t * sum, 0 for _, n in next, sums do if (T - n) < 0 then break end near = n end local set = standardPositions[near] local percent = (T - near)/set[1] table.insert(percentPositions, set[2] + (set[3] - set[2]) * percent) end return percentPositions end function Module:GetPosition(percent, points) assert(self._object, "Must be an object") local obtainedPoints = {} for index = 1, (#points - 1) do local point1, point2 = points[index], points[index + 1] local obtainedPoint = lerp(point1, point2, percent) table.insert(obtainedPoints, obtainedPoint) end local point if(#obtainedPoints == 2) then point = lerp(obtainedPoints[1], obtainedPoints[2], percent) else point = self:GetPosition(percent, obtainedPoints) end return point end function Module:DrawPoints(parent) assert(self._object, "Must be an object") Module.ClearChildren(parent) for index, position in pairs(self.standardPositions) do local pointToDraw = World.SpawnAsset(BezierPointTemplate, {parent = parent}) pointToDraw:SetWorldPosition(position[2]) pointToDraw.name = tostring(CoreMath.Round(index / self.sum, 2)) end end function Module:DrawPointsPercent(parent) assert(self._object, "Must be an object") Module.ClearChildren(parent) for index, position in pairs(self.percentPositions) do local pointToDraw = World.SpawnAsset(BezierPointTemplate, {parent = parent}) pointToDraw:SetWorldPosition(position) pointToDraw.name = tostring(index / #self.percentPositions) end end return Module
26.834532
112
0.753083
d769e947a9f16ddce00b9d8507d9680f21fd79cf
365
asm
Assembly
s1/sfx-original/SndC8 - Burning.asm
Cancer52/flamedriver
9ee6cf02c137dcd63e85a559907284283421e7ba
[ "0BSD" ]
9
2017-10-09T20:28:45.000Z
2021-06-29T21:19:20.000Z
s1/sfx-original/SndC8 - Burning.asm
Cancer52/flamedriver
9ee6cf02c137dcd63e85a559907284283421e7ba
[ "0BSD" ]
12
2018-08-01T13:52:20.000Z
2022-02-21T02:19:37.000Z
s1/sfx-original/SndC8 - Burning.asm
Cancer52/flamedriver
9ee6cf02c137dcd63e85a559907284283421e7ba
[ "0BSD" ]
2
2018-02-17T19:50:36.000Z
2019-10-30T19:28:06.000Z
SndC8_Burning_Header: smpsHeaderStartSong 1 smpsHeaderVoice SndC8_Burning_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cPSG3, SndC8_Burning_PSG3, $00, $00 ; PSG3 Data SndC8_Burning_PSG3: smpsPSGvoice $00 smpsPSGform $E7 dc.b nD3, $25 smpsStop ; Song seems to not use any FM voices SndC8_Burning_Voices:
20.277778
57
0.761644
bb5774f1d05e5ac5b23ca286f80ff82fb755c54f
101
html
HTML
Genres.html
qjack001/FilmRPG
197efaf60dbbc55b13cbadc6635e03dcf377ad61
[ "MIT" ]
null
null
null
Genres.html
qjack001/FilmRPG
197efaf60dbbc55b13cbadc6635e03dcf377ad61
[ "MIT" ]
2
2020-11-19T09:25:11.000Z
2021-06-15T04:10:05.000Z
Genres.html
GoodbyteCo/Silverscreen
197efaf60dbbc55b13cbadc6635e03dcf377ad61
[ "MIT" ]
2
2019-07-11T17:21:25.000Z
2019-07-11T17:56:17.000Z
--- layout: error error: Genre Modules message: Coming Soon! permalink: /Genres/ image: soon.png ---
12.625
21
0.712871
50ed9e55d5423b5e369bf4036fa7b2bc1d83e17c
995
go
Go
ftdc/events/custom_test.go
deciduosity/birch
5fd0f6ed18904116241402da2da5ec72aefd10b2
[ "Apache-2.0" ]
null
null
null
ftdc/events/custom_test.go
deciduosity/birch
5fd0f6ed18904116241402da2da5ec72aefd10b2
[ "Apache-2.0" ]
null
null
null
ftdc/events/custom_test.go
deciduosity/birch
5fd0f6ed18904116241402da2da5ec72aefd10b2
[ "Apache-2.0" ]
null
null
null
package events import ( "testing" "github.com/stretchr/testify/assert" ) func TestRollupRoundTrip(t *testing.T) { data := MakeCustom(4) assert.NoError(t, data.Add("a", 1.2)) assert.NoError(t, data.Add("f", 100)) assert.NoError(t, data.Add("b", 45.0)) assert.NoError(t, data.Add("d", []int64{45, 32})) assert.Error(t, data.Add("foo", Custom{})) assert.Len(t, data, 4) t.Run("NewBSON", func(t *testing.T) { payload, err := data.MarshalBSON() if err != nil { t.Fatal(err) } rt := Custom{} err = rt.UnmarshalBSON(payload) if err != nil { t.Fatal(err) } if len(rt) != 4 { t.Fatalf("lengths of %d and %d are not expected", len(rt), 4) } assert.Equal(t, "a", rt[0].Name) assert.Equal(t, "b", rt[1].Name) assert.Equal(t, "d", rt[2].Name) assert.Equal(t, "f", rt[3].Name) assert.Equal(t, 1.2, rt[0].Value) assert.Equal(t, 45.0, rt[1].Value) if 100 != rt[3].Value.(int32) { t.Fatalf("values are not equal %v and %v", 100, rt[3].Value) } }) }
22.613636
64
0.60201
6d00c97df6457cd670efbf57968faee7f9667864
1,822
swift
Swift
JongHelper/JongHelper/Solver/Mentu/Solver_Kotsu.swift
jphacks/SD_1702
aaa533930e2d1c3836e80382b3ea51ec90a6b177
[ "MIT" ]
13
2017-11-01T20:15:18.000Z
2022-01-15T18:11:33.000Z
JongHelper/JongHelper/Solver/Mentu/Solver_Kotsu.swift
jphacks/SD_1702
aaa533930e2d1c3836e80382b3ea51ec90a6b177
[ "MIT" ]
null
null
null
JongHelper/JongHelper/Solver/Mentu/Solver_Kotsu.swift
jphacks/SD_1702
aaa533930e2d1c3836e80382b3ea51ec90a6b177
[ "MIT" ]
6
2017-10-27T14:58:02.000Z
2021-08-11T13:58:41.000Z
// // Kotu.swift // // // Created by oike toshiyuki on 2017/10/17. // import Foundation class Kotu: Mentu, Equatable, Comparable{ var isOpen = false var isMentu = false //順子はどっかしら決めて持っとく var identifierTile: Tile init() { self.identifierTile = Tile.null self.isOpen = false self.isMentu = false } init(isOpen: Bool, identifierTile: Tile) { self.identifierTile = identifierTile self.isOpen = isOpen self.isMentu = true } init(isOpen: Bool, tile1: Tile, tile2: Tile, tile3: Tile) { self.isOpen = isOpen self.isMentu = Kotu.check(tile1: tile1, tile2: tile2, tile3: tile3) if (self.isMentu) { identifierTile = tile1 } else { identifierTile = Tile(rawValue: -1)! } } class func check(tile1: Tile, tile2: Tile, tile3: Tile) -> Bool { return tile1 == tile2 && tile2 == tile3 } func getFu() -> Int { var mentuFu = 2 if (!isOpen) { mentuFu *= 2 } if (identifierTile.isYaochu()) { mentuFu *= 2 } return mentuFu } static func <(lhs: Kotu, rhs: Kotu) -> Bool { if Int(lhs.identifierTile.rawValue) < Int(rhs.identifierTile.rawValue) { return true } return false } static func ==(lhs: Kotu, rhs: Kotu) -> Bool { return (lhs.isOpen == rhs.isOpen) && (lhs.isMentu == rhs.isMentu) && (lhs.identifierTile == rhs.identifierTile) } func hashCode() -> Int { var result: Int = identifierTile.getCode() != -1 ? identifierTile.hashValue : 0 result = 31 * result + (isMentu ? 1 : 0) result = 31 * result + (isOpen ? 1 : 0) return result } }
24.621622
119
0.537322
162a498c495704c9f6254844069fe0875e8d02a8
1,196
h
C
src/identifier.h
cmorganl/pyfastx
439de6932b9c7a91218589df723e5e197c6ed73b
[ "MIT" ]
null
null
null
src/identifier.h
cmorganl/pyfastx
439de6932b9c7a91218589df723e5e197c6ed73b
[ "MIT" ]
null
null
null
src/identifier.h
cmorganl/pyfastx
439de6932b9c7a91218589df723e5e197c6ed73b
[ "MIT" ]
null
null
null
#ifndef PYFASTX_IDENTIFIER_H #define PYFASTX_IDENTIFIER_H #include "Python.h" #include <stdint.h> #include "sqlite3.h" typedef struct { PyObject_HEAD //index for fast random access to sequence sqlite3* index_db; //sqlite3 handle sqlite3_stmt *stmt; //sequence counts uint32_t seq_counts; //file format 1: fasta, 2: fastq //uint16_t format; //sort by 0: id, 1: name, 2: length uint16_t sort; //oder 0: asc, 1: desc uint16_t order; //need to update results uint8_t update; //filter string char *temp_filter; char *filter; } pyfastx_Identifier; extern PyTypeObject pyfastx_IdentifierType; PyObject *pyfastx_identifier_new(PyTypeObject *type, PyObject *args, PyObject *kwargs); PyObject *pyfastx_identifier_sort(pyfastx_Identifier *self, PyObject *args, PyObject *kwargs); PyObject *pyfastx_identifier_iter(pyfastx_Identifier *self); PyObject *pyfastx_identifier_next(pyfastx_Identifier *self); int pyfastx_identifier_length(pyfastx_Identifier *self); PyObject *pyfastx_identifier_repr(pyfastx_Identifier *self); PyObject *pyfastx_identifier_item(pyfastx_Identifier *self, Py_ssize_t i); int pyfastx_identifier_contains(pyfastx_Identifier *self, PyObject *key); #endif
24.408163
94
0.790134
31f4b89c1edfb1fe43c78e27fa5383911eddb943
71
sql
SQL
core/repositories/src/main/resources/db/users/V13_1__alter_entityav_boolean_table_add_auditable_column.sql
paser4se/grivet
254edc29d0484c5ff0762892f9fe365192f65349
[ "Apache-2.0" ]
4
2017-01-22T16:25:10.000Z
2021-06-03T12:41:11.000Z
core/repositories/src/main/resources/db/users/V13_1__alter_entityav_boolean_table_add_auditable_column.sql
paser4se/grivet
254edc29d0484c5ff0762892f9fe365192f65349
[ "Apache-2.0" ]
29
2015-11-17T06:57:04.000Z
2020-07-08T09:39:22.000Z
core/repositories/src/main/resources/db/users/V13_1__alter_entityav_boolean_table_add_auditable_column.sql
paser4se/grivet
254edc29d0484c5ff0762892f9fe365192f65349
[ "Apache-2.0" ]
4
2017-01-22T16:25:13.000Z
2020-07-08T09:34:23.000Z
ALTER TABLE entityav_boolean ADD created_by VARCHAR(100) DEFAULT NULL;
35.5
70
0.84507
856b9120b9c44367dfbf6a4928f96c624eff8d3e
360
js
JavaScript
src/state/actions/todos.js
ikas/mini-todo-list
4b435a8b23017822d7a05dd69492ee934523afb8
[ "MIT" ]
2
2019-08-27T11:23:11.000Z
2019-09-24T10:26:22.000Z
src/state/actions/todos.js
ikas/mini-todo-list
4b435a8b23017822d7a05dd69492ee934523afb8
[ "MIT" ]
7
2019-06-17T17:37:50.000Z
2022-02-26T11:53:05.000Z
src/state/actions/todos.js
ikas/mini-todo-list
4b435a8b23017822d7a05dd69492ee934523afb8
[ "MIT" ]
null
null
null
import * as types from '../types' export function createTodo(todo) { return dispatch => dispatch({ type: types.TODOS_CREATE, todo, }) } export function toggleDoneStatus(id) { return dispatch => dispatch({ type: types.TODOS_TOGGLE_DONE, id }) } export function deleteTodo(id) { return dispatch => dispatch({ type: types.TODOS_DELETE, id }) }
21.176471
68
0.694444
1b7d7494aeac65f9b6d2441b2a6c78d896e113f5
30,645
sql
SQL
application/sql/install.sql
Assem/PMS
416219681faa81e1763fd329c76dbd53f2cf73df
[ "MIT" ]
null
null
null
application/sql/install.sql
Assem/PMS
416219681faa81e1763fd329c76dbd53f2cf73df
[ "MIT" ]
null
null
null
application/sql/install.sql
Assem/PMS
416219681faa81e1763fd329c76dbd53f2cf73df
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.0.10.14 -- http://www.phpmyadmin.net -- -- Client: localhost:3306 -- Généré le: Ven 28 Octobre 2016 à 12:41 -- Version du serveur: 5.5.52-cll-lve -- Version de PHP: 5.6.20 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de données: `yessir15_pms` -- -- -------------------------------------------------------- -- -- Structure de la table `answers` -- CREATE TABLE IF NOT EXISTS `answers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `description` varchar(255) NOT NULL, `value` int(2) DEFAULT NULL, `order` int(3) NOT NULL, `id_question` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `fk_answers_question_idx` (`id_question`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=37 ; -- -------------------------------------------------------- -- -- Structure de la table `ci_sessions` -- CREATE TABLE IF NOT EXISTS `ci_sessions` ( `ai` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `id` varchar(40) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) unsigned NOT NULL DEFAULT '0', `data` blob NOT NULL, PRIMARY KEY (`ai`), UNIQUE KEY `ci_sessions_id_ip` (`id`,`ip_address`), KEY `ci_sessions_timestamp` (`timestamp`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1635 ; -- -- Contenu de la table `ci_sessions` -- INSERT INTO `ci_sessions` (`ai`, `id`, `ip_address`, `timestamp`, `data`) VALUES (1607, 'e9e29e9ce4d982fd52c18d9cfb287164aa260b34', '197.14.11.154', 1477557550, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373535373435313b617574685f6964656e746966696572737c733a3334343a223831333239343934393665616630323336343331363762333233336561666132363331386530626265643064383964316563363462323236653863383439353462366437613764613338356239613566656430363866363135363733393537663565376562386333646264366239373339326133346631326236626538343333503148303768376c6d4d48735069796a714c756b3732357746523449644663664a674d546d73573731726f5755442b2b493268547670796271454171475776714e5561702f644e59365851534b6b73424a2f47545755615645506c494f6672547a58534f444650383867385a3850777655534942525867744d684d7955627434694f6b5974555634474f416f397949777a6b4849557133654d694838752b68786d5a414346596d53346a614c48726f65427071696b386e485049314e53304a6764716e6e4a72442b39412f374c7063314a2f517731413d3d223b), (1626, '8ab9e3ede2b66dd3af84bb8cb175755bfe9d31e6', '105.96.8.109', 1477563837, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536333830303b), (1628, '4323220cbefed09dc9daa1a91046a4cdb30d179f', '105.96.8.109', 1477575083, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373537353032313b617574685f6964656e746966696572737c733a3334343a2266643832623861363835306162663666323532633134343031306335353330666562383734626662333938383361386161396236303066393834326637353835336430383865326332373339316566333966333361363231663461383336636665303439613263303336356439393864343134656536373130373632643435326e6f38746f647365436b396571453354346a4a2f6279766932674f6f4a5079375a6f38785a78706a6c70306d4d3676664c395a3068526d38335046366b4e6566516f4c3071367a4d36376c35576d325144654b784b374b79434763534a736f496b53416d577875597334456d6e6c7161664e726d5235694e6b38464a736c53784b4e454b442b7a7a43614a474e79584c584f6b536c744f5578444e4b6f5548347557665a7a70566d2f614c4d4d795a715a5a6e713570744468334849394f6d6d7072554a6769485949456c6e616e48793563563054413d3d223b737563636573737c733a33383a2246696368652072c3a9706f6e64616e74206372c3a9c3a96520617665632073756363c3a87321223b5f5f63695f766172737c613a313a7b733a373a2273756363657373223b733a333a226f6c64223b7d), (1630, 'ba0f5818064d3642e18a4eb60b7f1ba3c4b9e27e', '105.96.8.109', 1477575670, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373537353532363b), (1632, '61ff91d43af5d83b8f9a96891379e8efd3a7ea8d', '41.228.250.145', 1477647300, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373634373236393b617574685f6964656e746966696572737c733a3334343a22343438303565356565623865646163343736383161646336613262306439666562343430653962393534643433666262383035376437613963663865653336626634663633346435613763633066383333306664626536383066336263633032363064313433653730323035636532386165656662353939333365373863663255753645614a6c32495062516f707844645756653976715a4d6d617054533853396577316b78455039497536774a4957714751396d4b714e697754444b71707075756a6e73556f6b314a714c57397033493349702f5348784d5575416f323243664765524769517661664e663235572b506e7a4e6c6d2f5a75696734336f34305350692f5530615349476c30796361737179486b4733323279507376436442387037454f77507a6a50364967544a414a512b7330496e4c38766e6a715934657954502b6e536d6830613955535273514b5056313854413d3d223b), (1633, 'd9a88343ed42ba3c63199c2f884a8b07b439a3ec', '41.228.241.98', 1477650933, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373635303633343b617574685f6964656e746966696572737c733a3334343a22343438303565356565623865646163343736383161646336613262306439666562343430653962393534643433666262383035376437613963663865653336626634663633346435613763633066383333306664626536383066336263633032363064313433653730323035636532386165656662353939333365373863663255753645614a6c32495062516f707844645756653976715a4d6d617054533853396577316b78455039497536774a4957714751396d4b714e697754444b71707075756a6e73556f6b314a714c57397033493349702f5348784d5575416f323243664765524769517661664e663235572b506e7a4e6c6d2f5a75696734336f34305350692f5530615349476c30796361737179486b4733323279507376436442387037454f77507a6a50364967544a414a512b7330496e4c38766e6a715934657954502b6e536d6830613955535273514b5056313854413d3d223b), (1634, 'bf7ca9a154be4f2c084aadf75e9075a088d87e5a', '41.228.241.98', 1477650957, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373635303934363b617574685f6964656e746966696572737c733a3334343a22343438303565356565623865646163343736383161646336613262306439666562343430653962393534643433666262383035376437613963663865653336626634663633346435613763633066383333306664626536383066336263633032363064313433653730323035636532386165656662353939333365373863663255753645614a6c32495062516f707844645756653976715a4d6d617054533853396577316b78455039497536774a4957714751396d4b714e697754444b71707075756a6e73556f6b314a714c57397033493349702f5348784d5575416f323243664765524769517661664e663235572b506e7a4e6c6d2f5a75696734336f34305350692f5530615349476c30796361737179486b4733323279507376436442387037454f77507a6a50364967544a414a512b7330496e4c38766e6a715934657954502b6e536d6830613955535273514b5056313854413d3d223b), (1615, '63730f837c5e8e2d371e811db6790849033319e0', '105.96.8.109', 1477560760, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536303437313b617574685f6964656e746966696572737c733a3334343a22386631333131653262353534303366313830623934633536393130363033353935653463613433656338383365393039353961333562303736366365333336313730303730306666656232613936623130303437643266303138363533336165656532313463313537336438613030346237396462636138323431663739313333674a4c766a5243704e6a472f4f684e516947777741496336375455616b59324c63464f4675356273756a51595a4b63576672625174466a4a48776843725a48554c3677675a75366d312b63416d54505539527a7048572b4846754a57696d2b59455768527a573062356e47514a7a2f416b5a476a4c6a3753366b724679554a675666624f4f544c75734751526c3769593242707a4163742f4465716748664c327372704d3965696e5075684d4e757056692b4d7a534a566b62382f565452466e64354334747479434e584f3550366a6e366f704f413d3d223b), (1602, '117a872e780d75bfb22edcae2be64fbb1f9f8031', '105.96.8.109', 1477557097, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373535363830313b617574685f6964656e746966696572737c733a3334343a22626161303130373435623234356439663933343661613865383036306537653638633063393062653834623963666433636233333830323231353262353564633630346433626466646265306365353664663837313037326437363434613463386162396530316364663464383663376331643963343566336530653366303941537165685a51686a47795a767942594b4170546f6148543575413555776e50755139436e355357505a3830586b5234756f483371564c626c386d59555832324f335835357a49667838497665627370592b3344726b465a587163625855537844634c7a6a686d68374236662b397235344a55586a426b674c456b5a764450706e306873447370336e464a384b775a723039497945554d4978466755735879684164304d50314b5a556c527939444451466e697a667a7a47744e705a434143637863644a4151384c534e63532b514e462b36597949413d3d223b), (1601, 'f04557349c2b3daa4e9ff99d2112db21d9fc2bb8', '105.96.8.109', 1477556787, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373535363738373b), (1604, '6ebabaf9c8bbb983593e82f1a9c78a4368e1ad4f', '197.14.11.154', 1477557383, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373535373130373b617574685f6964656e746966696572737c733a3334343a223831333239343934393665616630323336343331363762333233336561666132363331386530626265643064383964316563363462323236653863383439353462366437613764613338356239613566656430363866363135363733393537663565376562386333646264366239373339326133346631326236626538343333503148303768376c6d4d48735069796a714c756b3732357746523449644663664a674d546d73573731726f5755442b2b493268547670796271454171475776714e5561702f644e59365851534b6b73424a2f47545755615645506c494f6672547a58534f444650383867385a3850777655534942525867744d684d7955627434694f6b5974555634474f416f397949777a6b4849557133654d694838752b68786d5a414346596d53346a614c48726f65427071696b386e485049314e53304a6764716e6e4a72442b39412f374c7063314a2f517731413d3d223b), (1613, '1838c05dce9e6b20c299a9e6d2476e1d90ed5832', '105.96.8.109', 1477558497, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373535383431373b), (1616, '14d75e580a4ae2d5decca30270b192e891282edc', '197.14.11.154', 1477560801, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536303737373b617574685f6964656e746966696572737c733a3334343a223831333239343934393665616630323336343331363762333233336561666132363331386530626265643064383964316563363462323236653863383439353462366437613764613338356239613566656430363866363135363733393537663565376562386333646264366239373339326133346631326236626538343333503148303768376c6d4d48735069796a714c756b3732357746523449644663664a674d546d73573731726f5755442b2b493268547670796271454171475776714e5561702f644e59365851534b6b73424a2f47545755615645506c494f6672547a58534f444650383867385a3850777655534942525867744d684d7955627434694f6b5974555634474f416f397949777a6b4849557133654d694838752b68786d5a414346596d53346a614c48726f65427071696b386e485049314e53304a6764716e6e4a72442b39412f374c7063314a2f517731413d3d223b), (1617, 'c3048aa14a6495b74324dbc5cc1420b0c4797002', '197.14.11.154', 1477561167, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536313136373b617574685f6964656e746966696572737c733a3334343a223831333239343934393665616630323336343331363762333233336561666132363331386530626265643064383964316563363462323236653863383439353462366437613764613338356239613566656430363866363135363733393537663565376562386333646264366239373339326133346631326236626538343333503148303768376c6d4d48735069796a714c756b3732357746523449644663664a674d546d73573731726f5755442b2b493268547670796271454171475776714e5561702f644e59365851534b6b73424a2f47545755615645506c494f6672547a58534f444650383867385a3850777655534942525867744d684d7955627434694f6b5974555634474f416f397949777a6b4849557133654d694838752b68786d5a414346596d53346a614c48726f65427071696b386e485049314e53304a6764716e6e4a72442b39412f374c7063314a2f517731413d3d223b6572726f727c733a32373a224c61206d69736520c3a0206a6f7572206120c3a963686f75c3a921223b5f5f63695f766172737c613a313a7b733a353a226572726f72223b733a333a226e6577223b7d), (1621, '304d9547792ce71f5a575df52622d73804a9bfbf', '105.96.8.109', 1477561705, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536313531333b617574685f6964656e746966696572737c733a3334343a2263636664666262383739636636313037613439303131626566396430373432336164343964313466323564353661376639353331336132363630643937353632633635376339326637326666313433616230386234306439346636373338346665346634303265633130393332363964336635336262343934633532316435654f546974627435346b3134506e714c4a677374595468756331694d4539523433485059736e786f454a6f664a6b3753526247757747776b785273733270654254524d50575241623573704e734e4e4b755361593474453479575945415a733167593838724e5173666b412f3567565135315a724a70344e46516f7346736e7878385253764b51665359304a2b624a6858596c4e6c7754535932484e6b4f3173457249616c30755854303331735952647a674b394c676275583937696a6e4c5151593769344a476c4c512f61326751367644742f7468413d3d223b), (1625, '4299dc054c76ff4e3de5899e6b79b6e1c0d0f5e7', '105.96.8.109', 1477562128, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536323130363b), (1614, '633e01a5a26589a7cf2fa8672d0a062b95756e4b', '197.14.11.154', 1477560488, 0x5f5f63695f6c6173745f726567656e65726174657c693a313437373536303435333b617574685f6964656e746966696572737c733a3334343a223831333239343934393665616630323336343331363762333233336561666132363331386530626265643064383964316563363462323236653863383439353462366437613764613338356239613566656430363866363135363733393537663565376562386333646264366239373339326133346631326236626538343333503148303768376c6d4d48735069796a714c756b3732357746523449644663664a674d546d73573731726f5755442b2b493268547670796271454171475776714e5561702f644e59365851534b6b73424a2f47545755615645506c494f6672547a58534f444650383867385a3850777655534942525867744d684d7955627434694f6b5974555634474f416f397949777a6b4849557133654d694838752b68786d5a414346596d53346a614c48726f65427071696b386e485049314e53304a6764716e6e4a72442b39412f374c7063314a2f517731413d3d223b737563636573737c733a33383a2246696368652072c3a9706f6e64616e74206372c3a9c3a96520617665632073756363c3a87321223b5f5f63695f766172737c613a313a7b733a373a2273756363657373223b733a333a226f6c64223b7d); -- -------------------------------------------------------- -- -- Structure de la table `denied_access` -- CREATE TABLE IF NOT EXISTS `denied_access` ( `ai` int(10) unsigned NOT NULL AUTO_INCREMENT, `IP_address` varchar(45) NOT NULL, `time` datetime NOT NULL, `reason_code` tinyint(2) DEFAULT '0', PRIMARY KEY (`ai`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `geolocations` -- CREATE TABLE IF NOT EXISTS `geolocations` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_user` int(10) unsigned NOT NULL, `id_sheet` int(11) DEFAULT NULL, `error` varchar(200) DEFAULT NULL, `latitude` varchar(30) DEFAULT NULL, `longitude` varchar(30) DEFAULT NULL, `creation_date` datetime NOT NULL, PRIMARY KEY (`id`), KEY `fk_geolocations_agent_idx` (`id_user`), KEY `fk_geolocations_sheet_idx` (`id_sheet`), KEY `id_user` (`id_user`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ; -- -- Contenu de la table `geolocations` -- INSERT INTO `geolocations` (`id`, `id_user`, `id_sheet`, `error`, `latitude`, `longitude`, `creation_date`) VALUES (9, 3848026790, 31, 'User denied the request for Geolocation.', NULL, NULL, '2016-10-27 08:38:33'); -- -------------------------------------------------------- -- -- Structure de la table `ips_on_hold` -- CREATE TABLE IF NOT EXISTS `ips_on_hold` ( `ai` int(10) unsigned NOT NULL AUTO_INCREMENT, `IP_address` varchar(45) NOT NULL, `time` datetime NOT NULL, PRIMARY KEY (`ai`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `login_errors` -- CREATE TABLE IF NOT EXISTS `login_errors` ( `ai` int(10) unsigned NOT NULL AUTO_INCREMENT, `username_or_email` varchar(255) NOT NULL, `IP_address` varchar(45) NOT NULL, `time` datetime NOT NULL, PRIMARY KEY (`ai`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Contenu de la table `login_errors` -- INSERT INTO `login_errors` (`ai`, `username_or_email`, `IP_address`, `time`) VALUES (8, 'USER-010', '105.101.80.84', '2016-10-26 17:39:37'); -- -------------------------------------------------------- -- -- Structure de la table `lov` -- CREATE TABLE IF NOT EXISTS `lov` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `group` varchar(45) NOT NULL, `value` varchar(255) NOT NULL, `id_parent` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_lov_parent_idx` (`id_parent`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=59 ; -- -- Contenu de la table `lov` -- INSERT INTO `lov` (`id`, `group`, `value`, `id_parent`) VALUES (4, 'marital_status', 'Marié', NULL), (5, 'marital_status', 'Célébataire', NULL), (6, 'marital_status', 'Divorcé', NULL), (7, 'educational_level', 'Aucun', NULL), (8, 'educational_level', 'Primaire', NULL), (9, 'educational_level', 'Secondaire', NULL), (10, 'educational_level', 'Universitaire', NULL), (11, 'educational_level', 'Troisième cycle', NULL), (12, 'professional_status', 'Chômage', NULL), (13, 'professional_status', 'CDI', NULL), (14, 'professional_status', 'CDD', NULL), (15, 'company_type', 'Etatique', NULL), (16, 'company_type', 'Privée', NULL), (17, 'company_type', 'Semi-étatique', NULL), (18, 'company_type', 'Propriétaire', NULL), (20, 'country', 'Tunisie', NULL), (21, 'country', 'Algérie', NULL), (48, 'town', 'Alger', 21), (49, 'town', 'Oran', 21), (50, 'town', 'Sétif', 21); -- -------------------------------------------------------- -- -- Structure de la table `polls` -- CREATE TABLE IF NOT EXISTS `polls` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `label` varchar(80) NOT NULL, `description` varchar(255) DEFAULT NULL, `code` varchar(30) NOT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `actif` tinyint(4) NOT NULL DEFAULT '1', `max_surveys_number` int(11) DEFAULT NULL, `customer` varchar(120) DEFAULT NULL, `creation_date` datetime NOT NULL, `update_date` datetime NOT NULL, `created_by` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `code_UNIQUE` (`code`), KEY `fk_polls_1_idx` (`created_by`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; -- -- Contenu de la table `polls` -- INSERT INTO `polls` (`id`, `label`, `description`, `code`, `start_date`, `end_date`, `actif`, `max_surveys_number`, `customer`, `creation_date`, `update_date`, `created_by`) VALUES (12, 'Téléphonie mobile', 'Étude pour préparer le dossier clear-coat ', 'SON-000007', '2016-10-25', '2016-11-30', 1, 100, 'NY ', '2016-10-26 17:19:35', '2016-10-27 04:54:49', 3491954500); -- -------------------------------------------------------- -- -- Structure de la table `questions` -- CREATE TABLE IF NOT EXISTS `questions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `description` varchar(255) NOT NULL, `order` int(11) NOT NULL, `type` varchar(15) NOT NULL, `required` tinyint(4) NOT NULL DEFAULT '1', `id_poll` int(10) unsigned NOT NULL, `free_answer_type` varchar(15) DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_questions_poll_idx` (`id_poll`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=40 ; -- -- Contenu de la table `questions` -- INSERT INTO `questions` (`id`, `description`, `order`, `type`, `required`, `id_poll`, `free_answer_type`) VALUES (35, 'Le nombre de téléphones portables opérationnels en Algérie?', 1, 'free_text', 1, 12, 'numeric'), (36, 'Le classement des marques par part de marché?\r\n1-Samsung / 2-Apple / 3-Huawei / 4-Sony / 5-Condor / 6-Wiko / 7-LG / 8-Oppo / 9-Autre', 3, 'free_text', 1, 12, 'alphanumeric'), (37, 'Le pourcentage par paliers des prix?\r\n1-Inférieur à 9 999DA / 2-Entre 10 000 et 29 999DA / 3-Entre 30 000 et 49 999DA / 4-Entre 50 000 et 69 999DA / 5-70 000 et plus', 4, 'free_text', 1, 12, 'alphanumeric'), (38, 'Les accessoires de téléphone portable les plus achetés?', 5, 'free_text', 1, 12, 'alphanumeric'), (39, 'Le nombre de téléphones portables vendus par an?', 2, 'free_text', 1, 12, 'numeric'); -- -------------------------------------------------------- -- -- Structure de la table `respondents` -- CREATE TABLE IF NOT EXISTS `respondents` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `age` int(3) DEFAULT NULL, `country` int(11) DEFAULT NULL, `city` int(11) DEFAULT NULL, `email` varchar(150) DEFAULT NULL, `sexe` char(1) DEFAULT NULL, `educational_level` int(11) unsigned DEFAULT NULL, `marital_status` int(11) unsigned DEFAULT NULL, `professional_status` int(11) unsigned DEFAULT NULL, `childs_nbr` int(3) unsigned DEFAULT NULL, `brothers_nbr` int(3) unsigned DEFAULT NULL, `sisters_nbr` int(3) unsigned DEFAULT NULL, `gsm` int(30) DEFAULT NULL, `company_type` int(3) unsigned DEFAULT NULL, `created_by` int(10) unsigned DEFAULT NULL, `creation_date` datetime DEFAULT NULL, `id_poll` int(10) unsigned DEFAULT NULL, `notes` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_respondent_user_idx` (`created_by`), KEY `fk_respondent_poll_idx` (`id_poll`), KEY `fk_respondents_marital` (`marital_status`), KEY `fk_respondents_prof_stat` (`professional_status`), KEY `fk_respondents_comp_type` (`company_type`), KEY `fk_respondents_educ_idx` (`educational_level`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=52 ; -- -- Contenu de la table `respondents` -- INSERT INTO `respondents` (`id`, `age`, `country`, `city`, `email`, `sexe`, `educational_level`, `marital_status`, `professional_status`, `childs_nbr`, `brothers_nbr`, `sisters_nbr`, `gsm`, `company_type`, `created_by`, `creation_date`, `id_poll`, `notes`) VALUES (45, NULL, 0, 0, '', 'H', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71259671, '2016-10-27 04:28:08', 12, NULL), (48, NULL, 0, 0, '', 'H', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3848026790, '2016-10-27 04:52:55', 12, NULL), (51, NULL, 21, 48, 'contact@yessir15.com', 'H', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16, 3848026790, '2016-10-27 08:31:23', 12, NULL); -- -------------------------------------------------------- -- -- Structure de la table `sequences` -- CREATE TABLE IF NOT EXISTS `sequences` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(20) NOT NULL, `next_index` int(10) unsigned NOT NULL DEFAULT '1', `prefix` varchar(45) DEFAULT NULL, `fillers` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `key_UNIQUE` (`key`), UNIQUE KEY `key_next_Unique` (`key`,`next_index`,`prefix`,`fillers`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Contenu de la table `sequences` -- INSERT INTO `sequences` (`id`, `key`, `next_index`, `prefix`, `fillers`) VALUES (1, 'polls_code_seq', 9, 'SON-', 6), (2, 'users_code_seq', 13, 'USER-', 3); -- -------------------------------------------------------- -- -- Structure de la table `settings` -- CREATE TABLE IF NOT EXISTS `settings` ( `key` varchar(100) NOT NULL, `value` varchar(45) DEFAULT NULL, PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Contenu de la table `settings` -- INSERT INTO `settings` (`key`, `value`) VALUES ('dashboard_last_errors_number', '10'), ('dashboard_last_sheets_number', '10'), ('map_idle_interval', '60'), ('map_show_all_sheets', '0'), ('map_update_interval', '10'); -- -------------------------------------------------------- -- -- Structure de la table `sheets` -- CREATE TABLE IF NOT EXISTS `sheets` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_poll` int(10) unsigned NOT NULL, `id_respondent` int(10) unsigned NOT NULL, `notes` varchar(255) DEFAULT NULL, `created_by` int(10) unsigned NOT NULL, `creation_date` datetime NOT NULL, PRIMARY KEY (`id`), KEY `fk_sheets_respondent_idx` (`id_respondent`), KEY `fk_sheets_agent_idx` (`created_by`), KEY `fk_sheets_poll_idx` (`id_poll`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=32 ; -- -- Contenu de la table `sheets` -- INSERT INTO `sheets` (`id`, `id_poll`, `id_respondent`, `notes`, `created_by`, `creation_date`) VALUES (31, 12, 51, '', 3848026790, '2016-10-27 08:38:33'); -- -------------------------------------------------------- -- -- Structure de la table `sheet_answers` -- CREATE TABLE IF NOT EXISTS `sheet_answers` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `id_question` int(11) NOT NULL, `value` varchar(255) DEFAULT NULL, `id_sheet` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `sheet_question` (`id_question`,`id_sheet`), KEY `fk_sheet_answers_question_idx` (`id_question`), KEY `fk_sheet_answers_sheet_idx` (`id_sheet`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=26 ; -- -- Contenu de la table `sheet_answers` -- INSERT INTO `sheet_answers` (`id`, `id_question`, `value`, `id_sheet`) VALUES (21, 35, '40000000', 31), (22, 39, '10000000', 31), (23, 36, '1\r\n5\r\n3\r\n4\r\n6\r\n2\r\n8\r\n7', 31), (24, 37, '1: 35%\r\n2: 25%\r\n3: 15%\r\n4: 10%\r\n5: 5%', 31), (25, 38, '- Housses et étuis\r\n- Chargeurs\r\n- Écouteurs\r\n- Batteries', 31); -- -------------------------------------------------------- -- -- Structure de la table `username_or_email_on_hold` -- CREATE TABLE IF NOT EXISTS `username_or_email_on_hold` ( `ai` int(10) unsigned NOT NULL AUTO_INCREMENT, `username_or_email` varchar(255) NOT NULL, `time` datetime NOT NULL, PRIMARY KEY (`ai`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Structure de la table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `user_id` int(10) unsigned NOT NULL, `user_name` varchar(12) DEFAULT NULL, `user_email` varchar(255) NOT NULL, `user_pass` varchar(60) NOT NULL, `user_salt` varchar(32) NOT NULL, `user_last_login` datetime DEFAULT NULL, `user_login_time` datetime DEFAULT NULL, `user_session_id` varchar(40) DEFAULT NULL, `user_date` datetime NOT NULL, `user_modified` datetime NOT NULL, `user_agent_string` varchar(32) DEFAULT NULL, `user_level` tinyint(2) unsigned NOT NULL, `user_banned` enum('0','1') NOT NULL DEFAULT '0', `passwd_recovery_code` varchar(60) DEFAULT NULL, `passwd_recovery_date` datetime DEFAULT NULL, `pms_user_gsm` int(30) NOT NULL, `pms_user_first_name` varchar(80) NOT NULL, `pms_user_code` varchar(30) NOT NULL, `pms_user_last_name` varchar(80) NOT NULL, PRIMARY KEY (`user_id`), UNIQUE KEY `user_email` (`user_email`), UNIQUE KEY `user_name` (`user_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Contenu de la table `users` -- INSERT INTO `users` (`user_id`, `user_name`, `user_email`, `user_pass`, `user_salt`, `user_last_login`, `user_login_time`, `user_session_id`, `user_date`, `user_modified`, `user_agent_string`, `user_level`, `user_banned`, `passwd_recovery_code`, `passwd_recovery_date`, `pms_user_gsm`, `pms_user_first_name`, `pms_user_code`, `pms_user_last_name`) VALUES (71259671, 'yessir', 'bayahiassem@yahoo.fr', '$2a$09$63db20a86f16190fe567aO/KmXJ3HUbIzpvpm8NYew1KoUumK/Oz.', '63db20a86f16190fe567aa5c059a8ad3', '2016-10-28 04:34:29', '2016-10-28 04:34:29', 'bf7ca9a154be4f2c084aadf75e9075a088d87e5a', '2015-11-23 22:06:53', '2016-10-26 15:12:02', 'b58c00e4a28dd0f99b79d80dc2e43b10', 9, '0', NULL, NULL, 23290269, 'Assem', 'USE-002', 'Bayahi'), (3491954500, 'yasserbayahi', 'yasserbayahi@yessir15.com', '$2a$09$6b14a87e51a4addf507a2uE1Oqmtjr4.9JWY8tJH5z2psYlCZ/zf2', '6b14a87e51a4addf507a265695d01f2a', '2016-10-27 08:38:46', NULL, NULL, '2016-10-26 10:49:10', '2016-10-26 10:49:10', 'd1f91e7d7b92cc19cfba2458defafe8e', 9, '0', NULL, NULL, 661616666, 'Yasser', 'USER-007', 'Bayahi'), (3848026790, 'yasbay', 'yasserbayahi@gmail.com', '$2a$09$972faf230441129bd73b1OiUddezloZeY2Q5qvhdFzjKAYO.1vA0C', '972faf230441129bd73b1bc211bb53a7', '2016-10-27 08:30:21', NULL, NULL, '2016-10-26 17:38:53', '2016-10-26 17:38:53', 'd1f91e7d7b92cc19cfba2458defafe8e', 3, '0', NULL, NULL, 550777777, 'Yasser', 'USER-010', 'Bayahi '); -- -- Contraintes pour les tables exportées -- -- -- Contraintes pour la table `answers` -- ALTER TABLE `answers` ADD CONSTRAINT `fk_answers_question` FOREIGN KEY (`id_question`) REFERENCES `questions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `geolocations` -- ALTER TABLE `geolocations` ADD CONSTRAINT `fk_geolocations_agent` FOREIGN KEY (`id_user`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_geolocations_sheet` FOREIGN KEY (`id_sheet`) REFERENCES `sheets` (`id`) ON DELETE SET NULL ON UPDATE SET NULL; -- -- Contraintes pour la table `lov` -- ALTER TABLE `lov` ADD CONSTRAINT `fk_lov_parent` FOREIGN KEY (`id_parent`) REFERENCES `lov` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `polls` -- ALTER TABLE `polls` ADD CONSTRAINT `fk_polls_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Contraintes pour la table `questions` -- ALTER TABLE `questions` ADD CONSTRAINT `fk_questions_poll` FOREIGN KEY (`id_poll`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `respondents` -- ALTER TABLE `respondents` ADD CONSTRAINT `fk_respondents_comp_type` FOREIGN KEY (`company_type`) REFERENCES `lov` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `fk_respondents_educ` FOREIGN KEY (`educational_level`) REFERENCES `lov` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `fk_respondents_marital` FOREIGN KEY (`marital_status`) REFERENCES `lov` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `fk_respondents_prof_stat` FOREIGN KEY (`professional_status`) REFERENCES `lov` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `fk_respondent_poll` FOREIGN KEY (`id_poll`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_respondent_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Contraintes pour la table `sheets` -- ALTER TABLE `sheets` ADD CONSTRAINT `fk_sheets_agent` FOREIGN KEY (`created_by`) REFERENCES `users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_sheets_poll` FOREIGN KEY (`id_poll`) REFERENCES `polls` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_sheets_respondent` FOREIGN KEY (`id_respondent`) REFERENCES `respondents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Contraintes pour la table `sheet_answers` -- ALTER TABLE `sheet_answers` ADD CONSTRAINT `fk_sheet_answers_question` FOREIGN KEY (`id_question`) REFERENCES `questions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_sheet_answers_sheet` FOREIGN KEY (`id_sheet`) REFERENCES `sheets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
59.274662
1,080
0.788416
953352dd917395792dcab517bade518364d95ae2
1,771
css
CSS
vmsareus/static/css/project.min.css
greendavegreen/vmsareus
7cf56c97dcb08332ee89b7d0e7e161dec462bac0
[ "MIT" ]
null
null
null
vmsareus/static/css/project.min.css
greendavegreen/vmsareus
7cf56c97dcb08332ee89b7d0e7e161dec462bac0
[ "MIT" ]
null
null
null
vmsareus/static/css/project.min.css
greendavegreen/vmsareus
7cf56c97dcb08332ee89b7d0e7e161dec462bac0
[ "MIT" ]
null
null
null
.alert-debug{background-color:#fff;border-color:#d6e9c6;color:#000}.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48}.navbar{border-radius:0}@media (max-width:47.9em){.navbar-nav .nav-item{display:inline-block;float:none;width:100%}.navbar-nav .nav-item+.nav-item{margin-left:0}.nav.navbar-nav.pull-xs-right{float:none!important}}[hidden][style="display: block;"]{display:block!important}.spacer{height:50px}.hspacer,.spacer{margin:0;padding:0}.hspacer{height:25px}.rowg{background-color:#f1f1f1}.rowo{background-color:#d6e9c6}.hero{background:url(../images/dc2.png) no-repeat 50%;background-size:cover;border:none;margin-top:20px}@media (min-width:992px){.hero .get-it{text-align:center;margin-top:20px}}@media (max-width:992px){.hero .get-it{text-align:center}}.hero .get-it p{color:#fff;text-shadow:2px 2px 3px rgba(0,0,0,.3);margin-bottom:5px}.hero .get-it p.maintitle{font-family:Open Sans,sans-serif;font-weight:700;font-size:48px}.hero .get-it p.subtitle{font-family:serif;font-size:24px}.hero .get-it .btn{margin-left:10px;margin-bottom:10px;text-shadow:none}.icon-features{text-align:center}section.features{background-color:#369;padding:40px 0;color:#fff}.features h2{color:#fff}.features .icon-features{margin-top:15px}section.controls{margin-top:20px}.border-top-1{border-width:1px;border-style:solid;border-radius:5px;background-color:#fff;margin-top:10px}.one,.three,.two{position:absolute;margin-top:-12px;z-index:1;height:40px;width:40px;border-radius:25px}.one{left:25%}.two{left:50%}.three{left:75%}.primary-color{background-color:#4989bd}.success-color{background-color:#5cb85c}.danger-color{background-color:#d9534f}.warning-color{background-color:#f0ad4e}.info-color{background-color:#5bc0de}.no-color{background-color:inherit}
1,771
1,771
0.782609
12945e83bc635180a7cd831333b79ac23fb0ba8e
12,664
c
C
voapps/votsort.c
olebole/voclient
abeee7783f4e84404a8c3a9646bb57f48988b24a
[ "MIT" ]
2
2019-12-01T15:19:09.000Z
2019-12-02T16:48:42.000Z
voapps/votsort.c
mjfitzpatrick/voclient
3264c0df294cecc518e5c6a7e6b2aba3f1c76373
[ "MIT" ]
1
2019-11-30T13:48:50.000Z
2019-12-02T19:40:25.000Z
voapps/votsort.c
mjfitzpatrick/voclient
3264c0df294cecc518e5c6a7e6b2aba3f1c76373
[ "MIT" ]
null
null
null
/* * VOTSORT -- Sort a VOTable based on a column value. * * Usage: * votsort [<otps>] <votable.xml> * * Where * -c,--col <N> Sort column num * -d,--desc Sort in descending order * -f,--fmt <format> Output format * -o,--output <name> Output name * -s,--string String sort * -t,--top <N> Print top <N> rows * -i,--indent <N> XML indent level * -n,--noheader Suppress header * -N,--name <name> Find <name> column * -I,--id <id> Find <id> column * -U,--ucd <ucd> Find <ucd> column * * -h,--help This message * -r,--return Return result * -%,--test Run unit tests * * @file votsort.c * @author Mike Fitzpatrick * @date 6/03/12 * * @brief Sort a VOTable based on a column. */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "votParse.h" /* keep these in order! */ #include "voApps.h" static int do_return = 0; /* return result? */ static int sort_order = 1; /* ascending order */ static int top = 0; /* top results (0 for all) */ /* A result buffer should be defined to point to the result object if it is * created dynamically, e.g. a list of votable columns. The task is * responsible for initially allocating this pointer and then resizing as * needed. */ #ifdef USE_RESBUF #define SZ_RESBUF 8192 static char *resbuf; #endif /* Task specific option declarations. Task options are declared using the * getopt_long(3) syntax. */ int votsort (int argc, char **argv, size_t *len, void **result); static Task self = { "votsort", votsort, 0, 0, 0 }; static char *opts = "%:c:df:hi:LnN:I:U:o:rst:"; static struct option long_opts[] = { { "col", 1, 0, 'c'}, /* sort column num */ { "desc", 2, 0, 'd'}, /* sort in descending order */ { "fmt", 1, 0, 'f'}, /* output format */ { "output", 1, 0, 'o'}, /* output name */ { "string", 2, 0, 's'}, /* string sort */ { "top", 1, 0, 't'}, /* string sort */ { "indent", 1, 0, 'i'}, /* xml indent level */ { "noheader", 2, 0, 'n'}, /* suppress header */ { "name", 1, 0, 'N'}, /* find <name> column */ { "id", 1, 0, 'I'}, /* find <id> column */ { "ucd", 1, 0, 'U'}, /* find <ucd> column */ { "help", 2, 0, 'h'}, /* --help is std */ { "return", 2, 0, 'r'}, /* --return is std */ { "test", 1, 0, '%'}, /* --test is std */ { NULL, 0, 0, 0 } }; /* All tasks should declare a static Usage() method to print the help * text in response to a '-h' or '--help' flag. The help text should * include a usage summary, a description of options, and some examples. */ static void Usage (void); static void Tests (char *input); extern int vot_isNumericField (handle_t field); extern int vot_isValidFormat (char *fmt); extern int vot_atoi (char *val); extern int strdic (char *in_str, char *out_str, int maxchars, char *dict); /** * Application entry point. All VOApps tasks MUST contain this * method signature. */ int votsort (int argc, char **argv, size_t *reslen, void **result) { /* These declarations are required for the VOApps param interface. */ char **pargv, optval[SZ_FNAME], format[SZ_FORMAT]; char *iname, *oname, *fmt = NULL; char *byName = NULL, *byID = NULL, *byUCD = NULL; int i = 0, ch = 0, status = OK, pos = 0, col = -1, do_string = 0; int vot, res, tab, data, tdata, field, tr; int indent = 0, scalar = 0, hdr = 1; /* Initialize result object whether we return an object or not. */ *reslen = 0; *result = NULL; /* Initialize local task values. */ iname = NULL; oname = NULL; /* Parse the argument list. The use of vo_paramInit() is required to * rewrite the argv[] strings in a way vo_paramNext() can be used to * parse them. The programmatic interface allows "param=value" to * be passed in, but the getopt_long() interface requires these to * be written as "--param=value" so they are not confused with * positional parameters (i.e. any param w/out a leading '-'). */ pargv = vo_paramInit (argc, argv, opts, long_opts); while ((ch = vo_paramNext(opts,long_opts,argc,pargv,optval,&pos)) != 0) { if (ch > 0) { /* If the 'ch' value is > 0 we are parsing a single letter * flag as defined in the 'opts string. */ switch (ch) { case '%': Tests (optval); return (self.nfail); case 'h': Usage (); return (OK); case 'c': col = vot_atoi (optval); break; case 'd': sort_order = -1; break; case 'f': if (!vot_isValidFormat ((fmt = strdup (optval)))) { fprintf (stderr, "Error: invalid format '%s'\n", fmt); return (ERR); } break; case 'o': oname = strdup (optval); break; case 'i': indent = vot_atoi (optval); break; case 'n': hdr=0; break; case 'N': byName = strdup (optval); break; case 'I': byID = strdup (optval); break; case 'U': byUCD = strdup (optval); break; case 'r': do_return = 1; break; case 's': do_string = 1; break; case 't': top = vot_atoi (optval); break; default: fprintf (stderr, "Invalid option '%s'\n", optval); return (1); } } else if (ch == PARG_ERR) { return (ERR); } else { /* This code processes the positional arguments. The 'optval' * string contains the value but since this string is * overwritten w/ each arch we need to make a copy (and must * remember to free it later). */ iname = strdup (optval); break; /* only allow one file */ } } /* Sanity checks. Tasks should validate input and accept stdin/stdout * where it makes sense. */ if (iname == NULL) iname = strdup ("stdin"); if (oname == NULL) oname = strdup ("stdout"); if (strcmp (iname, "-") == 0) { free (iname), iname = strdup ("stdin"); } if (strcmp (oname, "-") == 0) { free (oname), oname = strdup ("stdout"); } fmt = (fmt ? fmt : strdup ("xml")); /* Open the table. This also parses it. */ if ( (vot = vot_openVOTABLE (iname) ) <= 0) { fprintf (stderr, "Error opening VOTable '%s'\n", iname); return (1); } res = vot_getRESOURCE (vot); /* get handles */ if (vot_getLength (res) > 1) { fprintf (stderr, "Error: multiple RESOURCE elements not supported\n"); goto clean_up_; } if ((tab = vot_getTABLE (res)) <= 0) goto clean_up_; if ((data = vot_getDATA (tab))) tdata = vot_getTABLEDATA (data); else goto clean_up_; /* Find the requested sort column. If the column isn't set explicitly * check each field for the name/id/ucd. */ if (col < 0) { char *name, *id, *ucd; handle_t field; for (field=vot_getFIELD(tab); field; field=vot_getNext(field),i++) { id = vot_getAttr (field, "id"); name = vot_getAttr (field, "name"); ucd = vot_getAttr (field, "ucd"); /* See whether this is a column we can sort numerically. */ if (! do_string) scalar = vot_isNumericField (field); if ((byName && name && strcasecmp (name, byName) == 0) || (byID && id && strcasecmp (id, byID) == 0) || (byUCD && ucd && strcasecmp (ucd, byUCD) == 0)) { col = i, do_string = (do_string ? 1 : ! scalar); break; } } } else { register int i = 0; for (field = vot_getFIELD(tab); field && i < col; i++) field = vot_getNext(field); if (! do_string) scalar = vot_isNumericField (field); do_string = (do_string ? 1 : ! scalar); } /* Sort the table. */ (void) vot_sortTable (tdata, (col < 0 ? 0 : col), do_string, sort_order); /* Now trim the data rows if we've set a TOP condition. */ if (top) { int row = 0, ntr = 0; /* Skip over the rows we'll keep */ for (tr=vot_getTR (tdata); tr && row < top; tr=vot_getNext(tr)) row++; /* Free the remaining rows. */ for ( ; tr; tr = ntr) { ntr=vot_getNext(tr); vot_deleteNode (tr); } } /* Output the new format. */ memset (format, 0, SZ_FORMAT); switch (strdic (fmt, format, SZ_FORMAT, FORMATS)) { case VOT: vot_writeVOTable (vot, oname, indent); break; case ASV: vot_writeASV (vot, oname, hdr); break; case BSV: vot_writeBSV (vot, oname, hdr); break; case CSV: vot_writeCSV (vot, oname, hdr); break; case TSV: vot_writeTSV (vot, oname, hdr); break; case HTML: vot_writeHTML (vot, iname, oname); break; case SHTML: vot_writeSHTML (vot, iname, oname); break; case FITS: vot_writeFITS (vot, oname); break; case ASCII: vot_writeASV (vot, oname, hdr); break; case XML: vot_writeVOTable (vot, oname, indent); break; case RAW: vot_writeVOTable (vot, oname, indent); break; default: fprintf (stderr, "Unknown output format '%s'\n", fmt); status = ERR; } /* Clean up. Rememebr to free whatever pointers were created when * parsing arguments. */ clean_up_: if (iname) free (iname); if (oname) free (oname); if (fmt) free (fmt); if (byID) free (byID); if (byUCD) free (byUCD); if (byName) free (byName); vo_paramFree (argc, pargv); vot_closeVOTABLE (vot); return (status); /* status must be OK or ERR (i.e. 0 or 1) */ } /** * USAGE -- Print task help summary. */ static void Usage (void) { fprintf (stderr, "\n Usage:\n\t" "votsort [<opts>] votable.xml\n\n" " Where\n" " -c,--col <N> Sort column num\n" " -d,--desc Sort in descending order\n" " -f,--fmt <format> Output format\n" " -o,--output <name> Output name\n" " -s,--string String sort\n" " -t,--top <N> Print top <N> rows\n" " -i,--indent <N> XML indent level\n" " -n,--noheader Suppress header\n" " -N,--name <name> Find <name> column\n" " -I,--id <id> Find <id> column\n" " -U,--ucd <ucd> Find <ucd> column\n" "\n" " -h,--help This message\n" " -r,--return Return result\n" " -%%,--test Run unit tests\n" "\n" " <format> is one of\n" " vot A new VOTable\n" " asv ascii separated values\n" " bsv bar separated values\n" " csv comma separated values\n" " tsv tab separated values\n" " html standalone HTML document\n" " shtml single HTML <table>\n" " fits FITS binary table\n" " ascii ASV alias\n" " xml VOTable alias\n" " raw VOTable alias\n" "\n" "\n" " Examples:\n\n" " 1) Sort a VOTable based on first column\n\n" " %% votsort test.xml\n" " %% votsort http://generic.edu/test.xml\n" " %% cat test.xml | votsort -o sort_test.xml\n" "\n" " A string sort will be done automatically if this is a\n" " string-valued column, otherwise a numeric sort is done.\n" "\n" " 2) Sort a VOTable based on the magnitude column\n\n" " %% votsort --name=id test.xml\n" "\n" " 3) Same as above, select 10 faintest stars\n\n" " %% votsort --name=id --desc --top=10 test.xml\n" "\n" " 4) String sort based on object name, output as CSV\n\n" " %% votsort -s -f csv test.xml\n" " %% votsort --string --fmt=csv test.xml\n" "\n" ); } /** * Tests -- Task unit tests. */ static void Tests (char *input) { Task *task = &self; vo_taskTest (task, "--help", NULL); vo_taskTest (task, input, NULL); // Ex 1 vo_taskTest (task, "http://iraf.noao.edu/votest/sort.xml", NULL); // Ex 2 vo_taskTest (task, "--name=id", input, NULL); // Ex 3 vo_taskTest (task, "--name=id", "--desc", "--top=10", input, NULL); // Ex 4 vo_taskTest (task, "-s", "-f", "csv", input, NULL); // Ex 5 vo_taskTest (task, "--string", "--fmt=csv", input, NULL); // Ex 6 vo_taskTest (task, "--name=id", "-s", "--desc", "--fmt=csv", input, NULL); vo_taskTestReport (self); }
32.060759
79
0.540272
fc4cf21822d82dfff8ff5929d78e2484d8d58e19
2,519
css
CSS
css/style.css
Ammarhr/bus-mall
d86cf18dd39898222a8bb56e2ac9ad3f26c3ac01
[ "MIT" ]
null
null
null
css/style.css
Ammarhr/bus-mall
d86cf18dd39898222a8bb56e2ac9ad3f26c3ac01
[ "MIT" ]
null
null
null
css/style.css
Ammarhr/bus-mall
d86cf18dd39898222a8bb56e2ac9ad3f26c3ac01
[ "MIT" ]
1
2020-03-04T20:36:57.000Z
2020-03-04T20:36:57.000Z
body { background-color: rgb(228, 161, 255); } header { background-color: rgb(205, 88, 252); border: rgb(139, 48, 224) solid 5px; position: relative; height: 80px; } header h1 { font-family: cursive; padding-left: 30px; padding-top: 8px; padding-bottom: 8px; position: relative; bottom: 25px; } header h6 { padding-left: 30px; padding-bottom: 8px; position: relative; bottom: 50px; } nav { height: 30px; } nav ul li { display: inline-block; font-size: larger; position: relative; bottom: 10px; height: 30px; } nav ul li a { text-decoration: none; color: black; height: 30px; } nav ul li a:hover { background-color: rgb(73, 19, 122); } nav { background-color: rgb(205, 88, 252); border: rgb(158, 55, 255) solid 5px; position: relative; } #imagesOfProduct { padding: 50px; } #imagesOfProduct #firstProduct, #secondProduct, #thirdProduct { float: left; width: 240px; height: 240px; padding: 50px; background-color: rgb(205, 88, 252); border: solid rgb(158, 55, 255); margin: 10px; border-radius: 35%; } #theResult { border: rgb(158, 55, 255) solid; background-color: rgb(205, 88, 252) } #theResult li { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: large; /* clear: both; */ } select { background-color: rgb(228, 161, 255); } #quantity { background-color: rgb(228, 161, 255); } #catalog { border: rgb(158, 55, 255) solid; background-color: rgb(205, 88, 252) } #submit-buttom { background-color: rgb(158, 55, 255); } ol { border: rgb(158, 55, 255) solid; background-color: rgb(205, 88, 252); } #cartA a { padding-left: 5px; text-decoration: none; } #cartA h3 { width: 300px; height: 50px; background-color: rgb(205, 88, 252); position: relative; padding-left: 10px; padding-top: 10px; border: rgb(158, 55, 255) solid; animation-name: example; animation-duration: 8s; } @keyframes example { 0% { background-color: rgb(210, 161, 255); left: 750px; top: 0px; } 25% { background-color: rgb(56, 1, 107); color: white; } 50% { background-color: rgb(122, 206, 255); color: black; } 80% { background-color: rgb(55, 0, 107); color: white; } 100% { background-color: rgb(205, 88, 252); left: 0px; top: 0px; } }
17.253425
65
0.580389
eeeb5aed3057d27e5cd36a26e4476f09cf1ef9e5
538
swift
Swift
FinalProject/Define/Color.swift
blkbrds/intern14_final_project_DuongNguyen
3883343d4f5bbcacdcf433a79df99174656ff4f0
[ "MIT" ]
null
null
null
FinalProject/Define/Color.swift
blkbrds/intern14_final_project_DuongNguyen
3883343d4f5bbcacdcf433a79df99174656ff4f0
[ "MIT" ]
5
2019-09-03T10:10:17.000Z
2019-09-18T07:34:32.000Z
FinalProject/Define/Color.swift
blkbrds/intern14_final_project_DuongNguyen
3883343d4f5bbcacdcf433a79df99174656ff4f0
[ "MIT" ]
null
null
null
// // Color.swift // FinalProject // // Created by Nguyen Duong on 8/29/19. // Copyright © 2019 Asiantech. All rights reserved. // import Foundation import UIKit extension App { struct Color { static let navigationBar = UIColor.black static let tableHeaderView = UIColor.gray static let tableFooterView = UIColor.red static let tableCellTextLabel = UIColor.yellow static let selectedTintColor = #colorLiteral(red: 0.8078431487, green: 0.02745098062, blue: 0.3333333433, alpha: 1) } }
25.619048
123
0.689591
777a4dc85818e764eca6d8f6c01a950636cc165d
855
asm
Assembly
smsq/java/ip/init.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
smsq/java/ip/init.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
smsq/java/ip/init.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
; IP initialisation V1.02  2004 Marcel Kilgus ; 1.02 check for UDP ; 1.01 adatped for java wl section ip xdef ip_init xref.l ip_vers xref ip_io xref ip_open xref ip_close xref ip_cnam xref iou_idset xref iou_idlk include 'dev8_mac_vec' include 'dev8_keys_iod' include 'dev8_keys_java' include 'dev8_smsq_java_ip_data' ;+++ ; Initialise IP devices. ; ; status return standard ;--- ip_init moveq #jt9.cla,d0 dc.w jva.trp9 ; close all previous sockets moveq #-jt9.cla,d0 dc.w jva.trp9 ; close all previous sockets lea ip_link,a3 jsr iou_idset ; setup IP linkage jmp iou_idlk ; and link in ip_link dc.l ipd_end+iod.sqhd dc.l 1<<iod..ssr+1<<iod..scn ; serial and name novec ; no servers novec novec vec ip_io ; but a full set of opens vec ip_open vec ip_close vec ip_cnam ; get name of channel end
16.442308
50
0.711111
f04e299a6b487778e8fe610c813dd85847139172
529
py
Python
tests/frontend/detector/test_fast.py
swershrimpy/gtsfm
8d301eb3ef9172345a1ac1369fd4e19764d28946
[ "Apache-2.0" ]
122
2021-02-07T23:01:58.000Z
2022-03-30T13:10:35.000Z
tests/frontend/detector/test_fast.py
swershrimpy/gtsfm
8d301eb3ef9172345a1ac1369fd4e19764d28946
[ "Apache-2.0" ]
273
2021-01-30T16:45:26.000Z
2022-03-16T15:02:33.000Z
tests/frontend/detector/test_fast.py
swershrimpy/gtsfm
8d301eb3ef9172345a1ac1369fd4e19764d28946
[ "Apache-2.0" ]
13
2021-03-12T03:01:27.000Z
2022-03-11T03:16:54.000Z
"""Tests for frontend's FAST detector class. Authors: Ayush Baid """ import unittest import tests.frontend.detector.test_detector_base as test_detector_base from gtsfm.frontend.detector.fast import Fast class TestFast(test_detector_base.TestDetectorBase): """Test class for FAST detector class in frontend. All unit test functions defined in TestDetectorBase are run automatically. """ def setUp(self): super().setUp() self.detector = Fast() if __name__ == "__main__": unittest.main()
22.041667
78
0.729679
ebab59acb824a2e93706e47c007e30c94a6b53ba
4,898
rs
Rust
map_model/src/make/buildings.rs
omalaspinas/abstreet
43b31dcdbc6b7a599eceab3a17fa4e1fab72b691
[ "Apache-2.0" ]
2
2020-03-31T22:48:17.000Z
2020-05-19T08:02:22.000Z
map_model/src/make/buildings.rs
omalaspinas/abstreet
43b31dcdbc6b7a599eceab3a17fa4e1fab72b691
[ "Apache-2.0" ]
null
null
null
map_model/src/make/buildings.rs
omalaspinas/abstreet
43b31dcdbc6b7a599eceab3a17fa4e1fab72b691
[ "Apache-2.0" ]
null
null
null
use crate::make::sidewalk_finder::find_sidewalk_points; use crate::raw::{OriginalBuilding, RawBuilding}; use crate::{osm, Building, BuildingID, FrontPath, LaneID, LaneType, Map, OffstreetParking}; use abstutil::Timer; use geom::{Distance, HashablePt2D, Line, PolyLine, Polygon}; use std::collections::{BTreeMap, HashSet}; pub fn make_all_buildings( input: &BTreeMap<OriginalBuilding, RawBuilding>, map: &Map, timer: &mut Timer, ) -> Vec<Building> { timer.start("convert buildings"); let mut center_per_bldg: BTreeMap<OriginalBuilding, HashablePt2D> = BTreeMap::new(); let mut query: HashSet<HashablePt2D> = HashSet::new(); timer.start_iter("get building center points", input.len()); for (id, b) in input { timer.next(); let center = b.polygon.center().to_hashable(); center_per_bldg.insert(*id, center); query.insert(center); } // Skip buildings that're too far away from their sidewalk let sidewalk_pts = find_sidewalk_points( map.get_bounds(), query, map.all_lanes(), Distance::meters(100.0), timer, ); let mut results = Vec::new(); timer.start_iter("create building front paths", center_per_bldg.len()); for (orig_id, bldg_center) in center_per_bldg { timer.next(); if let Some(sidewalk_pos) = sidewalk_pts.get(&bldg_center) { let sidewalk_pt = sidewalk_pos.pt(map); if sidewalk_pt == bldg_center.to_pt2d() { timer.warn(format!( "Skipping building {} because front path has 0 length", orig_id )); continue; } let b = &input[&orig_id]; let sidewalk_line = trim_path(&b.polygon, Line::new(bldg_center.to_pt2d(), sidewalk_pt)); let id = BuildingID(results.len()); let mut bldg = Building { id, polygon: b.polygon.clone(), address: get_address(&b.osm_tags, sidewalk_pos.lane(), map), name: b.osm_tags.get(osm::NAME).cloned(), osm_way_id: orig_id.osm_way_id, front_path: FrontPath { sidewalk: *sidewalk_pos, line: sidewalk_line.clone(), }, amenities: b.amenities.clone(), parking: None, label_center: b.polygon.polylabel(), }; // Can this building have a driveway? If it's not next to a driving lane, then no. let sidewalk_lane = sidewalk_pos.lane(); if let Ok(driving_lane) = map .get_parent(sidewalk_lane) .find_closest_lane(sidewalk_lane, vec![LaneType::Driving]) { let driving_pos = sidewalk_pos.equiv_pos(driving_lane, Distance::ZERO, map); let buffer = Distance::meters(7.0); if driving_pos.dist_along() > buffer && map.get_l(driving_lane).length() - driving_pos.dist_along() > buffer { let driveway_line = PolyLine::new(vec![ sidewalk_line.pt1(), sidewalk_line.pt2(), driving_pos.pt(map), ]); bldg.parking = Some(OffstreetParking { public_garage_name: b.public_garage_name.clone(), num_spots: b.num_parking_spots, driveway_line, driving_pos, }); } } if bldg.parking.is_none() { timer.warn(format!( "{} can't have a driveway. Forfeiting {} parking spots", bldg.id, b.num_parking_spots )); } results.push(bldg); } } timer.note(format!( "Discarded {} buildings that weren't close enough to a sidewalk", input.len() - results.len() )); timer.stop("convert buildings"); results } // Adjust the path to start on the building's border, not center fn trim_path(poly: &Polygon, path: Line) -> Line { for bldg_line in poly.points().windows(2) { let l = Line::new(bldg_line[0], bldg_line[1]); if let Some(hit) = l.intersection(&path) { if let Some(l) = Line::maybe_new(hit, path.pt2()) { return l; } } } // Just give up path } fn get_address(tags: &BTreeMap<String, String>, sidewalk: LaneID, map: &Map) -> String { match (tags.get("addr:housenumber"), tags.get("addr:street")) { (Some(num), Some(st)) => format!("{} {}", num, st), (None, Some(st)) => format!("??? {}", st), _ => format!("??? {}", map.get_parent(sidewalk).get_name()), } }
37.106061
94
0.538587
d79b7f252b692f7295e7799ecd2001535bbeaa3f
13,270
asm
Assembly
main.asm
aKhfagy/Assembly-Course-Task
0faffcb0e1c669bf8110b54d15e49e23c359a858
[ "CC0-1.0" ]
null
null
null
main.asm
aKhfagy/Assembly-Course-Task
0faffcb0e1c669bf8110b54d15e49e23c359a858
[ "CC0-1.0" ]
null
null
null
main.asm
aKhfagy/Assembly-Course-Task
0faffcb0e1c669bf8110b54d15e49e23c359a858
[ "CC0-1.0" ]
null
null
null
INCLUDE Irvine32.inc ;DO NOT CHANGE THIS LINE ;###################################################################################;# ; AUTOGRADER RELATED .DATA ;# ; DO NOT MODIFY, DELETE NOR ADD ANY LINE HERE ;# ;###################################################################################;# .data ;# ;# prmpt byte "Please enter question number 1, 2, 3, 4, 5, 6 or enter 0 to exit:", 0 ;# wrongChoice byte "Please enter a valid question number!", 0 ;# tmpstr byte 5 dup(?), 0 ;# ;###################################################################################;# ;####################################################### ; STUDENTS .DATA SECTION # ; THIS SECTION MADE FOR STUDENTS' DATA # ; YOU CAN MODIFY, ADD OR EDIT TO THIS SECTION # ;####################################################### .data ;-------------------------Q1 DATA----------------------- strQ1 BYTE 10 DUP(?), 0 ;-----------------------Q1 DATA End--------------------- ;-------------------------Q2 DATA----------------------- infoToEnterPrompt BYTE "Enter the number of elements: ", 0 ;-----------------------Q2 DATA End--------------------- ;-------------------------Q3 DATA----------------------- numberCharsToEnterPrompt BYTE "Enter the number of characters you want to check: ", 0 firstCharPrompt BYTE "First char: ", 0 lastCharPrompt BYTE "Last char: ", 0 enterCharPrompt BYTE "Enter character: ", 0 answerPrompt BYTE "Number of characters in range is : ", 0 ;-----------------------Q3 DATA End--------------------- ;-------------------------Q4 DATA----------------------- numberLowerCasePrompt BYTE "The number of lowercase characters in the original string: ", 0 lowerCaseCharsPrompt BYTE "The lowercase characters are: ", 0 strQ4 BYTE 30 DUP(?), 0 lowerCaseChars BYTE 26 DUP(?), 0 ;-----------------------Q4 DATA End--------------------- ;-------------------------Q5 DATA----------------------- isItPalindromePrompt BYTE "Is it a palindrome?: ", 0 enterStringToCheckPlanindromePrompt BYTE "Enter the string: ", 0 strQ5 BYTE 30 DUP(?), 0 ;-----------------------Q5 DATA End--------------------- ;-------------------------Q6 DATA----------------------- strQ6 BYTE 39 DUP(?), 0 ;-----------------------Q6 DATA End--------------------- .code ;######################################################## ; AUTOGRADER RELATED METHOD ;# ; DO NOT MODIFY, DELETE ;# ; NOR ADD ANY LINE HERE ;# ;####################################################### ;####################################################### MAIN PROC ;# PROGLOOP: ;# MOV EDX, OFFSET PRMPT ;# CALL WRITESTRING ;# CALL CRLF ;# CALL READINT ;# CMP EAX, 0 ;# JE FIN ;# ;# CMP EAX, 1 ;# JE _Q1 ;# ;# CMP EAX, 2 ;# JE _Q2 ;# ;# CMP EAX, 3 ;# JE _Q3 ;# ;# CMP EAX, 4 ;# JE _Q4 ;# ;# CMP EAX, 5 ;# JE _Q5 ;# ;# CMP EAX, 6 ;# JE _Q6 ;# JMP WRONG ;# ;# _Q1: ;# CALL Q1 ;# JMP CONT ;# ;# _Q2: ;# CALL Q2 ;# JMP CONT ;# ;# _Q3: ;# CALL Q3 ;# JMP CONT ;# ;# _Q4: ;# CALL Q4 ;# JMP CONT ;# ;# _Q5: ;# CALL Q5 ;# JMP CONT ;# ;# _Q6: ;# CALL Q6 ;# JMP CONT ;# ;# WRONG: ;# MOV EDX, OFFSET wrongChoice ;# CALL WRITESTRING ;# CALL CRLF ;# ;# CONT: ;# JMP PROGLOOP ;# ;# FIN: ;# ;# EXIT ;# MAIN ENDP ;# ;####################################################### ;---------------------------------------------------------- ;DO NOT CHANGE THE FUNCTION NAME ; ; Student's procedure ; Question one procedure here ;---------------------------------------------------------- ;Built-In functions used: ; ReadString: ; edx -> OFFSET of the string ; ecx -> max number of characters allowed ; eax -> lenght of actual string ; ReadInt: ; eax -> number entered by user ; WriteString: ; edx -> OFFSET of the string ; CRLF: ; Writes new line ; ;Registers Used: ; edx -> OFFSET of string ; eax -> length of string ; esi -> first char to replace (index) ; edi -> second char to be replaced (index) ; ebx -> used in swaping (only bl and bh are used) ;---------------------------------------------------------- Q1 PROC uses edx ecx eax esi edi ebx ; reading the indices of the chars to replace CALL ReadInt ; first index MOV esi, eax CALL ReadInt ; second index MOV edi, eax ; turn index from one based to zero based DEC esi DEC edi ; reading the string MOV edx, OFFSET strQ1 MOV ecx, LENGTHOF strQ1 CALL ReadString ; swapping part MOV bh, [edx + esi] ; store first char in bh MOV bl, [edx + edi] ; store second char in bl MOV [edx + esi], bl MOV [edx + edi], bh ; write string to console CALL WriteString CALL CRLF RET Q1 ENDP ;---------------------------------------------------------- ;DO NOT CHANGE THE FUNCTION NAME ; ; Student's procedure ; Question two procedure here ;---------------------------------------------------------- ;Built-In functions used: ; ReadInt: ; eax -> number entered by user ; WriteInt: ; eax -> number entered by user ; WriteString: ; edx -> OFFSET of the string ; CRLF: ; Writes new line ;Registers Used: ; ecx -> loop counter ; ebx -> previous fib number ; eax -> current fib number ; esi -> temp variable ; edx -> OFFSET of infoToEnter ;---------------------------------------------------------- Q2 PROC uses ecx eax ebx edx ; print information string MOV edx, OFFSET infoToEnterPrompt CALL WriteString ; Read Number N CALL ReadInt MOV ecx, eax ; move it to loop register MOV ebx, +0 ; first fib number MOV eax, ebx ; +0 is always printed CALL WriteInt CALL CRLF INC eax ; first fib number ; start of loop FIB: ; write ith fib number CALL WriteInt CALL CRLF ; move numbers MOV esi, eax ADD eax, ebx MOV ebx, esi LOOP FIB RET Q2 ENDP ;---------------------------------------------------------- ;DO NOT CHANGE THE FUNCTION NAME ; ; Student's procedure ; Question three procedure here ;---------------------------------------------------------- ;Built-In functions used: ; ReadInt: ; eax -> number entered by user ; ReadChar: ; al -> char entered by user ; WriteInt: ; eax -> number entered by user ; WriteString: ; edx -> OFFSET of the string ; CRLF: ; Writes new line ;Registers Used: ; ecx -> loop counter ; edx -> OFFSET of string to print to screen ; eax -> Read integer into ; ebx -> store low and high integers in bl and bh ; esi -> Counter ; al -> Read Char ;---------------------------------------------------------- Q3 PROC uses edx ecx eax ebx esi ; get number of chars MOV edx, OFFSET numberCharsToEnterPrompt CALL WriteString CALL ReadInt MOV ecx, eax ; get first char MOV edx, OFFSET firstCharPrompt CALL WriteString CALL ReadChar MOV bl, al ; get last char MOV edx, OFFSET lastCharPrompt CALL WriteString CALL ReadChar MOV bh, al ; initialize counter MOV esi, +0 CHARS_TO_CHECK: ; get chars MOV edx, OFFSET enterCharPrompt CALL WriteString CALL ReadChar ; check in range CMP al, bl JB END_IF CMP al, bh JA END_IF INC esi END_IF: LOOP CHARS_TO_CHECK ; display answer MOV edx, OFFSET answerPrompt CALL WriteString MOV eax, esi CALL WriteInt CALL CRLF RET Q3 ENDP ;---------------------------------------------------------- ;DO NOT CHANGE THE FUNCTION NAME ; ; Student's procedure ; Question four procedure here ;---------------------------------------------------------- ;Built-In functions used: ; WriteDec: ; eax -> unsigned integer ; WriteChar: ; al -> has char to be written ; ReadString: ; edx -> OFFSET of the string ; ecx -> max number of characters allowed ; eax -> lenght of actual string ; WriteString: ; edx -> OFFSET of the string ; CRLF: ; Writes new line ;Registers Used: ; ecx -> loop counter ; edx -> OFFSET of string to print to screen ; eax -> the actual size of the input array ; ebx -> store low and high integers in bl and bh ; esi -> OFFSET of result string ; edi -> counter of lower case chars ;---------------------------------------------------------- Q4 PROC uses edx ecx eax ebx esi edi ; Read input string MOV edx, OFFSET strQ4 MOV ecx, LENGTHOF strQ4 CALL ReadString ; initialize loop iterator MOV ecx, eax ; initialize counter MOV edi, 0 MOV esi, OFFSET lowerCaseChars ; bh -> last char MOV bh, 'z' ; bl -> first char MOV bl, 'a' STRING_LOOP: MOV al, [edx] ; mpve char to al ; IF CMP al, bl JB END_IF CMP al, bh JA END_IF ; add char to answer array and add one to counter ; also move the start of the answer array MOV [esi], al INC edi INC esi END_IF: INC edx LOOP STRING_LOOP MOV edx, OFFSET numberLowerCasePrompt CALL WriteString MOV eax, edi CALL WriteDec CALL CRLF MOV edx, OFFSET lowerCaseCharsPrompt CALL WriteString ; MOV start to edx MOV esi, OFFSET lowerCaseChars ; init loop counter again MOV ecx, edi ; to prevent errors with loop CMP ecx, 0 JE END_OUTPUT ; init index MOV edi, 0 OUTPUT_LOOP: CMP edi, 0 ; IF JE ELSE_COND ; any other index print comma before letter MOV al, ',' CALL WriteChar MOV al, [esi] CALL WriteChar JMP INC_COND ELSE_COND: ; start index only print letter MOV al, [esi] CALL WriteChar INC_COND: INC edi INC esi LOOP OUTPUT_LOOP CALL CRLF END_OUTPUT: RET Q4 ENDP ;---------------------------------------------------------- ;DO NOT CHANGE THE FUNCTION NAME ; ; Student's procedure ; Question five procedure here ;---------------------------------------------------------- ;Built-In functions used: ; WriteChar: ; al -> has char to be written ; ReadString: ; edx -> OFFSET of the string ; ecx -> max number of characters allowed ; eax -> lenght of actual string ; WriteString: ; edx -> OFFSET of the string ; CRLF: ; Writes new line ;Registers Used: ; ecx -> loop counter ; edx -> OFFSET of string to print to screen ; eax -> the actual size of the input array ; ebx -> boolean to see if it is palindrome or not ; esi -> start index of string (initially) ; edi -> end index of string (initially) ;---------------------------------------------------------- Q5 PROC uses edx ecx eax esi edi ebx ; prompt to take string MOV edx, OFFSET enterStringToCheckPlanindromePrompt CALL WriteString ; read string and get it ready to be looped on MOV edx, OFFSET strQ5 MOV ecx, LENGTHOF strQ5 CALL ReadString MOV ecx, eax ; set start and end indexies respectively MOV esi, 0 MOV edi, eax DEC edi ; initialize boolean MOV ebx, 1 PALINDROME_CHECK: MOV al, [edx + esi] CMP al, [edx + edi] JE END_CHECK MOV ebx, 0 END_CHECK: ; move indecies INC esi DEC edi LOOP PALINDROME_CHECK CMP ebx, 1 JE IS_PALINDROME MOV al, 'N' JMP NEXT IS_PALINDROME: MOV al, 'Y' NEXT: MOV edx, OFFSET isItPalindromePrompt CALL WriteString CALL WriteChar CALL CRLF RET Q5 ENDP ;---------------------------------------------------------- ;DO NOT CHANGE THE FUNCTION NAME ; ; Student's procedure ; Question six procedure here ;---------------------------------------------------------- ;Built-In functions used: ; ReadInt: ; eax -> read number to it ; WriteString: ; edx -> OFFSET of the string ; CRLF: ; Writes new line ;Registers Used: ; ecx -> loop counter ; edx -> OFFSET of string to print to screen ; eax -> N, number of lines required ; bl -> Char to place in array ; esi -> index offset ; edi -> OFFSET of middle of array ;---------------------------------------------------------- Q6 PROC uses edx ecx eax esi edi ; Read N CALL ReadInt ; Init counter MOV ecx, eax ; set offset MOV edx, OFFSET strQ6 FILL_N_SPACES: MOV bl, ' ' MOV [edx], bl INC edx LOOP FILL_N_SPACES ; get last index and move * to it DEC edx MOV bl, '*' MOV [edx], bl ; set to correct offset MOV edx, OFFSET strQ6 CALL WriteString CALL CRLF ; prevent errors CMP eax, 1 JE NEXT ; set loop counter DEC eax MOV ecx, eax ; set index offset MOV esi, 1 ; set char to set to * MOV bl, '*' ; set offset of mid char MOV edi, OFFSET strQ6 ADD edi, eax ; set one character before and after the last and first * in the array ; print the array to the screen after that ITERATE: MOV [edi + esi], bl SUB edi, esi MOV [edi], bl ADD edi, esi INC esi CALL WriteString CALL CRLF LOOP ITERATE NEXT: RET Q6 ENDP END MAIN
21.647635
93
0.508591
5f9b6c555e3965a9506a27357d3175643cc826f2
2,526
h
C
cpp/mdbase.h
Ypig/vergil
1fedad4a6afbd108530959275e959c4bf5ed0990
[ "MIT" ]
74
2019-10-03T07:22:47.000Z
2022-03-15T11:54:45.000Z
cpp/mdbase.h
Ypig/vergil
1fedad4a6afbd108530959275e959c4bf5ed0990
[ "MIT" ]
null
null
null
cpp/mdbase.h
Ypig/vergil
1fedad4a6afbd108530959275e959c4bf5ed0990
[ "MIT" ]
34
2019-10-05T05:08:26.000Z
2022-02-14T03:36:01.000Z
#pragma once #include "base.h" #include "utils.h" #include "confhandle.h" namespace tokza{ STRUCT MD_INFO{ u32 index; // conf index u32 hash; // elfhash_md_name u32 md_base; // 基址 }MD_INFO; class MDBASE{ public: MDBASE(CONFHANDLE& confhandle__); ~MDBASE(); u32 getbyhash(u32 hash); // 失败时返回0 u32 getbyidx(u32 idx); // 失败时返回0 u32 get_libc(); // 失败时返回0 u32 get_self(); // 失败时返回0 private: bool init(); MD_INFO* sub_init(u32 idx); private: bool flag; // ... CONF* dec_conf; // 解密后的conf UTILS utils; // ... STR_UTILS str_utils; // ... CONFHANDLE& confhandle; // ... map<u32,MD_INFO*> hash_key; // map<elfhashmd_name,***> map<u32,MD_INFO*> idx_key; // map<conf_index,***> }; } /* * OK! // 构造模拟数据 CONF conf = {0}; conf.count = 5; conf.idx_procpidmaps = 0; conf.idx_libname_libcso = 1; conf.idx_libname_self = 4; STR_UTILS su; DEBUG__set_fake_data_ele(&conf,0, su.decstr((char*)"/proc/%d/maps",STR_UTILS_IS_DEBUG), (u32)CONF_TYPE::TYPE_STR); DEBUG__set_fake_data_ele(&conf,1, su.decstr((char*)"libc.so",STR_UTILS_IS_DEBUG), (u32)CONF_TYPE::TYPE_LIB_NAME); DEBUG__set_fake_data_ele(&conf,2, su.decstr((char*)"liblog.so",STR_UTILS_IS_DEBUG), (u32)CONF_TYPE::TYPE_LIB_NAME); DEBUG__set_fake_data_ele(&conf,3, su.decstr((char*)"libsm4.so",STR_UTILS_IS_DEBUG), (u32)CONF_TYPE::TYPE_LIB_NAME); DEBUG__set_fake_data_ele(&conf,4, su.decstr((char*)"libape.so",STR_UTILS_IS_DEBUG), (u32)CONF_TYPE::TYPE_LIB_NAME); // 加密CONF DEBUG__set_encrypt_global_conf(&conf); // 解密CONF CONFHANDLE confhandle(&conf); CONF* dec_conf = confhandle.get_dec_conf(); // ... MDBASE mdbase(confhandle); u32 base_self = mdbase.get_self(); u32 base_libc = mdbase.get_libc(); u32 base1 = mdbase.getbyidx(1); u32 base2 = mdbase.getbyidx(2); u32 base3 = mdbase.getbyidx(3); u32 base4 = mdbase.getbyidx(4); u32 base11 = mdbase.getbyhash(su.get_confelfhash_by_idx(dec_conf,1)); u32 base22 = mdbase.getbyhash(su.get_confelfhash_by_idx(dec_conf,2)); u32 base33 = mdbase.getbyhash(su.get_confelfhash_by_idx(dec_conf,3)); u32 base44 = mdbase.getbyhash(su.get_confelfhash_by_idx(dec_conf,4)); */
35.083333
123
0.599762
344f2bd782b872eb3843615ed0a1023839537379
448
sql
SQL
src/maw_database_pg/003/tables/maw.user.sql
AerisG222/mikeandwan.us
d93c8317aa00035a9035cc903a60de2d5aeb4428
[ "MIT" ]
null
null
null
src/maw_database_pg/003/tables/maw.user.sql
AerisG222/mikeandwan.us
d93c8317aa00035a9035cc903a60de2d5aeb4428
[ "MIT" ]
74
2020-02-09T12:58:49.000Z
2022-03-16T17:52:04.000Z
src/maw_database_pg/003/tables/maw.user.sql
AerisG222/mikeandwan.us
d93c8317aa00035a9035cc903a60de2d5aeb4428
[ "MIT" ]
null
null
null
ALTER TABLE maw.user DROP COLUMN website, DROP COLUMN date_of_birth, DROP COLUMN company_name, DROP COLUMN position, DROP COLUMN work_email, DROP COLUMN address_1, DROP COLUMN address_2, DROP COLUMN city, DROP COLUMN state_id, DROP COLUMN postal_code, DROP COLUMN country_id, DROP COLUMN home_phone, DROP COLUMN mobile_phone, DROP COLUMN work_phone;
28
33
0.647321
0695b78969b6626d345923c4f9e24c6da8fd05bb
891
asm
Assembly
programs/oeis/099/A099142.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/099/A099142.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/099/A099142.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A099142: a(n) = 6^n * T(n, 4/3) where T is the Chebyshev polynomial of the first kind. ; 1,8,92,1184,15632,207488,2757056,36643328,487039232,6473467904,86042074112,1143628341248,15200538791936,202038000386048,2685388609667072,35692849740775424,474411605904392192,6305643103802359808,83811471848279638016,1113980397835589255168,14806473378831361114112,196800279739220564639744,2615771434189600034127872,34767532876421660219015168,462112754391920962275639296,6142172886719555628525682688,81638707029403735414487908352,1085101088548555764004881956864,14422623963718357749156546609152,191698344231745716482328995299328,2547959045014070584747628246859776,33866204327882283562598208118980608,450132743625609995950656713016737792 mul $0,2 mov $1,2 lpb $0 mov $2,$0 sub $0,1 trn $2,1 seq $2,291008 ; p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - 7*S^2. add $1,$2 lpe sub $1,1 mov $0,$1
59.4
635
0.832772
f041517334fb86309fe09233d6f8d768ed723121
183
js
JavaScript
client/src/actions/devices.js
n3tn0de/getmobit-test
da9d76c5de2d91ba7ade50091f81257c6904f9ad
[ "MIT" ]
null
null
null
client/src/actions/devices.js
n3tn0de/getmobit-test
da9d76c5de2d91ba7ade50091f81257c6904f9ad
[ "MIT" ]
3
2020-07-17T17:05:28.000Z
2021-05-09T23:59:02.000Z
client/src/actions/devices.js
n3tn0de/getmobit-test
da9d76c5de2d91ba7ade50091f81257c6904f9ad
[ "MIT" ]
null
null
null
import { FETCH_DEVICES_REQUEST, } from '../action-types' export function paginate(page, limit, search) { return { type: FETCH_DEVICES_REQUEST, page, limit, search, } }
16.636364
47
0.68306
cae68b4d01dd94e0377b78e6e858beab62052611
2,080
asm
Assembly
sources/mul_tab.asm
matteosev/mul_tab
e6571eb465ca87198acf17be8f807695244d7dea
[ "MIT" ]
1
2020-04-19T07:14:37.000Z
2020-04-19T07:14:37.000Z
sources/mul_tab.asm
matteosev/mul_tab
e6571eb465ca87198acf17be8f807695244d7dea
[ "MIT" ]
null
null
null
sources/mul_tab.asm
matteosev/mul_tab
e6571eb465ca87198acf17be8f807695244d7dea
[ "MIT" ]
null
null
null
; args: ; 1: the table to display ; displays the multiplication table %include "module.asm" section .data x db " x ", 0 equal db " = ", 0 nl db 10 ; ascii code for new line msg db "Please enter an integer between 0 and 9 or a letter.", 10, 0 section .bss op1 resq 1 op2 resq 1 res resq 1 temp resq 1 section .text global _start _start: main: ; get args pop rax ; pop nb args cmp rax, 1 ; there's 1 argument by default : the path to the binarie je wrong_arg ; if only 1 arg, it means user forgot to enter his arg times 2 pop rax ; pop path, 1st user arg mov al, byte [rax] ; get 1 char (because rax currently is a pointer) ; initialize the two operands with chars representing integer mov qword [op1], rax mov qword [op2], "0" mov rcx, 10 ; loop counter ; main loop loop_mul: push rcx ; save counter state ; cast to int to calculate str_to_int op1, 1 str_to_int op2, 1 ; calculations inc byte [op2] ; increment 2nd operand mov al, byte [op2] ; move 2nd operand in al for multiplication mul byte [op1] ; mul al (op2) by op1 to get result mov qword [res], rax ; put result in res ; cast to str to display int_to_str op1, temp int_to_str op2, temp int_to_str res, temp ; display print op1, 1 print x, 0 print op2, 2 print equal, 0 print res, 3 print nl, 1 ; verifie that we are still in the range we target pop rcx ; reset counter dec rcx ; decrement counter jnz loop_mul ; if counter != 0, continue looping jmp end ; else finish program wrong_arg: print msg, 0 end: exit
27.733333
93
0.513942
c64326a19eaf1be13fb8036be5706520d500a270
5,618
rb
Ruby
app/models/collecting_event/georeference.rb
sdjbrown/taxonworks
cb7e23f2a00b9fca12b6e6ef64d4fcd6f36a962e
[ "NCSA" ]
null
null
null
app/models/collecting_event/georeference.rb
sdjbrown/taxonworks
cb7e23f2a00b9fca12b6e6ef64d4fcd6f36a962e
[ "NCSA" ]
null
null
null
app/models/collecting_event/georeference.rb
sdjbrown/taxonworks
cb7e23f2a00b9fca12b6e6ef64d4fcd6f36a962e
[ "NCSA" ]
null
null
null
module CollectingEvent::Georeference extend ActiveSupport::Concern included do has_many :georeferences, dependent: :destroy, class_name: '::Georeference', inverse_of: :collecting_event has_one :verbatim_data_georeference, class_name: '::Georeference::VerbatimData' has_many :error_geographic_items, through: :georeferences, source: :error_geographic_item has_many :geographic_items, through: :georeferences # See also all_geographic_items, the union has_many :geo_locate_georeferences, class_name: '::Georeference::GeoLocate', dependent: :destroy has_many :gpx_georeferences, class_name: '::Georeference::GPX', dependent: :destroy accepts_nested_attributes_for :verbatim_data_georeference accepts_nested_attributes_for :geo_locate_georeferences accepts_nested_attributes_for :gpx_georeferences def preferred_georeference georeferences.order(:position).first end end # @param [Float] delta_z, will be used to fill in the z coordinate of the point # @return [RGeo::Geographic::ProjectedPointImpl, nil] # for the *verbatim* latitude/longitude only def verbatim_map_center(delta_z = 0.0) retval = nil unless verbatim_latitude.blank? or verbatim_longitude.blank? lat = Utilities::Geo.degrees_minutes_seconds_to_decimal_degrees(verbatim_latitude.to_s) long = Utilities::Geo.degrees_minutes_seconds_to_decimal_degrees(verbatim_longitude.to_s) elev = Utilities::Geo.distance_in_meters(verbatim_elevation.to_s) delta_z = elev unless elev == 0.0 retval = Gis::FACTORY.point(long, lat, delta_z) end retval end def latitude verbatim_map_center.try(:y) end def longitude verbatim_map_center.try(:x) end # TODO: Helper method # @return [CollectingEvent] # return the next collecting event without a georeference in this collecting events project sort order # 1. verbatim_locality # 2. geography_id # 3. start_date_year # 4. updated_on # 5. id def next_without_georeference CollectingEvent.not_including(self). includes(:georeferences). where(project_id: project_id, georeferences: {collecting_event_id: nil}). order(:verbatim_locality, :geographic_area_id, :start_date_year, :updated_at, :id). first end # TODO: refactor to nil on no georeference def georeference_latitude retval = 0.0 if georeferences.count > 0 retval = Georeference.where(collecting_event_id: self.id).order(:position).limit(1)[0].latitude.to_f end retval.round(6) end # TODO: refactor to nil on no georeference def georeference_longitude retval = 0.0 if georeferences.count > 0 retval = Georeference.where(collecting_event_id: self.id).order(:position).limit(1)[0].longitude.to_f end retval.round(6) end # @return [String] # coordinates for centering a Google map def verbatim_center_coordinates if self.verbatim_latitude.blank? || self.verbatim_longitude.blank? 'POINT (0.0 0.0 0.0)' else self.verbatim_map_center.to_s end end # @return [Symbol, nil] # the name of the method that will return an Rgeo object that represent # the "preferred" centroid for this collecing event def map_center_method return :preferred_georeference if preferred_georeference # => { georeferenceProtocol => ? } return :verbatim_map_center if verbatim_map_center # => { } return :geographic_area if geographic_area.try(:has_shape?) nil end # @return [Rgeo::Geographic::ProjectedPointImpl, nil] def map_center case map_center_method when :preferred_georeference preferred_georeference.geographic_item.centroid when :verbatim_map_center verbatim_map_center when :geographic_area geographic_area.default_geographic_item.geo_object.centroid else nil end end # @return [Integer] # @TODO figure out how to convert verbatim_geolocation_uncertainty in different units (ft, m, km, mi) into meters # @TODO: See Utilities::Geo.distance_in_meters(String) def get_error_radius return nil if verbatim_geolocation_uncertainty.blank? return verbatim_geolocation_uncertainty.to_i if is.number?(verbatim_geolocation_uncertainty) nil end # CollectingEvent.select {|d| !(d.verbatim_latitude.nil? || d.verbatim_longitude.nil?)} # .select {|ce| ce.georeferences.empty?} # @param [Boolean] reference_self # @param [Boolean] no_cached # @return [Georeference::VerbatimData, false] # generates (creates) a Georeference::VerbatimReference from verbatim_latitude and verbatim_longitude values def generate_verbatim_data_georeference(reference_self = false, no_cached: false) return false if (verbatim_latitude.nil? || verbatim_longitude.nil?) begin CollectingEvent.transaction do vg_attributes = {collecting_event_id: id.to_s, no_cached: no_cached} vg_attributes.merge!(by: self.creator.id, project_id: self.project_id) if reference_self a = Georeference::VerbatimData.new(vg_attributes) if a.valid? a.save end return a end rescue raise end false end # @return [Symbol, nil] # Prioritizes and identifies the source of the latitude/longitude values that # will be calculated for DWCA and primary display def dwc_georeference_source if !preferred_georeference.nil? :georeference elsif verbatim_latitude && verbatim_longitude :verbatim elsif geographic_area && geographic_area.has_shape? :geographic_area else nil end end end
33.440476
115
0.731933
9bbed80df44310fa3047534f8e0f3cb62af31a04
1,318
js
JavaScript
src/components/NodeStateBar/component.js
istumpf/bayesjs-editor
90138c742622d96b633773c971fc5f3f25dfcb1f
[ "MIT" ]
7
2019-10-07T16:17:18.000Z
2022-01-27T01:56:25.000Z
src/components/NodeStateBar/component.js
istumpf/bayesjs-editor
90138c742622d96b633773c971fc5f3f25dfcb1f
[ "MIT" ]
35
2019-06-05T19:03:44.000Z
2022-02-26T03:30:37.000Z
src/components/NodeStateBar/component.js
istumpf/bayesjs-editor
90138c742622d96b633773c971fc5f3f25dfcb1f
[ "MIT" ]
15
2019-10-05T18:43:12.000Z
2022-01-27T02:23:05.000Z
import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; const NodeStateBar = ({ barWidth, fillColor, percentText, x, textX, textY, barX, barY, height, width, onDoubleClick, }) => ( <Fragment> <rect x={barX} y={barY} height={height} width={barWidth} fill={fillColor} /> <text x={textX} y={textY} height={height} fontSize="14px" alignmentBaseline="rigth" stroke="black" strokeWidth="1.1" > {percentText} </text> <rect x={x} y={barY} height={height} width={width} fill="transparent" stroke="#333" strokeWidth="1" onDoubleClick={onDoubleClick} > <title> {percentText} </title> </rect> </Fragment> ); NodeStateBar.propTypes = { barWidth: PropTypes.number.isRequired, fillColor: PropTypes.string.isRequired, percentText: PropTypes.string.isRequired, textX: PropTypes.number.isRequired, textY: PropTypes.number.isRequired, barX: PropTypes.number.isRequired, barY: PropTypes.number.isRequired, x: PropTypes.number.isRequired, height: PropTypes.number.isRequired, width: PropTypes.number.isRequired, onDoubleClick: PropTypes.func.isRequired, }; export default NodeStateBar;
18.56338
43
0.624431
ca2da350381f4bc2e498666632438801366a1512
78
sql
SQL
spring-onlineStore-service-carts/src/main/resources/db/mysql/data.sql
cheparinV/pet-clinic-demo
22642887aa4e6783e9aa8e651cdf3836ac4c67a1
[ "Apache-2.0" ]
null
null
null
spring-onlineStore-service-carts/src/main/resources/db/mysql/data.sql
cheparinV/pet-clinic-demo
22642887aa4e6783e9aa8e651cdf3836ac4c67a1
[ "Apache-2.0" ]
null
null
null
spring-onlineStore-service-carts/src/main/resources/db/mysql/data.sql
cheparinV/pet-clinic-demo
22642887aa4e6783e9aa8e651cdf3836ac4c67a1
[ "Apache-2.0" ]
1
2021-09-30T13:37:51.000Z
2021-09-30T13:37:51.000Z
INSERT IGNORE INTO cart VALUES (1, 1); INSERT IGNORE INTO cart VALUES (2, 2);
26
38
0.717949
85a4cd7dc71b7a2c06723c7b6e4e27deb5ea5c34
172
rs
Rust
src/drawable.rs
samuel-roberts/minidraw
48203f601a6cd08f3fb79d47e2c3b1386c774b4e
[ "MIT" ]
null
null
null
src/drawable.rs
samuel-roberts/minidraw
48203f601a6cd08f3fb79d47e2c3b1386c774b4e
[ "MIT" ]
null
null
null
src/drawable.rs
samuel-roberts/minidraw
48203f601a6cd08f3fb79d47e2c3b1386c774b4e
[ "MIT" ]
null
null
null
use crate::renderer::Renderer; pub trait Drawable { /// fn draw(&self, renderer: &mut Renderer); /// fn draw_wireframe(&self, renderer: &mut Renderer); }
17.2
54
0.627907
b88ffe86bccb82bd4139cf179787812d419ae75b
1,944
rs
Rust
src/systems/item_collect.rs
pprobst/tcc-ufsm-2020
e70f205d779b0ec05b5304a7102f339db46564f1
[ "MIT" ]
1
2021-10-31T15:36:22.000Z
2021-10-31T15:36:22.000Z
src/systems/item_collect.rs
pprobst/tcc-ufsm-2020
e70f205d779b0ec05b5304a7102f339db46564f1
[ "MIT" ]
1
2020-08-14T17:30:36.000Z
2020-08-14T17:31:49.000Z
src/systems/item_collect.rs
pprobst/tcc-ufsm-2020
e70f205d779b0ec05b5304a7102f339db46564f1
[ "MIT" ]
null
null
null
use crate::components::{CollectItem, Contained, Inventory, InventoryCapacity, Name, Position}; use crate::log::Log; use crate::utils::colors::*; use specs::prelude::*; /* * * item_collect.rs * --------------- * Manages the acquiring of items on the map, inserting them in the player's backpack. * */ pub struct ItemCollectSystem {} impl<'a> System<'a> for ItemCollectSystem { type SystemData = ( ReadExpect<'a, Entity>, ReadStorage<'a, Name>, WriteExpect<'a, Log>, WriteStorage<'a, InventoryCapacity>, WriteStorage<'a, Position>, WriteStorage<'a, CollectItem>, WriteStorage<'a, Inventory>, WriteStorage<'a, Contained>, ); fn run(&mut self, data: Self::SystemData) { let ( player, name, mut log, mut capacity, mut pos, mut collect, mut inventory, mut contained, ) = data; let white = color("BrightWhite", 1.0); let magenta = color("Magenta", 1.0); let mut inventory_cap = capacity.get_mut(*player).unwrap(); for p in collect.join() { for c in p.collects.iter() { if inventory_cap.curr == inventory_cap.max && c.1 == *player { log.add(format!("Your inventory is full!"), magenta); break; } inventory .insert(c.0, Inventory { owner: c.1 }) .expect("FAILED to insert item in backpack."); if c.1 == *player { log.add( format!("You pick up {}.", name.get(c.0).unwrap().name), white, ); } pos.remove(c.0); contained.remove(c.0); inventory_cap.curr += 1; } } collect.clear(); } }
29.014925
94
0.486626
b283742709f337a7b16af4609060b89755841112
639
kt
Kotlin
testerum-backend/testerum-runner/testerum-runner-api/src/main/kotlin/com/testerum/runner/cmdline/report_type/builder/impl/RemoteServerReportTypeBuilder.kt
jesus2099/testerum
1bacdd86da1a240ad9f2932e21c69f628a1fc66c
[ "Apache-2.0" ]
17
2020-08-07T10:06:22.000Z
2022-02-22T15:36:38.000Z
testerum-backend/testerum-runner/testerum-runner-api/src/main/kotlin/com/testerum/runner/cmdline/report_type/builder/impl/RemoteServerReportTypeBuilder.kt
jesus2099/testerum
1bacdd86da1a240ad9f2932e21c69f628a1fc66c
[ "Apache-2.0" ]
55
2020-09-20T17:27:50.000Z
2021-08-15T02:23:45.000Z
testerum-backend/testerum-runner/testerum-runner-api/src/main/kotlin/com/testerum/runner/cmdline/report_type/builder/impl/RemoteServerReportTypeBuilder.kt
jesus2099/testerum
1bacdd86da1a240ad9f2932e21c69f628a1fc66c
[ "Apache-2.0" ]
2
2021-09-13T09:38:13.000Z
2021-12-21T20:35:43.000Z
package com.testerum.runner.cmdline.report_type.builder.impl import com.testerum.runner.cmdline.report_type.RunnerReportType import com.testerum.runner.cmdline.report_type.builder.EventListenerProperties.RemoteServer.REPORT_SERVER_URL import com.testerum.runner.cmdline.report_type.builder.GenericReportTypeBuilder class RemoteServerReportTypeBuilder { var reportServerUrl: String? = null fun build(): String { val builder = GenericReportTypeBuilder(RunnerReportType.REMOTE_SERVER) reportServerUrl?.let { builder.properties[REPORT_SERVER_URL] = it } return builder.build() } }
30.428571
109
0.771518
3084f234487a3fec897775dbeaa688305c4736a9
2,841
html
HTML
form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/single/FileUploadPanel.html
opensingular/singular-core
ecaf7eafc5de0354f422a4c5d19be6887c86adc0
[ "Apache-2.0" ]
5
2016-10-07T16:43:05.000Z
2018-09-20T22:12:29.000Z
form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/single/FileUploadPanel.html
opensingular/singular-core
ecaf7eafc5de0354f422a4c5d19be6887c86adc0
[ "Apache-2.0" ]
2
2016-12-04T20:58:51.000Z
2016-12-14T14:06:33.000Z
form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/single/FileUploadPanel.html
opensingular/singular-core
ecaf7eafc5de0354f422a4c5d19be6887c86adc0
[ "Apache-2.0" ]
null
null
null
<!DOCTYPE html> <!-- ~ Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.com ~ ~ 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. --> <html xmlns:wicket="http://wicket.apache.org"> <body> <wicket:head> <style> /*TODO migrar para singular-static*/ .singular-upload-preview { margin-top: 2px; border-radius: 4px; text-align: center; padding: 20px; border: 1px solid #d5d9e3; } .singular-upload-preview > img { max-height: 200px; } .singular-upload-disabled, input.singular-upload-disabled, input.singular-upload-disabled.disabled { opacity: 0.65; cursor: not-allowed; } .singular-upload-field-disabled, .form-control.singular-upload-field-disabled, div.form-control.singular-upload-field-disabled { background-color: #eaeef2; opacity: 1; cursor: not-allowed !important; } </style> </wicket:head> <wicket:panel > <style> .file-trash-button-hidden { display: none; } .overflow-hidden { overflow: hidden; } </style> <div class="input-group"> <div wicket:id="input-div" class="form-control overflow-hidden"> <i class="fa fa-file"></i> <span wicket:id="files" class="fileinput-filename"> <a wicket:id="downloadLink"></a> </span> <div wicket:id="progress" class="upload-single-progress progress"> <div class="progress-bar" style="width: 100%;"></div> </div> </div> <span class="input-group-btn"> <span wicket:id="upload_btn" class="btn btn-sm file-choose-button fileinput-button upload-single-choose"> <i class="fa fa-upload"></i> <span>Escolher</span> <input type="file" wicket:id="fileUpload"/> </span> <span wicket:id="remove_btn" class="btn btn-sm upload-single-remove file-trash-button"> <i class="fa fa-remove"></i> </span> </span> </div> <div class="singular-upload-preview" wicket:id="preview"> <img wicket:id="imagePreview" /> </div> </wicket:panel> </body> </html>
35.074074
132
0.587469
b994330c9431951c337b2e7e0e6b56051d4d81dd
677
kt
Kotlin
shared/src/commonMain/kotlin/com/mrebollob/drawaday/shared/domain/repository/DrawADayRepositoryNative.kt
mrebollob/drawaday
3dca7b146517ec46e90630551c479fcb1a47cbfc
[ "Apache-2.0" ]
1
2021-06-30T16:00:43.000Z
2021-06-30T16:00:43.000Z
shared/src/commonMain/kotlin/com/mrebollob/drawaday/shared/domain/repository/DrawADayRepositoryNative.kt
mrebollob/drawaday
3dca7b146517ec46e90630551c479fcb1a47cbfc
[ "Apache-2.0" ]
null
null
null
shared/src/commonMain/kotlin/com/mrebollob/drawaday/shared/domain/repository/DrawADayRepositoryNative.kt
mrebollob/drawaday
3dca7b146517ec46e90630551c479fcb1a47cbfc
[ "Apache-2.0" ]
null
null
null
package com.mrebollob.drawaday.shared.domain.repository import com.mrebollob.drawaday.shared.data.DrawADayRepositoryNativeImp import com.mrebollob.drawaday.shared.domain.model.DrawImage import com.mrebollob.drawaday.shared.domain.model.Result interface DrawADayRepositoryNative { fun startObservingDrawImagesUpdates( index: Int, refresh: Boolean, success: (List<DrawImage>) -> Unit, loading: (List<DrawImage>) -> Unit, error: () -> Unit ) fun stopObservingDrawImagesUpdates() companion object { fun getInstance(): DrawADayRepositoryNative { return DrawADayRepositoryNativeImp() } } }
27.08
69
0.706056
20113c49c1ba25beca75afa38122c17e19c2b061
164
css
CSS
client/src/index.css
debesheedas/MyMargdarshaka-2
8066abfd928fe0596c27ea93f912607437b9277a
[ "MIT" ]
null
null
null
client/src/index.css
debesheedas/MyMargdarshaka-2
8066abfd928fe0596c27ea93f912607437b9277a
[ "MIT" ]
2
2021-11-18T11:50:41.000Z
2021-11-18T11:50:41.000Z
client/src/index.css
debesheedas/MyMargdarshaka-2
8066abfd928fe0596c27ea93f912607437b9277a
[ "MIT" ]
2
2021-10-29T18:13:44.000Z
2021-10-31T10:41:31.000Z
html { scroll-behavior: smooth; background-color: white; } body { margin: 0; padding: 0; font-family: "Raleway", sans-serif; box-sizing: border-box; }
13.666667
37
0.652439
8f2b24378f0a5b69af4e658e28bb5bf162c0b6b6
567
asm
Assembly
oeis/043/A043134.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/043/A043134.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/043/A043134.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A043134: Numbers k such that 0 and 4 occur juxtaposed in the base-7 representation of k but not of k-1. ; Submitted by Jamie Morken(s3) ; 28,53,77,102,126,151,175,196,224,249,273,298,322,347,371,396,420,445,469,494,518,539,567,592,616,641,665,690,714,739,763,788,812,837,861,882,910,935,959,984,1008,1033,1057,1082,1106 mov $2,$0 mov $3,49 mov $5,$0 mov $8,$0 lpb $0 gcd $3,$0 mov $0,$4 add $2,1 lpe mul $3,2 div $2,$3 mul $3,$2 mov $1,$3 add $1,12 mov $7,$5 mul $7,24 add $1,$7 add $1,12 mov $6,$8 mul $6,24 add $1,$6 mov $0,$1 sub $0,24 div $0,2 add $0,28
18.9
183
0.652557
dd6032ac0651900ceecf67e713af0bbc22928a18
2,792
go
Go
store/fsm.go
makersu/go-raft-kafka
02d37c3ce6e6cac5738165fad6b91638c913c01c
[ "MIT" ]
null
null
null
store/fsm.go
makersu/go-raft-kafka
02d37c3ce6e6cac5738165fad6b91638c913c01c
[ "MIT" ]
null
null
null
store/fsm.go
makersu/go-raft-kafka
02d37c3ce6e6cac5738165fad6b91638c913c01c
[ "MIT" ]
null
null
null
package store /** // FSM provides an interface that can be implemented by // clients to make use of the replicated log. type FSM interface { // Apply log is invoked once a log entry is committed. // It returns a value which will be made available in the // ApplyFuture returned by Raft.Apply method if that // method was called on the same Raft node as the FSM. Apply(*Log) interface{} // Snapshot is used to support log compaction. This call should // return an FSMSnapshot which can be used to save a point-in-time // snapshot of the FSM. Apply and Snapshot are not called in multiple // threads, but Apply will be called concurrently with Persist. This means // the FSM should be implemented in a fashion that allows for concurrent // updates while a snapshot is happening. Snapshot() (FSMSnapshot, error) // Restore is used to restore an FSM from a snapshot. It is not called // concurrently with any other command. The FSM must discard all previous // state. Restore(io.ReadCloser) error } **/ import ( "encoding/json" "fmt" "io" "log" "os" "sync" "github.com/hashicorp/raft" ) type command struct { Op string `json:"op,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` } // Node State Machine type NodeFSM struct { // db DB mutex sync.Mutex m map[string]string // The key-value store for the system. logger *log.Logger } func NewNodeFSM() *NodeFSM { return &NodeFSM{ logger: log.New(os.Stderr, "[fsm] ", log.LstdFlags), } } // Apply applies a Raft log entry to the key-value store. func (fsm *NodeFSM) Apply(l *raft.Log) interface{} { var c command if err := json.Unmarshal(l.Data, &c); err != nil { panic(fmt.Sprintf("failed to unmarshal command: %s", err.Error())) } // fsm.logger.Println("c", c) switch c.Op { case "set": return fsm.applySet(c.Key, c.Value) // case "delete": // return f.applyDelete(c.Key) default: panic(fmt.Sprintf("unrecognized command op: %s", c.Op)) } } func (fsm *NodeFSM) applySet(key, value string) interface{} { fsm.logger.Printf("apply %s to %s\n", key, value) fsm.mutex.Lock() defer fsm.mutex.Unlock() fsm.m[key] = value return nil } // Snapshot returns a snapshot of the key-value store. func (f *NodeFSM) Snapshot() (raft.FSMSnapshot, error) { f.mutex.Lock() defer f.mutex.Unlock() // Clone the map. o := make(map[string]string) for k, v := range f.m { o[k] = v } return &fsmSnapshot{store: o}, nil } // Restore stores the key-value store to a previous state. func (f *NodeFSM) Restore(rc io.ReadCloser) error { o := make(map[string]string) if err := json.NewDecoder(rc).Decode(&o); err != nil { return err } // Set the state from the snapshot, no lock required according to // Hashicorp docs. f.m = o return nil }
24.491228
75
0.690186
50eb7efa668c3ec4c40c31b58b0c88c9c3f229d3
469
go
Go
cf_spec/fixtures/go_app_toolchain_in_container/src/go_app/site.go
yuluyi/node-go-buildpack
cb2306831cdfb1c19d86bfca8591a0cc4bdca6a6
[ "MIT" ]
null
null
null
cf_spec/fixtures/go_app_toolchain_in_container/src/go_app/site.go
yuluyi/node-go-buildpack
cb2306831cdfb1c19d86bfca8591a0cc4bdca6a6
[ "MIT" ]
null
null
null
cf_spec/fixtures/go_app_toolchain_in_container/src/go_app/site.go
yuluyi/node-go-buildpack
cb2306831cdfb1c19d86bfca8591a0cc4bdca6a6
[ "MIT" ]
null
null
null
package main import ( "fmt" "net/http" "os/exec" "os" ) func main() { http.HandleFunc("/", go_version) fmt.Println("listening...") err := http.ListenAndServe(":"+os.Getenv("PORT"), nil) if err != nil { panic(err) } } func go_version(res http.ResponseWriter, req *http.Request) { go_version, err := exec.Command("go", "version").Output() if err != nil { fmt.Fprintln(res, "go toolchain not found") } else { fmt.Fprintf(res, "%s", go_version) } }
16.172414
61
0.628998
f01921f854745df48b1200d5c07b9b7939e53880
761
js
JavaScript
part2/phonebook/src/components/Form.js
bambibek/FullStack_Course
b78775458730ff0635b1e4e2e5992a168a4a8de3
[ "MIT" ]
null
null
null
part2/phonebook/src/components/Form.js
bambibek/FullStack_Course
b78775458730ff0635b1e4e2e5992a168a4a8de3
[ "MIT" ]
null
null
null
part2/phonebook/src/components/Form.js
bambibek/FullStack_Course
b78775458730ff0635b1e4e2e5992a168a4a8de3
[ "MIT" ]
null
null
null
import React from 'react' const Form = ({ formSubmit, newName, newphone, setNewName, setNewPhone }) => { const handleNameChange = (event) => { console.log(event.target.value) setNewName(event.target.value) } const handlePhoneChange = (event) => { setNewPhone(event.target.value) } return ( <form onSubmit={formSubmit} > <div> <h2>Add a new</h2> Name: <input value={newName} onChange={handleNameChange} /> <br></br> Number: <input value={newphone} onChange={handlePhoneChange} /> </div> <div> <button type="submit">add</button> </div> </form> ) } export default Form
24.548387
78
0.528252
50009bf200b742af39ad7f73957ea38abd36c79c
694
js
JavaScript
client/components/list.reducer-package.js
kristofferlind/universal-react
a78e9163c878fb31a5fe5dae4abc4ebfd957ba33
[ "MIT" ]
1
2017-05-11T10:50:52.000Z
2017-05-11T10:50:52.000Z
client/components/list.reducer-package.js
kristofferlind/universal-react
a78e9163c878fb31a5fe5dae4abc4ebfd957ba33
[ "MIT" ]
null
null
null
client/components/list.reducer-package.js
kristofferlind/universal-react
a78e9163c878fb31a5fe5dae4abc4ebfd957ba33
[ "MIT" ]
null
null
null
export default ({ entity, listProperty }) => ({ [`UPDATE_${entity}`]: (state, action) => { const index = state[listProperty].map(item => item._id).indexOf(action.item._id); if (index !== -1) { return { ...state, [listProperty]: [ ...state[listProperty].slice(0, index), { ...action.item }, ...state[listProperty].slice(index + 1) ] }; } return { ...state, [listProperty]: [...state[listProperty], action.item] }; }, [`DELETE_${entity}`]: (state, action) => ({ ...state, [listProperty]: state[listProperty].filter(item => item._id !== action.item._id) }) });
26.692308
85
0.505764
3e2795db877db33bb4a88fbb286a93c93cfb5418
693
h
C
JobSync/GXGMainSettings/Main.h
CristianoRC/LogBook-NextTeamBr
9bb36b2dc7d38a3abfaf8e03ce2784231cfc22a5
[ "MIT" ]
2
2016-02-21T23:25:58.000Z
2016-02-21T23:44:24.000Z
JobSync/GXGMainSettings/Main.h
CristianoRC/LogBookEletronico-Ets2
9bb36b2dc7d38a3abfaf8e03ce2784231cfc22a5
[ "MIT" ]
null
null
null
JobSync/GXGMainSettings/Main.h
CristianoRC/LogBookEletronico-Ets2
9bb36b2dc7d38a3abfaf8e03ce2784231cfc22a5
[ "MIT" ]
1
2016-02-21T23:26:37.000Z
2016-02-21T23:26:37.000Z
#pragma once #include "stdafx.h" #include <map> #include <vector> struct STRUCT_JOB_DATA { std::string cargo; int variant; std::string target; int urgency; int distance; int ferryTime; int ferryPrice; }; enum Context { CONTEXT_UNIT_START, CONTEXT_ATTRIBUTE, CONTEXT_UNIT_END }; struct JOB_CURR_DATA { std::string company_name; int job_id; }; typedef std::map<std::string, std::vector<STRUCT_JOB_DATA>> JOBLISTER; typedef std::map<std::string, JOB_CURR_DATA> CURR_JOB_NAMES; typedef std::function<bool(Context context, const std::string& name, const std::string& value, const std::string& sourceValue, unsigned long offset)> ParseCallback; int GetLineType(std::string str);
19.8
164
0.75469
be4a207ee408e3ed6964c176e53c02fa322f5df5
4,927
rs
Rust
2019/day14/src/main.rs
dcoles/advent-of-code
4d480934daad60fcdb2112ef66f4115d9cb83ac2
[ "MIT" ]
2
2021-12-01T06:47:00.000Z
2021-12-02T20:09:40.000Z
2019/day14/src/main.rs
dcoles/advent-of-code
4d480934daad60fcdb2112ef66f4115d9cb83ac2
[ "MIT" ]
null
null
null
2019/day14/src/main.rs
dcoles/advent-of-code
4d480934daad60fcdb2112ef66f4115d9cb83ac2
[ "MIT" ]
null
null
null
use std::{fs, fmt}; use std::path::Path; use std::collections::{HashMap, VecDeque}; type Chemical = String; const ORE: &str = "ORE"; const FUEL: &str = "FUEL"; const TRILLION: u64 = 1_000_000_000_000; fn main() { let input = read_input("input.txt"); // Part 1 assert_eq!(31, required_ore(&read_input("sample1.txt"), 1)); assert_eq!(165, required_ore(&read_input("sample2.txt"), 1)); assert_eq!(13312, required_ore(&read_input("sample3.txt"), 1)); assert_eq!(180697, required_ore(&read_input("sample4.txt"), 1)); assert_eq!(2210736, required_ore(&read_input("sample5.txt"), 1)); println!("Part 1: Required ore: {}", required_ore(&input, 1)); // Part 2 assert_eq!(82892753, maximum_fuel(&read_input("sample3.txt"), TRILLION)); assert_eq!(5586022, maximum_fuel(&read_input("sample4.txt"), TRILLION)); assert_eq!(460664, maximum_fuel(&read_input("sample5.txt"), TRILLION)); println!("Part 2: Maximum fuel: {}", maximum_fuel(&input, TRILLION)); } /// Find the amount of ore required for n-units of fuel fn required_ore(reactions: &[Reaction], fuel: u64) -> u64 { let reactant_map = build_reactant_map(reactions); let mut required_ore = 0; // Queue of required chemicals let mut requirements = VecDeque::new(); requirements.push_back((FUEL, fuel)); // Surplus from previous reactions let mut chemical_surplus = HashMap::new(); // Run required reactions while let Some((chemical, mut quantity)) = requirements.pop_front() { if chemical == ORE { required_ore += quantity; } else { // Can we use some surplus? if let Some(&surplus) = chemical_surplus.get(chemical) { let consumed = quantity.min(surplus); chemical_surplus.insert(chemical, surplus - consumed); quantity -= consumed; // No need to run if we have enough surplus if quantity == 0 { continue; } } // How many times do we need to run a reaction? let reaction = &reactant_map[chemical]; let n_reactions = (quantity - 1) / reaction.quantity + 1; // How much reactants do we need? for (chem, &n) in &reaction.reactants { let amount = n * n_reactions; requirements.push_back((chem, amount)); } // Collect surplus let surplus = reaction.quantity * n_reactions - quantity; *chemical_surplus.entry(chemical).or_default() += surplus; } } required_ore } /// Find the maximum amount of fuel a fixed amount of ore can produce fn maximum_fuel(reactions: &[Reaction], ore: u64) -> u64 { let mut fuel = 0; // Do an exponential search for the required fuel loop { let mut n = 0; while required_ore(reactions, fuel + 2u64.pow(n)) < ore { n += 1; } if n > 0 { fuel += 2u64.pow(n - 1); } else { // Found the maximum break; } } fuel } fn read_input<T: AsRef<Path>>(path: T) -> Vec<Reaction> { let contents = fs::read_to_string(path).expect("Failed to read input"); let mut reactions = Vec::new(); for line in contents.lines() { let line: Vec<_> = line.split("=>").collect(); let reactants = parse_chemical_list(&line[0]); let product_quantity = parse_chemical(&line[1]); reactions.push(Reaction { reactants, product: product_quantity.0, quantity: product_quantity.1 }) } reactions } /// Parse a list of chemicals quantities, `N CHEMICAL, ...` fn parse_chemical_list(list: &str) -> HashMap<Chemical, u64> { let mut result = HashMap::new(); for (c, n) in list.split(',').map(|value| parse_chemical(value)) { result.insert(c, n); } result } /// Parse a single chemical quantity, `N CHEMICAL` fn parse_chemical(value: &str) -> (Chemical, u64) { let value: Vec<_> = value.trim().split(' ').collect(); let n: u64 = value[0].parse().expect("Failed to parse quantity"); (value[1].to_owned(), n) } /// Build a mapping from Chemical to its associated reaction fn build_reactant_map(reactions: &[Reaction]) -> HashMap<Chemical, &Reaction> { let mut map = HashMap::new(); for reaction in reactions { let chemical = reaction.product.to_owned(); map.insert(chemical, reaction); } map } /// A chemical reaction #[derive(Debug)] struct Reaction { reactants: HashMap<Chemical, u64>, product: Chemical, quantity: u64, } impl fmt::Display for Reaction { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let inputs = self.reactants.iter().map(|(c, &n)| format!("{} {}", n, c)).collect::<Vec<_>>().join(", "); write!(f, "{} => {} {}", inputs, self.quantity, self.product) } }
30.79375
112
0.598742
39fbcf16ab13f268dd9919abf5861edd9449d4c8
291
kt
Kotlin
data_wallet/src/main/java/io/igrant/data_wallet/models/ledger/LedgerItem.kt
decentralised-dataexchange/datawallet-android-sdk
904c77346fefac169238bffab6d00a98224868ec
[ "Apache-2.0" ]
null
null
null
data_wallet/src/main/java/io/igrant/data_wallet/models/ledger/LedgerItem.kt
decentralised-dataexchange/datawallet-android-sdk
904c77346fefac169238bffab6d00a98224868ec
[ "Apache-2.0" ]
null
null
null
data_wallet/src/main/java/io/igrant/data_wallet/models/ledger/LedgerItem.kt
decentralised-dataexchange/datawallet-android-sdk
904c77346fefac169238bffab6d00a98224868ec
[ "Apache-2.0" ]
null
null
null
package io.igrant.data_wallet.models.ledger import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName class LedgerItem { @SerializedName("name") @Expose var name: String? = "" @SerializedName("type") @Expose var type: Int? = 0 }
18.1875
49
0.704467
cd275ebc8a5295002e9c67fea141684532ea4ffb
1,506
rs
Rust
crates/til_query/src/ir/traits.rs
matthijsr/til-vhdl
ef1bffdf17a976403f2b3b95ea853a4df012cfd7
[ "Apache-2.0" ]
null
null
null
crates/til_query/src/ir/traits.rs
matthijsr/til-vhdl
ef1bffdf17a976403f2b3b95ea853a4df012cfd7
[ "Apache-2.0" ]
55
2022-01-28T12:45:52.000Z
2022-03-31T14:28:35.000Z
crates/til_query/src/ir/traits.rs
matthijsr/til-vhdl
ef1bffdf17a976403f2b3b95ea853a4df012cfd7
[ "Apache-2.0" ]
null
null
null
use std::sync::Arc; use super::Ir; use tydi_common::error::TryResult; use tydi_common::{error::Result, name::Name}; use tydi_intern::Id; pub trait GetSelf<T> { fn get(&self, db: &dyn Ir) -> T; } pub trait InternSelf: Sized { fn intern(self, db: &dyn Ir) -> Id<Self>; } pub trait InternArc: Sized { fn intern_arc(self, db: &dyn Ir) -> Id<Arc<Self>>; } impl<T> InternArc for T where Arc<T>: InternSelf, { fn intern_arc(self, db: &dyn Ir) -> Id<Arc<Self>> { Arc::new(self).intern(db) } } pub trait InternAs<T> { fn intern_as(self, db: &dyn Ir) -> Id<T>; } pub trait TryIntern<T> { fn try_intern(self, db: &dyn Ir) -> Result<Id<T>>; } pub trait MoveDb<T>: Sized { /// Move (parts) of an object from one database to another. /// The prefix parameter can be used to prefix names with the name of the original project, to avoid conflicts. fn move_db(&self, original_db: &dyn Ir, target_db: &dyn Ir, prefix: &Option<Name>) -> Result<T>; } impl<T> MoveDb<Id<T>> for Id<T> where Id<T>: GetSelf<T>, T: MoveDb<Id<T>>, { fn move_db( &self, original_db: &dyn Ir, target_db: &dyn Ir, prefix: &Option<Name>, ) -> Result<Id<T>> { self.get(original_db) .move_db(original_db, target_db, prefix) } } impl<T, U> TryIntern<T> for U where U: TryResult<T>, T: InternSelf, { fn try_intern(self, db: &dyn Ir) -> Result<Id<T>> { Ok(self.try_result()?.intern(db)) } }
21.826087
115
0.596282
c8b03b3dbbabec7488474a13eef8f849e74141ba
23,188
rs
Rust
runtime-amd/src/module/mod.rs
Flakebi/geobacter
b6fccb57c19c44a445416ac8c99849ec6ef28173
[ "Apache-2.0", "MIT" ]
24
2019-08-30T08:55:19.000Z
2022-02-22T18:23:46.000Z
runtime-amd/src/module/mod.rs
Flakebi/geobacter
b6fccb57c19c44a445416ac8c99849ec6ef28173
[ "Apache-2.0", "MIT" ]
8
2020-04-23T21:24:53.000Z
2021-08-01T18:01:56.000Z
runtime-amd/src/module/mod.rs
Flakebi/geobacter
b6fccb57c19c44a445416ac8c99849ec6ef28173
[ "Apache-2.0", "MIT" ]
2
2020-04-21T12:36:52.000Z
2021-03-04T14:27:06.000Z
use std::geobacter::kernel::{KernelInstanceRef, OptionalKernelFn, }; use std::marker::{PhantomData, Unsize, }; use std::mem::{transmute, size_of, }; use std::num::NonZeroU64; use std::ops::{CoerceUnsized, Deref, }; use std::pin::Pin; use std::ptr::{self, Unique, }; use std::sync::{Arc, atomic, }; use std::sync::atomic::{AtomicUsize, Ordering, }; use alloc_wg::boxed::Box; use log::{error, }; use hsa_rt::agent::Agent; use hsa_rt::executable::FrozenExecutable; use hsa_rt::queue::{DispatchPacket, RingQueue, }; use hsa_rt::signal::{SignalRef, SignalLoad}; use smallvec::SmallVec; pub use hsa_rt::queue::{FenceScope, QueueError, }; pub use hsa_rt::queue::KernelMultiQueue as DeviceMultiQueue; pub use hsa_rt::queue::KernelSingleQueue as DeviceSingleQueue; use crate::grt_core::{Device, AcceleratorId, }; use crate::grt_core::codegen as core_codegen; use crate::grt_core::codegen::PKernelDesc; use crate::grt_core::context::{ModuleContextData, PlatformModuleData, ModuleData, }; use crate::{HsaAmdGpuAccel, Error}; use crate::codegen::{Codegenner, KernelDesc, CodegenDesc}; use crate::signal::{DeviceConsumable, HostConsumable, SignalHandle, SignaledDeref, Value}; use self::args_pool::ArgsPoolAlloc; pub use self::args::*; pub use self::args_pool::ArgsPool; pub use self::grid::*; pub use crate::signal::deps; pub use crate::signal::deps::Deps; pub mod args; pub mod args_pool; pub mod grid; #[cfg(test)] mod test; // TODO refactor common stuff into runtime-core /// This is the kernel that the GPU directly runs. This function should probably call /// Self::kernel after doing some light bookkeeping. fn launch_kernel<A>(this: &KLaunchArgs<A>) where A: Kernel + Sized, { let params = VectorParams::new_internal(&this.grid, &A::WORKGROUP); if let Some(params) = params { this.args.kernel(params) } } type InvocArgs<'a, A> = (KLaunchArgs<A>, &'a KLaunchArgs<A>, ); pub struct FuncModule<A> where A: Kernel, { device: Arc<HsaAmdGpuAccel>, context_data: Arc<ModuleData>, module_data: Option<Arc<HsaModuleData>>, pub dynamic_group_size: u32, pub dynamic_private_size: u32, /// Keep these private; improper usage can result in the use of /// stale data/allocations begin_fence: FenceScope, end_fence: FenceScope, instance: KernelInstanceRef<'static>, desc: KernelDesc, spec_params: core_codegen::SpecParamsDesc, /// To ensure we are only called with this argument type. _arg: PhantomData<*const A>, } impl<A> FuncModule<A> where A: Kernel, { pub fn new(accel: &Arc<HsaAmdGpuAccel>) -> Self { let f = launch_kernel::<A>; FuncModule { device: accel.clone(), module_data: None, dynamic_group_size: 0, dynamic_private_size: 0, begin_fence: FenceScope::System, end_fence: FenceScope::System, instance: f.kernel_instance(), context_data: ModuleContextData::get(&f) .get_cache_data(accel.ctx()), desc: KernelDesc { max_vgpr_count: A::MAX_VGPR_USAGE, }, spec_params: Default::default(), _arg: PhantomData, } } fn desc(&self) -> PKernelDesc<Codegenner> { core_codegen::KernelDesc { instance: self.instance.clone(), spec_params: self.spec_params.clone(), platform_desc: self.desc.clone(), } } pub fn group_size(&mut self) -> Result<u32, Error> { let module_data = self.compile_internal()?; Ok(module_data.desc.group_segment_size + self.dynamic_group_size) } pub fn private_size(&mut self) -> Result<u32, Error> { let module_data = self.compile_internal()?; Ok(module_data.desc.private_segment_size + self.dynamic_private_size) } fn set_acquire_fence(&mut self, scope: FenceScope) { self.begin_fence = scope; } pub fn acquire_fence(&self) -> FenceScope { self.begin_fence } /// Have the GPU CP execute a system level memory fence *before* /// the dispatch waves are launched. /// This is safe, if not as fast, option, and is the default. pub fn system_acquire_fence(&mut self) { self.set_acquire_fence(FenceScope::System); } /// Have the GPU CP execute a device level memory fence *before* /// the dispatch waves are launched. This will not synchronize /// host memory writes to GPU mapped memory with the GPU, but in /// contrast with no fence, writes by other waves will be visible. You are /// responsible for coding around this fact. pub unsafe fn device_acquire_fence(&mut self) { self.set_acquire_fence(FenceScope::Agent); } /// The GPU CP executes no fence before launching waves. This is the fastest option, /// but is also the most dangerous! /// This will not synchronize any writes made prior to launch. pub unsafe fn no_acquire_fence(&mut self) { self.set_acquire_fence(FenceScope::None); } fn set_release_fence(&mut self, scope: FenceScope) { self.begin_fence = scope; } pub fn release_fence(&self) -> FenceScope { self.end_fence } /// Execute a system scope fence *before* the dispatch /// completion signal is signaled (or rather decremented). /// This ensures writes to host visible memory have made it all the /// way to host visible memory. /// This is, again, the safest option, if not the fastest. Use this /// if unsure. pub fn system_release_fence(&mut self) { self.set_release_fence(FenceScope::System); } /// Device level memory fence only before signal completion. /// This is unsafe! Your code must manually ensure that writes are visible. /// If unsure, use a system scope fence. pub unsafe fn device_release_fence(&mut self) { self.set_release_fence(FenceScope::Agent); } /// No fence prior to signal completion. /// This is unsafe! Your code must manually ensure that writes are visible. /// If unsure, use a system scope fence. pub unsafe fn no_release_fence(&mut self) { self.set_release_fence(FenceScope::None); } fn compile_internal(&mut self) -> Result<&HsaModuleData, Error> { if self.module_data.is_none() { let module_data = self.context_data .compile(&self.device, self.desc(), &self.device.codegen(), cfg!(test))?; self.module_data = Some(module_data); } Ok(self.module_data.as_ref().unwrap()) } pub fn compile(&mut self) -> Result<(), Error> { self.compile_internal()?; Ok(()) } pub fn compile_async(&self) { use rustc_data_structures::rayon::*; if self.module_data.is_none() { let context_data = self.context_data.clone(); let device = self.device.clone(); let desc = self.desc(); spawn(move || { // ignore errors here; if an error does happen, // we'll compile again to get the actual error from codegen. let _ = context_data.compile(&device, desc, device.codegen(), cfg!(test)); }); } } /// Undefine all params. If this function was already compiled, it will be compiled /// again. pub fn clear_params(&mut self) { self.module_data.take(); self.spec_params.clear(); } /// Undefine a specialization entry. If the key (`f`) has no entry, this does nothing. /// /// If this function was already compiled, it will be compiled again. pub fn undefine_param<F, R>(&mut self, f: F) where F: Fn() -> R, { self.module_data.take(); self.spec_params.undefine(f) } /// (Re-)Define a specialization param, keyed by `f`. Specialization params are like /// constants, but allow one to redefine them at will at runtime. Thus one can create multiple /// kernels from just a single function, which are specialized to the params defined here /// /// Call `geobacter_core::params::get_spec_param` in the kernel with the same function /// to get the value provided here. /// /// If this function was already compiled, it will be compiled again. /// /// Note: If you're going to replace every param, it's better to call `clear_params()` /// first. pub fn define_param<F, R>(&mut self, f: F, value: &R) where F: Fn() -> R, R: Copy + Unpin + 'static, { self.module_data.take(); self.spec_params.define(f, value) } /// Attach a kernel args pool, in preparation for dispatching. pub fn invoc<P>(&self, pool: P) -> Invoc<A, P, Self> where P: Deref<Target = ArgsPool> + Clone, { Invoc { pool, f: self.clone(), _p: PhantomData, } } pub fn into_invoc<P>(self, pool: P) -> Invoc<A, P, Self> where P: Deref<Target = ArgsPool> + Clone, { Invoc { pool, f: self, _p: PhantomData, } } pub fn invoc_mut<P>(&mut self, pool: P) -> Invoc<A, P, &mut Self> where P: Deref<Target = ArgsPool> + Clone, { Invoc { pool, f: self, _p: PhantomData, } } } impl<A> Clone for FuncModule<A> where A: Kernel, { fn clone(&self) -> Self { FuncModule { device: self.device.clone(), module_data: self.module_data.clone(), dynamic_group_size: self.dynamic_group_size, dynamic_private_size: self.dynamic_private_size, begin_fence: self.begin_fence, end_fence: self.end_fence, instance: self.instance, context_data: self.context_data.clone(), desc: self.desc.clone(), spec_params: self.spec_params.clone(), _arg: PhantomData, } } } /// Just a simple helper for owned and mutable types. #[doc(hidden)] pub trait FuncModuleMut<A> where A: Kernel, { fn fm_mut(&mut self) -> &mut FuncModule<A>; } impl<A> FuncModuleMut<A> for FuncModule<A> where A: Kernel, { fn fm_mut(&mut self) -> &mut FuncModule<A> { self } } impl<'a, A> FuncModuleMut<A> for &'a mut FuncModule<A> where A: Kernel, { fn fm_mut(&mut self) -> &mut FuncModule<A> { self } } pub struct Invoc<A, P, FM> where A: Kernel, P: Deref<Target = ArgsPool> + Clone, FM: FuncModuleMut<A>, { pool: P, f: FM, _p: PhantomData<*const A>, } impl<A, P, FM> Invoc<A, P, FM> where A: Kernel, P: Deref<Target = ArgsPool> + Clone, FM: FuncModuleMut<A>, { /// The associated completion signal should already have the correct value set, eg set to `1`. pub unsafe fn unchecked_call_async(&mut self, grid: &A::Grid, args: A) -> Result<LaunchCompletion<P, A, A::CompletionSignal, A::Grid>, Error> where A::Queue: RingQueue, { self.try_unchecked_call_async(grid, args) .map_err(|(err, _)| err ) } /// Kernarg allocation can fail, so this function allows you re-call without having /// to also recreate the arguments (since we move them into a pinned box internally). pub unsafe fn try_unchecked_call_async(&mut self, grid: &A::Grid, args: A) -> Result<LaunchCompletion<P, A, A::CompletionSignal, A::Grid>, (Error, A)> where A::Queue: RingQueue, { let mut args = Some(args); match self._try_unchecked_call_async(grid, &mut args) { Ok(v) => Ok(v), Err(err) => Err((err, args.take().unwrap())), } } unsafe fn _try_unchecked_call_async(&mut self, grid: &A::Grid, args: &mut Option<A>) -> Result<LaunchCompletion<P, A, A::CompletionSignal, A::Grid>, Error> where A::Queue: RingQueue, { use num_traits::ops::checked::*; let wg_size = A::WORKGROUP.full_launch_grid()?; let grid_size = grid.full_launch_grid()?; if wg_size.x == 0 || wg_size.y == 0 || wg_size.z == 0 || grid_size.x == 0 || grid_size.y == 0 || grid_size.z == 0 { return Err(Error::ZeroGridLaunchAxis); } // Check the device kernel launch limits: // Do this first so errors won't waste args pool space. { let isa = self.f.fm_mut() .device .isa_info(); let wg_max_dims = &isa.workgroup_max_dim; if wg_size.x > wg_max_dims[0] || wg_size.y > wg_max_dims[1] || wg_size.z > wg_max_dims[2] { return Err(Error::KernelWorkgroupDimTooLargeForDevice); } let wg_len = wg_size.as_::<u32>() .checked_linear_len()?; if wg_len > isa.workgroup_max_size { return Err(Error::KernelWorkgroupLenTooLargeForDevice); } let grid_max_dims = &isa.grid_max_dim; if grid_size.x > grid_max_dims[0] || grid_size.y > grid_max_dims[1] || grid_size.z > grid_max_dims[2] { return Err(Error::LaunchGridDimTooLargeForDevice); } let grid_len = grid_size.as_::<u64>() .checked_linear_len()?; if grid_len > isa.grid_max_size { return Err(Error::LaunchGridLenTooLargeForDevice); } } let grid_size: Dim3D<u32> = { // Round the grid size up a multiple of the workgroup size. // This can overflow, so all ops must be checked. let wg_size = wg_size.as_::<u32>(); let one = Dim3D::from(1u32); ((grid_size - one) / wg_size) // can't over/under flow because we've already checked for zero .checked_add(&one).ok_or(Error::Overflow)? .checked_mul(&wg_size).ok_or(Error::Overflow)? }; let kernel_object = { let kernel = self.f .fm_mut() .compile_internal()?; let kargs_size = kernel.desc.kernarg_segment_size as usize; assert!(kargs_size == size_of::<(&KLaunchArgs<A>, )>(), "internal error: unexpected codegen argument size: \ {} actual vs {} expected", kargs_size, size_of::<(&KLaunchArgs<A>, )>()); kernel .kernel_object .get() }; args.as_ref().expect("provide args"); let mut kernargs = self.pool.alloc::<InvocArgs<A>>() .ok_or(Error::KernelArgsPoolOom)?; let launch_args = (&mut kernargs.as_mut().0) as *mut _; let launch_args_ref = (&mut kernargs.as_mut().1) as *mut _; // enqueue the dep barriers. this is done after kernarg allocation // so that this step isn't repeated if we're called again as a result // of kernarg alloc failure. { let q = args.as_ref().unwrap().queue(); let mut signals: SmallVec<[SignalRef; 5]> = SmallVec::new(); { let mut f = |sig: &dyn DeviceConsumable| -> Result<(), Error> { let sig = ::std::mem::transmute_copy(&sig.signal_ref()); signals.push(sig); if signals.len() == 5 { { let mut deps = signals.drain(..); q.try_enqueue_barrier_and(&mut deps, None)?; assert_eq!(deps.len(), 0); } } Ok(()) }; args.as_ref().unwrap() .iter_arg_deps(&mut f)?; } if signals.len() > 0 { let mut deps = signals.drain(..); q.try_enqueue_barrier_and(&mut deps, None)?; assert_eq!(deps.len(), 0); } } ptr::write(launch_args, KLaunchArgs { args: args.take().unwrap(), grid: grid.clone(), }); ptr::write(launch_args_ref, &*launch_args); let dispatch = DispatchPacket { workgroup_size: (wg_size.x, wg_size.y, wg_size.z, ), grid_size: (grid_size.x, grid_size.y, grid_size.z, ), group_segment_size: self.f.fm_mut().group_size().unwrap(), private_segment_size: self.f.fm_mut().private_size().unwrap(), scaquire_scope: self.f.fm_mut().begin_fence.clone(), screlease_scope: self.f.fm_mut().end_fence.clone(), ordered: false, kernel_object, kernel_args: &*launch_args_ref, completion_signal: Some((&*launch_args).args .completion() .signal_ref()), }; // Ensure the writes to the kernel args are all the way to memory: atomic::fence(Ordering::SeqCst); match (&*launch_args).args.queue().try_enqueue_kernel_dispatch(dispatch) { Ok(()) => { }, Err(err) => { // return args: let KLaunchArgs { args: launch_args, .. } = ptr::read(launch_args); *args = Some(launch_args); return Err(err.into()); } } let kargs = Box::from_raw_in(launch_args, ArgsPoolAlloc(self.pool.clone())); Ok(InvocCompletion { args: Box::into_pin(kargs), }) } } pub type CallError = crate::error::Error; #[must_use] pub struct InvocCompletion<P, A, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { args: Pin<Box<A, args_pool::ArgsPoolAlloc<P>>>, } pub type LaunchCompletion<P, A, S, G> = InvocCompletion<P, LaunchArgs<A, G>, S>; impl<P, A, S> InvocCompletion<P, KLaunchArgs<A>, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Kernel<CompletionSignal = S>, { pub unsafe fn wait_ref<F, R>(&self, f: F) -> SignaledDeref<R, &S> where F: FnOnce(&A) -> R, S: HostConsumable, { let args = self.args.as_ref().get_ref(); let signal = args.args.completion(); let r = f(&args.args); SignaledDeref::new(r, signal) } } impl<P, A, S> InvocCompletion<P, A, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { pub fn ret<R>(self, ret: R) -> InvocCompletionReturn<P, A, S, R> where A: Sized, { InvocCompletionReturn { ret, invoc: self, } } } unsafe impl<P, A> deps::Deps for InvocCompletion<P, A, dyn DeviceConsumable> where P: Deref<Target = ArgsPool> + Clone, A: Completion<CompletionSignal = dyn DeviceConsumable> + ?Sized, { fn iter_deps<'a>(&'a self, f: &mut dyn FnMut(&'a dyn DeviceConsumable) -> Result<(), CallError>) -> Result<(), CallError> { f(self.args.completion()) } } impl<P, A, S, G> Deref for InvocCompletion<P, LaunchArgs<A, G>, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle, A: Completion<CompletionSignal = S> + ?Sized, { type Target = A; fn deref(&self) -> &Self::Target { &self.args.args } } // impl the signal traits so that invoc completions can be reused for multiple // kernel dispatches. impl<P, A, S> SignalHandle for InvocCompletion<P, A, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { fn signal_ref(&self) -> SignalRef { self.args .completion() .signal_ref() } fn as_host_consumable(&self) -> Option<&dyn HostConsumable> { self.args .completion() .as_host_consumable() } } impl<P, A, S> DeviceConsumable for InvocCompletion<P, A, S> where P: Deref<Target = ArgsPool> + Clone, S: DeviceConsumable + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { fn usable_on_device(&self, id: AcceleratorId) -> bool { self.args .completion() .usable_on_device(id) } } impl<P, A, S> HostConsumable for InvocCompletion<P, A, S> where P: Deref<Target = ArgsPool> + Clone, S: HostConsumable + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { unsafe fn wait_for_zero_relaxed(&self, spin: bool) -> Result<(), Value> { self.args .completion() .wait_for_zero_relaxed(spin)?; Ok(()) } fn wait_for_zero(&self, spin: bool) -> Result<(), Value> { self.args .completion() .wait_for_zero(spin)?; Ok(()) } } impl<P, A, S> Drop for InvocCompletion<P, A, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { fn drop(&mut self) { let mut waited = false; if !waited { if let Some(host) = self.args.completion().as_host_consumable() { if let Err(code) = host.wait_for_zero(false) { error!("got negative signal from dispatch: {}", code); } waited = true; } else { let v = self.args .completion() .signal_ref() .load_scacquire(); waited = v == 0; } } if waited { return; } if !waited && !::std::thread::panicking() { // fail loudly; we can't safely run the argument drop code as the device could // still be using it! panic!("InvocCompletion w/ device completion signal \ unconsumed (ie not used as a dep in another dispatch)!"); } else { log::warn!("host panic has probably caused some leaked data! \ Program execution is undefined now!"); } } } impl<P, A1, A2, S> CoerceUnsized<InvocCompletion<P, A2, S>> for InvocCompletion<P, A1, S> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle, A1: Unsize<A2> + Completion<CompletionSignal = S> + ?Sized, A2: Completion<CompletionSignal = S> + ?Sized, { } pub struct InvocCompletionReturn<P, A, S, R> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { ret: R, invoc: InvocCompletion<P, A, S>, } impl<P, A, S, R> SignalHandle for InvocCompletionReturn<P, A, S, R> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { fn signal_ref(&self) -> SignalRef { self.invoc.signal_ref() } fn as_host_consumable(&self) -> Option<&dyn HostConsumable> { self.invoc.as_host_consumable() } } impl<P, A, S, R> DeviceConsumable for InvocCompletionReturn<P, A, S, R> where P: Deref<Target = ArgsPool> + Clone, S: DeviceConsumable + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { fn usable_on_device(&self, id: AcceleratorId) -> bool { self.invoc.usable_on_device(id) } } impl<P, A, S, R> HostConsumable for InvocCompletionReturn<P, A, S, R> where P: Deref<Target = ArgsPool> + Clone, S: HostConsumable + ?Sized, A: Completion<CompletionSignal = S> + ?Sized, { unsafe fn wait_for_zero_relaxed(&self, spin: bool) -> Result<(), Value> { self.invoc.wait_for_zero_relaxed(spin) } fn wait_for_zero(&self, spin: bool) -> Result<(), Value> { self.invoc.wait_for_zero(spin) } } unsafe impl<P, A, R> deps::Deps for InvocCompletionReturn<P, A, dyn DeviceConsumable, R> where P: Deref<Target = ArgsPool> + Clone, A: Completion<CompletionSignal = dyn DeviceConsumable> + ?Sized, R: deps::Deps, { fn iter_deps<'a>(&'a self, f: &mut dyn FnMut(&'a dyn DeviceConsumable) -> Result<(), CallError>) -> Result<(), CallError> { self.ret.iter_deps(f)?; self.invoc.iter_deps(f) } } impl<P, A1, A2, S, R> CoerceUnsized<InvocCompletionReturn<P, A2, S, R>> for InvocCompletionReturn<P, A1, S, R> where P: Deref<Target = ArgsPool> + Clone, S: SignalHandle, A1: Unsize<A2> + Completion<CompletionSignal = S> + ?Sized, A2: Completion<CompletionSignal = S> + ?Sized, { } #[derive(Debug, Eq, PartialEq, Hash)] pub struct HsaModuleData { /// We need to keep the agent handle alive so the exe handle /// is also kept alive. pub(crate) agent: Agent, pub(crate) exe: FrozenExecutable, pub(crate) kernel_object: NonZeroU64, pub(crate) desc: CodegenDesc, } impl PlatformModuleData for HsaModuleData { fn eq(&self, rhs: &dyn PlatformModuleData) -> bool { let rhs: Option<&Self> = Self::downcast_ref(rhs); if let Some(rhs) = rhs { self == rhs } else { false } } }
31.208614
99
0.633647
adf246bd7a01cd45b3f1ca683afba6610a467b96
384
lua
Lua
vGPU_FiveM/data/main.lua
pekkanenville/vGPU_FiveM
2ebe835e2eff371ef07080f1cb01c82bb2ae2cfb
[ "Unlicense" ]
2
2021-07-14T22:26:57.000Z
2022-01-14T12:44:59.000Z
vGPU_FiveM/data/main.lua
pekkanenville/vGPU_FiveM
2ebe835e2eff371ef07080f1cb01c82bb2ae2cfb
[ "Unlicense" ]
null
null
null
vGPU_FiveM/data/main.lua
pekkanenville/vGPU_FiveM
2ebe835e2eff371ef07080f1cb01c82bb2ae2cfb
[ "Unlicense" ]
null
null
null
vGPU_FiveM Toggle CoreX virtual FXServer GPU > ============================================ =Core1X300000000000000000000000000000000000= ============================================ CoreX Resource: ================= ==Core=Core=Core= ==Cache===Cache== ==Port====vCore== ================= ============================================= FXServer.localhost:07770
19.2
46
0.382813
735e0a216ae33ae8687ee516665e935e7bef4c43
394
sql
SQL
Views/Análise Tributação de Saída/Estados para análise de ST/MS - NCM com ST.sql
jeffersonfantasia/SQL_Scripts
2b6407b41bf6a267a0fb8b5174e29b6c22fcb7d4
[ "MIT" ]
1
2020-11-04T21:36:02.000Z
2020-11-04T21:36:02.000Z
Views/Análise Tributação de Saída/Estados para análise de ST/MS - NCM com ST.sql
jeffersonfantasia/SQL_Scripts
2b6407b41bf6a267a0fb8b5174e29b6c22fcb7d4
[ "MIT" ]
null
null
null
Views/Análise Tributação de Saída/Estados para análise de ST/MS - NCM com ST.sql
jeffersonfantasia/SQL_Scripts
2b6407b41bf6a267a0fb8b5174e29b6c22fcb7d4
[ "MIT" ]
null
null
null
CREATE OR REPLACE VIEW VIEW_JC_NCMTABELABASE_MS AS SELECT * FROM VIEW_JC_TABELABASE WHERE UFDESTINO = 'MS' AND CODNCMEX IN ( '39249000.1', '39249000.3', '84433299.', '84713012.', '84714110.', '84716053.', '84719012.', '85163100.', '85163200.', '85176272.' , '85181090.', '85271990.', '87116000.', '87116000.1', '87119000.', '90191000.1', '94056000.' );
49.25
138
0.614213
b15dc2474c94eb136e57e57513e05177679e32f9
1,944
h
C
addons/PortAudio/source/IoAudioDevice.h
achoy/io
788119a91041d10d98c910d61280b666fd77f8c1
[ "BSD-3-Clause" ]
4
2015-11-24T13:02:56.000Z
2016-05-08T10:15:47.000Z
addons/PortAudio/source/IoAudioDevice.h
mistydemeo/io
ebc0c53a89fe720c6cf77f2ef7a72767d799c057
[ "BSD-3-Clause" ]
null
null
null
addons/PortAudio/source/IoAudioDevice.h
mistydemeo/io
ebc0c53a89fe720c6cf77f2ef7a72767d799c057
[ "BSD-3-Clause" ]
1
2021-02-10T06:07:35.000Z
2021-02-10T06:07:35.000Z
/* copyright: Steve Dekorte, 2002 * All rights reserved. See _BSDLicense.txt. */ #ifndef IoAudioDevice_DEFINED #define IoAudioDevice_DEFINED 1 #include "IoObject.h" #include "IoSeq.h" #include "IoSeq.h" #include "AudioDevice.h" #define ISAUDIOOUTPUT(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoAudioDevice_rawClone) typedef IoObject IoAudioDevice; typedef struct { AudioDevice *audioDevice; IoSeq *writeBuffer; IoSeq *readBuffer; IoObject *pausedActor; //IoMessage *readyForInput; } IoAudioDeviceData; IoAudioDevice *IoAudioDevice_proto(void *state); IoAudioDevice *IoAudioDevice_new(void *state); IoAudioDevice *IoAudioDevice_rawClone(IoAudioDevice *self); void IoAudioDevice_free(IoAudioDevice *self); void IoAudioDevice_mark(IoAudioDevice *self); AudioDevice *IoAudioDevice_rawAudioDevice(IoAudioDevice *self); void IoAudioDevice_clearBuffers(IoAudioDevice *self); /* ----------------------------------------------------------- */ IoObject *IoAudioDevice_open(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_openForReadingAndWriting(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_close(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_needsData(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_asyncWrite(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_read(IoAudioDevice *self, IoObject *locals, IoMessage *m); void IoAudioDevice_AudioDeviceCallback(void *context, AudioDevice *audioDevice); IoObject *IoAudioDevice_error(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_isActive(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_streamTime(IoAudioDevice *self, IoObject *locals, IoMessage *m); IoObject *IoAudioDevice_writeBufferIsEmpty(IoAudioDevice *self, IoObject *locals, IoMessage *m); #endif
36.679245
102
0.785494
73604ad5d59ccb3997987547e5df0825d03582b8
3,253
rs
Rust
src/eth0/timestamp_addend.rs
lucasbrendel/xmc4800
f23abe82228169c6956d25b9d17709ba193c75dc
[ "MIT" ]
1
2018-01-06T01:05:24.000Z
2018-01-06T01:05:24.000Z
src/eth0/timestamp_addend.rs
xmc-rs/xmc4400
a3ce2565125abd4dfbd1e573ac1f9168ed07f952
[ "MIT" ]
10
2019-09-14T17:00:41.000Z
2022-03-02T10:26:00.000Z
src/eth0/timestamp_addend.rs
xmc-rs/xmc4800
3e167c98dc34a26a4fe68a99d4df658cac177c45
[ "MIT" ]
1
2021-05-23T05:58:41.000Z
2021-05-23T05:58:41.000Z
#[doc = "Register `TIMESTAMP_ADDEND` reader"] pub struct R(crate::R<TIMESTAMP_ADDEND_SPEC>); impl core::ops::Deref for R { type Target = crate::R<TIMESTAMP_ADDEND_SPEC>; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } impl From<crate::R<TIMESTAMP_ADDEND_SPEC>> for R { #[inline(always)] fn from(reader: crate::R<TIMESTAMP_ADDEND_SPEC>) -> Self { R(reader) } } #[doc = "Register `TIMESTAMP_ADDEND` writer"] pub struct W(crate::W<TIMESTAMP_ADDEND_SPEC>); impl core::ops::Deref for W { type Target = crate::W<TIMESTAMP_ADDEND_SPEC>; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } impl core::ops::DerefMut for W { #[inline(always)] fn deref_mut(&mut self) -> &mut Self::Target { &mut self.0 } } impl From<crate::W<TIMESTAMP_ADDEND_SPEC>> for W { #[inline(always)] fn from(writer: crate::W<TIMESTAMP_ADDEND_SPEC>) -> Self { W(writer) } } #[doc = "Field `TSAR` reader - Timestamp Addend Register"] pub struct TSAR_R(crate::FieldReader<u32, u32>); impl TSAR_R { pub(crate) fn new(bits: u32) -> Self { TSAR_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for TSAR_R { type Target = crate::FieldReader<u32, u32>; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `TSAR` writer - Timestamp Addend Register"] pub struct TSAR_W<'a> { w: &'a mut W, } impl<'a> TSAR_W<'a> { #[doc = r"Writes raw bits to the field"] #[inline(always)] pub unsafe fn bits(self, value: u32) -> &'a mut W { self.w.bits = (self.w.bits & !0xffff_ffff) | (value as u32 & 0xffff_ffff); self.w } } impl R { #[doc = "Bits 0:31 - Timestamp Addend Register"] #[inline(always)] pub fn tsar(&self) -> TSAR_R { TSAR_R::new((self.bits & 0xffff_ffff) as u32) } } impl W { #[doc = "Bits 0:31 - Timestamp Addend Register"] #[inline(always)] pub fn tsar(&mut self) -> TSAR_W { TSAR_W { w: self } } #[doc = "Writes raw bits to the register."] #[inline(always)] pub unsafe fn bits(&mut self, bits: u32) -> &mut Self { self.0.bits(bits); self } } #[doc = "Timestamp Addend Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [timestamp_addend](index.html) module"] pub struct TIMESTAMP_ADDEND_SPEC; impl crate::RegisterSpec for TIMESTAMP_ADDEND_SPEC { type Ux = u32; } #[doc = "`read()` method returns [timestamp_addend::R](R) reader structure"] impl crate::Readable for TIMESTAMP_ADDEND_SPEC { type Reader = R; } #[doc = "`write(|w| ..)` method takes [timestamp_addend::W](W) writer structure"] impl crate::Writable for TIMESTAMP_ADDEND_SPEC { type Writer = W; } #[doc = "`reset()` method sets TIMESTAMP_ADDEND to value 0"] impl crate::Resettable for TIMESTAMP_ADDEND_SPEC { #[inline(always)] fn reset_value() -> Self::Ux { 0 } }
31.582524
422
0.626191
b1aad2034aad2d109a31a79fcccff7f0f2cfe264
35
h
C
system/include/emscripten.h
albertobarri/idk
a250884f79e2a484251fc750bb915ecbc962be58
[ "MIT" ]
9,724
2015-01-01T02:06:30.000Z
2019-01-17T15:13:51.000Z
system/include/emscripten.h
albertobarri/idk
a250884f79e2a484251fc750bb915ecbc962be58
[ "MIT" ]
7,584
2019-01-17T22:58:27.000Z
2022-03-31T23:10:22.000Z
system/include/emscripten.h
albertobarri/idk
a250884f79e2a484251fc750bb915ecbc962be58
[ "MIT" ]
1,519
2015-01-01T18:11:12.000Z
2019-01-17T14:16:02.000Z
#include "emscripten/emscripten.h"
17.5
34
0.8
647f84865144aee13674b2cb43fb862bb0ee7c4f
17,985
rs
Rust
src/static_rc.rs
Johannesd3/static-rc
48e883e2f5d89a3177ef31f4773ab7252b614a9d
[ "Apache-2.0", "MIT" ]
null
null
null
src/static_rc.rs
Johannesd3/static-rc
48e883e2f5d89a3177ef31f4773ab7252b614a9d
[ "Apache-2.0", "MIT" ]
null
null
null
src/static_rc.rs
Johannesd3/static-rc
48e883e2f5d89a3177ef31f4773ab7252b614a9d
[ "Apache-2.0", "MIT" ]
null
null
null
// StaticRc use core::{ any, borrow, cmp, convert, fmt, future, hash, iter, marker, mem, ops, pin, ptr::{self, NonNull}, task, }; use alloc::boxed::Box; #[cfg(nightly_async_stream)] use core::stream; /// A compile-time reference-counted pointer. /// /// The inherent methods of `StaticRc` are all associated functions to avoid conflicts with the the methods of the /// inner type `T` which are brought into scope by the `Deref` implementation. /// /// The parameters `NUM` and `DEN` DENote the ratio (`NUM / DEN`) of ownership of the pointer: /// /// - The ratio is always in the (0, 1] interval, that is: `NUM > 0` and `NUM <= DEN`. /// - When the ratio is equal to 1, that is when `NUM == DEN`, then the instance has full ownership of the pointee /// and extra capabilities are unlocked. pub struct StaticRc<T: ?Sized, const NUM: usize, const DEN: usize> { pointer: NonNull<T>, } impl<T, const N: usize> StaticRc<T, N, N> { /// Constructs a new `StaticRc<T, N, N>`. /// /// This uses `Box` under the hood. #[inline(always)] pub fn new(value: T) -> Self { let pointer = NonNull::from(Box::leak(Box::new(value))); Self { pointer } } /// Constructs a new `Pin<StaticRc<T, N, N>>`. #[inline(always)] pub fn pin(value: T) -> pin::Pin<Self> { // Safety: // - The `value` is placed on the heap, and cannot be moved out of the heap without full ownership. unsafe { pin::Pin::new_unchecked(Self::new(value)) } } /// Returns the inner value. #[inline(always)] pub fn into_inner(this: Self) -> T { // Safety: // - Ratio = 1, hence full ownership. let value = unsafe { ptr::read(this.pointer.as_ptr()) }; mem::forget(this); value } } impl<T: ?Sized, const N: usize> StaticRc<T, N, N> { /// Returns a mutable reference into the given `StaticRc`. #[inline(always)] pub fn get_mut(this: &mut Self) -> &mut T { // Safety: // - Ratio = 1, hence full ownership. unsafe { this.pointer.as_mut() } } /// Returns the inner value, boxed #[inline(always)] pub fn into_box(this: Self) -> Box<T> { // Safety: // - Ratio = 1, hence full ownership. // - `this.pointer` was allocated by Box. unsafe { Box::from_raw(this.pointer.as_ptr()) } } } impl<T: ?Sized, const NUM: usize, const DEN: usize> StaticRc<T, NUM, DEN> { /// Consumes the `StaticRc`, returning the wrapped pointer. /// /// To avoid a memory leak, the pointer must be converted back to `Self` using `StaticRc::from_raw`. #[inline(always)] pub fn into_raw(this: Self) -> NonNull<T> { this.pointer } /// Provides a raw pointer to the data. /// /// `StaticRc` is not consumed or affected in any way, the pointer is valid as long as there are shared owners of /// the value. #[inline(always)] pub fn as_ptr(this: &Self) -> NonNull<T> { this.pointer } /// Provides a reference to the data. #[inline(always)] pub fn get_ref(this: &Self) -> &T { // Safety: // - The data is valid for as long as `this` lives. unsafe { this.pointer.as_ref() } } /// Constructs a `StaticRc<T, NUM, DEN>` from a raw pointer. /// /// The raw pointer must have been previously returned by a call to `StaticRc<U, N, D>::into_raw`: /// /// - If `U` is different from `T`, then specific restrictions on size and alignment apply. See `mem::transmute` /// for the restrictions applying to transmuting references. /// - If `N / D` is different from `NUM / DEN`, then specific restrictions apply. The user is responsible for /// ensuring proper management of the ratio of shares, and ultimately that the value is not dropped twice. #[inline(always)] pub unsafe fn from_raw(pointer: NonNull<T>) -> Self { Self { pointer } } /// Returns true if the two `StaticRc` point to the same allocation. #[inline(always)] pub fn ptr_eq<const N: usize, const D: usize>(this: &Self, other: &StaticRc<T, N, D>) -> bool { StaticRc::as_ptr(this) == StaticRc::as_ptr(other) } /// Adjusts the NUMerator and DENUMerator of the ratio of the instance, preserving the ratio. #[inline(always)] pub fn adjust<const N: usize, const D: usize>(this: Self) -> StaticRc<T, N, D> { // Check that NUM / DEN == N / D <=> NUM * D == N * DEN #[cfg(compile_time_ratio)] { let _ : [u8; NUM * D - N * DEN]; let _ : [u8; N * DEN - NUM * D]; } #[cfg(not(compile_time_ratio))] assert_eq!(NUM * D, N * DEN, "{} / {} != {} / {}", NUM, DEN, N, D); let pointer = this.pointer; mem::forget(this); StaticRc { pointer } } /// Splits the current instance into two instances with the specified NUMerators. #[inline(always)] pub fn split<const A: usize, const B: usize>(this: Self) -> (StaticRc<T, A, DEN>, StaticRc<T, B, DEN>) { // Check that (A + B) == NUM. #[cfg(compile_time_ratio)] { let _ : [u8; (A + B) - NUM]; let _ : [u8; NUM - (A + B)]; } #[cfg(not(compile_time_ratio))] assert_eq!(NUM, A + B, "{} != {} + {}", NUM, A, B); let pointer = this.pointer; mem::forget(this); (StaticRc { pointer }, StaticRc { pointer }) } /// Joins two instances into a single instance. /// /// # Panics /// /// If the two instances do no point to the same allocation, as determined by `StaticRc::ptr_eq`. #[inline(always)] pub fn join<const A: usize, const B: usize>(left: StaticRc<T, A, DEN>, right: StaticRc<T, B, DEN>) -> Self { // Check that (A + B) == NUM. #[cfg(compile_time_ratio)] { let _ : [u8; (A + B) - NUM]; let _ : [u8; NUM - (A + B)]; } #[cfg(not(compile_time_ratio))] assert_eq!(NUM, A + B, "{} != {} + {}", NUM, A, B); assert!(StaticRc::ptr_eq(&left, &right), "{:?} != {:?}", left.pointer.as_ptr(), right.pointer.as_ptr()); let pointer = left.pointer; mem::forget(left); mem::forget(right); Self { pointer } } } impl<const NUM: usize, const DEN: usize> StaticRc<dyn any::Any, NUM, DEN> { /// Attempts to downcast `Self` to a concrete type. pub fn downcast<T: any::Any>(self) -> Result<StaticRc<T, NUM, DEN>, Self> { if Self::get_ref(&self).is::<T>() { let pointer = Self::into_raw(self).cast::<T>(); Ok(StaticRc { pointer }) } else { Err(self) } } } impl<T: ?Sized, const NUM: usize, const DEN: usize> Drop for StaticRc<T, NUM, DEN> { #[inline(always)] fn drop(&mut self) { // Check that NUM == DEN. #[cfg(compile_time_ratio)] { let _ : [u8; DEN - NUM]; let _ : [u8; NUM - DEN]; } #[cfg(not(compile_time_ratio))] debug_assert_eq!(NUM, DEN, "{} != {}", NUM, DEN); if NUM == DEN { // Safety: // - Ratio = 1, hence full ownership. // - `self.pointer` was allocated by Box. unsafe { Box::from_raw(self.pointer.as_ptr()) }; } } } impl<T: ?Sized, const N: usize> convert::AsMut<T> for StaticRc<T, N, N> { #[inline(always)] fn as_mut(&mut self) -> &mut T { Self::get_mut(self) } } impl<T: ?Sized, const NUM: usize, const DEN: usize> convert::AsRef<T> for StaticRc<T, NUM, DEN> { #[inline(always)] fn as_ref(&self) -> &T { Self::get_ref(self) } } impl<T: ?Sized, const NUM: usize, const DEN: usize> borrow::Borrow<T> for StaticRc<T, NUM, DEN> { #[inline(always)] fn borrow(&self) -> &T { Self::get_ref(self) } } impl<T: ?Sized, const N: usize> borrow::BorrowMut<T> for StaticRc<T, N, N> { #[inline(always)] fn borrow_mut(&mut self) -> &mut T { Self::get_mut(self) } } #[cfg(nightly_coerce_unsized)] impl<T, U, const NUM: usize, const DEN: usize> CoerceUnsized<StaticRc<U, NUM, DEN>> for StaticRc<T, NUM, DEN> where T: ?Sized + marker::Unsize<U>, U: ?Sized, {} impl<T: ?Sized + fmt::Debug, const NUM: usize, const DEN: usize> fmt::Debug for StaticRc<T, NUM, DEN> { #[inline(always)] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { fmt::Debug::fmt(Self::get_ref(self), f) } } impl<T: Default, const N: usize> Default for StaticRc<T, N, N> { #[inline(always)] fn default() -> Self { Self::new(T::default()) } } impl<T: ?Sized, const NUM: usize, const DEN: usize> ops::Deref for StaticRc<T, NUM, DEN> { type Target = T; #[inline(always)] fn deref(&self) -> &T { Self::get_ref(self) } } impl<T: ?Sized, const N: usize> ops::DerefMut for StaticRc<T, N, N> { #[inline(always)] fn deref_mut(&mut self) -> &mut T { Self::get_mut(self) } } impl<T: ?Sized + fmt::Display, const NUM: usize, const DEN: usize> fmt::Display for StaticRc<T, NUM, DEN> { #[inline(always)] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { fmt::Display::fmt(Self::get_ref(self), f) } } #[cfg(nightly_dispatch_from_dyn)] impl<T, U, const NUM: usize, const DEN: usize> DispatchFromDyn<StaticRc<U, NUM, DEN>> for StaticRc<T, NUM, DEN> where T: ?Sized + marker::Unsize<U>, U: ?Sized, {} impl<I: iter::DoubleEndedIterator + ?Sized, const N: usize> iter::DoubleEndedIterator for StaticRc<I, N, N> { #[inline(always)] fn next_back(&mut self) -> Option<I::Item> { Self::get_mut(self).next_back() } #[inline(always)] fn nth_back(&mut self, n: usize) -> Option<I::Item> { Self::get_mut(self).nth_back(n) } } impl<T: ?Sized + cmp::Eq, const NUM: usize, const DEN: usize> cmp::Eq for StaticRc<T, NUM, DEN> {} impl<I: iter::ExactSizeIterator + ?Sized, const N: usize> iter::ExactSizeIterator for StaticRc<I, N, N> { #[inline(always)] fn len(&self) -> usize { Self::get_ref(self).len() } } impl<T: ?Sized, const N: usize> From<Box<T>> for StaticRc<T, N, N> { #[inline(always)] fn from(value: Box<T>) -> Self { let pointer = NonNull::from(Box::leak(value)); Self { pointer } } } impl<T: Copy, const N: usize> From<&'_ [T]> for StaticRc<[T], N, N> { #[inline(always)] fn from(value: &[T]) -> Self { Self::from(Box::from(value)) } } impl<const N: usize> From<&'_ str> for StaticRc<str, N, N> { #[inline(always)] fn from(value: &str) -> Self { Self::from(Box::from(value)) } } impl<T, const LEN: usize, const N: usize> From<[T; LEN]> for StaticRc<[T], N, N> { #[inline(always)] fn from(value: [T; LEN]) -> Self { Self::from(Box::from(value)) } } impl<T: Copy, const N: usize> From<alloc::borrow::Cow<'_, [T]>> for StaticRc<[T], N, N> { #[inline(always)] fn from(value: alloc::borrow::Cow<'_, [T]>) -> Self { Self::from(Box::from(value)) } } impl<const N: usize> From<alloc::borrow::Cow<'_, str>> for StaticRc<str, N, N> { #[inline(always)] fn from(value: alloc::borrow::Cow<'_, str>) -> Self { Self::from(Box::from(value)) } } impl<const N: usize> From<alloc::string::String> for StaticRc<str, N, N> { #[inline(always)] fn from(value: alloc::string::String) -> Self { Self::from(Box::from(value)) } } impl<T, const N: usize> From<T> for StaticRc<T, N, N> { #[inline(always)] fn from(value: T) -> Self { Self::from(Box::from(value)) } } impl<T, const N: usize> From<alloc::vec::Vec<T>> for StaticRc<[T], N, N> { #[inline(always)] fn from(value: alloc::vec::Vec<T>) -> Self { Self::from(Box::from(value)) } } impl<T, const N: usize> From<StaticRc<[T], N, N>> for alloc::vec::Vec<T> { #[inline(always)] fn from(value: StaticRc<[T], N, N>) -> Self { Self::from(StaticRc::into_box(value)) } } impl<T: ?Sized, const N: usize> From<StaticRc<T, N, N>> for alloc::rc::Rc<T> { #[inline(always)] fn from(value: StaticRc<T, N, N>) -> Self { Self::from(StaticRc::into_box(value)) } } impl<T: ?Sized, const N: usize> From<StaticRc<T, N, N>> for alloc::sync::Arc<T> { #[inline(always)] fn from(value: StaticRc<T, N, N>) -> Self { Self::from(StaticRc::into_box(value)) } } impl<const N: usize> From<StaticRc<str, N, N>> for alloc::string::String { #[inline(always)] fn from(value: StaticRc<str, N, N>) -> Self { Self::from(StaticRc::into_box(value)) } } impl<const NUM: usize, const DEN: usize> From<StaticRc<str, NUM, DEN>> for StaticRc<[u8], NUM, DEN> { #[inline(always)] fn from(value: StaticRc<str, NUM, DEN>) -> Self { let pointer = value.pointer.as_ptr() as *mut [u8]; mem::forget(value); // Safety: // - `value.pointer` was not null, hence `pointer` is not null. debug_assert!(!pointer.is_null()); let pointer = unsafe { NonNull::new_unchecked(pointer) }; Self { pointer } } } impl<const N: usize> iter::FromIterator<StaticRc<str, N, N>> for alloc::string::String { #[inline(always)] fn from_iter<I: IntoIterator<Item = StaticRc<str, N, N>>>(iter: I) -> Self { Self::from_iter(iter.into_iter().map(StaticRc::into_box)) } } impl<T, const N: usize> iter::FromIterator<T> for StaticRc<[T], N, N> { #[inline(always)] fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self { Self::from(Box::from_iter(iter)) } } impl<I: iter::FusedIterator + ?Sized, const N: usize> iter::FusedIterator for StaticRc<I, N, N> {} impl<F: ?Sized + future::Future + marker::Unpin, const N: usize> future::Future for StaticRc<F, N, N> { type Output = F::Output; fn poll(mut self: pin::Pin<&mut Self>, cx: &mut task::Context<'_>) -> task::Poll<Self::Output> { F::poll(pin::Pin::new(&mut *self), cx) } } #[cfg(nightly_generator_trait)] impl<G: ?Sized + ops::Generator<R> + marker::Unpin, R, const N: usize> ops::Generator<R> for StaticRc<G, N, N> { type Yield = G::Yield; type Return = G::Return; fn resume(mut self: pin::Pin<&mut Self>, arg: R) -> ops::GeneratorState<Self::Yield, Self::Return> { G::resume(pin::Pin(&mut *self), arg) } } #[cfg(nightly_generator_trait)] impl<G: ?Sized + ops::Generator<R>, R, const N: usize> ops::Generator<R> for pin::Pin<StaticRc<G, N, N>> { type Yield = G::Yield; type Return = G::Return; fn resume(mut self: pin::Pin<&mut Self>, arg: R) -> ops::GeneratorState<Self::Yield, Self::Return> { G::resume((*self).as_mut(), arg) } } impl<T: ?Sized + hash::Hash, const NUM: usize, const DEN: usize> hash::Hash for StaticRc<T, NUM, DEN> { #[inline(always)] fn hash<H: hash::Hasher>(&self, state: &mut H) { Self::get_ref(self).hash(state); } } impl<I: iter::Iterator + ?Sized, const N: usize> iter::Iterator for StaticRc<I, N, N> { type Item = I::Item; #[inline(always)] fn next(&mut self) -> Option<I::Item> { Self::get_mut(self).next() } #[inline(always)] fn size_hint(&self) -> (usize, Option<usize>) { Self::get_ref(self).size_hint() } #[inline(always)] fn nth(&mut self, n: usize) -> Option<I::Item> { Self::get_mut(self).nth(n) } #[inline(always)] fn last(self) -> Option<I::Item> { Self::into_box(self).last() } } impl<T: ?Sized + cmp::Ord, const NUM: usize, const DEN: usize> cmp::Ord for StaticRc<T, NUM, DEN> { #[inline(always)] fn cmp(&self, other: &Self) -> cmp::Ordering { if Self::ptr_eq(self, other) { cmp::Ordering::Equal } else { Self::get_ref(self).cmp(Self::get_ref(other)) } } } impl<T, const NUM: usize, const DEN: usize, const N: usize, const D: usize> cmp::PartialEq<StaticRc<T, N, D>> for StaticRc<T, NUM, DEN> where T: ?Sized + PartialEq<T> { #[inline(always)] fn eq(&self, other: &StaticRc<T, N, D>) -> bool { Self::get_ref(self).eq(StaticRc::get_ref(other)) } #[inline(always)] fn ne(&self, other: &StaticRc<T, N, D>) -> bool { Self::get_ref(self).ne(StaticRc::get_ref(other)) } } impl<T, const NUM: usize, const DEN: usize, const N: usize, const D: usize> cmp::PartialOrd<StaticRc<T, N, D>> for StaticRc<T, NUM, DEN> where T: ?Sized + PartialOrd<T> { #[inline(always)] fn partial_cmp(&self, other: &StaticRc<T, N, D>) -> Option<cmp::Ordering> { Self::get_ref(self).partial_cmp(StaticRc::get_ref(other)) } #[inline(always)] fn lt(&self, other: &StaticRc<T, N, D>) -> bool { Self::get_ref(self).lt(StaticRc::get_ref(other)) } #[inline(always)] fn le(&self, other: &StaticRc<T, N, D>) -> bool { Self::get_ref(self).le(StaticRc::get_ref(other)) } #[inline(always)] fn gt(&self, other: &StaticRc<T, N, D>) -> bool { Self::get_ref(self).gt(StaticRc::get_ref(other)) } #[inline(always)] fn ge(&self, other: &StaticRc<T, N, D>) -> bool { Self::get_ref(self).ge(StaticRc::get_ref(other)) } } impl<T: ?Sized, const NUM: usize, const DEN: usize> fmt::Pointer for StaticRc<T, NUM, DEN> { #[inline(always)] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt::Pointer::fmt(&Self::as_ptr(self).as_ptr(), f) } } #[cfg(nightly_async_stream)] impl<S: ?Sized + stream::Stream + marker::Unpin, const N: usize> stream::Stream for StaticRc<S, N, N> { type Item = S::Item; fn poll_next(mut self: pin::Pin<&mut Self>, cx: &mut task::Context<'_>) -> task::Poll<Option<Self::Item>> { pin::Pin::new(&mut **self).poll_next(cx) } fn size_hint(&self) -> (usize, Option<usize>) { (**self).size_hint() } } impl<T: ?Sized, const NUM: usize, const DEN: usize> marker::Unpin for StaticRc<T, NUM, DEN> {} unsafe impl<T: ?Sized + marker::Send, const NUM: usize, const DEN: usize> marker::Send for StaticRc<T, NUM, DEN> {} unsafe impl<T: ?Sized + marker::Sync, const NUM: usize, const DEN: usize> marker::Sync for StaticRc<T, NUM, DEN> {}
34.127135
118
0.583097
90094aaa82be4c9b440fe850997c833182e8e5b8
1,575
kt
Kotlin
app/src/main/java/tech/takenoko/cleanarchitecturex/repository/local/UserLocalDataSource.kt
TakenokoTech/CleanArchitectureX
3fe34a5d239c7baece4de3a8416c9fd80fe129a2
[ "MIT" ]
3
2020-09-02T12:42:28.000Z
2020-11-27T07:22:01.000Z
app/src/main/java/tech/takenoko/cleanarchitecturex/repository/local/UserLocalDataSource.kt
TakenokoTech/CleanArchitectureX
3fe34a5d239c7baece4de3a8416c9fd80fe129a2
[ "MIT" ]
12
2019-11-28T05:56:50.000Z
2019-12-09T16:55:35.000Z
app/src/main/java/tech/takenoko/cleanarchitecturex/repository/local/UserLocalDataSource.kt
TakenokoTech/CleanArchitectureX
3fe34a5d239c7baece4de3a8416c9fd80fe129a2
[ "MIT" ]
null
null
null
package tech.takenoko.cleanarchitecturex.repository.local import androidx.annotation.MainThread import androidx.annotation.WorkerThread import androidx.lifecycle.LiveData import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import org.koin.core.KoinComponent import org.koin.core.inject import tech.takenoko.cleanarchitecturex.di.AppDatabase import tech.takenoko.cleanarchitecturex.entities.room.UserDao import tech.takenoko.cleanarchitecturex.utils.AppLog class UserLocalDataSource : UserDao, KoinComponent { private val database: AppDatabase by inject() @WorkerThread override suspend fun getAll(): List<User> { return database.userDao().getAll() } @WorkerThread override suspend fun insertAll(vararg users: User) { val result = database.userDao().insertAll(*users) AppLog.debug(TAG, "insertAll. ${users.map { it.id }}") return result } @WorkerThread override suspend fun deleteAll() { val result = database.userDao().deleteAll() AppLog.debug(TAG, "deleteAll.") return result } @MainThread override fun getAllToLive(): LiveData<List<User>> { return database.userDao().getAllToLive() } @Entity data class User( @ColumnInfo(name = "userName") val userName: String, @ColumnInfo(name = "displayName") val displayName: String, @PrimaryKey(autoGenerate = true) val id: Int = 0 ) companion object { private val TAG = UserLocalDataSource::class.java.simpleName } }
29.166667
68
0.711746
4a47ba54cb5aa5efdbff6e98a4934aa0c4081428
362
js
JavaScript
test/built-ins/Error/prototype/S15.11.3.1_A4_T1.js
ptomato/test262
10ad4c159328d12ad8d12b95a8f8aefa0e4fd49b
[ "BSD-3-Clause" ]
2,602
2015-01-02T10:45:13.000Z
2022-03-30T23:04:17.000Z
test/built-ins/Error/prototype/S15.11.3.1_A4_T1.js
ptomato/test262
10ad4c159328d12ad8d12b95a8f8aefa0e4fd49b
[ "BSD-3-Clause" ]
2,157
2015-01-06T05:01:55.000Z
2022-03-31T17:18:08.000Z
test/built-ins/Error/prototype/S15.11.3.1_A4_T1.js
ptomato/test262
10ad4c159328d12ad8d12b95a8f8aefa0e4fd49b
[ "BSD-3-Clause" ]
527
2015-01-08T16:04:26.000Z
2022-03-24T03:34:47.000Z
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The Error has property prototype es5id: 15.11.3.1_A4_T1 description: Checking Error.hasOwnProperty('prototype') ---*/ assert(Error.hasOwnProperty('prototype'), 'Error.hasOwnProperty(\'prototype\') must return true');
36.2
98
0.754144
f065f569bc87da0b1005e3822cbd92500b510024
1,713
py
Python
netensorflow/api_samples/ann_creation_and_usage.py
psigelo/NeTensorflow
ec8bc09cc98346484d1b682a3dfd25c68c4ded61
[ "MIT" ]
null
null
null
netensorflow/api_samples/ann_creation_and_usage.py
psigelo/NeTensorflow
ec8bc09cc98346484d1b682a3dfd25c68c4ded61
[ "MIT" ]
null
null
null
netensorflow/api_samples/ann_creation_and_usage.py
psigelo/NeTensorflow
ec8bc09cc98346484d1b682a3dfd25c68c4ded61
[ "MIT" ]
null
null
null
import tensorflow as tf from netensorflow.ann.ANN import ANN from netensorflow.ann.macro_layer.MacroLayer import MacroLayer from netensorflow.ann.macro_layer.layer_structure.InputLayerStructure import InputLayerStructure from netensorflow.ann.macro_layer.layer_structure.LayerStructure import LayerStructure, LayerType from netensorflow.ann.macro_layer.layer_structure.layers.FullConnected import FullConnected from netensorflow.ann.macro_layer.layer_structure.layers.FullConnectedWithSoftmaxLayer import FullConnectedWithSoftmaxLayer ''' ann Creation and simple usage, the goal of this code is simply run the most simpler artificial neural network ''' def main(): # tensorflow tf_sess = tf.Session() # Layers: input_dim = [None, 3] hidden_layer = FullConnected(inputs_amount=20) out_layer = FullConnectedWithSoftmaxLayer(inputs_amount=10) # Layer Structures input_layer_structure = InputLayerStructure(input_dim) hidden_layer_structure = LayerStructure('Hidden', layer_type=LayerType.ONE_DIMENSION, layers=[hidden_layer]) output_layer_structure = LayerStructure('Output', layer_type=LayerType.ONE_DIMENSION,layers=[out_layer]) # Macro Layer macro_layers = MacroLayer(layers_structure=[input_layer_structure, hidden_layer_structure, output_layer_structure]) # ann ann = ANN(macro_layers=macro_layers, tf_session=tf_sess, base_folder='./tensorboard_logs/') ann.connect_and_initialize() # Execute for it in range(100): import numpy as np input_tensor_value = [np.random.uniform(0.0, 10.0, 3)] print(ann.run(global_iteration=it, input_tensor_value=input_tensor_value)) if __name__ == '__main__': main()
37.23913
123
0.782837
e59f1ce104b718011a6cc6a1ca479cba8125ed8c
1,991
kt
Kotlin
app/src/main/java/com/wireguard/android/services/BootShutdownReceiver.kt
fossabot/viscerion
a1a1a30cc3444e73e8872e9ae771dfa3429eab59
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/wireguard/android/services/BootShutdownReceiver.kt
fossabot/viscerion
a1a1a30cc3444e73e8872e9ae771dfa3429eab59
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/wireguard/android/services/BootShutdownReceiver.kt
fossabot/viscerion
a1a1a30cc3444e73e8872e9ae771dfa3429eab59
[ "Apache-2.0" ]
null
null
null
/* * Copyright © 2017-2019 WireGuard LLC. * Copyright © 2018-2019 Harsh Shandilya <msfjarvis@gmail.com>. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.wireguard.android.services import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import androidx.work.BackoffPolicy import androidx.work.OneTimeWorkRequest import androidx.work.OneTimeWorkRequestBuilder import androidx.work.WorkManager import com.wireguard.android.backend.WgQuickBackend import com.wireguard.android.di.ext.getBackendAsync import com.wireguard.android.di.ext.getTunnelManager import com.wireguard.android.work.TunnelRestoreWork import org.koin.core.KoinComponent import timber.log.Timber import java.util.concurrent.TimeUnit class BootShutdownReceiver : BroadcastReceiver(), KoinComponent { override fun onReceive(context: Context, intent: Intent) { if (intent.action == null) return getBackendAsync().thenAccept { backend -> if (backend !is WgQuickBackend) return@thenAccept val action = intent.action val tunnelManager = getTunnelManager() if (Intent.ACTION_BOOT_COMPLETED == action) { Timber.i("Broadcast receiver attempting to restore state (boot)") val restoreWork = OneTimeWorkRequestBuilder<TunnelRestoreWork>() .setBackoffCriteria( BackoffPolicy.LINEAR, OneTimeWorkRequest.MIN_BACKOFF_MILLIS, TimeUnit.MILLISECONDS ) .addTag("restore_work") .build() WorkManager.getInstance(context).enqueue(restoreWork) } else if (Intent.ACTION_SHUTDOWN == action) { Timber.i("Broadcast receiver saving state (shutdown)") tunnelManager.saveState() } } } }
39.82
84
0.656454
05df8d44eb904f03641d06eb7e7ff0c4d84df9c0
151
sql
SQL
hasura/migrations/1589101121434_alter_table_public_patient_test_detail_drop_column_sent_to/down.sql
adminiitbact/cov2-graphql
8f97e57f7e30113056c1591d419e595da23efd96
[ "MIT" ]
null
null
null
hasura/migrations/1589101121434_alter_table_public_patient_test_detail_drop_column_sent_to/down.sql
adminiitbact/cov2-graphql
8f97e57f7e30113056c1591d419e595da23efd96
[ "MIT" ]
null
null
null
hasura/migrations/1589101121434_alter_table_public_patient_test_detail_drop_column_sent_to/down.sql
adminiitbact/cov2-graphql
8f97e57f7e30113056c1591d419e595da23efd96
[ "MIT" ]
null
null
null
ALTER TABLE "public"."patient_test_detail" ADD COLUMN "sent_to" int4; ALTER TABLE "public"."patient_test_detail" ALTER COLUMN "sent_to" DROP NOT NULL;
50.333333
80
0.788079
9c17e7c17a9f754d7fec7505261c23b7b2f64b69
2,463
js
JavaScript
build/tasks/test.js
ericmaino/meeteric-js
a0d0e25d7a7ac2626673112ac22eb59a2d394589
[ "MIT" ]
1
2018-02-26T16:45:43.000Z
2018-02-26T16:45:43.000Z
build/tasks/test.js
ericmaino/meeteric-js
a0d0e25d7a7ac2626673112ac22eb59a2d394589
[ "MIT" ]
null
null
null
build/tasks/test.js
ericmaino/meeteric-js
a0d0e25d7a7ac2626673112ac22eb59a2d394589
[ "MIT" ]
null
null
null
'use strict'; var gulp = require('gulp'); var browserOpen = require('gulp-open'); var istanbul = require('gulp-istanbul'); var mocha = require('gulp-mocha'); var nsp = require('gulp-nsp'); var gulpConfig = require('./../gulp-config'); var istanbulConfig = require('./../istanbul-config'); var mochaConfig = require('./../mocha-config'); gulp.task('check-security', function (cb) { nsp({ package: gulpConfig.packageJSON }, cb); }); gulp.task('pre-unit-tests', function () { return gulp.src(gulpConfig.allJavascriptToTest) .pipe(istanbul({ includeUntested: istanbulConfig.includeUntested, })) .pipe(istanbul.hookRequire()); }); gulp.task('run-unit-tests', ['pre-unit-tests'], function (cb) { gulp.src(gulpConfig.javascriptUnitTests) .pipe(mocha({ ui: mochaConfig.unitTestMochaInterface, timeout: mochaConfig.unitTestTimeout, reporter: mochaConfig.unitTestReporter, reporterOptions: mochaConfig.unitTestReporterOptions })) .pipe(istanbul.writeReports({ reporters: istanbulConfig.reporters, dir: istanbulConfig.unitTestCoverageDirectory })) .on('end', cb); }); gulp.task('enforce-code-coverage', ['run-unit-tests'], function () { return gulp.src(gulpConfig.allTranspiledJavascript) .pipe(istanbul.enforceThresholds({ thresholds: { // global: 31, // each: 0 global: { statements: istanbulConfig.unitTestGlobal.statementCoverageThreshold, branches: istanbulConfig.unitTestGlobal.branchCoverageThreshold, lines: istanbulConfig.unitTestGlobal.lineCoverageThreshold, functions: istanbulConfig.unitTestGlobal.functionCoverageThreshold }, each: { statements: istanbulConfig.unitTestLocal.statementCoverageThreshold, branches: istanbulConfig.unitTestLocal.branchCoverageThreshold, lines: istanbulConfig.unitTestLocal.lineCoverageThreshold, functions: istanbulConfig.unitTestLocal.functionCoverageThreshold } } })); }); gulp.task('show-unittest-coverage-report', ['run-unit-tests'], function () { return gulp.src(istanbulConfig.unitTestCoverageReportHtmlFile) .pipe(browserOpen()); });
36.761194
89
0.626066
2d99d9c46e04f30f5d758fc9de892ba87ed74e95
2,716
asm
Assembly
src/test/resources/elfsamples/tiny/keepalive.asm
thingswars/johnnyriscv
7310af27952cf9e121a2237a9478ff6c06599a8d
[ "Apache-2.0" ]
3
2016-07-15T20:35:12.000Z
2018-08-07T18:55:33.000Z
src/test/resources/elfsamples/tiny/keepalive.asm
thingswars/johnnyriscv
7310af27952cf9e121a2237a9478ff6c06599a8d
[ "Apache-2.0" ]
null
null
null
src/test/resources/elfsamples/tiny/keepalive.asm
thingswars/johnnyriscv
7310af27952cf9e121a2237a9478ff6c06599a8d
[ "Apache-2.0" ]
null
null
null
;; keepalive.asm: Copyright (C) 2001 Brian Raiter <breadbox@muppetlabs.com> ;; Licensed under the terms of the GNU General Public License, either ;; version 2 or (at your option) any later version. ;; ;; To build: ;; nasm -f bin -o keepalive keepalive.asm && chmod +x keepalive BITS 32 org 0x05426000 db 0x7F, "ELF" dd 1 dd 0 dd $$ dw 2 dw 3 dd _start db _start - $$ _start: pusha ; Save the current state inc edx ; Set output length to one byte add eax, dword 4 ; write system call number mov ecx, esp ; Point ecx at a buffer push ecx ; Save buffer pointer mov [ecx], word 0x0107 ; 263 seconds, or an ASCII BEL inc ebx ; stdout file descriptor cmp eax, 0x00010020 int 0x80 ; 1. Lather the bell pop ebx ; Point ebx at timespec mov al, 162 ; nanosleep system call number int 0x80 ; 2. Rinse for 263 seconds popa ; Restore the saved state jmp short _start ; 3. Repeat ;; This is how the file looks when it is read as an ELF header, ;; beginning at offset 0: ;; ;; e_ident: db 0x7F, "ELF" ; required ;; db 1 ; 1 = ELFCLASS32 ;; db 0 ; (garbage) ;; db 0 ; (garbage) ;; db 0 ; (garbage) ;; db 0x00, 0x00, 0x00, 0x00 ; (unused) ;; db 0x00, 0x60, 0x42, 0x05 ;; e_type: dw 2 ; 2 = ET_EXE ;; e_machine: dw 3 ; 3 = EM_386 ;; e_version: dd 0x05426019 ; (garbage) ;; e_entry: dd 0x05426019 ; program starts here ;; e_phoff: dd 4 ; phdrs located here ;; e_shoff: dd 0x6651E189 ; (garbage) ;; e_flags: dd 0x000701C7 ; (unused) ;; e_ehsize: dw 0x3D43 ; (garbage) ;; e_phentsize: dw 0x20 ; phdr entry size ;; e_phnum: db 1 ; one phdr in the table ;; e_shentsize: db 0x80CD ; (garbage) ;; e_shnum: db 0xB05B ; (garbage) ;; e_shstrndx: db 0xCDA2 ; (garbage) ;; ;; This is how the file looks when it is read as a program header ;; table, beginning at offset 4: ;; ;; p_type: dd 1 ; 1 = PT_LOAD ;; p_offset: dd 0 ; read from top of file ;; p_vaddr: dd 0x05426000 ; load at this address ;; p_paddr: dd 0x00030002 ; (unused) ;; p_filesz: dd 0x05426019 ; too big, but ok ;; p_memsz: dd 0x05426019 ; equal to file size ;; p_flags: dd 4 ; 4 = PF_R ;; p_align: dd 0x6651E189 ; (garbage) ;; ;; Note that the top three bytes of the file's origin (0x60 0x42 0x05) ;; correspond to the instructions "pusha", "inc edx", and the first ;; byte of "add eax, IMM". ;; ;; The fields marked as unused are either specifically documented as ;; not being used, or not being used with 386-based implementations. ;; Some of the fields marked as containing garbage are not used when ;; loading and executing programs. Other fields containing garbage are ;; accepted because Linux currently doesn't examine then.
33.95
75
0.663476
04dd51b80b2eebb1d6b6523a660e2c152bf73c4f
1,562
sql
SQL
database/notice.sql
stritti/bkwi1920
1ef941bb6c097498a8fb2e08812b756ec836700a
[ "MIT" ]
1
2019-11-20T12:26:17.000Z
2019-11-20T12:26:17.000Z
database/notice.sql
stritti/bkwi1920
1ef941bb6c097498a8fb2e08812b756ec836700a
[ "MIT" ]
null
null
null
database/notice.sql
stritti/bkwi1920
1ef941bb6c097498a8fb2e08812b756ec836700a
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.9.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Erstellungszeit: 18. Dez 2019 um 15:58 -- Server-Version: 10.4.8-MariaDB -- PHP-Version: 7.1.32 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Datenbank: `bkwi1920` -- -- -------------------------------------------------------- -- -- Tabellenstruktur für Tabelle `notice` -- CREATE TABLE `notice` ( `id` int(11) NOT NULL, `offer` int(11) NOT NULL, `user` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Daten für Tabelle `notice` -- INSERT INTO `notice` (`id`, `offer`, `user`) VALUES (1, 2, 1), (2, 2, 3), (3, 1, 5), (4, 3, 3), (5, 1, 3), (6, 1, 3), (7, 1, 3), (8, 1, 3), (9, 1, 3), (10, 1, 3), (11, 1, 3), (12, 1, 3); -- -- Indizes der exportierten Tabellen -- -- -- Indizes für die Tabelle `notice` -- ALTER TABLE `notice` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT für exportierte Tabellen -- -- -- AUTO_INCREMENT für Tabelle `notice` -- ALTER TABLE `notice` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
19.772152
67
0.642766
6b3f66c32829f97ad70e5d8cd55484ec110bbc6d
13,246
h
C
ports/cortex-m/boards/ek-tm4c123gxl/uart.h
jshankarappa/atomthraed_on_tm4c_diraddr
f2b47d1018a5fbd9315c0cf144aa79636eae3dee
[ "Unlicense" ]
null
null
null
ports/cortex-m/boards/ek-tm4c123gxl/uart.h
jshankarappa/atomthraed_on_tm4c_diraddr
f2b47d1018a5fbd9315c0cf144aa79636eae3dee
[ "Unlicense" ]
null
null
null
ports/cortex-m/boards/ek-tm4c123gxl/uart.h
jshankarappa/atomthraed_on_tm4c_diraddr
f2b47d1018a5fbd9315c0cf144aa79636eae3dee
[ "Unlicense" ]
null
null
null
/* * uart.h * * Created on: 09-Oct-2018 * Author: jshankar */ #ifndef TM4C_UART_H #define TM4C_UART_H #include <stdint.h> #include <stdio.h> #include "inc/tm4c123gh6pm.h" #include "cm3.h" #define UART0_BASE (0x4000C000U) #define UART1_BASE (0x4000D000U) #define UART2_BASE (0x4000E000U) #define UART3_BASE (0x4000F000U) #define UART4_BASE (0x40010000U) #define UART5_BASE (0x40011000U) #define UART6_BASE (0x40012000U) #define UART7_BASE (0x40013000U) #define UART0 UART0_BASE #define UART1 UART1_BASE #define UART2 UART2_BASE #define UART3 UART3_BASE #define UART4 UART4_BASE #define UART5 UART5_BASE #define UART6 UART6_BASE #define UART7 UART7_BASE /* ============================================================================= * UART registers * ---------------------------------------------------------------------------*/ /* UART data register */ #define UART_DR(uart_base) MMIO32((uart_base) + 0x00) /* UART Receive Status/Error Clear register */ #define UART_RSR(uart_base) MMIO32((uart_base) + 0x04) #define UART_ECR(uart_base) MMIO32((uart_base) + 0x04) /* UART Flag register */ #define UART_FR(uart_base) MMIO32((uart_base) + 0x18) /* UART IrDA Low-Power register */ #define UART_ILPR(uart_base) MMIO32((uart_base) + 0x20) /* UART Integer baudrate divisor */ #define UART_IBRD(uart_base) MMIO32((uart_base) + 0x24) /* UART Fractional baudrate divisor */ #define UART_FBRD(uart_base) MMIO32((uart_base) + 0x28) /* UART Line control */ #define UART_LCRH(uart_base) MMIO32((uart_base) + 0x2C) /* UART Control */ #define UART_CTL(uart_base) MMIO32((uart_base) + 0x30) /* UART Interrupt FIFO level select */ #define UART_IFLS(uart_base) MMIO32((uart_base) + 0x34) /* UART Interrupt mask */ #define UART_IM(uart_base) MMIO32((uart_base) + 0x38) /* UART Raw interrupt status */ #define UART_RIS(uart_base) MMIO32((uart_base) + 0x3C) /* UART Masked Interrupt status */ #define UART_MIS(uart_base) MMIO32((uart_base) + 0x40) /* UART Interrupt Clear */ #define UART_ICR(uart_base) MMIO32((uart_base) + 0x44) /* UART DMA control */ #define UART_DMACTL(uart_base) MMIO32((uart_base) + 0x48) /* UART LIN control */ #define UART_LCTL(uart_base) MMIO32((uart_base) + 0x90) /* UART LIN snap shot */ #define UART_LSS(uart_base) MMIO32((uart_base) + 0x94) /* UART LIN timer */ #define UART_LTIM(uart_base) MMIO32((uart_base) + 0x98) /* UART 9-Bit self address */ #define UART_9BITADDR(uart_base) MMIO32((uart_base) + 0xA4) /* UART 9-Bit self address mask */ #define UART_9BITAMASK(uart_base) MMIO32((uart_base) + 0xA8) /* UART Peripheral properties */ #define UART_PP(uart_base) MMIO32((uart_base) + 0xFC0) /* UART Clock configuration */ #define UART_CC(uart_base) MMIO32((uart_base) + 0xFC8) /* UART Peripheral Identification 4 */ #define UART_PERIPH_ID4(uart_base) MMIO32((uart_base) + 0xFD0) /* UART Peripheral Identification 5 */ #define UART_PERIPH_ID5(uart_base) MMIO32((uart_base) + 0xFD4) /* UART Peripheral Identification 6 */ #define UART_PERIPH_ID6(uart_base) MMIO32((uart_base) + 0xFD8) /* UART Peripheral Identification 7 */ #define UART_PERIPH_ID7(uart_base) MMIO32((uart_base) + 0xFDC) /* UART Peripheral Identification 0 */ #define UART_PERIPH_ID0(uart_base) MMIO32((uart_base) + 0xFE0) /* UART Peripheral Identification 1 */ #define UART_PERIPH_ID1(uart_base) MMIO32((uart_base) + 0xFE4) /* UART Peripheral Identification 2 */ #define UART_PERIPH_ID2(uart_base) MMIO32((uart_base) + 0xFE8) /* UART Peripheral Identification 3 */ #define UART_PERIPH_ID3(uart_base) MMIO32((uart_base) + 0xFEC) /* UART PrimeCell Identification 0 */ #define UART_PCELL_ID0(uart_base) MMIO32((uart_base) + 0xFF0) /* UART PrimeCell Identification 1 */ #define UART_PCELL_ID1(uart_base) MMIO32((uart_base) + 0xFF4) /* UART PrimeCell Identification 2 */ #define UART_PCELL_ID2(uart_base) MMIO32((uart_base) + 0xFF8) /* UART PrimeCell Identification 3 */ #define UART_PCELL_ID3(uart_base) MMIO32((uart_base) + 0xFFC) /** Word length */ #define UART_LCRH_WLEN_MASK (3 << 5) /** Data transmitted or received */ #define UART_DR_DATA_MASK (0xFF << 0) /* ============================================================================= * UART_IFLS values * ---------------------------------------------------------------------------*/ /** UART Rx interrupt FIFO level select */ #define UART_IFLS_RXIFLSEL_MASK (7 << 3) #define UART_IFLS_RXIFLSEL_1_8 (0 << 3) #define UART_IFLS_RXIFLSEL_1_4 (1 << 3) #define UART_IFLS_RXIFLSEL_1_2 (2 << 3) #define UART_IFLS_RXIFLSEL_3_4 (3 << 3) #define UART_IFLS_RXIFLSEL_7_8 (4 << 3) /** UART Tx interrupt FIFO level select */ #define UART_IFLS_TXIFLSEL_MASK (7 << 0) #define UART_IFLS_TXIFLSEL_7_8 (0 << 0) #define UART_IFLS_TXIFLSEL_3_4 (1 << 0) #define UART_IFLS_TXIFLSEL_1_2 (2 << 0) #define UART_IFLS_TXIFLSEL_1_4 (3 << 0) #define UART_IFLS_TXIFLSEL_1_8 (4 << 0) /* ============================================================================= * UART interrupt mask values * * These are interchangeable across UART_IM, UART_RIS, UART_MIS, and UART_ICR * registers. * ---------------------------------------------------------------------------*/ /** LIN mode edge 5 interrupt mask */ #define UART_IM_LME5IM (1 << 15) /** LIN mode edge 1 interrupt mask */ #define UART_IM_LME1IM (1 << 14) /** LIN mode sync break interrupt mask */ #define UART_IM_LMSBIM (1 << 13) /** Data Set Ready modem interrupt mask */ #define UART_IM_DSRIM (1 << 3) /** Data Carrier Detect modem interrupt mask */ #define UART_IM_DCDIM (1 << 2) /** Clear To Send modem interrupt mask */ #define UART_IM_CTSIM (1 << 1) /** Ring Indicator modem interrupt mask */ #define UART_IM_RIIM (1 << 0) /* ============================================================================= * UART_LCTL values * ---------------------------------------------------------------------------*/ /** Sync break length */ #define UART_LCTL_BLEN_MASK (3 << 4) #define UART_LCTL_BLEN_16T (3 << 4) #define UART_LCTL_BLEN_15T (2 << 4) #define UART_LCTL_BLEN_14T (1 << 4) #define UART_LCTL_BLEN_13T (0 << 4) /** LIN master enable */ #define UART_LCTL_MASTER (1 << 0) /* ============================================================================= * UART_9BITADDR values * ---------------------------------------------------------------------------*/ /** Enable 9-bit mode */ #define UART_UART_9BITADDR_9BITEN (1 << 15) /** Self-address for 9-bit mode */ #define UART_UART_9BITADDR_ADDR_MASK (0xFF << 0) /* ============================================================================= * UART_PP values * ---------------------------------------------------------------------------*/ /** 9-bit support */ #define UART_UART_PP_NB (1 << 1) /** Smart Card support */ #define UART_UART_PP_SC (1 << 0) /* ============================================================================= * UART_CC values * ---------------------------------------------------------------------------*/ /** UART baud clock source */ #define UART_CC_CS_MASK (0xF << 0) /* ============================================================================= * Convenience enums * ---------------------------------------------------------------------------*/ enum uart_parity { UART_PARITY_NONE, UART_PARITY_ODD, UART_PARITY_EVEN, UART_PARITY_STICK_0, UART_PARITY_STICK_1, }; enum uart_flowctl { UART_FLOWCTL_NONE, UART_FLOWCTL_RTS, UART_FLOWCTL_CTS, UART_FLOWCTL_RTS_CTS, }; /** * UART interrupt masks * * These masks can be OR'ed together to specify more than one interrupt. For * example, (UART_INT_TXIM | UART_INT_TXIM) specifies both Rx and Tx Interrupt. */ enum uart_interrupt_flag { UART_INT_LME5 = UART_IM_LME5IM, UART_INT_LME1 = UART_IM_LME1IM, UART_INT_LMSB = UART_IM_LMSBIM, UART_INT_9BIT = UART_IM_9BITIM, UART_INT_OE = UART_IM_OEIM, UART_INT_BE = UART_IM_BEIM, UART_INT_PE = UART_IM_PEIM, UART_INT_FE = UART_IM_FEIM, UART_INT_RT = UART_IM_RTIM, UART_INT_TX = UART_IM_TXIM, UART_INT_RX = UART_IM_RXIM, UART_INT_DSR = UART_IM_DSRIM, UART_INT_DCD = UART_IM_DCDIM, UART_INT_CTS = UART_IM_CTSIM, UART_INT_RI = UART_IM_RIIM, }; /** * UART RX FIFO interrupt trigger levels * * The levels indicate how full the FIFO should be before an interrupt is * generated. UART_FIFO_RX_TRIG_3_4 means that an interrupt is triggered when * the FIFO is 3/4 full. As the FIFO is 8 elements deep, 1/8 is equal to being * triggered by a single character. */ enum uart_fifo_rx_trigger_level { UART_FIFO_RX_TRIG_1_8 = UART_IFLS_RXIFLSEL_1_8, UART_FIFO_RX_TRIG_1_4 = UART_IFLS_RXIFLSEL_1_4, UART_FIFO_RX_TRIG_1_2 = UART_IFLS_RXIFLSEL_1_2, UART_FIFO_RX_TRIG_3_4 = UART_IFLS_RXIFLSEL_3_4, UART_FIFO_RX_TRIG_7_8 = UART_IFLS_RXIFLSEL_7_8 }; /** * UART TX FIFO interrupt trigger levels * * The levels indicate how empty the FIFO should be before an interrupt is * generated. Note that this indicates the emptiness of the FIFO and not the * fullness. This is somewhat confusing, but it follows the wording of the * TM4C123GH6PM datasheet. * * UART_FIFO_TX_TRIG_3_4 means that an interrupt is triggered when the FIFO is * 3/4 empty. As the FIFO is 8 elements deep, 7/8 is equal to being triggered * by a single character. **/ enum uart_fifo_tx_trigger_level { UART_FIFO_TX_TRIG_7_8 = UART_IFLS_TXIFLSEL_7_8, UART_FIFO_TX_TRIG_3_4 = UART_IFLS_TXIFLSEL_3_4, UART_FIFO_TX_TRIG_1_2 = UART_IFLS_TXIFLSEL_1_2, UART_FIFO_TX_TRIG_1_4 = UART_IFLS_TXIFLSEL_1_4, UART_FIFO_TX_TRIG_1_8 = UART_IFLS_TXIFLSEL_1_8 }; /* ============================================================================= * Function prototypes * ---------------------------------------------------------------------------*/ void uart_set_baudrate(uint32_t uart, uint32_t baud); void uart_set_databits(uint32_t uart, uint8_t databits); void uart_set_stopbits(uint32_t uart, uint8_t stopbits); void uart_set_parity(uint32_t uart, enum uart_parity parity); void uart_set_mode(uint32_t uart, uint32_t mode); void uart_set_flow_control(uint32_t uart, enum uart_flowctl flow); void uart_enable(uint32_t uart); void uart_disable(uint32_t uart); void uart_clock_from_piosc(uint32_t uart); void uart_clock_from_sysclk(uint32_t uart); void uart_send(uint32_t uart, uint16_t data); uint16_t uart_recv(uint32_t uart); void uart_wait_send_ready(uint32_t uart); void uart_wait_recv_ready(uint32_t uart); void uart_send_blocking(uint32_t uart, uint16_t data); uint16_t uart_recv_blocking(uint32_t uart); void uart_enable_rx_dma(uint32_t uart); void uart_disable_rx_dma(uint32_t uart); void uart_enable_tx_dma(uint32_t uart); void uart_disable_tx_dma(uint32_t uart); void uart_enable_fifo(uint32_t uart); void uart_disable_fifo(uint32_t uart); void uart_set_fifo_trigger_levels(uint32_t uart, enum uart_fifo_rx_trigger_level rx_level, enum uart_fifo_tx_trigger_level tx_level); void uart_setup(uint32_t baud); /* We inline FIFO full/empty checks as they are intended to be called from ISRs * * Determine if the TX fifo is full * * @param[in] uart UART block register address base @ref uart_reg_base */ static inline bool uart_is_tx_fifo_full(uint32_t uart) { return UART_FR(uart) & UART_FR_TXFF; } /** * Determine if the TX fifo is empty * * param[in] uart UART block register address base @ref uart_reg_base */ static inline bool uart_is_tx_fifo_empty(uint32_t uart) { return UART_FR(uart) & UART_FR_TXFE; } /** * Determine if the RX fifo is full * * @param[in] uart UART block register address base @ref uart_reg_base */ static inline bool uart_is_rx_fifo_full(uint32_t uart) { return UART_FR(uart) & UART_FR_RXFF; } /** * Determine if the RX fifo is empty * * @param[in] uart UART block register address base @ref uart_reg_base */ static inline bool uart_is_rx_fifo_empty(uint32_t uart) { return UART_FR(uart) & UART_FR_RXFE; } void uart_enable_interrupts(uint32_t uart, enum uart_interrupt_flag ints); void uart_disable_interrupts(uint32_t uart, enum uart_interrupt_flag ints); void uart_enable_rx_interrupt(uint32_t uart); void uart_disable_rx_interrupt(uint32_t uart); void uart_enable_tx_interrupt(uint32_t uart); void uart_disable_tx_interrupt(uint32_t uart); void uart_clear_interrupt_flag(uint32_t uart, enum uart_interrupt_flag ints); /* Let's keep this one inlined. It's designed to be used in ISRs * Determine if interrupt is generated by the given source * * @param[in] uart UART block register address base * @param[in] source source to check. */ static inline bool uart_is_interrupt_source(uint32_t uart, enum uart_interrupt_flag source) { return UART_MIS(uart) & source; } #endif /* TM4C_UART_H */
33.790816
91
0.638683
81bb3582e05d695c0397388da6868d94a61d10fa
281
sql
SQL
Algo and DSA/LeetCode-Solutions-master/MySQL/leetflex-banned-accounts.sql
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
Algo and DSA/LeetCode-Solutions-master/MySQL/leetflex-banned-accounts.sql
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
Algo and DSA/LeetCode-Solutions-master/MySQL/leetflex-banned-accounts.sql
Sourav692/FAANG-Interview-Preparation
f523e5c94d582328b3edc449ea16ac6ab28cdc81
[ "Unlicense" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
# Time: O(n^2) # Space: O(n) SELECT DISTINCT l1.account_id FROM loginfo l1 INNER JOIN loginfo l2 ON l1.account_id = l2.account_id AND l1.ip_address != l2.ip_address WHERE NOT (l1.login > l2.logout OR l1.logout < l2.login);
25.545455
52
0.58363
89415ec2edf1724961c9a368c851cae43d5b9034
218
kt
Kotlin
kotlin-mui-icons/src/main/generated/mui/icons/material/EnhancedEncryption.kt
Recognized/kotlin-wrappers
f4af784cd6e65c2304d9d8e49e7f30a6383a755c
[ "Apache-2.0" ]
14
2021-11-22T17:50:52.000Z
2022-03-16T14:15:54.000Z
kotlin-mui-icons/src/main/generated/mui/icons/material/EnhancedEncryption.kt
Recognized/kotlin-wrappers
f4af784cd6e65c2304d9d8e49e7f30a6383a755c
[ "Apache-2.0" ]
null
null
null
kotlin-mui-icons/src/main/generated/mui/icons/material/EnhancedEncryption.kt
Recognized/kotlin-wrappers
f4af784cd6e65c2304d9d8e49e7f30a6383a755c
[ "Apache-2.0" ]
2
2021-11-22T17:50:55.000Z
2022-02-28T18:51:07.000Z
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/EnhancedEncryption") @file:JsNonModule package mui.icons.material @JsName("default") external val EnhancedEncryption: SvgIconComponent
21.8
56
0.802752
417ee8b7894f81cac144f4adc70f5d80710ffade
5,187
sql
SQL
data/schema.sql
GerardoCano/ventas
8ca66aa5b2e69d3f117ac68fcd46e67eef6602b7
[ "BSD-3-Clause" ]
null
null
null
data/schema.sql
GerardoCano/ventas
8ca66aa5b2e69d3f117ac68fcd46e67eef6602b7
[ "BSD-3-Clause" ]
null
null
null
data/schema.sql
GerardoCano/ventas
8ca66aa5b2e69d3f117ac68fcd46e67eef6602b7
[ "BSD-3-Clause" ]
null
null
null
create table suppliers( id Integer PRIMARY KEY AUTOINCREMENT, name varchar (100) NOT NULL, address_street varchar (150) NOT NULL, address_city varchar (150) NOT NULL, address_country varchar (150) NOT NULL, address_post_code varchar (7) NOT NULL, phone_no varchar (16) NOT NULL, fax_no varchar (16) NULL, payment_terms varchar (150) NOT NULL ); create table customers( id Integer PRIMARY KEY AUTOINCREMENT, first_name varchar (100) NOT NULL, last_name varchar (120) NOT NULL, address_street varchar (150) NOT NULL, address_city varchar (150) NOT NULL, address_country varchar (150) NOT NULL, address_post_code varchar (10) NOT NULL, contact_phone_no varchar (20) NOT NULL ); create table orders( o_id Integer PRIMARY KEY AUTOINCREMENT, ctm_id int NOT NULL, date_order_placed date NOT NULL, time_order_placed time NOT NULL, total_product_no int (6) NOT NULL, order_completed int (1) NOT NULL, date_order_completed date NOT NULL, any_additional_info text NULL, FOREIGN KEY(ctm_id) REFERENCES customers(id) ON DELETE CASCADE ON UPDATE CASCADE ); create table products( p_id Integer PRIMARY KEY AUTOINCREMENT, p_name varchar (150) NOT NULL, in_stock varchar (3) NOT NULL, units_in_stock int (6), unit_purchase_price double (9,2), unit_sale_price double (9,2), sp_id int NOT NULL, FOREIGN KEY(sp_id) REFERENCES suppliers(id) ON DELETE CASCADE ON UPDATE CASCADE ); create table orders( o_id Integer PRIMARY KEY AUTOINCREMENT, ctm_id int NOT NULL, date_order_placed date NOT NULL, time_order_placed time NOT NULL, total_product_no int (6) NOT NULL, order_completed varchar (3) (9,2), date_order_completed date, any_additional_info text NULL, FOREIGN KEY(ctm_id) REFERENCES customers(id) ON DELETE CASCADE ON UPDATE CASCADE ); INSERT INTO suppliers (name,address_street,address_city,address_country,address_post_code,phone_no,fax_no,payment_terms) VALUES ('Diego Rivera Hernández', 'J. Enrique Pestalozzi', 'Benito Juárez', 'CDMX', '03020', '5598745632', '5545781245', 'Tarjeta de Credito'); INSERT INTO suppliers (name,address_street,address_city,address_country,address_post_code,phone_no,fax_no,payment_terms) VALUES ('Abril Romero García', 'Estudio la Nacional 10', 'Iztacalco', 'CDMX', '08920', '5515226587', NULL, 'Efectivo'); INSERT INTO suppliers (name,address_street,address_city,address_country,address_post_code,phone_no,fax_no,payment_terms) VALUES ('Daniela Delgado González', 'Cda Rosales', 'Chimalhuacán', 'Estado de México', '55330', '5578124563', '5598875421', 'Tarjeta de Credito'); INSERT INTO suppliers (name,address_street,address_city,address_country,address_post_code,phone_no,fax_no,payment_terms) VALUES ('Eduardo García Hernández', 'Monedita de Oro', 'Nezahualcóyotl', 'Estado de México', '57000', '5512234556', NULL, 'Tarjeta de Credito'); INSERT INTO suppliers (name,address_street,address_city,address_country,address_post_code,phone_no,fax_no,payment_terms) VALUES ('Miguel Pérez López', 'Tejocote', 'Texcoco', 'Estado de México', '56199', '5578784545', NULL, 'Tarjeta de Credito'); INSERT INTO customers (first_name,last_name,address_street,address_city,address_country,address_post_code,contact_phone_no) VALUES ('Gerardo','Cano','Cda Alcatraz','Chimalhuacán','ESTADO DE MÉXICO','56338','5951137059'); INSERT INTO customers (first_name,last_name,address_street,address_city,address_country,address_post_code,contact_phone_no) VALUES ('DIANA','BACA MONTERO','CALLE MAÑANITAS','NEZAHUALCÓYOTL','ESTADO DE MÉXICO','57000','5531137722'); INSERT INTO customers (first_name,last_name,address_street,address_city,address_country,address_post_code,contact_phone_no) VALUES ('JUAN','ALVAREZ','CALLE 1 DE MAYO','ECATEPEC','ESTADO DE MÉXICO','07410','5548986535'); INSERT INTO customers (first_name,last_name,address_street,address_city,address_country,address_post_code,contact_phone_no) VALUES ('PEDRO','RODRIGUEZ MARTINEZ','CALLE SUR 115','IZTACALCO','CDMX','08700','5578471232'); INSERT INTO customers (first_name,last_name,address_street,address_city,address_country,address_post_code,contact_phone_no) VALUES ('ALEJANDRO','PAZ','CALLE REGINA','CUAUHTÉMOC','CDMX','06090','5587129654'); INSERT INTO products (p_name,in_stock,units_in_stock,unit_purchase_price,unit_sale_price,sp_id) VALUES ('RAM KINGSTON', 'Yes', 500, 700.00, 900.00, 2); INSERT INTO products (p_name,in_stock,units_in_stock,unit_purchase_price,unit_sale_price,sp_id) VALUES ('SSD KINGSTON', 'Yes', 600, 1000.00, 1200.00, 2); INSERT INTO products (p_name,in_stock,units_in_stock,unit_purchase_price,unit_sale_price,sp_id) VALUES ('HDD WESTERN DIGITAL', 'No', 0, 700.00, 1500.00, 2); INSERT INTO products (p_name,in_stock,units_in_stock,unit_purchase_price,unit_sale_price,sp_id) VALUES ('MOTHERBOARD AORUS', 'Yes', 100, 2000.00, 2500.00, 5); INSERT INTO products (p_name,in_stock,units_in_stock,unit_purchase_price,unit_sale_price,sp_id) VALUES ('PROCESADOR INTEL CORE i9', 'Yes', 50, 7500.000, 9000.00, 4); INSERT INTO orders (ctm_id,date_order_placed,time_order_placed,total_product_no,order_completed,date_order_completed,any_additional_info) VALUES (1, '2020/01/01', '09:30:00', 15, 'No', '2000/01/01', NULL);
72.041667
267
0.785425
f0f8afe5624f3fdf4c57c9f9b5201305b05f5886
32,043
sql
SQL
NOVUSBIT_DB_DEPLOY.sql
aevinsounds/Novusbit
a7eb9d82bd2421695404c4659e610283299fdefe
[ "MIT" ]
1
2018-11-07T00:17:28.000Z
2018-11-07T00:17:28.000Z
NOVUSBIT_DB_DEPLOY.sql
aevinsounds/Novusbit
a7eb9d82bd2421695404c4659e610283299fdefe
[ "MIT" ]
null
null
null
NOVUSBIT_DB_DEPLOY.sql
aevinsounds/Novusbit
a7eb9d82bd2421695404c4659e610283299fdefe
[ "MIT" ]
null
null
null
# ************************************************************ # Sequel Pro SQL dump # Version 4004 # # http://www.sequelpro.com/ # http://code.google.com/p/sequel-pro/ # # Host: localhost (MySQL 5.5.25) # Database: novusbit # Generation Time: 2013-07-28 15:21:15 +0000 # ************************************************************ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; # Dump of table author # ------------------------------------------------------------ CREATE TABLE `author` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `registered` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `date_registered` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `picture` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `username` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `email` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `activated` tinyint(1) NOT NULL DEFAULT '1', `banned` tinyint(1) NOT NULL DEFAULT '0', `ban_reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `new_password_key` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `new_password_requested` datetime DEFAULT NULL, `new_email` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `new_email_key` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, `last_ip` varchar(40) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `last_login` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `uniq_user` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table author_author # ------------------------------------------------------------ CREATE TABLE `author_author` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `author_id` int(11) unsigned DEFAULT NULL, `author2_id` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UQ_56dabea0f160661625cee5fb259cd201cf90b52d` (`author2_id`,`author_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table author_autologin # ------------------------------------------------------------ CREATE TABLE `author_autologin` ( `key_id` char(32) COLLATE utf8_bin NOT NULL, `user_id` int(11) NOT NULL DEFAULT '0', `user_agent` varchar(150) COLLATE utf8_bin NOT NULL, `last_ip` varchar(40) COLLATE utf8_bin NOT NULL, `last_login` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`key_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; # Dump of table author_bits # ------------------------------------------------------------ CREATE TABLE `author_bits` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `author_id` int(11) unsigned DEFAULT NULL, `bits_id` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UQ_2640862edafc81d9ead7e7882b70bdbb8b076e3a` (`author_id`,`bits_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table author_novus # ------------------------------------------------------------ CREATE TABLE `author_novus` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `novus_id` int(11) unsigned DEFAULT NULL, `author_id` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UQ_6683540d4d9ccdc0f0854bbcc7526d1998515ba1` (`author_id`,`novus_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table author_profiles # ------------------------------------------------------------ CREATE TABLE `author_profiles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `country` varchar(20) COLLATE utf8_bin DEFAULT NULL, `website` varchar(255) COLLATE utf8_bin DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; # Dump of table author_user # ------------------------------------------------------------ CREATE TABLE `author_user` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `author_id` int(11) unsigned DEFAULT NULL, `user_id` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UQ_5a52f4b65cac954a34dfbbf7a3f4ad0642ca2226` (`author_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table bit_likes # ------------------------------------------------------------ CREATE TABLE `bit_likes` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `novus_id` tinyint(3) unsigned DEFAULT NULL, `bit_id` int(11) unsigned DEFAULT NULL, `author_id` tinyint(3) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `one_like_each` (`author_id`,`bit_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table bit_spam # ------------------------------------------------------------ CREATE TABLE `bit_spam` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `novus_id` tinyint(3) unsigned DEFAULT NULL, `bit_id` int(11) unsigned DEFAULT NULL, `author_id` tinyint(3) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `unique_spam` (`author_id`,`bit_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table bits # ------------------------------------------------------------ CREATE TABLE `bits` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `body` text COLLATE utf8_unicode_ci, `dateposted` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table bits_novus # ------------------------------------------------------------ CREATE TABLE `bits_novus` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `number` tinyint(3) unsigned DEFAULT NULL, `novus_id` int(11) unsigned DEFAULT NULL, `bits_id` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UQ_d7b4f2ae15a30e54c3116f182d247c89eabf2318` (`bits_id`,`novus_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table broadcasting # ------------------------------------------------------------ CREATE TABLE `broadcasting` ( `id` int(11) NOT NULL AUTO_INCREMENT, `story_id` int(11) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `last_typed` datetime DEFAULT NULL, `status` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; # Dump of table ci_sessions # ------------------------------------------------------------ CREATE TABLE `ci_sessions` ( `session_id` varchar(40) COLLATE utf8_bin NOT NULL DEFAULT '0', `ip_address` varchar(16) COLLATE utf8_bin NOT NULL DEFAULT '0', `user_agent` varchar(150) COLLATE utf8_bin NOT NULL, `last_activity` int(10) unsigned NOT NULL DEFAULT '0', `user_data` text COLLATE utf8_bin NOT NULL, PRIMARY KEY (`session_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; # Dump of table facebook_friends_cache # ------------------------------------------------------------ CREATE TABLE `facebook_friends_cache` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_fb_id` bigint(20) NOT NULL, `friend_fb_id` bigint(20) NOT NULL, `friend_name` varchar(100) COLLATE utf8_bin NOT NULL, `invited` varchar(1) COLLATE utf8_bin DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_fb_id` (`user_fb_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; # Dump of table feedback # ------------------------------------------------------------ CREATE TABLE `feedback` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `resolution` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `user` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `uri` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `resolved` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table login_attempts # ------------------------------------------------------------ CREATE TABLE `login_attempts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ip_address` varchar(40) COLLATE utf8_bin NOT NULL, `login` varchar(50) COLLATE utf8_bin NOT NULL, `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; # Dump of table notice # ------------------------------------------------------------ CREATE TABLE `notice` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `to_author` tinyint(3) unsigned NOT NULL, `novus_id` tinyint(3) unsigned NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `notice_combo` (`novus_id`,`to_author`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table novus # ------------------------------------------------------------ CREATE TABLE `novus` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` text COLLATE utf8_unicode_ci NOT NULL, `sandbox` text COLLATE utf8_unicode_ci, `dateposted` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `cover_image` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `category_id` tinyint(3) unsigned DEFAULT '1', `type_id` tinyint(3) unsigned DEFAULT '1', `last_bit_count` int(11) DEFAULT '0', `views` mediumint(11) DEFAULT '0', `end` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'N', `restricted` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'N', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table novus_appreciations # ------------------------------------------------------------ CREATE TABLE `novus_appreciations` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `novus_id` tinyint(3) unsigned DEFAULT NULL, `author_id` tinyint(3) unsigned DEFAULT NULL, `dateposted` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `last_bit_count` tinyint(3) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `appr_uniq` (`novus_id`,`author_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table novus_category # ------------------------------------------------------------ CREATE TABLE `novus_category` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `active` varchar(1) COLLATE utf8_unicode_ci DEFAULT 'Y', `priority` tinyint(4) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table novus_tag # ------------------------------------------------------------ CREATE TABLE `novus_tag` ( `id` int(11) DEFAULT NULL, `novus_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL, UNIQUE KEY `UQ_8e5027a139b8a785e6f696dd0e01ba57105fb1af` (`novus_id`,`tag_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; # Dump of table novus_type # ------------------------------------------------------------ CREATE TABLE `novus_type` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `description` text, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; # Dump of table sessions # ------------------------------------------------------------ CREATE TABLE `sessions` ( `session_id` varchar(40) NOT NULL DEFAULT '0', `ip_address` varchar(16) NOT NULL DEFAULT '0', `user_agent` varchar(50) NOT NULL, `last_activity` int(10) unsigned NOT NULL DEFAULT '0', `user_data` text NOT NULL, PRIMARY KEY (`session_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; # Dump of table tag # ------------------------------------------------------------ CREATE TABLE `tag` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; # Dump of table user # ------------------------------------------------------------ CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` varchar(100) DEFAULT NULL, `full_name` varchar(100) DEFAULT NULL, `email` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; # Dump of table visibility # ------------------------------------------------------------ CREATE TABLE `visibility` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `author` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; DROP TABLE IF EXISTS `novus_category`; CREATE TABLE `novus_category` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `active` varchar(1) COLLATE utf8_unicode_ci DEFAULT 'Y', `priority` tinyint(4) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; LOCK TABLES `novus_category` WRITE; /*!40000 ALTER TABLE `novus_category` DISABLE KEYS */; INSERT INTO `novus_category` (`id`, `title`, `active`, `priority`) VALUES (1,'Drama','Y',1), (2,'Romance','Y',2), (3,'Fantasy','Y',5), (17,'Horror','Y',8), (18,'Humor','Y',4), (21,'Poetry','Y',7), (22,'Science Fiction','Y',9), (25,'Essay','Y',11), (28,'Travel & Events','Y',10), (31,'Philosophy','Y',12), (33,'Mystery','Y',3), (34,'Children','Y',6); /*!40000 ALTER TABLE `novus_category` ENABLE KEYS */; UNLOCK TABLES; # Dump of table novus_type # ------------------------------------------------------------ CREATE TABLE `novus_type` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `description` text, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; LOCK TABLES `novus_type` WRITE; /*!40000 ALTER TABLE `novus_type` DISABLE KEYS */; INSERT INTO `novus_type` (`id`, `title`, `description`) VALUES (1,'Classic Novus','<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" id=\"Layer_1\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" enable-background=\"new 0 0 100 100\" xml:space=\"preserve\">\n<g>\n <path d=\"M64.008,72.381c4.002-3.149,12.23-11.582,15.089-21.179c-6.511-8.01-33.912-42.187-40.238-50.08 C38.212,8.613,31.63,24.377,20.21,29.646c-5.247,2.56-10.477,4.156-12.467,4.721l39.077,47.32 C51.235,80.263,59.958,75.56,64.008,72.381z\"></path>\n <g>\n <g>\n <path d=\"M90.405,75.352c-6.5,3.781-13.381,7.281-20.674,9.929c-8.632,3.134-19.05,6.681-22.386,7.664v5.127 l43.046-15.479L90.405,75.352z\"></path>\n <polygon points=\"6.891,35.865 6.891,50.088 45.703,97.945 45.736,82.902 \"></polygon>\n </g>\n <path d=\"M88.717,70.42c-5.018,3.936-11.386,7.921-18.278,11.363c-6.521,3.266-20.879,7.668-23.093,8.339v1.144 c3.686-1.09,13.036-3.898,21.237-7.013c9.104-3.457,22.12-11.628,22.12-11.628L88.717,70.42z\"></path>\n </g>\n <path d=\"M80.877,50.835l-0.114,0.403c-2.851,10.142-11.25,18.858-15.762,22.409 c-4.225,3.319-13.009,8.054-17.655,9.561v2.168c6.53-2.034,15.656-6.36,20.721-9.922c8.699-6.128,17.195-14.63,22.419-22.404 l0.047,0.036C84.648,46.442,51.938,9.001,49.818,6.309c-0.719,1.357-1.368,2.265-2.422,2.887 c10.832,13.508,28.598,35.647,33.217,41.314L80.877,50.835z\"></path>\n <path d=\"M87.321,59.925c0,0-11.588,12.1-18.328,16.846c-5.696,4.008-14.5,7.942-21.647,10.168v1.498 c0.692-0.212,1.838-0.566,3.268-1.021c5.266-1.677,14.41-4.722,19.106-7.072c9.305-4.648,17.623-10.274,22.834-15.386 c0.054-0.053,0.106-0.106,0.161-0.16L87.321,59.925z\"></path>\n</g>\n</svg><br>\nThis is the type where no artificial challenges or limitations apply. The only think you have to do is to write an interesing and inspired bit.'), (2,'Hourglass','<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" id=\"Layer_1\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" enable-background=\"new 0 0 100 100\" xml:space=\"preserve\">\n<path d=\"M2642.125,860.772H2653c6.627,0,12-5.373,12-12v-6c0-6.627-5.373-12-12-12h-268.667c-6.628,0-12,5.373-12,12 v6c0,6.627,5.372,12,12,12h16.458c3.079,25.7,16.801,111.143,65.382,140.795c-51.51,31.44-63.829,125.593-65.827,144.757h-16.013 c-6.628,0-12,5.373-12,12v6c0,6.627,5.372,12,12,12H2653c6.627,0,12-5.373,12-12v-6c0-6.627-5.373-12-12-12h-10.43 c-1.998-19.164-14.317-113.316-65.827-144.757C2625.324,971.915,2639.046,886.473,2642.125,860.772z M2540.113,989.812l0.032,11.755 l-0.032,11.755c27.759,0.076,49.712,22.431,65.249,66.444c9.703,27.487,13.733,55.407,15.054,66.558H2422.5 c1.32-11.15,5.351-39.07,15.054-66.558c15.537-44.014,37.49-66.368,65.249-66.444l-0.032-11.755l0.032-11.755 c-27.759-0.076-49.712-22.431-65.249-66.444c-8.706-24.663-12.843-49.661-14.556-62.596h196.92 c-1.713,12.935-5.85,37.933-14.556,62.596C2589.825,967.382,2567.872,989.736,2540.113,989.812z\"></path>\n<g>\n <path d=\"M2439,1134.805c0,0,32.016-52.412,82.008-52.412s76.992,52.412,76.992,52.412H2439z\"></path>\n</g>\n<g>\n <path d=\"M2456.887,944.14h129.143c0,0-12.029,40.665-66.363,40.665 C2474.093,984.805,2456.887,944.14,2456.887,944.14z\"></path>\n</g>\n<g>\n <circle cx=\"2521.49\" cy=\"998.17\" r=\"7.482\"></circle>\n</g>\n<g>\n <circle cx=\"2521.49\" cy=\"1021.355\" r=\"7.482\"></circle>\n</g>\n<g>\n <circle cx=\"2521.49\" cy=\"1044.541\" r=\"7.482\"></circle>\n</g>\n<g>\n <circle cx=\"2521.49\" cy=\"1067.727\" r=\"7.482\"></circle>\n</g>\n<path d=\"M80.833,11.498h2.886c1.76,0,3.185-1.426,3.185-3.185V6.722c0-1.759-1.425-3.185-3.185-3.185H12.428 c-1.759,0-3.185,1.426-3.185,3.185v1.592c0,1.758,1.425,3.185,3.185,3.185h4.367c0.817,6.819,4.458,29.491,17.349,37.36 C20.476,57.2,17.207,82.185,16.677,87.27h-4.249c-1.759,0-3.185,1.425-3.185,3.185v1.593c0,1.757,1.425,3.183,3.185,3.183h71.291 c1.76,0,3.185-1.426,3.185-3.183v-1.593c0-1.76-1.425-3.185-3.185-3.185h-2.767c-0.531-5.085-3.799-30.069-17.468-38.411 C76.375,40.989,80.017,18.317,80.833,11.498z M53.764,45.738l0.01,3.12l-0.01,3.119c7.367,0.02,13.192,5.952,17.314,17.632 c2.576,7.294,3.645,14.702,3.994,17.66H22.556c0.351-2.958,1.419-10.366,3.994-17.66c4.123-11.68,9.948-17.612,17.314-17.632 l-0.009-3.119l0.009-3.12c-7.366-0.02-13.191-5.951-17.314-17.631c-2.31-6.544-3.408-13.177-3.862-16.609h52.255 c-0.457,3.432-1.553,10.065-3.864,16.609C66.956,39.787,61.131,45.718,53.764,45.738z\"></path>\n<g>\n <path d=\"M26.934,84.212c0,0,8.496-13.906,21.761-13.906c13.265,0,20.43,13.906,20.43,13.906H26.934z\"></path>\n</g>\n<g>\n <path d=\"M31.68,33.619h34.268c0,0-3.191,10.791-17.609,10.791C36.246,44.41,31.68,33.619,31.68,33.619z\"></path>\n</g>\n<g>\n <circle cx=\"48.823\" cy=\"47.956\" r=\"1.986\"></circle>\n</g>\n<g>\n <circle cx=\"48.823\" cy=\"54.109\" r=\"1.986\"></circle>\n</g>\n<g>\n <circle cx=\"48.823\" cy=\"60.261\" r=\"1.986\"></circle>\n</g>\n<g>\n <circle cx=\"48.823\" cy=\"66.414\" r=\"1.986\"></circle>\n</g>\n</svg><br>When the clock is ticking, things are getting more exciting. Write your bit in 2 minutes!'), (3,'Laconism','<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" id=\"Layer_1\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" enable-background=\"new 0 0 100 100\" xml:space=\"preserve\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M35.432,40.914c-2.412,3.681-3.116,6.35-4.674,9.529l9.936,3.555l-12.232,2.37 l-8.977,43.05C27.242,88.538,30.8,78.47,46.293,68.144l-1.298-2.918c-0.979-0.675-1.619-1.801-1.619-3.078 c0-2.062,1.672-3.731,3.733-3.731c2.06,0,3.732,2.062,3.732,3.731s-0.67,2.37-1.649,3.045l12.693,8.533l-0.965-8.5 c3.803-3.247,6.215-8.079,6.215-13.468c0-9.777-7.929-17.705-17.707-17.705C43.757,34.053,37.846,37.232,35.432,40.914z\"></path>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50.538,0.583c-23.178,0-32.408,9.643-42.063,24.586l16.128,7.758 c7.193-6.249,15.955-9.238,25.455-8.737c2.144-0.013,4.014,0.245,6.08,0.843c16.683,3.791,28.346,18.873,27.907,35.958 C103.65,34.627,82.012,0.583,50.538,0.583z\"></path>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M76.858,40.791c2.948,4.377,4.913,9.475,5.574,14.978l-13.725-4.466 c0-0.464-0.004-0.94-0.004-1.434c0-2.357-0.595-4.845-1.729-7.181L76.858,40.791z\"></path>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44.85,32.923c-3.496,0.818-6.651,2.387-8.918,4.309L27.8,32.565 c4.021-3.04,8.736-5.216,13.864-6.245L44.85,32.923z\"></path>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M54.235,26.143c4.166,0.713,8.077,2.176,11.585,4.25l-5.072,5.098 c-2.148-1.463-4.697-2.517-7.604-2.956L54.235,26.143z\"></path>\n</svg><br>Sometimes saying less has more meaning. Write your bit but have in mind the word limit!'), (4,'Short sight','<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" overflow=\"\" enable-background=\"new 0 0 100 100\" xml:space=\"preserve\">\n <path d=\"M94.419,44.665c-0.27,0-0.531,0.041-0.791,0.081c-2.384-8.15-9.896-14.108-18.814-14.108 c-7.178,0-13.439,3.871-16.855,9.626c-2.285-1.521-5.025-2.411-7.973-2.411c-2.94,0-5.669,0.882-7.947,2.393 c-3.42-5.744-9.676-9.608-16.846-9.608c-8.919,0-16.436,5.958-18.811,14.108c-0.264-0.041-0.524-0.081-0.797-0.081 C2.501,44.665,0,47.162,0,50.246s2.501,5.581,5.584,5.581c0.273,0,0.533-0.041,0.797-0.083c2.375,8.152,9.892,14.109,18.811,14.109 c10.831,0,19.607-8.776,19.607-19.607c0-0.629-0.036-1.253-0.093-1.872c1.2-1.619,3.107-2.684,5.279-2.684 c2.19,0,4.117,1.083,5.309,2.725c-0.052,0.605-0.089,1.212-0.089,1.831c0,10.831,8.776,19.607,19.608,19.607 c8.919,0,16.431-5.957,18.814-14.109c0.26,0.042,0.521,0.083,0.791,0.083c3.085,0,5.581-2.497,5.581-5.581 S97.504,44.665,94.419,44.665z M83.847,51.335c-2.083,2.278-5.697,3.454-9.503,2.742c-5.291-0.996-8.885-5.231-8.019-9.465 c0.874-4.233,5.864-6.86,11.155-5.869c2.652,0.493,4.869,1.798,6.324,3.514c2.363,2.428,3.521,6.088,2.746,9.888 c-1.22,5.931-6.658,9.907-12.145,8.879c-0.471-0.086-0.899-0.249-1.339-0.405c4.983,0.182,9.628-3.557,10.741-8.99 C83.829,51.534,83.829,51.438,83.847,51.335z M33.782,51.335c-2.083,2.278-5.694,3.454-9.501,2.742 c-5.292-0.996-8.887-5.231-8.017-9.465c0.87-4.233,5.861-6.86,11.156-5.869c2.652,0.493,4.868,1.798,6.32,3.514 c2.367,2.428,3.522,6.088,2.745,9.888c-1.216,5.931-6.657,9.907-12.145,8.879c-0.468-0.086-0.894-0.249-1.338-0.405 c4.986,0.182,9.627-3.557,10.742-8.99C33.766,51.534,33.766,51.438,33.782,51.335z\"></path>\n</svg><br>A novus might have 100 bits. You just get to see the last one. Can you write a bit that fits well with all the rest, judging just by the last one? '), (5,'Cloud Nine','<svg xmlns:x=\"http://ns.adobe.com/Extensibility/1.0/\" xmlns:i=\"http://ns.adobe.com/AdobeIllustrator/10.0/\" xmlns:graph=\"http://ns.adobe.com/Graphs/1.0/\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" enable-background=\"new 0 0 100 100\" xml:space=\"preserve\">\n<metadata>\n <sfw xmlns=\"http://ns.adobe.com/SaveForWeb/1.0/\">\n <slices></slices>\n <slicesourcebounds y=\"-8242\" x=\"-8141\" width=\"16383\" height=\"16383\" bottomleftorigin=\"true\"></slicesourcebounds>\n <optimizationsettings></optimizationsettings>\n </sfw>\n</metadata>\n\n<g id=\"Your_Icon\">\n \n <path d=\"M-64.926,35.111l2.658-8.62l8.613,9.937C-57.427,36.685-64.926,35.111-64.926,35.111z\"></path>\n <g>\n <path d=\"M61.176,42.064c-1.24,0.595-1.771,2.091-1.172,3.332c0.599,1.244,2.084,1.771,3.332,1.175 c1.24-0.595,1.771-2.088,1.168-3.332C63.913,41.999,62.424,41.469,61.176,42.064z\"></path>\n \n <rect x=\"41.743\" y=\"41.36\" transform=\"matrix(-0.4318 -0.9019 0.9019 -0.4318 22.9083 116.5563)\" fill=\"#000000\" width=\"12.842\" height=\"19.405\"></rect>\n <path d=\"M75.586,38.793c-3.332-6.304-9.953-10.605-17.58-10.605c-4.28,0-8.24,1.353-11.482,3.653 c-2.463-2.269-5.751-3.653-9.365-3.653c-6.516,0-11.979,4.508-13.447,10.573C18.205,39.658,14,44.44,14,50.203 c0,6.404,5.193,11.594,11.598,11.594c0.812,0,1.598-0.083,2.361-0.242C29.658,68.691,36.066,74,43.722,74 c5.139,0,9.715-2.395,12.687-6.127c0.526,0.04,1.061,0.068,1.598,0.068c5.503,0,10.483-2.239,14.082-5.853 c0.465,0.058,0.934,0.087,1.414,0.087c6.509,0,11.784-5.276,11.784-11.785C85.286,44.596,81.1,39.781,75.586,38.793z M65.42,55.064L39.561,67.44l-9.549-19.949l25.863-12.376l9.975,4.32l2.924,6.112L65.42,55.064z\"></path>\n </g>\n</g>\n</svg><br> Do you know what\'s a keyword or tag cloud? The 6 most frequent keywords of all bits are presented to you. Can you write your bit and use all of them?'), (6,'Prose worm','<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" id=\"Layer_1\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 52\" enable-background=\"new 0 0 100 52\" xml:space=\"preserve\">\n<path fill=\"none\" d=\"M47.807,33.138c0.008-0.009,0.016-0.019,0.024-0.026c-0.009,0.007-0.018,0.015-0.026,0.023 C47.805,33.136,47.806,33.137,47.807,33.138z\"></path>\n<path fill=\"none\" d=\"M53.048,49.8c-0.274-0.071-0.545-0.152-0.815-0.232c-0.002,0.001-0.005,0.003-0.007,0.003 C52.485,49.648,52.76,49.726,53.048,49.8z\"></path>\n<path fill=\"none\" d=\"M36.33,35.501h-0.004c0.204,0.522,0.496,1.114,0.783,1.651h0.013C36.838,36.612,36.574,36.062,36.33,35.501z\"></path>\n<path d=\"M37.108,37.152c0.291,0.544,0.577,1.029,0.758,1.332c-0.263-0.436-0.508-0.882-0.746-1.332H37.108z\"></path>\n<path d=\"M38.062,38.804h0.006c-0.048-0.079-0.1-0.152-0.147-0.231C38.008,38.717,38.062,38.804,38.062,38.804z\"></path>\n<path d=\"M51.812,49.445c-0.631-0.197-1.249-0.424-1.856-0.669c-0.003,0.002-0.007,0.003-0.009,0.004 C50.007,48.805,50.728,49.104,51.812,49.445z\"></path>\n<path d=\"M52.226,49.57c0.002,0,0.005-0.002,0.007-0.003c-0.106-0.03-0.213-0.057-0.318-0.091 C52.016,49.509,52.12,49.541,52.226,49.57z\"></path>\n<path d=\"M74.458,0.955H59.321c-1.307,0-2.591,0.1-3.845,0.293c-0.273,0.042-0.541,0.101-0.811,0.151 c4.646,2.666,8.469,6.605,10.987,11.343h1.238h8.346c7.322,0,13.257,5.937,13.257,13.259c0,7.321-5.936,13.258-13.257,13.258h-9.516 h-1.958h-1.905h-0.006h-3.171c-3.305,0-6.324-1.212-8.646-3.212c0,0-0.003,0.003-0.003,0.003c0-0.002-0.001-0.002-0.002-0.003 c-0.494-0.414-0.886-0.802-1.206-1.148c-0.7-0.764-1.011-1.303-1.011-1.303c0.001-0.002,0.002-0.002,0.002-0.003 c-0.001-0.001-0.002-0.002-0.002-0.003c-1.505-2.15-2.389-4.766-2.389-7.589c0-2.746,0.834-5.296,2.263-7.413 c0.041-0.06,0.086-0.117,0.127-0.176c-1.736-1.473-3.978-2.367-6.429-2.367h-5.041c-1.325,3.052-2.067,6.416-2.067,9.956 c0,3.538,0.737,6.903,2.061,9.955c0.244,0.561,0.509,1.111,0.792,1.651c0.237,0.45,0.482,0.896,0.746,1.332 c0.02,0.033,0.036,0.059,0.054,0.088c0.047,0.079,0.099,0.152,0.147,0.231c2.792,4.463,6.948,7.98,11.888,9.973 c0.608,0.245,1.226,0.472,1.856,0.669c0.034,0.011,0.068,0.022,0.103,0.031c0.105,0.034,0.212,0.061,0.318,0.091 c0.27,0.08,0.541,0.161,0.815,0.232c0.004,0,0.006,0.002,0.01,0.003c2,0.513,4.096,0.787,6.254,0.787h15.137 c13.832,0,25.044-11.213,25.044-25.044C99.502,12.169,88.29,0.955,74.458,0.955z\"></path>\n<path d=\"M25.542,51.045h15.137c1.308,0,2.592-0.101,3.846-0.294c0.273-0.042,0.542-0.1,0.811-0.151 c-4.646-2.665-8.47-6.604-10.987-11.342H33.11h-8.346c-7.322,0-13.257-5.936-13.257-13.259c0-7.322,5.935-13.257,13.257-13.257 h9.516h1.957h1.905h0.007h3.17c3.304,0,6.323,1.212,8.645,3.212l0.002-0.003c0.001,0.001,0.001,0.002,0.002,0.003 c0.495,0.413,0.887,0.801,1.206,1.148c0.701,0.762,1.011,1.302,1.011,1.302c0,0.001-0.001,0.002-0.002,0.003 c0.001,0,0.002,0.001,0.003,0.003c1.505,2.15,2.39,4.766,2.39,7.588c0,2.746-0.835,5.297-2.264,7.412 c-0.041,0.062-0.085,0.118-0.127,0.176c1.736,1.474,3.979,2.369,6.429,2.369h5.042c1.324-3.053,2.065-6.417,2.065-9.957 c0-3.539-0.737-6.903-2.061-9.955c-0.244-0.561-0.509-1.111-0.792-1.651c-0.237-0.451-0.482-0.898-0.746-1.332 c-0.02-0.033-0.036-0.06-0.053-0.089c-0.048-0.078-0.099-0.153-0.147-0.23c-2.792-4.463-6.949-7.981-11.888-9.973 c-0.608-0.245-1.226-0.471-1.856-0.67c-0.034-0.011-0.068-0.021-0.103-0.032c-0.105-0.032-0.212-0.059-0.318-0.089 c-0.27-0.081-0.541-0.162-0.816-0.232c-0.004-0.001-0.006-0.001-0.009-0.002c-2-0.515-4.095-0.788-6.255-0.788H25.542 c-13.832,0-25.044,11.212-25.044,25.044C0.498,39.832,11.71,51.045,25.542,51.045z\"></path>\n<path d=\"M53.058,49.803c-0.003-0.001-0.006-0.003-0.01-0.003C53.052,49.8,53.055,49.802,53.058,49.803z\"></path>\n<path d=\"M51.812,49.445c0.034,0.011,0.068,0.022,0.103,0.031C51.881,49.468,51.847,49.456,51.812,49.445z\"></path>\n<path d=\"M47.805,33.141c0,0,0.311,0.539,1.011,1.303c0.005-0.006,0.01-0.012,0.016-0.015 c-0.369-0.407-0.709-0.84-1.025-1.291C47.807,33.139,47.806,33.139,47.805,33.141z\"></path>\n<path d=\"M37.92,38.572c-0.018-0.029-0.034-0.055-0.054-0.088C37.885,38.514,37.902,38.542,37.92,38.572z\"></path>\n<path d=\"M48.832,34.429c-0.006,0.003-0.011,0.009-0.016,0.015c0.319,0.347,0.711,0.734,1.206,1.148 c0.001-0.002,0.002-0.003,0.002-0.003C49.604,35.227,49.204,34.84,48.832,34.429z\"></path>\n<path d=\"M50.027,35.592c0.001-0.003,0.004-0.006,0.012-0.015c-0.004,0.004-0.01,0.008-0.015,0.012 C50.025,35.589,50.026,35.59,50.027,35.592z\"></path>\n<rect x=\"50.022\" y=\"35.59\" width=\"0.004\" height=\"0.004\"></rect>\n</svg><br>So simple, yet challenging: Your bit must start with the last word .. of the last bit. Do you take the challenge?'), (7,'Irriversable','<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" id=\"Your_Icon\" x=\"0px\" y=\"0px\" width=\"100px\" height=\"100px\" viewBox=\"0 0 100 100\" enable-background=\"new 0 0 100 100\" xml:space=\"preserve\">\n<path d=\"M99.474,56.936C97.956,81.244,75.806,100,50.509,100C22.904,100,0.526,77.624,0.526,50.019C0.526,22.378,22.904,0,50.509,0 c14.305,0,27.172,6.018,36.215,15.64l7.748-7.75l1.189,29.874L65.786,36.54l7.787-7.785c-5.695-6.232-13.912-10.124-23.064-10.124 c-17.334,0-31.352,14.055-31.352,31.388c0,17.332,14.018,31.387,31.352,31.387c14.99,0,27.459-10.486,30.631-24.47H99.474z\"></path>\n</svg><br>How about instead of appending each bit at the end of the story...Each bit will be placed on top of all other? There you have it, a reversed story! '); /*!40000 ALTER TABLE `novus_type` ENABLE KEYS */; UNLOCK TABLES; INSERT INTO `author` (`id`, `first_name`, `last_name`, `registered`, `date_registered`, `picture`, `username`, `password`, `email`, `activated`, `banned`, `ban_reason`, `new_password_key`, `new_password_requested`, `new_email`, `new_email_key`, `last_ip`, `last_login`, `created`, `modified`) VALUES (1,NULL,NULL,NULL,NULL,NULL,X'61636D696E',X'243161243038245648764C6646707861562E6F6664454670473141746536626A76506A7837637050385046435A542E33644F4342744D6C437A505453',X'68756C6C6F406E6F7675736269742E636F6D',1,0,NULL,NULL,NULL,NULL,NULL,X'321E38352E31372E313035','2013-07-28 19:44:05','2013-07-28 19:42:53','2013-07-28 19:44:05'); INSERT INTO `tag` (`id`, `title`) VALUES (1,'novusbit'); /*!40000 ALTER TABLE `author` ENABLE KEYS */; UNLOCK TABLES; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
67.744186
4,755
0.661923