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
c9dc3b7f58b8e19365e7dea5b7bbf7baac90972e
12,097
ts
TypeScript
apps/user/src/user.service.ts
cuong18011901/app-private
ac8e273b737b15b3daa163037bd3a9b213dbba9e
[ "MIT" ]
2
2021-05-25T11:47:16.000Z
2021-05-25T11:47:17.000Z
apps/user/src/user.service.ts
cuong18011901/BackEnd-App-Private
ac8e273b737b15b3daa163037bd3a9b213dbba9e
[ "MIT" ]
1
2021-05-25T11:43:19.000Z
2021-05-25T11:43:36.000Z
apps/user/src/user.service.ts
cuong18011901/app-private
ac8e273b737b15b3daa163037bd3a9b213dbba9e
[ "MIT" ]
null
null
null
import { AppError } from '@app/common'; import { CategoryRepo, NoteRepo, PostRepo, WalletRepo } from '@app/repositories'; import { Injectable } from '@nestjs/common'; import { RequestParamDto } from '../dto'; @Injectable() export class UserService { constructor( private readonly _category: CategoryRepo, private readonly _post: PostRepo, private readonly _wallet: WalletRepo, private readonly _note: NoteRepo ) {} async getUser(accountId: number) { const output = { accountId, category: await this._category.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true, createdAt: true, updatedAt: true }, orderBy: { createdAt: 'desc' } }), post: await this._post.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true, categoryId: true, createdAt: true, updatedAt: true }, orderBy: { createdAt: 'desc' } }), note: await this._note.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true }, orderBy: { createdAt: 'desc' } }) }; return output; } //CATEGORY async getCategory(accountId: number) { const output = await this._category.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true, createdAt: true, updatedAt: true }, orderBy: { createdAt: 'desc' } }); return output; } async createCategory(params: RequestParamDto) { const { userId, body } = params; try { const createOperator = this._category.getInstance().create({ data: { ...body, accountId: userId }, select: { id: true, name: true, code: true, accountId: true } }); const [output] = await this._category.transaction([createOperator]); return output; } catch { return new AppError('ERR', 'Error create category!'); } } async updateCategory(params: RequestParamDto, id?: number) { const { userId, body } = params; try { const record = await this._category.getInstance().findUnique({ where: { id: id } }); if (record.accountId == userId && record.deleteAt == null) { const updateOperator = this._category.getInstance().update({ data: { ...body }, where: { id: id } }); const [output] = await this._category.transaction([updateOperator]); return output; } else return new AppError('ERR', 'Can not update category!'); } catch { return new AppError('ERR', 'Error update category!'); } } async deleteCategory(params: RequestParamDto, id?: number) { const { userId } = params; try { const record = await this._category.getInstance().findUnique({ where: { id: id } }); if (record.accountId == userId && record.deleteAt == null) { await this._category.getInstance().update({ where: { id: id }, data: { deleteAt: new Date() } }); return 'Deleted'; } else return new AppError('ERR', 'Can not delete category'); } catch { return new AppError('ERR', 'Error delete category!'); } } async deleteAllCategory(params: RequestParamDto) { const { userId } = params; try { await this._category.getInstance().deleteMany({ where: { accountId: userId } }); } catch { return new AppError('ERR', 'Error delete'); } } //POST async getPost(accountId: number) { const output = await this._post.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true, createdAt: true, updatedAt: true }, orderBy: { createdAt: 'desc' } }); return output; } async createPost(params: RequestParamDto) { const { userId, body } = params; try { const createOperator = this._post.getInstance().create({ data: { ...(body as any), accountId: userId }, select: { id: true, name: true, code: true, accountId: true, categoryId: true } }); const [output] = await this._post.transaction([createOperator]); return output; } catch { return new AppError('ERR', 'Error create post!'); } } async updatePost(params: RequestParamDto, id?: number) { const { userId, body } = params; try { const record = await this._post.getInstance().findUnique({ where: { id: id } }); if (record.accountId != userId && record.deleteAt != null) return new AppError('ERR', 'Can not update post!'); else { const updateOperator = this._post.getInstance().update({ data: { ...body }, where: { id: id } }); const [output] = await this._post.transaction([updateOperator]); return output; } } catch { return new AppError('ERR', 'Error update post!'); } } async deletePost(params: RequestParamDto, id?: number) { const { userId } = params; try { const record = await this._post.getInstance().findUnique({ where: { id: id } }); if (record.accountId == userId && record.deleteAt == null) { await this._post.getInstance().update({ where: { id: id }, data: { deleteAt: new Date() } }); return 'Deleted'; } else return new AppError('ERR', 'Can not delete post'); } catch { return new AppError('ERR', 'Error delete post!'); } } async deleteAllPost(params: RequestParamDto) { try { await this._post.getInstance().deleteMany({ where: { accountId: params.userId } }); return 'Deleted!'; } catch { return new AppError('ERR', 'Error delete'); } } //NOTE async getNote(accountId: number) { const output = await this._note.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true, createdAt: true, updatedAt: true }, orderBy: { createdAt: 'desc' } }); return output; } async createNote(params: RequestParamDto) { const { userId, body } = params; try { const createOperator = this._note.getInstance().create({ data: { ...(body as any), accountId: userId }, select: { id: true, name: true, code: true, accountId: true, categoryId: true } }); const [output] = await this._note.transaction([createOperator]); return output; } catch { return new AppError('ERR', 'Error create note!'); } } async updateNote(params: RequestParamDto, id?: number) { const { userId, body } = params; try { const record = await this._note.getInstance().findUnique({ where: { id: id } }); if (record.accountId != userId && record.deleteAt != null) return new AppError('ERR', 'Can not update note!'); else { const updateOperator = this._note.getInstance().update({ data: { ...body }, where: { id: id } }); const [output] = await this._note.transaction([updateOperator]); return output; } } catch { return new AppError('ERR', 'Error update note!'); } } async deleteNote(params: RequestParamDto, id?: number) { const { userId } = params; try { const record = await this._note.getInstance().findUnique({ where: { id: id } }); if (record.accountId == userId && record.deleteAt == null) { await this._note.getInstance().update({ where: { id: id }, data: { deleteAt: new Date() } }); return 'Deleted'; } else return new AppError('ERR', 'Can not delete note'); } catch { return new AppError('ERR', 'Error delete note!'); } } async deleteAllNote(params: RequestParamDto) { try { await this._note.getInstance().deleteMany({ where: { accountId: params.userId } }); return 'Deleted!'; } catch { return new AppError('ERR', 'Error delete'); } } // WALLET async getWallet(accountId: number) { const output = await this._wallet.getInstance().findMany({ where: { accountId, deleteAt: null }, select: { id: true, code: true, name: true, createdAt: true, updatedAt: true }, orderBy: { createdAt: 'desc' } }); return output; } async createWallet(params: RequestParamDto) { const { userId, body } = params; try { const createOperator = this._wallet.getInstance().create({ data: { ...(body as any), accountId: userId }, select: { id: true, name: true, code: true, accountId: true } }); const [output] = await this._wallet.transaction([createOperator]); return output; } catch { return new AppError('ERR', 'Error create wallet!'); } } async updateWallet(params: RequestParamDto, id?: number) { const { userId, body } = params; try { const record = await this._wallet.getInstance().findUnique({ where: { id: id } }); if (record.accountId != userId && record.deleteAt != null) return new AppError('ERR', 'Can not update wallet!'); else { const updateOperator = this._wallet.getInstance().update({ data: { ...body }, where: { id: id } }); const [output] = await this._wallet.transaction([updateOperator]); return output; } } catch { return new AppError('ERR', 'Error update wallet!'); } } async deleteWallet(params: RequestParamDto, id?: number) { const { userId } = params; try { const record = await this._wallet.getInstance().findUnique({ where: { id: id } }); if (record.accountId == userId && record.deleteAt == null) { await this._wallet.getInstance().update({ where: { id: id }, data: { deleteAt: new Date() } }); return 'Deleted'; } else return new AppError('ERR', 'Can not delete wallet'); } catch { return new AppError('ERR', 'Error delete wallet!'); } } async deleteAllWallet(params: RequestParamDto) { try { await this._wallet.getInstance().deleteMany({ where: { accountId: params.userId } }); return 'Deleted!'; } catch { return new AppError('ERR', 'Error delete'); } } }
36.881098
124
0.504588
2cb1f1af6a886865ab36dec4f939eb51b38fe7d5
3,660
py
Python
arkestra_utilities/admin_mixins.py
luxumbra/Arkestra
1e136641d27bb50cfb60c17cfbd3351882a6de30
[ "BSD-2-Clause" ]
null
null
null
arkestra_utilities/admin_mixins.py
luxumbra/Arkestra
1e136641d27bb50cfb60c17cfbd3351882a6de30
[ "BSD-2-Clause" ]
null
null
null
arkestra_utilities/admin_mixins.py
luxumbra/Arkestra
1e136641d27bb50cfb60c17cfbd3351882a6de30
[ "BSD-2-Clause" ]
null
null
null
from django.db.models import ForeignKey from django.conf import settings from django import forms from cms.utils import cms_static_url from widgetry import fk_lookup from contacts_and_people.models import Entity class AutocompleteMixin(object): class Media: js = [ # '/static/jquery/jquery.js', settings.ADMIN_MEDIA_PREFIX + 'js/jquery.min.js', cms_static_url('js/libs/jquery.ui.core.js'), ] css = { 'all': ('/static/jquery/themes/base/ui.all.css',) } def formfield_for_dbfield(self, db_field, **kwargs): """ Overrides the default widget for Foreignkey fields if they are specified in the related_search_fields class attribute. """ if (isinstance(db_field, ForeignKey) and db_field.name in self.related_search_fields): kwargs['widget'] = fk_lookup.FkLookup(db_field.rel.to) return super(AutocompleteMixin, self).formfield_for_dbfield(db_field, **kwargs) class SupplyRequestMixin(object): def get_form(self, request, obj=None, **kwargs): form_class = super(SupplyRequestMixin, self).get_form(request, obj, **kwargs) form_class.request = request return form_class class GenericModelAdminMixin(AutocompleteMixin, SupplyRequestMixin): # this doesn't work - it doesn't feed the Autocomplete with the desired items # def formfield_for_foreignkey(self, db_field, request, **kwargs): # """ # Filters the list of Entities so that the user only sees those that # have published websites # """ # if db_field.name == "hosted_by": # print "checking hosted_bys", kwargs # kwargs["queryset"] = Entity.objects.filter(website__published = True) # print "***", kwargs["queryset"].count() # return super(GenericModelAdminMixin, self).formfield_for_foreignkey(db_field, request, **kwargs) def formfield_for_manytomany(self, db_field, request, **kwargs): if db_field.name == "publish_to": # print "&&&&", Entity.objects.filter().count() kwargs["queryset"] = Entity.objects.filter(website__published = True) return super(AutocompleteMixin, self).formfield_for_manytomany(db_field, request, **kwargs) class InputURLMixin(forms.ModelForm): input_url = forms.CharField(max_length=255, required = False, help_text=u"Enter the URL of an external item that you want <strong>automatically</strong> added to the database, but first check carefully using <strong>External URL</strong> (above) to make sure it's really not there.", ) fieldsets = { 'basic': ('', {'fields': ('title', 'short_title', 'summary')}), 'host': ('', {'fields': ('hosted_by',)}), 'image': ('', {'fields': ('image',)}), 'body': ('', { 'fields': ('body',), 'classes': ('plugin-holder', 'plugin-holder-nopage',) }), 'where_to_publish': ('', {'fields': ('publish_to',)}), 'people': ('People to contact about this item', {'fields': ('please_contact',)}), 'publishing_control': ('Publishing control', {'fields': ('published', 'in_lists')}), 'date': ('', {'fields': ('date',)}), 'closing_date': ('', {'fields': ('closing_date',)}), 'importance': ('', {'fields': ('importance',)}), 'url': ('If this is an external item', {'fields': ('external_url', 'input_url',)}), 'slug': ('If this is an internal item', {'fields': ('slug',)}), 'location': ('', {'fields': ('precise_location', 'access_note',)}), 'email': ('', {'fields': ('email',)}), }
41.123596
230
0.62377
b37ce38aaa8bfa011ffdabfc1b43fc956a5bf306
206
kt
Kotlin
typescript-kotlin/src/main/kotlin/typescript/IntersectionTypeNode.kt
JervNorsk/types-kotlin
ea7261ca0fac6ef75a3d5139e4765a286e638a4e
[ "Apache-2.0" ]
9
2021-08-16T07:42:18.000Z
2021-09-24T08:04:03.000Z
typescript-kotlin/src/main/kotlin/typescript/IntersectionTypeNode.kt
JervNorsk/types-kotlin
ea7261ca0fac6ef75a3d5139e4765a286e638a4e
[ "Apache-2.0" ]
null
null
null
typescript-kotlin/src/main/kotlin/typescript/IntersectionTypeNode.kt
JervNorsk/types-kotlin
ea7261ca0fac6ef75a3d5139e4765a286e638a4e
[ "Apache-2.0" ]
1
2021-09-20T18:16:57.000Z
2021-09-20T18:16:57.000Z
// Automatically generated - do not modify! package typescript external interface IntersectionTypeNode : TypeNode { override val kind: SyntaxKind.IntersectionType val types: NodeArray<TypeNode> }
22.888889
52
0.781553
b015f22c33d18e2a51a3931ac302274b6a3f4bd9
883
py
Python
tests/files/named_numbers.py
cromulencellc/asn1tools
30eb88e287cc1616903858aa96ee8791a4d7bf1c
[ "MIT" ]
198
2017-08-04T21:49:15.000Z
2022-03-26T10:11:21.000Z
tests/files/named_numbers.py
cromulencellc/asn1tools
30eb88e287cc1616903858aa96ee8791a4d7bf1c
[ "MIT" ]
144
2017-09-29T12:06:51.000Z
2022-03-29T13:04:44.000Z
tests/files/named_numbers.py
cromulencellc/asn1tools
30eb88e287cc1616903858aa96ee8791a4d7bf1c
[ "MIT" ]
73
2017-10-09T13:33:28.000Z
2022-03-11T01:35:22.000Z
EXPECTED = {'Foo': {'extensibility-implied': False, 'imports': {}, 'object-classes': {}, 'object-sets': {}, 'tags': 'AUTOMATIC', 'types': {'A': {'restricted-to': [('min', 'max')], 'type': 'Constants'}, 'B': {'restricted-to': ['unknown'], 'type': 'Constants'}, 'C': {'restricted-to': [('zero', 'max')], 'type': 'Constants'}, 'Constants': {'named-numbers': {'max': 1, 'min': -1, 'unknown': 2}, 'restricted-to': [(-1, 2)], 'type': 'INTEGER'}}, 'values': {'min': {'type': 'INTEGER', 'value': 3}, 'zero': {'type': 'INTEGER', 'value': 0}}}}
51.941176
76
0.329558
93a82cd15b4be3fe7f6df36a718ad5e08fbc4ec4
107
cs
C#
BTCPayServer/Views/Invoice/InvoiceNavPages.cs
bolatovumar/btcpayserver
7f40698bba675a3dfbda6584de84d6f3ff68443a
[ "MIT" ]
3,562
2017-08-18T13:00:13.000Z
2022-03-31T19:24:40.000Z
BTCPayServer/Views/Invoice/InvoiceNavPages.cs
bolatovumar/btcpayserver
7f40698bba675a3dfbda6584de84d6f3ff68443a
[ "MIT" ]
2,409
2017-08-18T13:21:09.000Z
2022-03-31T23:22:11.000Z
BTCPayServer/Views/Invoice/InvoiceNavPages.cs
bolatovumar/btcpayserver
7f40698bba675a3dfbda6584de84d6f3ff68443a
[ "MIT" ]
988
2017-08-18T13:05:43.000Z
2022-03-31T21:38:01.000Z
namespace BTCPayServer.Views.Invoice { public enum InvoiceNavPages { Index, Create } }
13.375
36
0.64486
c68b7966a5393667145e803307855f2201d24f4d
5,125
dart
Dart
lib/models/forum_user_model.dart
ashutoshkr/mobile
7e2a0d0ac0787567894a7bfcf0ea8016da2ab791
[ "BSD-3-Clause" ]
null
null
null
lib/models/forum_user_model.dart
ashutoshkr/mobile
7e2a0d0ac0787567894a7bfcf0ea8016da2ab791
[ "BSD-3-Clause" ]
null
null
null
lib/models/forum_user_model.dart
ashutoshkr/mobile
7e2a0d0ac0787567894a7bfcf0ea8016da2ab791
[ "BSD-3-Clause" ]
null
null
null
class User { final String username; final String name; final String profilePicture; final String lastSeen; final String createdAt; final String title; final String? bio; final String dateOfBirth; final bool ignored; final bool muted; final bool canSendPrivateMessages; final bool canSendPrivateMessageToUser; final bool isModerator; final bool isAdmin; final int trustLevel; final int badgeCount; final int postCount; final List<dynamic> badges; User({ required this.username, required this.name, required this.profilePicture, required this.lastSeen, required this.createdAt, required this.title, required this.bio, required this.dateOfBirth, required this.ignored, required this.muted, required this.canSendPrivateMessages, required this.canSendPrivateMessageToUser, required this.isModerator, required this.isAdmin, required this.trustLevel, required this.badgeCount, required this.postCount, required this.badges, }); factory User.fromJson(Map<String, dynamic> data) { return User( username: data['user']['username'], name: data['user']['name'], profilePicture: data['user']['avatar_template'], lastSeen: data['user']['last_seen_at'], createdAt: data['user']['created_at'], title: data['user']['title'], bio: data['user']['bio_excerpt'], dateOfBirth: data['user']['date_of_birth'], ignored: data['user']['ignored'], muted: data['user']['muted'], canSendPrivateMessages: data['user']['can_send_private_messages'], canSendPrivateMessageToUser: data['user'] ['can_send_private_messages_to_user'], isModerator: data['user']['moderator'], isAdmin: data['user']['admin'], trustLevel: data['user']['trust_level'], badgeCount: data['user']['badge_count'], postCount: data['user']['post_count'], badges: data['badges'], ); } } // An user topic is different from a post because it's fetched from a different endpoint. class UserTopic { final int id; final int postCount; final int likedCount; final String title; final String slug; final String createdAt; UserTopic( {required this.id, required this.postCount, required this.title, required this.slug, required this.createdAt, required this.likedCount}); factory UserTopic.fromJson(Map<String, dynamic> data) { return UserTopic( id: data['id'], postCount: data['posts_count'], title: data['title'], slug: data['slug'], createdAt: data['created_at'], likedCount: data['like_count']); } } class UserBadge { final int id; final int badgeTypeId; final int grantCount; final String name; final String description; final String slug; final String imageUrl; final String icon; final bool allowTitle; final bool listable; final bool enabled; final bool manuallyGrantable; UserBadge({ required this.id, required this.badgeTypeId, required this.grantCount, required this.name, required this.description, required this.slug, required this.imageUrl, required this.icon, required this.allowTitle, required this.listable, required this.enabled, required this.manuallyGrantable, }); factory UserBadge.fromJson(Map<String, dynamic> data) { return UserBadge( id: data['id'], badgeTypeId: data['badge_type_id'], grantCount: data['grant_count'], name: data['name'], description: data['description'], slug: data['slug'], imageUrl: data['image_url'], icon: data['icon'], allowTitle: data['allow_title'], listable: data['listable'], enabled: data['enabled'], manuallyGrantable: data['manually_grantable']); } } class UserSummary { final int likesGiven; final int likesReceived; final int topicEnterd; final int postRead; final int daysVisited; final int topicCount; final int postCount; final int solvedCount; final bool canSeeStats; final List? topics; UserSummary( {required this.likesGiven, required this.likesReceived, required this.topicEnterd, required this.postRead, required this.daysVisited, required this.topicCount, required this.postCount, required this.solvedCount, required this.canSeeStats, this.topics}); factory UserSummary.fromJson(Map<String, dynamic> data) { return UserSummary( likesGiven: data['user_summary']['likes_given'], likesReceived: data['user_summary']['likes_received'], topicEnterd: data['user_summary']['topics_entered'], postRead: data['user_summary']['post_read_count'], daysVisited: data['user_summary']['days_visited'], topicCount: data['user_summary']['topic_count'], postCount: data['user_summary']['post_count'], solvedCount: data['user_summary']['solved_count'], canSeeStats: data['user_summary']['can_see_summary_stats'], topics: data['topics']); } }
28.472222
89
0.669073
f62f1572f726e6299c7988be717afbe9be20041d
11,294
cc
C++
zircon/system/utest/trace/record_tests.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
zircon/system/utest/trace/record_tests.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
zircon/system/utest/trace/record_tests.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <inttypes.h> #include <zircon/syscalls.h> #include <array> #include <memory> #include <fbl/algorithm.h> #include <fbl/string_printf.h> #include <fbl/vector.h> #include <trace-engine/instrumentation.h> #include <trace-test-utils/fixture.h> #include <trace/event.h> #include "fixture_macros.h" namespace { bool blob_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "name"; trace_string_ref_t name_ref = trace_make_inline_c_string_ref(name); const char blob[] = "abc"; const size_t length = sizeof(blob); const char preview[] = "<61 62 63 00>"; { auto context = trace::TraceContext::Acquire(); trace_context_write_blob_record(context.get(), TRACE_BLOB_TYPE_DATA, &name_ref, blob, length); } auto expected = fbl::StringPrintf("Blob(name: %s, size: %zu, preview: %s)\n", name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool blob_macro_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = 256; auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... f8 f9 fa fb fc fd fe ff>"; TRACE_BLOB(TRACE_BLOB_TYPE_DATA, name, blob->data(), length); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "Blob(name: %s, size: %zu, preview: %s)\n", name, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_attachment_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char category[] = "+enabled"; const char name[] = "name"; trace_string_ref_t category_ref = trace_make_inline_c_string_ref(category); trace_string_ref_t name_ref = trace_make_inline_c_string_ref(name); const size_t length = (1ull << 15); // 32KB auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... f8 f9 fa fb fc fd fe ff>"; { auto context = trace::TraceContext::Acquire(); trace_context_write_blob_attachment_record(context.get(), &category_ref, &name_ref, blob->data(), length); } auto expected = fbl::StringPrintf( "LargeRecord(Blob(format: blob_attachment, category: \"%s\", name: \"%s\", size: %zu, " "preview: %s))\n", category, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_attachment_macro_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = 260; auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... fc fd fe ff 00 01 02 03>"; const char* category = "+enabled"; TRACE_BLOB_ATTACHMENT(category, name, blob->data(), length); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "String(index: 2, \"%s\")\n" "LargeRecord(Blob(format: blob_attachment, category: \"%s\", name: \"%s\", size: %zu, " "preview: %s))\n", category, name, category, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_event_macro_args_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = 256; auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... f8 f9 fa fb fc fd fe ff>"; const char* category = "+enabled"; TRACE_BLOB_EVENT(category, name, blob->data(), length, "arg1", TA_INT32(234234)); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "String(index: 2, \"process\")\n" "KernelObject(koid: <>, type: thread, name: \"initial-thread\", {process: koid(<>)})\n" "Thread(index: 1, <>)\n" "String(index: 3, \"%s\")\n" "String(index: 4, \"arg1\")\n" "LargeRecord(Blob(format: blob_event, category: \"%s\", name: \"%s\", ts: <>, pt: <>, {arg1: " "int32(234234)}, " "size: %zu, preview: %s))\n", category, name, category, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_event_macro_small_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = 260; auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... fc fd fe ff 00 01 02 03>"; const char* category = "+enabled"; TRACE_BLOB_EVENT(category, name, blob->data(), length); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "String(index: 2, \"process\")\n" "KernelObject(koid: <>, type: thread, name: \"initial-thread\", {process: koid(<>)})\n" "Thread(index: 1, <>)\n" "String(index: 3, \"%s\")\n" "LargeRecord(Blob(format: blob_event, category: \"%s\", name: \"%s\", ts: <>, pt: <>, {}, " "size: %zu, preview: %s))\n", category, name, category, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_event_macro_medium_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = (1ull << 15); // 32KB auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... f8 f9 fa fb fc fd fe ff>"; const char* category = "+enabled"; TRACE_BLOB_EVENT(category, name, blob->data(), length); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "String(index: 2, \"process\")\n" "KernelObject(koid: <>, type: thread, name: \"initial-thread\", {process: koid(<>)})\n" "Thread(index: 1, <>)\n" "String(index: 3, \"%s\")\n" "LargeRecord(Blob(format: blob_event, category: \"%s\", name: \"%s\", ts: <>, pt: <>, {}, " "size: %zu, preview: %s))\n", category, name, category, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_event_macro_big_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = TRACE_ENCODED_INLINE_LARGE_RECORD_MAX_SIZE - 356; auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char preview[] = "<00 01 02 03 04 05 06 07 ... 94 95 96 97 98 99 9a 9b>"; const char* category = "+enabled"; TRACE_BLOB_EVENT(category, name, blob->data(), length); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "String(index: 2, \"process\")\n" "KernelObject(koid: <>, type: thread, name: \"initial-thread\", {process: koid(<>)})\n" "Thread(index: 1, <>)\n" "String(index: 3, \"%s\")\n" "LargeRecord(Blob(format: blob_event, category: \"%s\", name: \"%s\", ts: <>, pt: <>, {}, " "size: %zu, preview: %s))\n", category, name, category, name, length, preview); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool large_blob_event_macro_rejected_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); const char name[] = "all-byte-values"; const size_t length = TRACE_ENCODED_INLINE_LARGE_RECORD_MAX_SIZE + 100; auto blob = std::make_unique<std::array<char, length>>(); for (unsigned i = 0; i < length; ++i) { blob->at(i) = static_cast<char>(i); } const char* category = "+enabled"; TRACE_BLOB_EVENT(category, name, blob->data(), length); auto expected = fbl::StringPrintf( "String(index: 1, \"%s\")\n" "String(index: 2, \"process\")\n" "KernelObject(koid: <>, type: thread, name: \"initial-thread\", {process: koid(<>)})\n" "Thread(index: 1, <>)\n" "String(index: 3, \"%s\")\n", category, name); EXPECT_TRUE(fixture_compare_records(expected.c_str()), "record mismatch"); END_TRACE_TEST; } bool arg_value_null_ending_test() { BEGIN_TRACE_TEST; fixture_initialize_and_start_tracing(); static const char terminated[5] = {'1', '2', '3', '4', '\0'}; static const char unterminated[5] = {'1', '2', '3', '4', '5'}; TRACE_DURATION_BEGIN("+enabled", "name", "key", "literal"); TRACE_DURATION_BEGIN("+enabled", "name", "key", terminated); TRACE_DURATION_BEGIN("+enabled", "name", "key", unterminated); fbl::Vector<trace::Record> records; fixture_stop_and_terminate_tracing(); EXPECT_TRUE(fixture_read_records(&records)); EXPECT_EQ(records.size(), 10); EXPECT_TRUE(fixture_compare_raw_records( records, 1, 6, "String(index: 1, \"+enabled\")\n" "String(index: 2, \"process\")\n" "KernelObject(koid: <>, type: thread, name: \"initial-thread\", {process: koid(<>)})\n" "Thread(index: 1, <>)\n" "String(index: 3, \"name\")\n" "String(index: 4, \"key\")\n")); // The comparison in the fixture_compare_*_records functions does not distinguish between strings // that match up to the first null character. These checks ensure that the terminal null character // is not included in the string argument values. const auto& literal_arg = records[7].GetEvent().arguments[0].value().GetString(); EXPECT_EQ(literal_arg.length(), 7); EXPECT_STR_EQ(literal_arg.c_str(), "literal"); const auto& terminated_arg = records[8].GetEvent().arguments[0].value().GetString(); EXPECT_EQ(terminated_arg.length(), 4); EXPECT_STR_EQ(terminated_arg.c_str(), "1234"); const auto& unterminated_arg = records[9].GetEvent().arguments[0].value().GetString(); EXPECT_EQ(unterminated_arg.length(), 5); EXPECT_STR_EQ(unterminated_arg.c_str(), "12345"); END_TRACE_TEST; } } // namespace BEGIN_TEST_CASE(records) RUN_TEST(blob_test) RUN_TEST(blob_macro_test) RUN_TEST(large_blob_attachment_test) RUN_TEST(large_blob_attachment_macro_test) RUN_TEST(large_blob_event_macro_args_test) RUN_TEST(large_blob_event_macro_small_test) RUN_TEST(large_blob_event_macro_medium_test) RUN_TEST(large_blob_event_macro_big_test) RUN_TEST(large_blob_event_macro_rejected_test) RUN_TEST(arg_value_null_ending_test) END_TEST_CASE(records)
34.224242
100
0.658226
b631d5e3ee8260174b1ca975632c5839f195bbad
2,001
asm
Assembly
gf2_64b.asm
olivamadrigal/GF2-Multiplication-x86
90cd1e3dd8b5d68053b824f5a23002dc82567d6a
[ "MIT" ]
null
null
null
gf2_64b.asm
olivamadrigal/GF2-Multiplication-x86
90cd1e3dd8b5d68053b824f5a23002dc82567d6a
[ "MIT" ]
null
null
null
gf2_64b.asm
olivamadrigal/GF2-Multiplication-x86
90cd1e3dd8b5d68053b824f5a23002dc82567d6a
[ "MIT" ]
null
null
null
;;64-bit version GF2MUL multiplication of elements in GF(2^n) using simple shift and add ;;with n=29, two elements of max degree d=28 at 29bits => max product of deg(56) at 57bits ;; ;;initial super simple case: b=2h,a=3h,c=6h ;;scale up:b=105h,a=0fah ;;for 64-bit displacement is at rsp + or - 8 (as opposed to 4 with 32-bit) ;; ;;how to run it: ;;nasm -f elf64 -l gf2.lst gf2.asm ;;gcc -o gf2 gf2.o ;;./gf2 ;; ;;test with 2h,3h =>6h ;;test with 105h,0fah =>f912 ;;test with elements in GF(2^9) ;;1FFFFFFF, 1FF2B600 => 0x155cdbff5519200 global main extern printf section .data Result: db "Result: %Lx",10, 0 section .text main: nop ;//for gdb push rbp mov rbp,rsp push rbx push rsi push rdi ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; push rax push rcx push rdx mov rcx,1fffffffh mov rdx,1ff2b600h push rdx push rcx sub rsp,16 call GF2MUL add rsp,32 mov rdi, Result ; format for printf mov rsi, rax ; printf will look for params in rsi... mov rax,0 ; specify no xmm 128-bit registers call printf ; Call C function pop rdx pop rcx pop rax ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; pop rdi pop rsi pop rbx mov rsp,rbp pop rbp ret ;************************************************************; ; gf(2^29) mul of a x b = c in rax ; ;************************************************************; GF2MUL: push rbp mov rbp,rsp push rbx push rsi push rdi mov rax,0h ;c(t) mov rcx,29 ;count:29 to 1 mov rdx,28 ;indexing from left to right mov [rbp+24],rdx ;i=28 L1: mov [rbp+16],rcx ;save ecx mov rdx,1 ; mov rcx,[rbp+24] ;i shl rdx,cl ;1 << i mov rsi,rdx ;mask and rsi,[rbp+32] ;(0x1 << i) & b cmp rsi,rdx ;b_i set? jne UPDATE SA: mov rdx,[rbp+40] ;a shl rdx,cl ;a<<i xor rax,rdx ;c = c ^ (a<<i) UPDATE: mov rdx,[rbp+24] ; dec rdx ; mov [rbp+24],rdx ;i-- mov rcx,[rbp+16] ;restore loop count loop L1 pop rdi pop rsi pop rbx mov rsp,rbp pop rbp ret
19.057143
90
0.563218
d5b8acdbd536cddc1c2cce5922d4df035d24a4da
242
swift
Swift
CodeWithChris/WarCardGame/WarCardGame/WarCardGameApp.swift
milanpanchal/SwiftUILearning
4cad9299526612c93dc57559d330c1b5403fd5a7
[ "MIT" ]
null
null
null
CodeWithChris/WarCardGame/WarCardGame/WarCardGameApp.swift
milanpanchal/SwiftUILearning
4cad9299526612c93dc57559d330c1b5403fd5a7
[ "MIT" ]
null
null
null
CodeWithChris/WarCardGame/WarCardGame/WarCardGameApp.swift
milanpanchal/SwiftUILearning
4cad9299526612c93dc57559d330c1b5403fd5a7
[ "MIT" ]
null
null
null
// // WarCardGameApp.swift // WarCardGame // // Created by Milankumar Panchal on 10/03/22. // import SwiftUI @main struct WarCardGameApp: App { var body: some Scene { WindowGroup { ContentView() } } }
13.444444
46
0.586777
4437dde2033adce1a8304e41d8b2d6d7c1455a69
6,096
py
Python
poor_trader/systems.py
johndpope/poor-trader-py
097fbb10c217abe0db5a2cd55d73e0ad2990acd9
[ "MIT" ]
1
2020-03-30T19:04:39.000Z
2020-03-30T19:04:39.000Z
poor_trader/systems.py
johndpope/poor-trader-py
097fbb10c217abe0db5a2cd55d73e0ad2990acd9
[ "MIT" ]
null
null
null
poor_trader/systems.py
johndpope/poor-trader-py
097fbb10c217abe0db5a2cd55d73e0ad2990acd9
[ "MIT" ]
null
null
null
import os import pandas as pd import numpy as np from path import Path from poor_trader import indicators from poor_trader.config import SYSTEMS_PATH def _trim_quotes(symbol, df_group_quotes): df_quotes = df_group_quotes.filter(regex='^{}_'.format(symbol)) df_quotes.columns = [_.replace(symbol + '_', '') for _ in df_quotes.columns] df_quotes = df_quotes.loc[df_quotes['Date'].dropna().index] return df_quotes def run_atr_channel_breakout(symbols, df_group_quotes, prefix='ATRChannel', top=7, bottom=3, sma=120): fname = '{}{}|{}|{}'.format(prefix, top, bottom, sma) fpath = SYSTEMS_PATH / '{}.pkl'.format(fname) if os.path.exists(fpath): return fname, pd.read_pickle(fpath) else: df_positions = pd.DataFrame() for symbol in symbols: print('Running', symbol) df_quotes = _trim_quotes(symbol, df_group_quotes) df_atr_channel = indicators.atr_channel(df_quotes, top=top, bottom=bottom, sma=sma, symbol=symbol) df = pd.DataFrame(index=df_quotes.index) long_condition = np.logical_and(df_quotes.Close > df_atr_channel.top, df_quotes.Close.shift(1) < df_atr_channel.top.shift(1)) short_condition = np.logical_or(df_quotes.Close < df_atr_channel.bottom, df_quotes.Close < df_atr_channel.mid) df[symbol] = np.where(long_condition, 'LONG', np.where(short_condition, 'SHORT', 'HOLD')) df_positions = df_positions.join(df, how='outer') df_positions.to_pickle(fpath) return fname, df_positions def run_atr_channel_breakout_sma(symbols, df_group_quotes, prefix='ATRChannelSMA', top=7, bottom=3, sma=120, fast=100, slow=150): fname = '{}{}|{}|{}|{}|{}'.format(prefix, top, bottom, sma, fast, slow) fpath = SYSTEMS_PATH / '{}.pkl'.format(fname) if os.path.exists(fpath): return fname, pd.read_pickle(fpath) else: df_positions = pd.DataFrame() for symbol in symbols: print('Running', symbol) df_quotes = _trim_quotes(symbol, df_group_quotes) df_atr_channel = indicators.atr_channel(df_quotes, top=top, bottom=bottom, sma=sma, symbol=symbol) df_sma = indicators.SMA_cross(df_quotes, fast=fast, slow=slow, symbol=symbol) df = pd.DataFrame(index=df_quotes.index) long_condition = np.logical_and(np.logical_and(df_sma.FastSMA > df_sma.SlowSMA, df_quotes.Close > df_sma.FastSMA), np.logical_and(df_quotes.Close > df_atr_channel.top, df_quotes.Close.shift(1) < df_atr_channel.top.shift(1))) short_condition = np.logical_or(df_quotes.Close < df_atr_channel.bottom, df_quotes.Close < df_atr_channel.mid) df[symbol] = np.where(long_condition, 'LONG', np.where(short_condition, 'SHORT', 'HOLD')) df_positions = df_positions.join(df, how='outer') df_positions.to_pickle(fpath) return fname, df_positions def run_dcsma(symbols, df_group_quotes, prefix='DonchianSMA', high=50, low=50, fast=100, slow=150): fname = '{}{}|{}|{}|{}'.format(prefix, high, low, fast, slow) fpath = SYSTEMS_PATH / '{}.pkl'.format(fname) if os.path.exists(fpath): return fname, pd.read_pickle(fpath) else: df_positions = pd.DataFrame() for symbol in symbols: print('Running', symbol) df_quotes = _trim_quotes(symbol, df_group_quotes) df_donchian = indicators.donchian_channel(df_quotes, high=high, low=low, symbol=symbol) df_sma = indicators.SMA_cross(df_quotes, fast=fast, slow=slow, symbol=symbol) df = pd.DataFrame(index=df_quotes.index) long_condition = np.logical_and(np.logical_and(df_sma.FastSMA > df_sma.SlowSMA, df_quotes.Close > df_sma.FastSMA), np.logical_and(df_donchian.high.shift(1) < df_donchian.high, df_donchian.low.shift(1) <= df_donchian.low)) short_condition = np.logical_and(df_donchian.low.shift(1) > df_donchian.low, df_donchian.high.shift(1) >= df_donchian.high) df[symbol] = np.where(long_condition, 'LONG', np.where(short_condition, 'SHORT', 'HOLD')) df_positions = df_positions.join(df, how='outer') df_positions.to_pickle(fpath) return fname, df_positions def run_slsma(symbols, df_group_quotes, prefix='SLSMA', st_fast=5, st_slow=10, s_fast=40, s_slow=60, l_fast=100, l_slow=120): fname = '{}{}|{}|{}|{}|{}|{}'.format(prefix, st_fast, st_slow, s_fast, s_slow, l_fast, l_slow) fpath = SYSTEMS_PATH / '{}.pkl'.format(fname) if os.path.exists(fpath): return fname, pd.read_pickle(fpath) else: df_positions = pd.DataFrame() for symbol in symbols: print('Running', symbol) df_quotes = _trim_quotes(symbol, df_group_quotes) shortest_sma = indicators.SMA_cross(df_quotes, fast=st_fast, slow=st_slow, symbol=symbol) short_sma = indicators.SMA_cross(df_quotes, fast=s_fast, slow=s_slow, symbol=symbol) long_sma = indicators.SMA_cross(df_quotes, fast=l_fast, slow=l_slow, symbol=symbol) df = pd.DataFrame(index=df_quotes.index) long_condition = np.logical_and(np.logical_and(long_sma.FastSMA > long_sma.SlowSMA, short_sma.FastSMA > long_sma.FastSMA), np.logical_or(long_sma.FastCrossoverSlow == 1, np.logical_or(short_sma.FastCrossoverSlow == 1, np.logical_and(short_sma.FastSMA > short_sma.SlowSMA, shortest_sma.FastCrossoverSlow == 1)))) short_condition = short_sma.FastSMA < long_sma.FastSMA df[symbol] = np.where(long_condition, 'LONG', np.where(short_condition, 'SHORT', 'HOLD')) df_positions = df_positions.join(df, how='outer') df_positions.to_pickle(fpath) return fname, df_positions
58.057143
154
0.640912
2c6d98eac0f4d1ab27bed8405724fc767df4d05a
1,594
py
Python
tests/test_glob_files.py
fem-on-colab/open-in-colab-workflow
d5309ff527cbea8a536a8890c88a8cc39bdb8b3c
[ "MIT" ]
null
null
null
tests/test_glob_files.py
fem-on-colab/open-in-colab-workflow
d5309ff527cbea8a536a8890c88a8cc39bdb8b3c
[ "MIT" ]
null
null
null
tests/test_glob_files.py
fem-on-colab/open-in-colab-workflow
d5309ff527cbea8a536a8890c88a8cc39bdb8b3c
[ "MIT" ]
null
null
null
# Copyright (C) 2021-2022 by the FEM on Colab authors # # This file is part of FEM on Colab-related actions. # # SPDX-License-Identifier: MIT """Tests for the open_in_colab_workflow.glob_files package.""" import os from open_in_colab_workflow.glob_files import glob_files def test_glob_files_single_pattern(root_directory: str) -> None: """Test pattern matching while listing notebooks in a directory.""" data_directory = os.path.join(root_directory, "tests", "data") nb_pattern = os.path.join("replace_images_in_markdown", "*.ipynb") files = glob_files(data_directory, nb_pattern) assert files == { os.path.join(data_directory, nb_pattern).replace("*", nb_name) for nb_name in ( "html_and_markdown_images", "html_image", "image_and_code", "markdown_image")} def test_glob_files_multiple_patterns(root_directory: str) -> None: """Test pattern matching while listing notebooks and text files in a directory.""" data_directory = os.path.join(root_directory, "tests", "data") nb_pattern = os.path.join("replace_images_in_markdown", "*.ipynb") txt_pattern = os.path.join("upload_file_to_google_drive", "*.txt") files = glob_files(data_directory, nb_pattern + "\n" + txt_pattern) assert files == { os.path.join(data_directory, nb_pattern).replace("*", nb_name) for nb_name in ( "html_and_markdown_images", "html_image", "image_and_code", "markdown_image") }.union({ os.path.join(data_directory, txt_pattern).replace("*", txt_name) for txt_name in ( "existing_file", "new_file") })
44.277778
90
0.71079
051ddcccabc24120993b139401b507f6a5b3dff6
52
css
CSS
atividade/Tabela periodica/sodio.css
LucasssSiqueira/Atividade-Tabela_Periodica
bcdbac1884b11293e626bad44a1040e953a86f79
[ "MIT" ]
null
null
null
atividade/Tabela periodica/sodio.css
LucasssSiqueira/Atividade-Tabela_Periodica
bcdbac1884b11293e626bad44a1040e953a86f79
[ "MIT" ]
null
null
null
atividade/Tabela periodica/sodio.css
LucasssSiqueira/Atividade-Tabela_Periodica
bcdbac1884b11293e626bad44a1040e953a86f79
[ "MIT" ]
null
null
null
h1 { background-color: rgb(154, 156, 155); }
17.333333
41
0.557692
a1245aa606bd2afe3a9a3dd889708b9689b05951
2,335
ts
TypeScript
src/app/plan/scheme/form/editor/course-editor/allowed-term.component.ts
Gitjerryzhong/bell-tm-client
f115c02268ae29f23d0811b983cd9e9107da232d
[ "Apache-2.0" ]
13
2018-08-25T04:04:13.000Z
2021-09-27T03:46:02.000Z
src/app/plan/scheme/form/editor/course-editor/allowed-term.component.ts
todoubaba/bell-tm-client
a66786f327d026d0673170bd730f70bfbbd674cf
[ "Apache-2.0" ]
24
2019-02-01T02:34:06.000Z
2022-02-12T02:48:42.000Z
src/app/plan/scheme/form/editor/course-editor/allowed-term.component.ts
Gitjerryzhong/bell-tm-client
f115c02268ae29f23d0811b983cd9e9107da232d
[ "Apache-2.0" ]
8
2018-08-25T03:09:49.000Z
2020-12-21T02:22:07.000Z
import { Component, EventEmitter, Input, Output, SimpleChange, OnInit, OnChanges, forwardRef } from '@angular/core'; import { FormArray, FormControl, NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms'; import { getBit, setBit } from 'core/utils'; @Component({ selector: 'tm-allowed-term', templateUrl: 'allowed-term.component.html', providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AllowedTermComponent), multi: true }], }) export class AllowedTermComponent implements OnInit, OnChanges, ControlValueAccessor { @Input() value: number; @Input() suggestedTerm: number; @Input() terms: number[]; controls: FormArray; constructor() { } ngOnInit() { this.controls = new FormArray(this.terms.map(term => new FormControl({ value: getBit(this.value, term - 1), disabled: this.suggestedTerm === term, }))); this.controls.valueChanges.subscribe((values: boolean[]) => { // 被禁用的控件的值未包含在values中 values.splice(this.terms.indexOf(this.suggestedTerm), 0, true); this.setValue(values.reduce((prev, curr, i) => curr ? setBit(prev, this.terms[i] - 1) : prev, 0)); }); } ngOnChanges(changes: { [key: string]: SimpleChange }) { const suggestedTermChange = changes['suggestedTerm']; if (suggestedTermChange && !suggestedTermChange.isFirstChange()) { this.terms.forEach((term, i) => { const control = this.controls.at(i); if (suggestedTermChange.currentValue === term) { control.disable(); } else { control.enable(); } }); this.setValue(setBit(0, suggestedTermChange.currentValue - 1)); } } setValue(value: number) { this.value = value; this.terms.forEach((term, i) => this.controls.at(i).setValue(getBit(this.value, term - 1), { emitEvent: false })); this.onChange(this.value); } writeValue(value: any): void { this.setValue(value); } onChange = (_: any) => { }; onTouched = () => { }; registerOnChange(fn: (_: any) => void): void { this.onChange = fn; } registerOnTouched(fn: () => void): void { this.onTouched = fn; } }
32.887324
122
0.592291
14f9d9c4c252da2929467e532c0648e1c428882e
305
ts
TypeScript
@types/jdk/java.beans.beancontext.BeanContextProxy.d.ts
wizawu/1c
b8b3c5d915de264347f42c438493e6a948de6d5c
[ "MIT" ]
126
2017-05-01T01:58:18.000Z
2020-09-14T01:17:51.000Z
@types/jdk/java.beans.beancontext.BeanContextProxy.d.ts
wizawu/1c
b8b3c5d915de264347f42c438493e6a948de6d5c
[ "MIT" ]
17
2017-07-18T21:33:13.000Z
2020-09-01T15:00:57.000Z
@types/jdk/java.beans.beancontext.BeanContextProxy.d.ts
wizawu/1c
b8b3c5d915de264347f42c438493e6a948de6d5c
[ "MIT" ]
6
2018-06-26T13:10:22.000Z
2020-05-14T21:34:19.000Z
declare namespace java { namespace beans { namespace beancontext { interface BeanContextProxy$$lambda { (): java.beans.beancontext.BeanContextChild } interface BeanContextProxy { getBeanContextProxy(): java.beans.beancontext.BeanContextChild } } } }
19.0625
70
0.659016
1a51ce17e500d0f92115bda5567132b52e5563e6
117
py
Python
dartsclone/__init__.py
expnn/darts-clone-python
e78f4d8b2193e512f182e392829f1517dc46df15
[ "Apache-2.0" ]
null
null
null
dartsclone/__init__.py
expnn/darts-clone-python
e78f4d8b2193e512f182e392829f1517dc46df15
[ "Apache-2.0" ]
null
null
null
dartsclone/__init__.py
expnn/darts-clone-python
e78f4d8b2193e512f182e392829f1517dc46df15
[ "Apache-2.0" ]
null
null
null
from dartsclone._dartsclone import DoubleArray, TraverseState __all__ = [ "DoubleArray", "TraverseState", ]
16.714286
61
0.735043
cd9e696d555c6909bb287809d48a5f7d0df8aa5f
296
cs
C#
src/CleanArchitecture.Core/Features/Books/Read/GetBookById/GetBookByIdQuery.cs
henriquesd/CleanArchitecture
6302ea12e4fe9d19872d5ba2785fbee7c79f956c
[ "MIT" ]
null
null
null
src/CleanArchitecture.Core/Features/Books/Read/GetBookById/GetBookByIdQuery.cs
henriquesd/CleanArchitecture
6302ea12e4fe9d19872d5ba2785fbee7c79f956c
[ "MIT" ]
null
null
null
src/CleanArchitecture.Core/Features/Books/Read/GetBookById/GetBookByIdQuery.cs
henriquesd/CleanArchitecture
6302ea12e4fe9d19872d5ba2785fbee7c79f956c
[ "MIT" ]
null
null
null
using MediatR; namespace CleanArchitecture.Core.Features.Books.Read.GetBookById { public class GetBookByIdQuery : IRequest<GetBookByIdQueryResult> { public int BookId { get; } public GetBookByIdQuery(int bookId) { BookId = bookId; } } }
19.733333
68
0.635135
dbe06e4a836b94a844c731c2d61d1b2426d4dc2a
1,955
php
PHP
vendor/zelenin/yii2-semantic-ui/modules/CheckboxList.php
bswify/socialwifi2
8500b7197283a2e96439d58f2d8657ee7d03794d
[ "BSD-3-Clause" ]
131
2015-01-13T10:52:06.000Z
2021-12-10T17:31:52.000Z
vendor/zelenin/yii2-semantic-ui/modules/CheckboxList.php
bswify/socialwifi2
8500b7197283a2e96439d58f2d8657ee7d03794d
[ "BSD-3-Clause" ]
21
2015-01-27T16:13:35.000Z
2018-05-03T13:54:17.000Z
vendor/zelenin/yii2-semantic-ui/modules/CheckboxList.php
bswify/socialwifi2
8500b7197283a2e96439d58f2d8657ee7d03794d
[ "BSD-3-Clause" ]
68
2015-01-11T22:54:45.000Z
2021-08-01T19:58:39.000Z
<?php namespace Zelenin\yii\SemanticUI\modules; use Yii; use yii\helpers\ArrayHelper; use yii\helpers\Html; use Zelenin\yii\SemanticUI\InputWidget; class CheckboxList extends InputWidget { /** * @var array */ public $items = []; /** * @var mixed */ public $selection = null; /** * @var array */ public $labelOptions = []; /** * @var array */ public $inputOptions = []; /** * @var array */ public $listOptions = []; public function run() { $this->prepareOptions(); echo $this->renderInput(); } /** * @return string */ public function renderInput() { return $this->hasModel() ? Html::activeCheckboxList($this->model, $this->attribute, $this->items, $this->options) : Html::checkboxList($this->name, $this->selection, $this->items, $this->options); } /** * @return callable */ public function getDefaultItem() { return function ($index, $label, $name, $checked, $value) { $inputOptions = $this->inputOptions; $inputOptions['value'] = ArrayHelper::getValue($inputOptions, 'value', $value); return Html::tag( 'div', Checkbox::widget([ 'name' => $name, 'label' => $label, 'checked' => $checked, 'inputOptions' => $inputOptions, 'labelOptions' => $this->labelOptions ]), ['class' => 'field'] ); }; } public function prepareOptions() { $defaultItem = $this->getDefaultItem(); $this->options['item'] = ArrayHelper::getValue($this->options, 'item', $defaultItem); $this->options['itemOptions'] = $this->listOptions; Html::addCssClass($this->options, 'grouped inline fields'); } }
23.554217
100
0.510997
c3ae167e543a2c0e8f8f7c80d3da788fde89e5c9
569
cs
C#
src/Mocking.DataGenerator/Generators/IBANGenerator.cs
emrecaglar/MockDataGenerator
f092fbfe8254b4bc678ca5abab3f2f20c8f24946
[ "MIT" ]
14
2019-11-05T18:24:15.000Z
2019-11-06T10:46:42.000Z
src/Mocking.DataGenerator/Generators/IBANGenerator.cs
emrecaglar/MockDataGenerator
f092fbfe8254b4bc678ca5abab3f2f20c8f24946
[ "MIT" ]
15
2019-11-11T06:30:04.000Z
2020-01-20T05:18:25.000Z
src/Mocking.DataGenerator/Generators/IBANGenerator.cs
emrecaglar/MockDataGenerator
f092fbfe8254b4bc678ca5abab3f2f20c8f24946
[ "MIT" ]
2
2020-01-16T15:20:33.000Z
2021-07-29T07:42:36.000Z
using System.Globalization; using System.Linq; namespace Mocking.DataGenerator.Generators { public class IBANGenerator : RandomizerBase, IDataGenerator<string> { public string Get(CultureInfo culture) { var region = new RegionInfo(culture.LCID).TwoLetterISORegionName; return $"{region.ToUpper()}{Randomizer.Next(10, 99)} {Randomizer.Next(1000, 9999)} {Randomizer.Next(1000, 9999)} {Randomizer.Next(1000, 9999)} {Randomizer.Next(1000, 9999)} {Randomizer.Next(1000, 9999)} {Randomizer.Next(10, 99)}"; } } }
35.5625
242
0.683656
731c8586bd93c163f50f537f1d2d7dfdc2b3ab62
1,337
dart
Dart
lib/src/go_router_material.dart
peerwaya/go_router
24e30d898627d79a82492fdff622aa0c07abdbed
[ "BSD-3-Clause" ]
null
null
null
lib/src/go_router_material.dart
peerwaya/go_router
24e30d898627d79a82492fdff622aa0c07abdbed
[ "BSD-3-Clause" ]
null
null
null
lib/src/go_router_material.dart
peerwaya/go_router
24e30d898627d79a82492fdff622aa0c07abdbed
[ "BSD-3-Clause" ]
null
null
null
// ignore_for_file: diagnostic_describe_all_properties import 'package:flutter/material.dart'; import '../go_router.dart'; /// Checks for MaterialApp in the widget tree. bool isMaterialApp(Element elem) => elem.findAncestorWidgetOfExactType<MaterialApp>() != null; /// Builds a Material page. MaterialPage<void> pageBuilderForMaterialApp( LocalKey key, String restorationId, Widget child, ) => MaterialPage<void>( key: key, restorationId: restorationId, child: child, ); /// Default error page implementation for Material. class GoRouterMaterialErrorScreen extends StatelessWidget { /// Provide an exception to this page for it to be displayed. const GoRouterMaterialErrorScreen(this.error, {Key? key}) : super(key: key); /// The exception to be displayed. final Exception? error; @override Widget build(BuildContext context) => Scaffold( appBar: AppBar(title: const Text('Page Not Found')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ SelectableText(error?.toString() ?? 'page not found'), TextButton( onPressed: () => context.go('/'), child: const Text('Home'), ), ], ), ), ); }
28.446809
78
0.6365
44859328df3f60e44dd289d58a4af55f31742f3f
1,580
py
Python
master-node-docker/sentinel/config/swaps.py
ramesh-kr/sentinel
ff65bc9200f6c940aa184c0ec0872fdcfef25363
[ "MIT" ]
342
2017-08-21T20:12:56.000Z
2022-03-19T17:58:25.000Z
master-node-docker/sentinel/config/swaps.py
ramesh-kr/sentinel
ff65bc9200f6c940aa184c0ec0872fdcfef25363
[ "MIT" ]
57
2017-11-13T11:16:47.000Z
2022-03-01T13:54:31.000Z
master-node-docker/sentinel/config/swaps.py
smtcrms/sentinel
ff65bc9200f6c940aa184c0ec0872fdcfef25363
[ "MIT" ]
72
2017-11-23T05:13:24.000Z
2022-02-25T14:18:33.000Z
# coding=utf-8 BTC_BASED_COINS = { 'PIVX': { 'ip': '', 'port': 3000, 'url': '' } } ETHEREUM_BASED_COINS = ['ETH', 'BNB', 'SENT'] ADDRESS = ''.lower() PRIVATE_KEY = '' FEE_PERCENTAGE = 0.01 TOKENS = [ { 'address': ADDRESS, 'decimals': 18, 'logo_url': 'https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png', 'name': 'Ethereum', 'price_url': 'https://api.coinmarketcap.com/v1/ticker/ethereum/?convert=SENT', 'symbol': 'ETH', 'coin_type': 'erc20' }, { 'address': '0xb8c77482e45f1f44de1745f52c74426c631bdd52', 'decimals': 18, 'logo_url': 'https://s2.coinmarketcap.com/static/img/coins/64x64/1839.png', 'name': 'Binance Coin', 'price_url': 'https://api.coinmarketcap.com/v1/ticker/binance-coin/?convert=SENT', 'symbol': 'BNB', 'coin_type': 'erc20' }, { 'address': None, 'decimals': 0, 'logo_url': 'https://s2.coinmarketcap.com/static/img/coins/64x64/1169.png', 'name': 'PIVX', 'price_url': 'https://api.coinmarketcap.com/v1/ticker/pivx/?convert=SENT', 'symbol': 'PIVX', 'coin_type': 'btc_fork' }, { 'address': '0xa44e5137293e855b1b7bc7e2c6f8cd796ffcb037', 'decimals': 8, 'logo_url': 'https://s2.coinmarketcap.com/static/img/coins/64x64/2643.png', 'name': 'SENTinel', 'price_url': 'https://api.coinmarketcap.com/v1/ticker/sentinel/?convert=SENT', 'symbol': 'SENT', 'coin_type': 'erc20' } ]
30.384615
90
0.563291
43be1f15147b27c130d17ae76b7b2d6d185966cf
498
ts
TypeScript
test/sql/delete.test.ts
budiadiono/sqlite-ts
871274a3b2ec420798501d331730954bbebdbc69
[ "MIT" ]
15
2018-12-30T08:18:51.000Z
2021-11-17T00:57:13.000Z
test/sql/delete.test.ts
budiadiono/sqlite-ts
871274a3b2ec420798501d331730954bbebdbc69
[ "MIT" ]
2
2018-11-17T01:02:19.000Z
2019-12-20T12:07:10.000Z
test/sql/delete.test.ts
budiadiono/sqlite-ts
871274a3b2ec420798501d331730954bbebdbc69
[ "MIT" ]
null
null
null
import { Db } from '../../src' import { TestDriver } from './driver' import * as entities from './entity' test('sql-delete', done => { const driver = new TestDriver() Db.init({ driver, entities }).then(async ({ tables }) => { driver.reset() await tables.Person.delete() await tables.Person.delete().where(c => c.equals({ age: 28 })) expect(driver.sql).toEqual([ 'DELETE FROM "Person"', 'DELETE FROM "Person" WHERE "age" = 28' ]) done() }) })
20.75
66
0.574297
cde14af61f0ec6f45b88a81b6008b10ee338b982
3,505
cs
C#
src/Thalus.Markdown/Thalus.Markdown.Controls/ViewModels/MarkdownRenderControlModel.cs
ThalusUlysses/Thalus.Markdown
ca6e6be2616699f987b7f448994e7913caf3bcad
[ "MIT" ]
null
null
null
src/Thalus.Markdown/Thalus.Markdown.Controls/ViewModels/MarkdownRenderControlModel.cs
ThalusUlysses/Thalus.Markdown
ca6e6be2616699f987b7f448994e7913caf3bcad
[ "MIT" ]
null
null
null
src/Thalus.Markdown/Thalus.Markdown.Controls/ViewModels/MarkdownRenderControlModel.cs
ThalusUlysses/Thalus.Markdown
ca6e6be2616699f987b7f448994e7913caf3bcad
[ "MIT" ]
null
null
null
using System; using System.IO; using System.Runtime.CompilerServices; using System.Security; using System.Security.Cryptography.X509Certificates; using System.Windows.Input; namespace Thalus.Markdown.Controls.ViewModels { /// <summary> /// Implements the <see cref="MarkdownRenderControlModel"/> functionality to render a /// text as markdwon /// </summary> public class MarkdownRenderControlModel : ViewModelBase { private string _markdownText; private bool _isSelected; private bool _isNormal; private bool _isRaw; private bool _isButtonBarVisible; /// <summary> /// Creates an instance of <see cref="MarkdownRenderControlModel"/> with the passed /// parameters /// </summary> /// <param name="text">Pass the to be rendered text as markdown</param> /// <param name="buttonBarVisible"></param> public MarkdownRenderControlModel(string text, bool buttonBarVisible = false) { MarkdownText = text; Toggle = new RelayCommand(ExecuteToggle); IsNormal = true; _isButtonBarVisible = buttonBarVisible; PerformSaveCommand = new RelayCommand(Execute); } public string FullName { get; set; } private void Execute(object o) { try { var file = FullName; var text = MarkdownText; File.WriteAllText(file, text); } catch (Exception e) { Console.WriteLine(e); } } public bool IsButtonBarVisible { get { return _isButtonBarVisible; } set { _isButtonBarVisible = value; OnPropertyChanged(); } } public bool IsRaw { get { return _isRaw; } set { _isRaw = value; OnPropertyChanged(); } } public bool IsNormal { get { return _isNormal; } set { _isNormal = value; OnPropertyChanged(); } } private void ExecuteToggle(object o) { if (IsRaw) { IsRaw = false; IsNormal = true; } else if(IsNormal) { IsNormal = false; IsRaw = true; } } /// <summary> /// /// </summary> public bool IsSelected { get { return _isSelected; } set { if (_isSelected == value) { return; } _isSelected = value; OnPropertyChanged(); } } public ICommand Toggle { get; set; } /// <summary> /// Gets the markdown tetx representation as <see cref="string"/> /// </summary> public string MarkdownText { get => _markdownText; set { if (_markdownText == value) { return; } _markdownText = value; OnPropertyChanged(); } } public ICommand PerformSaveCommand { get; set; } } }
24.858156
91
0.467332
68c58342ae2b4fae0a78843f8b266976ea89a588
658
rb
Ruby
app/models/file_setting.rb
tamaloa/kavau
15d0487043177c88a0c89612a09579fd020ab1cc
[ "MIT" ]
3
2016-04-28T09:08:58.000Z
2017-03-10T18:56:56.000Z
app/models/file_setting.rb
CollegiumAcademicum/kavau
5cb48749573f48f3adc36983b29874ccfeadad52
[ "MIT" ]
9
2016-06-07T09:56:10.000Z
2022-03-30T23:04:17.000Z
app/models/file_setting.rb
CollegiumAcademicum/kavau
5cb48749573f48f3adc36983b29874ccfeadad52
[ "MIT" ]
5
2016-02-22T12:29:52.000Z
2019-09-15T11:37:25.000Z
class FileSetting < Setting has_attached_file :attachment do_not_validate_attachment_file_type :attachment validate :accepted_content_type def accepted_content_type return if attachment_file_name == nil return if accepted_types.include?(attachment_content_type) errors.add(:attachment_content_type, :invalid, accepted_types: accepted_types.to_sentence) end def accepted_types self[:accepted_types].split(',').map(&:strip) end def value return nil unless attachment? attachment.path end def destroy self.attachment = nil save end def form_field_partial 'settings/file_setting_field' end end
21.225806
94
0.761398
8312609d5876148485d580a0fb30a83986a55cf8
24
ts
TypeScript
node_modules/vuepress-plugin-smooth-scroll/types/index.d.ts
hbc007/DPlayer
4e8c63bb265cc5ed4e76ecfd5f919101882fdbab
[ "MIT" ]
501
2019-11-22T07:19:06.000Z
2022-03-28T07:16:40.000Z
docs/node_modules/vuepress-plugin-smooth-scroll/types/index.d.ts
bei-gui/jnvc-ctf
eb7002999700da81b5f9de4a28bc40b97631ddd4
[ "Apache-2.0" ]
58
2019-12-02T13:59:15.000Z
2022-02-26T01:53:52.000Z
node_modules/vuepress-plugin-smooth-scroll/types/index.d.ts
chouchouyu/blog
d675bca2a326bac53be906041e9dc0a75f6a3498
[ "MIT" ]
128
2019-12-02T11:15:58.000Z
2022-03-27T08:25:59.000Z
declare const path: any
12
23
0.791667
ef6cd982ea61f0f7cb6ca162c5b81df78ca9d2fd
597
h
C
System/Library/PrivateFrameworks/TVSystemUI.framework/_TVSUIRenderingUtilities.h
lechium/tvOS124Headers
11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475
[ "MIT" ]
4
2019-08-27T18:03:47.000Z
2021-09-18T06:29:00.000Z
System/Library/PrivateFrameworks/TVSystemUI.framework/_TVSUIRenderingUtilities.h
lechium/tvOS124Headers
11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475
[ "MIT" ]
null
null
null
System/Library/PrivateFrameworks/TVSystemUI.framework/_TVSUIRenderingUtilities.h
lechium/tvOS124Headers
11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475
[ "MIT" ]
null
null
null
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:50:28 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/PrivateFrameworks/TVSystemUI.framework/TVSystemUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #import <TVSystemUI/TVSystemUI-Structs.h> @interface _TVSUIRenderingUtilities : NSObject +(IOSurfaceRef)createIOSurfaceWithSize:(CGSize)arg1 gamut:(long long)arg2 isOpaque:(BOOL)arg3 ; +(unsigned long long)mtlPixelFormatForIOSurface:(IOSurfaceRef)arg1 ; @end
37.3125
95
0.792295
60587ef1740ada1d58dd305158eea2de28abc133
60
asm
Assembly
gfx/pokemon/delibird/anim_idle.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
gfx/pokemon/delibird/anim_idle.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
gfx/pokemon/delibird/anim_idle.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
setrepeat 4 frame 4, 06 frame 5, 06 dorepeat 1 endanim
10
12
0.7
72b4a81c8998ecd746536f338de34c91747bbf68
3,897
cs
C#
Assets/Watson/Examples/ServiceExamples/Scripts/ExampleNaturalLanguageUnderstandingV1.cs
bblwq/CSC491
88d1664e2af74bef6b6c1265da2dfae2604047e8
[ "MIT" ]
1
2019-01-25T01:06:07.000Z
2019-01-25T01:06:07.000Z
Assets/Watson/Examples/ServiceExamples/Scripts/ExampleNaturalLanguageUnderstandingV1.cs
bblwq/CSC491
88d1664e2af74bef6b6c1265da2dfae2604047e8
[ "MIT" ]
null
null
null
Assets/Watson/Examples/ServiceExamples/Scripts/ExampleNaturalLanguageUnderstandingV1.cs
bblwq/CSC491
88d1664e2af74bef6b6c1265da2dfae2604047e8
[ "MIT" ]
null
null
null
/** * Copyright 2015 IBM Corp. All Rights Reserved. * * 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. * */ using FullSerializer; using IBM.Watson.DeveloperCloud.Logging; using IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1; using IBM.Watson.DeveloperCloud.Utilities; using System.Collections; using UnityEngine; public class ExampleNaturalLanguageUnderstandingV1 : MonoBehaviour { private string _username = null; private string _password = null; private string _url = null; private fsSerializer _serializer = new fsSerializer(); NaturalLanguageUnderstanding _naturalLanguageUnderstanding; private bool _getModelsTested = false; private bool _analyzeTested = false; void Start() { LogSystem.InstallDefaultReactors(); // Create credential and instantiate service Credentials credentials = new Credentials(_username, _password, _url); _naturalLanguageUnderstanding = new NaturalLanguageUnderstanding(credentials); Runnable.Run(Examples()); } private IEnumerator Examples() { Log.Debug("ExampleNaturalLanguageUnderstandingV1", "attempting to get models..."); if (!_naturalLanguageUnderstanding.GetModels(OnGetModels)) Log.Debug("ExampleNaturalLanguageUnderstandingV1", "Failed to get models."); while (!_getModelsTested) yield return null; Parameters parameters = new Parameters() { text = "Analyze various features of text content at scale. Provide text, raw HTML, or a public URL, and IBM Watson Natural Language Understanding will give you results for the features you request. The service cleans HTML content before analysis by default, so the results can ignore most advertisements and other unwanted content.", return_analyzed_text = true, language = "en", features = new Features() { entities = new EntitiesOptions() { limit = 50, sentiment = true, emotion = true, }, keywords = new KeywordsOptions() { limit = 50, sentiment = true, emotion = true } } }; Log.Debug("ExampleNaturalLanguageUnderstandingV1", "attempting to analyze..."); if (!_naturalLanguageUnderstanding.Analyze(OnAnalyze, parameters)) Log.Debug("ExampleNaturalLanguageUnderstandingV1", "Failed to get models."); while (!_analyzeTested) yield return null; Log.Debug("ExampleNaturalLanguageUnderstandingV1", "Natural language understanding examples complete."); } private void OnGetModels(ListModelsResults resp, string customData) { fsData data = null; _serializer.TrySerialize(resp, out data).AssertSuccess(); Log.Debug("ExampleNaturalLanguageUnderstandingV1", "ListModelsResult: {0}", data.ToString()); _getModelsTested = true; } private void OnAnalyze(AnalysisResults resp, string customData) { fsData data = null; _serializer.TrySerialize(resp, out data).AssertSuccess(); Log.Debug("ExampleNaturalLanguageUnderstandingV1", "AnalysisResults: {0}", data.ToString()); _analyzeTested = true; } }
36.764151
345
0.669489
af65ac15bafb12ede3cd674e94f97ae53b41c161
11,240
py
Python
tests/test_knowbert.py
XuhuiZhou/kb
4c37bbccd6c871828aceb24b342841825d86df14
[ "Apache-2.0" ]
295
2019-11-04T16:01:03.000Z
2022-03-31T15:34:53.000Z
tests/test_knowbert.py
XuhuiZhou/kb
4c37bbccd6c871828aceb24b342841825d86df14
[ "Apache-2.0" ]
30
2019-11-14T03:15:05.000Z
2022-03-04T17:34:59.000Z
tests/test_knowbert.py
XuhuiZhou/kb
4c37bbccd6c871828aceb24b342841825d86df14
[ "Apache-2.0" ]
45
2019-11-08T06:14:01.000Z
2022-03-14T06:16:37.000Z
import unittest import torch from allennlp.common import Params from allennlp.data import Vocabulary, DatasetReader from allennlp.data.iterators import BasicIterator from allennlp.models import Model from kb.include_all import ModelArchiveFromParams from kb.kg_embedding import KGTupleReader from kb.knowbert import EntityDisambiguator, KnowBert from kb.knowbert import EntityLinkingWithCandidateMentions, SolderedKG ARCHIVE_FILE = "tests/fixtures/kg_embeddings/tucker_wordnet/model.tar.gz" def get_fixtures(include_gold_entities=False, include_lm_labels=True, include_contextual_embeddings=False): vocab = Vocabulary.from_params(Params({ "directory_path": "tests/fixtures/kg_embeddings/tucker_wordnet/vocabulary", })) batch = {'next_sentence_label': torch.tensor([0, 1, 1]), 'tokens': {'tokens': torch.tensor([[16, 16, 11, 1, 1, 1, 17, 1, 1, 1], [16, 16, 1, 12, 1, 17, 1, 1, 1, 1], [16, 16, 1, 1, 17, 1, 13, 17, 17, 0]])}, 'segment_ids': torch.tensor([[0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [0, 0, 0, 0, 1, 1, 1, 0, 0, 0]]), 'lm_label_ids': {'lm_labels': torch.tensor( [[0, 1, 0, 0, 13, 0, 1, 1, 13, 0], [0, 0, 1, 0, 0, 2, 1, 1, 13, 0], [0, 1, 1, 0, 1, 1, 0, 0, 0, 0]])}, 'candidates': {'wordnet': {'candidate_entity_priors': torch.tensor( [[[1.0000, 0.0000, 0.0000, 0.0000, 0.0000], [0.0000, 0.0000, 0.0000, 0.0000, 0.0000]], [[0.2500, 0.2500, 0.2500, 0.2500, 0.0000], [0.2000, 0.2000, 0.2000, 0.2000, 0.2000]], [[1.0000, 0.0000, 0.0000, 0.0000, 0.0000], [0.0000, 0.0000, 0.0000, 0.0000, 0.0000]]]), 'candidate_entities': {'ids': torch.tensor( [[[ 67, 0, 0, 0, 0], [ 0, 0, 0, 0, 0]], [[344, 349, 354, 122, 0], [101, 46, 445, 25, 28]], [[ 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0]]])}, 'candidate_segment_ids': torch.tensor([[0, 1], [0, 1], [0, 0]]), 'candidate_spans': torch.tensor( [[[ 1, 1], [-1, -1]], [[ 1, 1], [ 4, 4]], [[-1, -1], [-1, -1]]])}}} if include_gold_entities: batch['gold_entities'] = { 'wordnet': {'ids': torch.tensor( [[[ 67], [0]], [[ 349], [ 46]], [[0], [0]]])}} if not include_lm_labels: del batch['next_sentence_label'] del batch['lm_label_ids'] if include_contextual_embeddings: batch_size, timesteps = batch['tokens']['tokens'].shape batch['contextual_embeddings'] = torch.rand(batch_size, timesteps, 12) batch['tokens_mask'] = batch['tokens']['tokens'] > 0 del batch['tokens'] return vocab, batch class TestEntityDisambiguator(unittest.TestCase): def test_entity_disambiguator(self): vocab, batch = get_fixtures() contextual_embedding_dim = 12 entity_embedding_dim = 11 entity_embeddings = torch.nn.Embedding(500, entity_embedding_dim) disambiguator = EntityDisambiguator( contextual_embedding_dim, entity_embedding_dim, entity_embeddings, weighted_entity_threshold=0.3, null_entity_id=499 ) batch_size, timesteps = batch['tokens']['tokens'].shape contextual_embeddings = torch.rand(batch_size, timesteps, contextual_embedding_dim) output = disambiguator( contextual_embeddings, batch['tokens']['tokens'] > 0, batch['candidates']['wordnet']['candidate_spans'], batch['candidates']['wordnet']['candidate_entities']['ids'], batch['candidates']['wordnet']['candidate_entity_priors'], batch['candidates']['wordnet']['candidate_segment_ids'] ) _, num_spans, num_candidates = batch['candidates']['wordnet']['candidate_entities']['ids'].shape self.assertEqual( list(output['linking_scores'].shape), [batch_size, num_spans, num_candidates] ) self.assertEqual( list(output['weighted_entity_embeddings'].shape), [batch_size, num_spans, entity_embedding_dim] ) class TestEntityLinkingWithCandidateMentions(unittest.TestCase): def _get_model(self, vocab): params = Params({ "type": "entity_linking_with_candidate_mentions", "kg_model": { "type": "from_archive", "archive_file": ARCHIVE_FILE, }, "contextual_embedding_dim": 12, }) model = Model.from_params(params, vocab=vocab) model.unfreeze(None) return model def test_entity_linking(self): vocab, batch = get_fixtures(include_gold_entities=True, include_lm_labels=False, include_contextual_embeddings=True) model = self._get_model(vocab) output = model( batch['contextual_embeddings'], batch['tokens_mask'], gold_entities=batch['gold_entities']['wordnet'], **batch['candidates']['wordnet']) self.assertTrue('loss' in output) class TestSolderedKG(unittest.TestCase): def test_soldered_kg(self): vocab, batch = get_fixtures(include_gold_entities=True, include_lm_labels=False, include_contextual_embeddings=True) params = Params({ "type": "soldered_kg", "entity_linker": { "type": "entity_linking_with_candidate_mentions", "kg_model": { "type": "from_archive", "archive_file": ARCHIVE_FILE, }, "contextual_embedding_dim": 12, }, "span_attention_config": { "hidden_size": 24, "num_hidden_layers": 2, "num_attention_heads": 4, "intermediate_size": 55 } }) model = Model.from_params(params, vocab=vocab) model.unfreeze(None) output = model( batch['contextual_embeddings'], batch['tokens_mask'], **batch['candidates']['wordnet'] ) self.assertEqual( batch['contextual_embeddings'].shape, output['contextual_embeddings'].shape ) def get_knowbert(vocab, mode, include_wiki=False): params = { "type": "knowbert", "mode": mode, "soldered_kgs": { "wordnet": { "type": "soldered_kg", "entity_linker": { "type": "entity_linking_with_candidate_mentions", "kg_model": { "type": "from_archive", "archive_file": ARCHIVE_FILE, }, "contextual_embedding_dim": 12, "max_sequence_length": 64, "span_encoder_config": { "hidden_size": 24, "num_hidden_layers": 1, "num_attention_heads": 3, "intermediate_size": 37 }, }, "span_attention_config": { "hidden_size": 24, "num_hidden_layers": 2, "num_attention_heads": 4, "intermediate_size": 55 } }, }, "soldered_layers": {"wordnet": 1}, "bert_model_name": "tests/fixtures/bert/bert_test_fixture.tar.gz", } if include_wiki: params["soldered_kgs"]["wiki"] = { "type": "soldered_kg", "entity_linker": { "type": "entity_linking_with_candidate_mentions", "namespace": "entity_wiki", "entity_embedding": { "num_embeddings": 14, "embedding_dim": 24, }, "contextual_embedding_dim": 12, "max_sequence_length": 64, "span_encoder_config": { "hidden_size": 24, "num_hidden_layers": 1, "num_attention_heads": 3, "intermediate_size": 37 }, }, "span_attention_config": { "hidden_size": 24, "num_hidden_layers": 1, "num_attention_heads": 4, "intermediate_size": 55 } } params["soldered_layers"]["wiki"] = 0 params["soldered_kgs"]["wordnet"]["entity_linker"]["namespace"] = "entity_wordnet" model = Model.from_params(Params(params), vocab=vocab) return model class TestKnowBert(unittest.TestCase): def test_knowbert_el(self): vocab, batch = get_fixtures(include_gold_entities=True) model = get_knowbert(vocab, None) output = model(**batch) loss = output['loss'] loss.backward() self.assertTrue(True) def test_knowbert_el_pretrain(self): vocab, batch = get_fixtures(include_gold_entities=True) model = get_knowbert(vocab, 'entity_linking') output = model(**batch) loss = output['loss'] loss.backward() self.assertTrue(True) def test_knowbert_simple(self): vocab, batch = get_fixtures() model = get_knowbert(vocab, None) output = model(**batch) loss = output['loss'] loss.backward() self.assertTrue(True) class TestKnowBertWikiWordnet(unittest.TestCase): def test_knowbert_wiki_wordnet(self): from kb.testing import get_bert_pretraining_reader_with_kg reader = get_bert_pretraining_reader_with_kg( mask_candidate_strategy='full_mask', masked_lm_prob=0.35, include_wiki=True) instances = reader.read("tests/fixtures/bert_pretraining/shard1.txt") vocab = Vocabulary.from_params(Params({ "directory_path": "tests/fixtures/wordnet_wiki_vocab", })) iterator = BasicIterator() iterator.index_with(vocab) for batch in iterator(instances, num_epochs=1, shuffle=False): pass # hack, incompatitable fixtures... batch['tokens']['tokens'] = torch.min(batch['tokens']['tokens'], torch.tensor([17])) batch['lm_label_ids']['lm_labels'] = torch.min(batch['lm_label_ids']['lm_labels'], torch.tensor([17])) model = get_knowbert(vocab, None, include_wiki=True) output = model(**batch) loss = output['loss'] loss.backward() self.assertTrue(True) if __name__ == '__main__': unittest.main()
34.164134
110
0.528025
a132e3d8a5fa55142ca58bc5432eb4bd26876ef8
146
ts
TypeScript
src/lib/canvas2image/html2canvas.d.ts
fatesigner/utils
e41889084269ae7bf8b128efb6790446ad045583
[ "MIT" ]
3
2020-09-11T02:31:39.000Z
2021-05-21T07:48:54.000Z
src/lib/canvas2image/html2canvas.d.ts
fatesigner/utils
e41889084269ae7bf8b128efb6790446ad045583
[ "MIT" ]
5
2021-06-18T07:46:19.000Z
2021-09-22T08:51:57.000Z
src/lib/canvas2image/html2canvas.d.ts
fatesigner/utils
e41889084269ae7bf8b128efb6790446ad045583
[ "MIT" ]
1
2020-09-02T07:22:26.000Z
2020-09-02T07:22:26.000Z
/** * html2canvas.d */ declare function html2canvas(dom: HTMLElement, options?: any): Promise<HTMLCanvasElement>; export default html2canvas;
18.25
90
0.753425
eb449c51a0127c539115eae25e70e025110c68c2
53,367
css
CSS
public/stylesheets/sites/commoncauses.css
marcomoura/catarse
9f14c56682e36f3d8a2d4840053acab9c0b9b93c
[ "MIT" ]
1
2020-02-05T01:43:19.000Z
2020-02-05T01:43:19.000Z
public/stylesheets/sites/commoncauses.css
marcomoura/catarse
9f14c56682e36f3d8a2d4840053acab9c0b9b93c
[ "MIT" ]
null
null
null
public/stylesheets/sites/commoncauses.css
marcomoura/catarse
9f14c56682e36f3d8a2d4840053acab9c0b9b93c
[ "MIT" ]
null
null
null
/* line 3, ../../../app/stylesheets/sites/commoncauses.sass */ body#site { background: #252525; text-shadow: transparent 0px 0px 0px; } /* line 6, ../../../app/stylesheets/sites/commoncauses.sass */ body#site a { color: #679c08; } /* line 8, ../../../app/stylesheets/sites/commoncauses.sass */ body#site a:hover { color: #87bc28; } /* line 11, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input[type=submit] { color: white; text-shadow: transparent 0 0 0; font-weight: normal; background-color: #87bd29; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #87bd29), color-stop(100%, #87bd29)); background-image: -moz-linear-gradient(top, #87bd29 0%, #87bd29 100%); background-image: linear-gradient(top, #87bd29 0%, #87bd29 100%); -moz-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; } /* line 18, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input[type=submit]:hover { background-color: #8cc22e; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #8cc22e), color-stop(100%, #8cc22e)); background-image: -moz-linear-gradient(top, #8cc22e 0%, #8cc22e 100%); background-image: linear-gradient(top, #8cc22e 0%, #8cc22e 100%); -moz-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; } /* line 22, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input[type=submit]:active { text-shadow: transparent 0 0 0; background-color: #87bd29; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #87bd29), color-stop(100%, #87bd29)); background-image: -moz-linear-gradient(top, #87bd29 0%, #87bd29 100%); background-image: linear-gradient(top, #87bd29 0%, #87bd29 100%); -moz-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; } /* line 27, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input[type=submit]:disabled { color: #717171; text-shadow: transparent 0 0 0; padding: 10px 15px; background-color: #bcbcbc; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #bcbcbc), color-stop(100%, #bcbcbc)); background-image: -moz-linear-gradient(top, #bcbcbc 0%, #bcbcbc 100%); background-image: linear-gradient(top, #bcbcbc 0%, #bcbcbc 100%); -moz-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) 1px 1px 6px 0; } /* line 34, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input.ok, body#site form textarea.ok { background: url("/images/sites/multidao/tick.png") no-repeat 99% center; } /* line 36, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input.error, body#site form textarea.error { background: url("/images/sites/multidao/delete.png") no-repeat 99% center; } /* line 38, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form input.loading, body#site form textarea.loading { background: url("/images/sites/multidao/loading.gif") no-repeat 99% center; } /* line 40, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form select.ok { background: url("/images/sites/multidao/tick.png") no-repeat 86% center; } /* line 42, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form select.error { background: url("/images/sites/multidao/delete.png") no-repeat 86% center; } /* line 44, ../../../app/stylesheets/sites/commoncauses.sass */ body#site form select.loading { background: url("/images/sites/multidao/loading.gif") no-repeat 86% center; } /* line 46, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .important { -moz-box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; text-shadow: transparent 0 0 0; background-color: #ffaaaa; } /* line 50, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .overlay { background-color: #333333; background: rgba(0, 0, 0, 0.8); } /* line 53, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #login, body#site #project_description #project_video #project_embed { background-color: #006a32; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #208a52), color-stop(50%, #107a42), color-stop(100%, #006a32)); background-image: -moz-linear-gradient(top, #208a52 0%, #107a42 50%, #006a32 100%); background-image: linear-gradient(top, #208a52 0%, #107a42 50%, #006a32 100%); border: 5px solid white; -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; text-shadow: transparent 0 0 0; } /* line 60, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #login h1, body#site #project_description #project_video #project_embed h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 24px; margin-bottom: 10px; } /* line 64, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #login a.close, body#site #project_description #project_video #project_embed a.close { background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #208a52), color-stop(50%, #107a42), color-stop(100%, #006a32)); background-image: -moz-linear-gradient(top, #208a52 0%, #107a42 50%, #006a32 100%); background-image: linear-gradient(top, #208a52 0%, #107a42 50%, #006a32 100%); -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; } /* line 68, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #login #project_box_embed textarea, body#site #project_description #project_video #project_embed #project_box_embed textarea { background-color: #ddffff; } /* line 71, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #login #project_video_embed textarea, body#site #project_description #project_video #project_embed #project_video_embed textarea { background-color: #ddffff; } /* line 74, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #pre_header { background-color: #006a32; } /* line 76, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #menu { font-size: 16px; } /* line 78, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #menu a { color: #006a32; } /* line 80, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #menu a:hover { color: #008a52; } /* line 83, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user a { font-size: 16px; color: #666666; } /* line 86, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user a img#display_image { -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; border: 1px solid #666666; } /* line 89, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user .hover { color: #eeeeee; text-shadow: rgba(0, 0, 0, 0.9) 0px 0px 0px; background-color: #0c0c0c; background-color: rgba(12, 12, 12, 0.9); } /* line 94, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user .hover img#display_image { -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; } /* line 96, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #main { width: 100%; } /* line 98, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #header_wrapper { background: #bbbbbb; } /* line 100, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #header { width: 936px; margin: 0 auto; } /* line 103, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #header h1 { font-family: "museo-500"; padding: 20px 0; } /* line 106, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #header h1 a { color: white; font-size: 36px; text-shadow: transparent 0px 0px 0px; } /* line 110, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #header h1 a:hover { text-shadow: transparent 0px 0px 0px; } /* line 112, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_header_wrapper { background: #e5e5e5; -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0px inset; -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0px inset; -o-box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0px inset; box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px 0px inset; } /* line 115, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper { background: white; -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; -ms-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; } /* line 118, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header { width: 936px; padding: 24px 0 32px 0; margin: 0 auto; -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; -ms-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; background-color: transparent; color: #3c3c3c; text-shadow: transparent 0px 0px 0px; } /* line 127, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 38px; line-height: 38px; text-align: left; font-weight: bold; text-shadow: transparent 0px 0px 0px; letter-spacing: -2px; padding-bottom: 16px; } /* line 136, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header h1 a { color: #006a32; font-weight: bold; -moz-transition-property: all; -webkit-transition-property: all; -o-transition-property: all; transition-property: all; -moz-transition-duration: 1s; -webkit-transition-duration: 1s; -o-transition-duration: 1s; transition-duration: 1s; } /* line 140, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header h1 a:hover { color: #008a52; text-shadow: transparent 0px 0px 0px; } /* line 143, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header h2 { text-shadow: transparent 0px 0px 0px; text-align: left; padding: 0; color: #4c4c4c; } /* line 148, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header h2 a { color: #006a32; font-weight: bold; -moz-transition-property: all; -webkit-transition-property: all; -o-transition-property: all; transition-property: all; -moz-transition-duration: 1s; -webkit-transition-duration: 1s; -o-transition-duration: 1s; transition-duration: 1s; } /* line 152, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header h2 a:hover { color: #008a52; text-shadow: transparent 0px 0px 0px; } /* line 155, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header #badge { top: 32px; } /* line 158, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header #index_header .video { float: left; width: 620px; } /* line 161, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header #index_header .text { margin-top: 16px; width: 270px; float: right; } /* line 165, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header #index_header .text h1 { font-size: 24px; line-height: 28px; letter-spacing: normal; } /* line 169, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content_header #index_header .text h2 { text-transform: none; } /* line 171, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content { width: 936px; padding: 40px 0; margin: 0 auto; } /* line 175, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #5d8838; } /* line 178, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #content_wrapper #content h2 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #5d8838; } /* line 181, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer { font-size: 16px; } /* line 183, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #footer_menu { width: 800px; padding-bottom: 40px; } /* line 186, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #footer_menu ul { margin: 0; padding: 0; border: 0; outline: 0; overflow: hidden; *zoom: 1; } /* line 51, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #footer #footer_menu ul li { list-style-image: none; list-style-type: none; margin-left: 0px; white-space: nowrap; display: inline; float: left; padding-left: 56px; padding-right: 56px; } /* line 43, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #footer #footer_menu ul li:first-child, body#site #footer #footer_menu ul li.first { padding-left: 0px; } /* line 44, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #footer #footer_menu ul li:last-child, body#site #footer #footer_menu ul li.last { padding-right: 0px; } /* line 189, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #footer_menu ul li a { font-weight: normal; color: white; } /* line 192, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #social_menu { width: 800px; } /* line 194, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #social_menu img { margin-right: 4px; height: 32px; } /* line 197, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #social_menu ul { margin: 0; padding: 0; border: 0; outline: 0; overflow: hidden; *zoom: 1; } /* line 51, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #footer #social_menu ul li { list-style-image: none; list-style-type: none; margin-left: 0px; white-space: nowrap; display: inline; float: left; padding-left: 36px; padding-right: 36px; } /* line 43, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #footer #social_menu ul li:first-child, body#site #footer #social_menu ul li.first { padding-left: 0px; } /* line 44, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #footer #social_menu ul li:last-child, body#site #footer #social_menu ul li.last { padding-right: 0px; } /* line 200, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #social_menu ul li a { font-weight: normal; color: #aaaaaa; } /* line 203, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #colophon { width: 936px; } /* line 205, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #colophon img { vertical-align: middle; } /* line 207, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #footer #colophon #powered_by { float: right; } /* line 210, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_list_wrapper { height: 448px; } /* line 212, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box { border: none; -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; -ms-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; color: #999999; margin-bottom: 48px; } /* line 217, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .status_image { top: 0; left: 0; } /* line 221, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_header h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-weight: bold; color: #4c525e !important; line-height: 14px !important; } /* line 226, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_header .project_image { -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; -ms-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; height: 195px; width: 264px; margin: 0; margin-bottom: 6px; } /* line 232, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_header .project_image img { max-width: 264px; height: 195px; width: 264px; } /* line 236, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_header a:hover { text-shadow: transparent 0 0 0; } /* line 238, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_category { text-align: left; font-size: 12px; top: 169px; width: 244px; } /* line 243, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_owner { padding-top: 4px; } /* line 245, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_wrap { min-height: 320px; width: 264px; padding: 0; } /* line 249, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_progress { text-transform: none; color: #999999; background: transparent; padding: 10px 0; font-size: 11px; } /* line 255, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_progress .progress_bar { font-size: 4px; line-height: 10px; width: 264px; } /* line 259, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_progress .progress_info { text-transform: uppercase; width: 264px; margin: 0 auto; } /* line 261, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_progress .progress_info strong { color: #4c525e; text-transform: none; } /* line 266, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .project_box .project_progress .progress_info ul { margin: 0; padding: 0; border: 0; outline: 0; overflow: hidden; *zoom: 1; } /* line 51, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site .project_box .project_progress .progress_info ul li { list-style-image: none; list-style-type: none; margin-left: 0px; white-space: nowrap; display: inline; float: left; padding-left: 18px; padding-right: 18px; } /* line 43, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site .project_box .project_progress .progress_info ul li:first-child, body#site .project_box .project_progress .progress_info ul li.first { padding-left: 0px; } /* line 44, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site .project_box .project_progress .progress_info ul li:last-child, body#site .project_box .project_progress .progress_info ul li.last { padding-right: 0px; } /* line 268, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .progress_bar { background-color: #ced3cf; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } /* line 271, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .progress_bar .progress { background-color: #8bcb53; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; -ms-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; } /* line 275, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box { background-color: white; } /* line 278, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box .project_header .project_image { margin: -10px 0 6px -10px; } /* line 280, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box .project_wrap { width: 244px; padding: 0 10px; } /* line 283, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box .project_progress { padding-bottom: 20px; } /* line 285, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box .project_progress .progress_bar { width: 244px; } /* line 287, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box .project_progress .progress_info { padding: 0 10px; width: 244px; } /* line 290, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #embed .project_box .project_progress .progress_info ul { margin: 0; padding: 0; border: 0; outline: 0; overflow: hidden; *zoom: 1; } /* line 51, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #embed .project_box .project_progress .progress_info ul li { list-style-image: none; list-style-type: none; margin-left: 0px; white-space: nowrap; display: inline; float: left; padding-left: 12px; padding-right: 12px; } /* line 43, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #embed .project_box .project_progress .progress_info ul li:first-child, body#site #embed .project_box .project_progress .progress_info ul li.first { padding-left: 0px; } /* line 44, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #embed .project_box .project_progress .progress_info ul li:last-child, body#site #embed .project_box .project_progress .progress_info ul li.last { padding-right: 0px; } /* line 293, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev, body#site .navigation .next { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-weight: normal; top: 0; width: 20px; height: 388px; border: none; -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; -ms-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; background-color: #6ab9e0; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #6ab9e0), color-stop(100%, #6ab9e0)); background-image: -moz-linear-gradient(top, #6ab9e0 0%, #6ab9e0 100%); background-image: linear-gradient(top, #6ab9e0 0%, #6ab9e0 100%); -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; font-size: 20px; line-height: 20px; } /* line 306, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev:hover, body#site .navigation .next:hover { -moz-transform: scale(1); -webkit-transform: scale(1); -o-transform: scale(1); transform: scale(1); width: 24px; } /* line 309, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev:disabled, body#site .navigation .next:disabled { color: #a1a1a1; border: none; text-shadow: transparent 0 0 0; background-color: #c8c8c8; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #c8c8c8), color-stop(100%, #c8c8c8)); background-image: -moz-linear-gradient(top, #c8c8c8 0%, #c8c8c8 100%); background-image: linear-gradient(top, #c8c8c8 0%, #c8c8c8 100%); } /* line 315, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev:disabled:hover, body#site .navigation .next:disabled:hover { -moz-transform: scale(1); -webkit-transform: scale(1); -o-transform: scale(1); transform: scale(1); width: 20px; } /* line 318, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev { left: -6px !important; } /* line 320, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev:hover { left: -10px !important; } /* line 323, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .prev:disabled:hover { left: -6px !important; } /* line 325, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .next { right: -6px !important; } /* line 327, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .next:hover { right: -10px !important; } /* line 330, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .navigation .next:disabled:hover { right: -6px !important; } /* line 333, ../../../app/stylesheets/sites/commoncauses.sass */ body#site .on_the_spot_editing:after { content: " " url(/images/sites/multidao/pencil.png); } /* line 336, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #explore_projects #explore_menu { margin-left: 0; width: 265px; } /* line 340, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #explore_projects #explore_menu ul li a { text-align: left; padding: 2px 12px; font-weight: normal; font-size: 22px; line-height: 26px; background-color: #c3c3c3; color: white; } /* line 348, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #explore_projects #explore_menu ul li a.selected, body#site #explore_projects #explore_menu ul li a:hover { background-color: #006a32; text-shadow: transparent 0 0 0; } /* line 351, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_header { padding: 0; } /* line 353, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_header h1, body#site #project_header h2 { text-transform: none !important; } /* line 357, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_menu ul { margin: 0; padding: 0; border: 0; outline: 0; overflow: hidden; *zoom: 1; } /* line 51, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #project_description #project_menu ul li { list-style-image: none; list-style-type: none; margin-left: 0px; white-space: nowrap; display: inline; float: left; padding-left: 4px; padding-right: 4px; } /* line 43, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #project_description #project_menu ul li:first-child, body#site #project_description #project_menu ul li.first { padding-left: 0px; } /* line 44, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #project_description #project_menu ul li:last-child, body#site #project_description #project_menu ul li.last { padding-right: 0px; } /* line 360, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_menu ul li a { width: 129px; background-color: #c3c3c3; color: white; font-weight: bold; font-size: 14px; } /* line 366, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_menu ul li a .count { color: #878787; font-size: 12px; margin-left: 4px; } /* line 370, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_menu ul li a:hover { background-color: #88c191; text-shadow: transparent 0 0 0; } /* line 374, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_menu ul li.selected a { background-color: #88c191; text-shadow: transparent 0 0 0; } /* line 377, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_menu ul li.selected img { display: block; position: absolute; bottom: 5px; left: 20px; } /* line 383, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video iframe { -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; } /* line 385, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share { background-color: #dddddd; width: 100%; margin-top: 8px; padding: 0; -moz-border-radius-bottomleft: 0; -webkit-border-bottom-left-radius: 0; -o-border-bottom-left-radius: 0; -ms-border-bottom-left-radius: 0; -khtml-border-bottom-left-radius: 0; border-bottom-left-radius: 0; -moz-border-radius-bottomright: 0; -webkit-border-bottom-right-radius: 0; -o-border-bottom-right-radius: 0; -ms-border-bottom-right-radius: 0; -khtml-border-bottom-right-radius: 0; border-bottom-right-radius: 0; border: none; -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; text-align: left; font-size: 12px; font-weight: bold; color: #1f2935; line-height: 33px; } /* line 399, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul { margin: 0; padding: 0; border: 0; outline: 0; overflow: hidden; *zoom: 1; width: 100%; } /* line 51, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #project_description #project_video #project_share ul li { list-style-image: none; list-style-type: none; margin-left: 0px; white-space: nowrap; display: inline; float: left; padding-left: 12px; padding-right: 12px; } /* line 43, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #project_description #project_video #project_share ul li:first-child, body#site #project_description #project_video #project_share ul li.first { padding-left: 0px; } /* line 44, ../../../../../../.rvm/gems/ruby-1.9.2-p180/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss */ body#site #project_description #project_video #project_share ul li:last-child, body#site #project_description #project_video #project_share ul li.last { padding-right: 0px; } /* line 402, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul li { padding-top: 16px; padding-bottom: 16px; border-right: 1px solid white; } /* line 406, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul li:first-child { padding-left: 16px; } /* line 408, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul li:last-child { border: none; } /* line 411, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul li.social a { font-size: 14px; font-weight: bold; color: #1f4957; } /* line 415, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul li.social a:hover { color: #5f8997; } /* line 417, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share ul li.link { text-transform: uppercase; } /* line 419, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share a { text-transform: uppercase; color: #1f2935; -moz-transition-property: all; -webkit-transition-property: all; -o-transition-property: all; transition-property: all; -moz-transition-duration: 1s; -webkit-transition-duration: 1s; -o-transition-duration: 1s; transition-duration: 1s; } /* line 423, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share a:hover { color: #5f6975; text-shadow: transparent 0 0 0; } /* line 426, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share img, body#site #project_description #project_video #project_share a img { width: 32px; margin-right: 4px; } /* line 429, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share input { border: 1px solid #cccccc; } /* line 431, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_video #project_share h1 { font-weight: normal; font-size: 16px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; padding-left: 16px !important; border-bottom: 1px solid white; } /* line 437, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_description #project_about { font-size: 16px; line-height: 18px; } /* line 440, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info { margin-top: -20px; float: right; width: 308px; } /* line 444, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project { background-color: #e4e4e4; border: none; -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; -moz-box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; } /* line 449, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project .info { font-size: 14px; text-transform: uppercase; padding: 10px 16px; } /* line 453, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project .number { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-weight: bold; font-size: 34px; line-height: 34px; margin-top: 6px; } /* line 459, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project .project_progress { display: none; } /* line 461, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project .project_warning { margin: 0 8px; font-size: 11px; line-height: 14px; text-shadow: transparent 0 0 0; } /* line 466, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project .successful, body#site #project_back_info #back_project .not_successful, body#site #project_back_info #back_project .waiting_confirmation { background: #888888; } /* line 468, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project .successful .text, body#site #project_back_info #back_project .not_successful .text, body#site #project_back_info #back_project .waiting_confirmation .text { background-color: inherit; } /* line 470, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project form { text-align: center; } /* line 472, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project form input[type=submit] { text-shadow: transparent 0 0 0; background-color: #8aca52; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #8aca52), color-stop(50%, #8aca52), color-stop(51%, #74ad44), color-stop(100%, #74ad44)); background-image: -moz-linear-gradient(top, #8aca52 0%, #8aca52 50%, #74ad44 51%, #74ad44 100%); background-image: linear-gradient(top, #8aca52 0%, #8aca52 50%, #74ad44 51%, #74ad44 100%); font-weight: normal; font-size: 20px; padding: 17px 24px; } /* line 479, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project form input[type=submit]:hover { background-color: #8aca52; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #8fcf57), color-stop(50%, #8fcf57), color-stop(51%, #79b249), color-stop(100%, #79b249)); background-image: -moz-linear-gradient(top, #8fcf57 0%, #8fcf57 50%, #79b249 51%, #79b249 100%); background-image: linear-gradient(top, #8fcf57 0%, #8fcf57 50%, #79b249 51%, #79b249 100%); text-shadow: transparent 0 0 0; } /* line 483, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project form input[type=submit]:active { padding: 18px 23px 16px 25px; text-shadow: transparent 0 0 0; } /* line 486, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #back_project form input[type=submit]:disabled { color: #888888; text-shadow: transparent 0 0 0; background-color: #aaaaaa; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #aaaaaa), color-stop(50%, #aaaaaa), color-stop(51%, #bbbbbb), color-stop(100%, #bbbbbb)); background-image: -moz-linear-gradient(top, #aaaaaa 0%, #aaaaaa 50%, #bbbbbb 51%, #bbbbbb 100%); background-image: linear-gradient(top, #aaaaaa 0%, #aaaaaa 50%, #bbbbbb 51%, #bbbbbb 100%); font-weight: normal; font-size: 20px; padding: 17px 24px; } /* line 494, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards { -moz-box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.2) -2px 2px 6px 0; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px; -ms-border-radius: 8px; -khtml-border-radius: 8px; border-radius: 8px; margin-top: 13px; } /* line 498, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards h1 { color: white; font-size: 18px; font-weight: normal; text-align: left; padding-left: 24px; text-shadow: transparent 0 0 0; background-color: #88c191 !important; -moz-border-radius-topleft: 8px; -webkit-border-top-left-radius: 8px; -o-border-top-left-radius: 8px; -ms-border-top-left-radius: 8px; -khtml-border-top-left-radius: 8px; border-top-left-radius: 8px; -moz-border-radius-topright: 8px; -webkit-border-top-right-radius: 8px; -o-border-top-right-radius: 8px; -ms-border-top-right-radius: 8px; -khtml-border-top-right-radius: 8px; border-top-right-radius: 8px; } /* line 508, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards h1 #rewards_left_border { top: 38px; left: 40px; } /* line 511, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards h1 #rewards_right_border { display: none; } /* line 513, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards ul { background-color: #e4e4e4; border: none; } /* line 516, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards ul h1 { text-transform: none; font-weight: bold; color: #3c3c3c !important; text-shadow: transparent 0 0 0; padding: 10px 0 !important; } /* line 522, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards ul li { border-bottom: 1px solid #cccccc; font-size: 14px; line-height: 18px; } /* line 526, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards ul li.clickable:hover { background-color: #c8dcb7; } /* line 528, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards .reward_backers { text-align: left; font-size: 10px; line-height: 25px; } /* line 532, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_back_info #rewards .reward_backers img { width: auto; float: left; margin: 0 4px 0 0; } /* line 536, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #how_it_works { background-color: #d3e9f4; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -moz-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -o-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; text-shadow: transparent 0 0 0; } /* line 541, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #how_it_works strong { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } /* line 543, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #how_it_works #show_tips { margin-top: 16px; } /* line 545, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #how_it_works #show_tips a { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #679c08; font-weight: normal; } /* line 549, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #how_it_works #show_tips a:hover { color: #87bc28; } /* line 552, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #guidelines_form label { color: #5d8838; } /* line 555, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed iframe { -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; } /* line 557, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 22px; padding: 4px 0 8px 0; } /* line 561, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed h1 a { color: #6ab9e0; text-shadow: transparent 0 0 0; } /* line 564, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed h1 a:hover { color: #7ecdf4; } /* line 566, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed h2 { text-shadow: transparent 0 0 0; } /* line 568, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed h2 a { color: #6ab9e0; text-shadow: transparent 0 0 0; } /* line 571, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed h2 a:hover { color: #7ecdf4; } /* line 576, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed #site_link h1 a img { height: 32px; } /* line 578, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #video_embed #site_link h1 a:hover { text-shadow: transparent 0 0 0; } /* line 580, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_warning { background-color: #d3e9f4; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -moz-box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -1px 1px 6px 0; } /* line 585, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .image { padding: 8px 20px 20px 20px; } /* line 587, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .image img { -moz-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; } /* line 590, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .info h1, body#site #profile_header .info h2 { text-transform: none !important; } /* line 592, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .info h1 .on_the_spot_mouseover, body#site #profile_header .info h2 .on_the_spot_mouseover { background-color: rgba(0, 150, 0, 0.2); } /* line 596, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .info h1 .on_the_spot_editing form input, body#site #profile_header .info h1 .on_the_spot_editing form textarea, body#site #profile_header .info h2 .on_the_spot_editing form input, body#site #profile_header .info h2 .on_the_spot_editing form textarea { background-color: rgba(0, 150, 0, 0.2); } /* line 601, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .info h1 .on_the_spot_editing form input { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: bold; } /* line 607, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .info h2 .on_the_spot_editing form textarea.ok { background: rgba(0, 150, 0, 0.2) url("/images/sites/multidao/tick.png") no-repeat 96% center; } /* line 609, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #profile_header .info h2 .on_the_spot_editing form textarea.error { background: rgba(0, 150, 0, 0.2) url("/images/site/multidao/delete.png") no-repeat 96% center; } /* line 611, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user_feed { color: #444444; font-size: 18px; line-height: 24px; } /* line 615, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user_feed h1 { font-size: 22px !important; } /* line 617, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user_feed img.project { width: 265px; -moz-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; } /* line 620, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user_feed a { font-size: 18px; line-height: 24px; } /* line 623, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #user_feed #gravatar_hint { background-color: #d3e9f4; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -moz-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -o-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -moz-border-radius: 8px; -webkit-border-radius: 8px; -o-border-radius: 8px; -ms-border-radius: 8px; -khtml-border-radius: 8px; border-radius: 8px; } /* line 628, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_review { text-align: center; font-size: 28px; line-height: 32px; margin: 0 10px; } /* line 633, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_review #review_text { font-size: 20px; margin: 20px 0; } /* line 636, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_review #review_text .reward { font-style: italic; } /* line 638, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_review #credits_notice { background-color: #d3e9f4; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; text-shadow: transparent 0 0 0; -moz-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; -o-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px 0; } /* line 643, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_review img#project_image { -moz-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; } /* line 645, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #project_review h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; padding-top: 0 !important; font-size: 26px !important; } /* line 650, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #thank_you img#project_image { -moz-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; } /* line 652, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #thank_you h1 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; padding-top: 0 !important; font-size: 26px !important; } /* line 658, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form .important { background-color: #d3e9f4; } /* line 660, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form input.ok, body#site #back_options #backer_form textarea.ok { background: url("/images/sites/multidao/tick_big.png") no-repeat 96% center; } /* line 662, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form input.error, body#site #back_options #backer_form textarea.error { background: url("/images/sites/multidao/delete_big.png") no-repeat 96% center; } /* line 664, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form #backer_credits_input { background-color: #dddbd1; border: 3px solid #dddbd1; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; -moz-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; } /* line 669, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form label { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 20px; line-height: 24px; color: #444444; } /* line 674, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form li.radio ol { background-color: transparent; -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; -ms-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; } /* line 678, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form li.radio ol li { background-color: #e7f2d4; border: 1px solid #bfc4c0; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; -moz-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; -o-box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 6px 0; margin-bottom: 12px; } /* line 684, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form li.radio ol li:first-child { -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; } /* line 686, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form li.radio ol li:last-child { -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; border: 1px solid #bfc4c0; margin-bottom: 0; } /* line 690, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_options #backer_form li.radio ol li.selected, body#site #back_options #backer_form li.radio ol li:hover { background-color: #d5f0a3; border: 1px solid #7eae26; } /* line 694, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #back_info img { -moz-box-shadow: transparent 0 0 0 0; -webkit-box-shadow: transparent 0 0 0 0; -o-box-shadow: transparent 0 0 0 0; box-shadow: transparent 0 0 0 0; border: 3px solid #dddddd; width: 140px; } /* line 701, ../../../app/stylesheets/sites/commoncauses.sass */ body#site #credits #current_credits { color: #679c08; }
37.450526
278
0.687335
8e5789b202d14d67926b9216493740b76e2b9b24
5,727
c
C
third_party/externals/nanomsg/src/protocols/pair/xpair.c
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
1
2015-09-14T12:09:27.000Z
2015-09-14T12:09:27.000Z
src/protocols/pair/xpair.c
nbnitboy/nanomsg
7b5318bec6d6bee42d2d969f204dbe4826103ba4
[ "MIT" ]
null
null
null
src/protocols/pair/xpair.c
nbnitboy/nanomsg
7b5318bec6d6bee42d2d969f204dbe4826103ba4
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2013 250bpm s.r.o. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "xpair.h" #include "../../nn.h" #include "../../pair.h" #include "../utils/excl.h" #include "../../utils/err.h" #include "../../utils/cont.h" #include "../../utils/fast.h" #include "../../utils/alloc.h" #include "../../utils/list.h" #include "../../utils/attr.h" struct nn_xpair { struct nn_sockbase sockbase; struct nn_excl excl; }; /* Private functions. */ static void nn_xpair_init (struct nn_xpair *self, const struct nn_sockbase_vfptr *vfptr, void *hint); static void nn_xpair_term (struct nn_xpair *self); /* Implementation of nn_sockbase's virtual functions. */ static void nn_xpair_destroy (struct nn_sockbase *self); static int nn_xpair_add (struct nn_sockbase *self, struct nn_pipe *pipe); static void nn_xpair_rm (struct nn_sockbase *self, struct nn_pipe *pipe); static void nn_xpair_in (struct nn_sockbase *self, struct nn_pipe *pipe); static void nn_xpair_out (struct nn_sockbase *self, struct nn_pipe *pipe); static int nn_xpair_events (struct nn_sockbase *self); static int nn_xpair_send (struct nn_sockbase *self, struct nn_msg *msg); static int nn_xpair_recv (struct nn_sockbase *self, struct nn_msg *msg); static int nn_xpair_setopt (struct nn_sockbase *self, int level, int option, const void *optval, size_t optvallen); static int nn_xpair_getopt (struct nn_sockbase *self, int level, int option, void *optval, size_t *optvallen); static const struct nn_sockbase_vfptr nn_xpair_sockbase_vfptr = { NULL, nn_xpair_destroy, nn_xpair_add, nn_xpair_rm, nn_xpair_in, nn_xpair_out, nn_xpair_events, nn_xpair_send, nn_xpair_recv, nn_xpair_setopt, nn_xpair_getopt }; static void nn_xpair_init (struct nn_xpair *self, const struct nn_sockbase_vfptr *vfptr, void *hint) { nn_sockbase_init (&self->sockbase, vfptr, hint); nn_excl_init (&self->excl); } static void nn_xpair_term (struct nn_xpair *self) { nn_excl_term (&self->excl); nn_sockbase_term (&self->sockbase); } void nn_xpair_destroy (struct nn_sockbase *self) { struct nn_xpair *xpair; xpair = nn_cont (self, struct nn_xpair, sockbase); nn_xpair_term (xpair); nn_free (xpair); } static int nn_xpair_add (struct nn_sockbase *self, struct nn_pipe *pipe) { return nn_excl_add (&nn_cont (self, struct nn_xpair, sockbase)->excl, pipe); } static void nn_xpair_rm (struct nn_sockbase *self, struct nn_pipe *pipe) { nn_excl_rm (&nn_cont (self, struct nn_xpair, sockbase)->excl, pipe); } static void nn_xpair_in (struct nn_sockbase *self, struct nn_pipe *pipe) { nn_excl_in (&nn_cont (self, struct nn_xpair, sockbase)->excl, pipe); } static void nn_xpair_out (struct nn_sockbase *self, struct nn_pipe *pipe) { nn_excl_out (&nn_cont (self, struct nn_xpair, sockbase)->excl, pipe); } static int nn_xpair_events (struct nn_sockbase *self) { struct nn_xpair *xpair; int events; xpair = nn_cont (self, struct nn_xpair, sockbase); events = 0; if (nn_excl_can_recv (&xpair->excl)) events |= NN_SOCKBASE_EVENT_IN; if (nn_excl_can_send (&xpair->excl)) events |= NN_SOCKBASE_EVENT_OUT; return events; } static int nn_xpair_send (struct nn_sockbase *self, struct nn_msg *msg) { return nn_excl_send (&nn_cont (self, struct nn_xpair, sockbase)->excl, msg); } static int nn_xpair_recv (struct nn_sockbase *self, struct nn_msg *msg) { int rc; rc = nn_excl_recv (&nn_cont (self, struct nn_xpair, sockbase)->excl, msg); /* Discard NN_PIPEBASE_PARSED flag. */ return rc < 0 ? rc : 0; } static int nn_xpair_setopt (NN_UNUSED struct nn_sockbase *self, NN_UNUSED int level, NN_UNUSED int option, NN_UNUSED const void *optval, NN_UNUSED size_t optvallen) { return -ENOPROTOOPT; } static int nn_xpair_getopt (NN_UNUSED struct nn_sockbase *self, NN_UNUSED int level, NN_UNUSED int option, NN_UNUSED void *optval, NN_UNUSED size_t *optvallen) { return -ENOPROTOOPT; } int nn_xpair_create (void *hint, struct nn_sockbase **sockbase) { struct nn_xpair *self; self = nn_alloc (sizeof (struct nn_xpair), "socket (pair)"); alloc_assert (self); nn_xpair_init (self, &nn_xpair_sockbase_vfptr, hint); *sockbase = &self->sockbase; return 0; } int nn_xpair_ispeer (int socktype) { return socktype == NN_PAIR ? 1 : 0; } static struct nn_socktype nn_xpair_socktype_struct = { AF_SP_RAW, NN_PAIR, 0, nn_xpair_create, nn_xpair_ispeer, NN_LIST_ITEM_INITIALIZER }; struct nn_socktype *nn_xpair_socktype = &nn_xpair_socktype_struct;
29.984293
80
0.720447
0df67fa939c32d98d423a7b5414ecfdeb8a6b07e
1,287
cs
C#
src/Lykke.Cqrs/MapEndpointResolver.cs
LykkeBusinessPlatform/Lykke.Cqrs
6e7ee5b7172f2577bb6c1b7794df1a3586c0d402
[ "MIT" ]
3
2018-09-24T19:31:52.000Z
2019-06-17T14:16:35.000Z
src/Lykke.Cqrs/MapEndpointResolver.cs
LykkeBusinessPlatform/Lykke.Cqrs
6e7ee5b7172f2577bb6c1b7794df1a3586c0d402
[ "MIT" ]
1
2018-06-01T21:35:22.000Z
2018-06-01T21:35:22.000Z
src/Lykke.Cqrs/MapEndpointResolver.cs
LykkeBusinessPlatform/Lykke.Cqrs
6e7ee5b7172f2577bb6c1b7794df1a3586c0d402
[ "MIT" ]
1
2021-10-14T17:36:42.000Z
2021-10-14T17:36:42.000Z
using System; using System.Collections.Generic; using System.Linq; using Lykke.Messaging.Configuration; using Lykke.Messaging.Contract; using Lykke.Cqrs.Routing; namespace Lykke.Cqrs { public class MapEndpointResolver : IEndpointResolver { private IEndpointResolver m_FallbackResolver; private readonly Dictionary<Func<RoutingKey, bool>, string> m_Map; public MapEndpointResolver() { m_Map = new Dictionary<Func<RoutingKey, bool>, string>(); } internal void SetFallbackResolver(IEndpointResolver fallbackResolver, bool replace=false) { if (replace||m_FallbackResolver==null) m_FallbackResolver = fallbackResolver; } public Endpoint Resolve(string route, RoutingKey key, IEndpointProvider endpointProvider) { var endpointName = m_Map.Where(pair => pair.Key(key)).Select(pair => pair.Value).SingleOrDefault(); if(endpointName==null) return m_FallbackResolver.Resolve(route, key, endpointProvider); return endpointProvider.Get(endpointName); } public void AddSelector(Func<RoutingKey, bool> criteria, string endpoint) { m_Map.Add(criteria, endpoint); } } }
33
111
0.663559
5dd7db2a5c880acce65d3486494d48eac39f70a1
2,165
dart
Dart
lib/utils/tools/animation_navigation.dart
shaodong-wu/LJ_NetDisk
df7a0df0debea707225779c438d165e9dae79e44
[ "MIT" ]
null
null
null
lib/utils/tools/animation_navigation.dart
shaodong-wu/LJ_NetDisk
df7a0df0debea707225779c438d165e9dae79e44
[ "MIT" ]
null
null
null
lib/utils/tools/animation_navigation.dart
shaodong-wu/LJ_NetDisk
df7a0df0debea707225779c438d165e9dae79e44
[ "MIT" ]
null
null
null
import 'package:flutter/cupertino.dart'; import 'package:lj_netdisk/project_router.dart'; import 'package:lj_netdisk/views/entrance.dart'; class AnimationNavigation { /// 从右边划入, 划出 static SlideTransition _createTransition(Animation<double> animation, Widget child) { return SlideTransition( position: Tween<Offset> ( begin: const Offset(1.0, 0.0), end: const Offset(0.0, 0.0), ).animate(animation), child: child, ); } /// 根据路由名字跳转 static void pushNamed(BuildContext context, String routeName) { Widget pageWidget = ProjectRouter().getPageByRouter(routeName); Navigator.push(context, PageRouteBuilder( pageBuilder: (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation) { return pageWidget; }, transitionsBuilder:(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) { return _createTransition(animation, child); } )); } /// 根据 Widget 跳转 static void push(BuildContext context, Widget widget) { Navigator.push(context, PageRouteBuilder( pageBuilder: (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation) { return widget; }, transitionsBuilder:(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) { return _createTransition(animation, child); } )); } /// 根据路由名字跳转, 并从栈中移除 static void pushAndRemoveUntil(BuildContext context, String routeName) { int indexValue = ProjectRouter().open(context, routeName); Navigator.pushAndRemoveUntil(context, PageRouteBuilder( pageBuilder: (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation) { return Entrance(indexValue: indexValue); }, transitionsBuilder:(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) { return _createTransition(animation, child); } ), (router) => false); } }
39.363636
133
0.690531
9e122922f35fb80a6f64b133d3932abfbf01e371
37,422
cs
C#
JniPMML-Cs/src/WranglerDBB.cs
wdatasci/WDS-JniPMML-XLL
5153e4e0810c554c803ba1b60f1612a20490d118
[ "MIT" ]
1
2021-07-30T03:43:07.000Z
2021-07-30T03:43:07.000Z
JniPMML-Cs/src/WranglerDBB.cs
wdatasci/WDS-JniPMML-XLL
5153e4e0810c554c803ba1b60f1612a20490d118
[ "MIT" ]
null
null
null
JniPMML-Cs/src/WranglerDBB.cs
wdatasci/WDS-JniPMML-XLL
5153e4e0810c554c803ba1b60f1612a20490d118
[ "MIT" ]
1
2021-07-30T03:43:08.000Z
2021-07-30T03:43:08.000Z
/* Java >>> * package com.WDataSci.JniPMML; import com.WDataSci.WDS.WDSException; import org.dmg.pmml.FieldName; import java.io.PrintWriter; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; /* <<< Java */ /* C# >>> */ using System; using System.Collections.Generic; using MOIE=Microsoft.Office.Interop.Excel; using static com.WDataSci.WDS.JavaLikeExtensions; using com.WDataSci.WDS; namespace com.WDataSci.JniPMML { /* <<< C# */ public class WranglerDBB { public __DBBMatter Header = null; public __DBBMatter RecordSet = null; public WranglerDBB() //throws WDSException { this.Header = new __DBBMatter(); this.RecordSet = new __DBBMatter(); } public void Dispose() { if (this.Header!=null) this.Header.Dispose(); this.Header = null; if (this.RecordSet!=null) this.RecordSet.Dispose(); this.RecordSet = null; } /* C# >>> */ ~WranglerDBB() { this.Header = null; this.RecordSet = null; } /* <<< C# */ public class __DBBMatter { public DBB Buffer = null; public long MaxStringLength = 64; //place holder until it can be passed in as an attribute or an option public long MaxStringByteLength = 128; //place holder until it can be passed in as an attribute or an option public Boolean bIsManagedInJava = false; public void Dispose() { this.Buffer = null; } /* C# >>> */ ~__DBBMatter() { this.Dispose(); } /* <<< C# */ } public Boolean isValid() //throws com.WDataSci.WDS.WDSException, Exception { if ( !this.Header.Buffer.isValid() ) return false; if ( !this.RecordSet.Buffer.isValid() ) return false; return true; } public WranglerDBB cSetHeaderBufferAs(DBB arg, int nRecords, int nRecordCoreLength, int nRecordVariableLength) //throws com.WDataSci.WDS.WDSException, Exception { this.Header.Buffer = new DBB(arg, true) .cAsUsualLayout("WDSH", DBB.Default.nLeadingBytes, nRecords, nRecordCoreLength, nRecordVariableLength); //The usual header has only two string; this.Header.MaxStringByteLength = nRecordVariableLength / 2; this.Header.MaxStringLength = this.Header.MaxStringByteLength / 2; arg.isValid(); return this; } public WranglerDBB cSetHeaderBufferFrom(DBB arg) //throws com.WDataSci.WDS.WDSException, Exception { this.Header.Buffer = null; this.Header.Buffer = arg; this.Header.Buffer.cReadExistingLayout(); if ( !this.Header.Buffer.LayoutStyle.equals("WDSH") ) throw new com.WDataSci.WDS.WDSException("Error, layout for Header must be WDSH"); this.Header.Buffer.isValid(); this.Header.MaxStringByteLength = this.Header.Buffer.nRecordVLenBytes / 2; this.Header.MaxStringLength = this.Header.MaxStringByteLength / 2; return this; } public WranglerDBB cSetRecordSetBufferAs(DBB arg) //throws com.WDataSci.WDS.WDSException, Exception { this.RecordSet.Buffer = null; this.RecordSet.Buffer = new DBB(arg, true); this.RecordSet.Buffer.isValid(); return this; } public WranglerDBB cSetRecordSetBufferAs(DBB arg, long nRecords, long nRecordCoreLength, long nRecordVariableLength, long nCoreLength, long nTotalLength) //throws com.WDataSci.WDS.WDSException, Exception { this.RecordSet.Buffer = null; this.RecordSet.Buffer = new DBB(arg, true); this.RecordSet.Buffer.cAsUsualLayout("WDSD", DBB.Default.nLeadingBytes, nRecords, nRecordCoreLength, nRecordVariableLength); this.RecordSet.Buffer.isValid(); return this; } public WranglerDBB cSetRecordSetBufferFrom(DBB arg) //throws com.WDataSci.WDS.WDSException, Exception { if ( this.Header == null ) throw new com.WDataSci.WDS.WDSException("Error, DBB Wrangler Header must be provided before RecordSetBuffer can be set"); this.RecordSet.Buffer = null; this.RecordSet.Buffer = arg; this.RecordSet.Buffer.cReadExistingLayout(); if ( !this.RecordSet.Buffer.LayoutStyle.equals("WDSD") ) throw new com.WDataSci.WDS.WDSException("Error, layout for RecordSet must be WDSD"); this.RecordSet.Buffer.isValid(); return this; } public void mReadMap(RecordSetMD aRecordSetMD, JniPMMLItem aJniPMML, PrintWriter pw, Boolean bFillDictionaryNames) //throws com.WDataSci.WDS.WDSException { try { int i = -1; int ii = -1; int j = -1; int jj = -1; int k = -1; int kk = -1; //Java Boolean bUsingPMML = (aJniPMML != null && aJniPMML.PMMLMatter.Doc != null); //C# Boolean bUsingPMML = false; String[] lFieldStringNames = null; int nDataFieldNames = 0; if ( bUsingPMML ) { lFieldStringNames = aJniPMML.PMMLDataFieldStringNames(); nDataFieldNames = lFieldStringNames.Length; } if ( pw != null ) pw.printf("In RecordSetMD constructor\n"); if ( pw != null ) pw.flush(); //point to file or memory DBB buffer = this.Header.Buffer; buffer.position(0, 0, 0); try { //get compound dataset information long nColumns = buffer.nRecords; long nBlockMaxStringByteLength = this.Header.MaxStringByteLength; int nBlockCoreColumnSize = (int) (buffer.nRecordFLenBytes); int nBlockAllocatedSize = (int) (buffer.nDBBRequiredBytes); if ( nBlockAllocatedSize > this.Header.Buffer.Length ) throw new com.WDataSci.WDS.WDSException("Error, HeaderBuffer capacity, " + this.Header.Buffer.Length + ", is less then what should be BlockAllocatedSize, " + nBlockAllocatedSize ); int nBlockCoreSize = (int) (buffer.nDBBLeadingBytes + buffer.nDBBFLenBytes); if ( pw != null ) pw.printf("In RecordSetMD constructor, nColumns=%d\n", nColumns); if ( pw != null ) pw.flush(); byte[] namebuffer = new byte[(int) (nBlockMaxStringByteLength)]; //iterate through columns (dataset members) aRecordSetMD.Column = new FieldMD[(int) (nColumns)]; int bptr = 0; for ( ii = 0 ; ii < nColumns ; ii++, bptr += (int) nBlockCoreColumnSize ) { buffer.position(buffer.ptr, bptr, buffer.vlenptr); aRecordSetMD.Column[ii] = new FieldMD(); FieldMD col = aRecordSetMD.Column[ii]; //the first two fields are always names and taken to be variable length col.Name = buffer.GetLayerVLenString(1, nBlockMaxStringByteLength); //Check for PMML DataFieldName map //If not mapped externally, the next VLenString pointer will be 0 and will come back as empty String tmpname = buffer.GetLayerVLenString(1, nBlockMaxStringByteLength); //Search for PMML DataFieldName map, take input supplied map first, then the usual search /* Java >>> * Boolean found = false; if ( bUsingPMML && tmpname.length() > 0 ) { for (j = 0; !found && j < nDataFieldNames; j++) { if ( tmpname.equals(lFieldStringNames[j]) ) { col.MapToMapKey(lFieldStringNames[j]); found = true; break; } } } if ( bUsingPMML && !found ) { for (j = 0; !found && j < nDataFieldNames; j++) { if ( col.Name.equals(lFieldStringNames[j]) ) { col.MapToMapKey(lFieldNames[j]); found = true; break; } } } /* <<< Java */ if ( !bUsingPMML && bFillDictionaryNames ) { col.MapToMapKey(col.Name); } //Java col.DTyp = FieldMDEnums.eDTyp.FromInt(buffer.GetLayerInt(1)); //C# col.DTyp = FieldMDExt.eDTyp_FromInt((int) buffer.GetLayerInt(1)); //See notes above on Date and DateTime types //Since the header block is being passed in, Date and DateTime types are provided. col.ByteMemLength = (long) buffer.GetLayerLong(1); col.ByteMaxLength = (long) buffer.GetLayerLong(1); if ( col.DTyp.bIn(FieldMDEnums.eDTyp.VLS, FieldMDEnums.eDTyp.Str) ) col.StringMaxLength = (int) (col.ByteMaxLength / 2); //no longer using the last byte for bIsMappedToPMMLFieldName, so there is filler space at the end } } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error in RecordSetMD processing of Header DBB:", e); } if ( pw != null ) pw.printf("leaving RecordSetMD constructor\n"); if ( pw != null ) pw.flush(); } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error in ProcessInputMapFor", e); } } public void mReadRecordSet(RecordSetMD aInputRecordSetMD, RecordSet aInputRecordSet, PrintWriter pw) //throws WDSException { int ri = 0; try { if ( aInputRecordSet.isEmpty() ) { //Java aInputRecordSet.Records = new ArrayList<>(0); //C# aInputRecordSet.Records = new List<Map<FieldName, Object>>(0); //Java aInputRecordSet.Records_Orig = new ArrayList<>(0); //C# aInputRecordSet.Records_Orig = new List<Object []>(0); } int nColumns = aInputRecordSetMD.nColumns(); int i = -1; int j = -1; int jj = -1; DBB buf = aInputRecordSetMD.DBBMatter.RecordSet.Buffer; int nRows = (int) aInputRecordSetMD.DBBMatter.RecordSet.Buffer.nRecords; /* Java >>> * Double lvd = 0.0; Long lvl = 0L; Integer lvi = 0; Boolean lvbln = false; /* <<< Java */ /* C# >>> */ double? lvd = 0.0; long? lvl = 0L; int? lvi = 0; Boolean? lvbln = false; /* <<< C# */ String lvs = ""; int bptr = 0; for ( i = 0 ; i < nRows ; i++, bptr += (int) aInputRecordSetMD.DBBMatter.RecordSet.Buffer.nRecordFLenBytes ) { ri = i; buf.position(buf.ptr, bptr, buf.vlenptr); Object[] inputRow_orig = new Object[nColumns]; //Java Map<FieldName, Object> inputRow = new LinkedHashMap<>(); //C# Map<FieldName, Object> inputRow = new Map<FieldName, Object>(); for ( jj = 0 ; jj < nColumns ; jj++ ) { switch ( aInputRecordSetMD.Column[jj].DTyp ) { //case Dbl: case FieldMDEnums.eDTyp.Dbl: lvd = buf.GetLayerDouble(1); //Java if (lvd==null || lvd.isNaN() || Double.isInfinite(lvd) ) lvd=null; //C# if ( lvd == null || Double.IsNaN(lvd.Value) || lvd == Double.MinValue || lvd == Double.MaxValue || Double.IsNegativeInfinity(lvd.Value) || Double.IsPositiveInfinity(lvd.Value) ) lvd = null; inputRow_orig[jj] = lvd; if ( aInputRecordSetMD.Column[jj].hasMapKey() ) inputRow.put(aInputRecordSetMD.Column[jj].MapKey, lvd); break; //case Lng: case FieldMDEnums.eDTyp.Lng: lvl = buf.GetLayerLong(1); //Java if ( lvl == null || lvl.equals(Long.MIN_VALUE) || lvl.equals(Long.MAX_VALUE) ) lvl = null; //C# if ( lvl == null || lvl == long.MinValue || lvl == long.MaxValue ) lvl = null; inputRow_orig[jj] = lvl; if ( aInputRecordSetMD.Column[jj].hasMapKey() ) inputRow.put(aInputRecordSetMD.Column[jj].MapKey, lvl); break; //case Int: case FieldMDEnums.eDTyp.Int: lvi = buf.GetLayerInt(1); //Java if ( lvi == null || lvi.equals(Integer.MIN_VALUE) || lvi.equals(Integer.MAX_VALUE) ) lvi = null; //C# if ( lvi == null || lvi == int.MinValue || lvi == int.MaxValue ) lvi = null; inputRow_orig[jj] = lvi; if ( aInputRecordSetMD.Column[jj].hasMapKey() ) inputRow.put(aInputRecordSetMD.Column[jj].MapKey, lvi); break; //case Str: case FieldMDEnums.eDTyp.Str: lvs = buf.GetLayerFLenString(1, aInputRecordSetMD.Column[jj].ByteMaxLength); inputRow_orig[jj] = lvs; if ( aInputRecordSetMD.Column[jj].hasMapKey() ) inputRow.put(aInputRecordSetMD.Column[jj].MapKey, lvs); break; //case VLS: case FieldMDEnums.eDTyp.VLS: lvs = buf.GetLayerVLenString(1, aInputRecordSetMD.Column[jj].ByteMaxLength); inputRow_orig[jj] = lvs; if ( aInputRecordSetMD.Column[jj].hasMapKey() ) inputRow.put(aInputRecordSetMD.Column[jj].MapKey, lvs); break; //case Bln: case FieldMDEnums.eDTyp.Bln: lvi = buf.GetLayerInt(1); //Java if ( lvi == null || lvi.equals(Integer.MIN_VALUE) || lvi.equals(Integer.MAX_VALUE) ) lvi = null; //C$ if ( lvi == null || lvi == int.MinValue || lvi == int.MaxValue ) lvi = null; lvbln = null; if ( lvi != null ) lvbln = (lvi != 0); inputRow_orig[jj] = lvbln; if ( aInputRecordSetMD.Column[jj].hasMapKey() ) inputRow.put(aInputRecordSetMD.Column[jj].MapKey, lvbln); break; //case Byt: case FieldMDEnums.eDTyp.Byt: default: throw new com.WDataSci.WDS.WDSException("Error, column type not implemented"); } } aInputRecordSet.Records.add(inputRow); aInputRecordSet.Records_Orig.add(inputRow_orig); } } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error reading from DBB, row " + ri + ":", e); } } public int mWriteMap(RecordSetMD aRecordSetMD) //throws com.WDataSci.WDS.WDSException { try { if ( this.Header.Buffer == null ) throw new com.WDataSci.WDS.WDSException("Error, Header buffer not set before WriteMap!"); long nColumns = aRecordSetMD.nColumns(); int nColumnNameMaxByteLength = (int) (this.Header.MaxStringByteLength); DBB buf = this.Header.Buffer; buf.cAsUsualLayout("WDSH", nColumns, 40, 2 * nColumnNameMaxByteLength); buf.position(0, 0, 0); int bptr = 0; //write leading data buf.PutLayerFLenString(0, "WDSH", 8, 0); buf.PutLayerLong(0, buf.nDBBRequiredBytes); buf.PutLayerLong(0, buf.nDBBLeadingBytes); buf.PutLayerLong(0, buf.nDBBFLenBytes); buf.PutLayerLong(0, buf.nDBBVLenBytes); buf.PutLayerLong(0, buf.nRecords); buf.PutLayerLong(0, buf.nRecordFLenBytes); buf.PutLayerLong(0, buf.nRecordVLenBytes); buf.position(buf.ptr, 0, 0); //here bptr is relative only to layer 1 bptr = 0; for ( int jj = 0 ; jj < nColumns ; jj++, bptr += (int) buf.nRecordFLenBytes ) { aRecordSetMD.Column[jj].Consistency(); buf.position(buf.ptr, bptr, buf.vlenptr); buf.PutLayerVLenString(1, aRecordSetMD.Column[jj].Name, nColumnNameMaxByteLength, 2); if ( aRecordSetMD.Column[jj].MapKey != null ) { buf.PutLayerVLenString(1, aRecordSetMD.Column[jj].MapKey.getValue(), nColumnNameMaxByteLength, 2); } else { buf.PutLayerVLenString(1, "", nColumnNameMaxByteLength, 2); } buf.PutLayerInt(1, aRecordSetMD.Column[jj].DTyp.AsInt()); buf.PutLayerLong(1, aRecordSetMD.Column[jj].ByteMemLength); buf.PutLayerLong(1, aRecordSetMD.Column[jj].ByteMaxLength); } return 0; } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error in writing output map to DBB", e); } } /* C# >>> */ public void mBytesRequired(RecordSetMD aRecordSetMD, long nRecords , out long rsize, out long rflensize, out long rvlensize ) { rsize = 0; rflensize = 0; rvlensize = 0; int nColumns = aRecordSetMD.nColumns(); for ( int jj = 0 ; jj < nColumns ; jj++ ) { aRecordSetMD.Column[jj].Consistency(); rflensize += aRecordSetMD.Column[jj].ByteMemLength; if ( aRecordSetMD.Column[jj].isVLen() ) rvlensize += aRecordSetMD.Column[jj].ByteMaxLength; } rsize = nRecords * rflensize + nRecords * rvlensize; } /* <<< C# */ /* Java >>> * public void mBytesRequired(RecordSetMD aRecordSetMD, long nRecords, long[] csize, long[] hsize, long[] rsize , long[] cleadsize , long[] hleadsize, long[] hflensize, long[] hvlensize , long[] rleadsize, long[] rflensize, long[] rvlensize ) throws com.WDataSci.WDS.WDSException { csize[0] = 0; hsize[0] = 0; rsize[0] = 0; cleadsize[0] = 8 * 8; hleadsize[0] = 8 * 8; hflensize[0] = 40; hvlensize[0] = 2 * aRecordSetMD.nHeaderByteMaxLength(); rleadsize[0] = 8 * 8; rflensize[0] = 0; rvlensize[0] = 0; int nColumns = aRecordSetMD.nColumns(); for ( int jj = 0; jj < nColumns; jj++ ) { aRecordSetMD.Column[jj].Consistency(); rflensize[0] += aRecordSetMD.Column[jj].ByteMemLength; if ( aRecordSetMD.Column[jj].isVLen() ) rvlensize[0] += aRecordSetMD.Column[jj].ByteMaxLength; } hsize[0] = hleadsize[0] + nColumns * 40 + 2 * nColumns * aRecordSetMD.nHeaderByteMaxLength(); rsize[0] = rleadsize[0] + nRecords * rflensize[0] + nRecords * rvlensize[0]; csize[0] = cleadsize[0] + hsize[0] + rsize[0]; } /* <<< Java */ /* C# >>> */ public void mBytesRequired(RecordSetMD aRecordSetMD, long nRecords, out long csize, out long hsize, out long rsize , out long cleadsize , out long hleadsize, out long hflensize, out long hvlensize , out long rleadsize, out long rflensize, out long rvlensize ) { csize = 0; hsize = 0; rsize = 0; cleadsize = 8 * 8; hleadsize = 8 * 8; hflensize = 40; hvlensize = 2 * aRecordSetMD.nHeaderByteMaxLength(); rleadsize = 8 * 8; int nColumns = aRecordSetMD.nColumns(); this.mBytesRequired(aRecordSetMD, nRecords, out rsize, out rflensize, out rvlensize); hsize = hleadsize + nColumns * 40 + 2 * nColumns * aRecordSetMD.nHeaderByteMaxLength(); rsize = rleadsize + nRecords * rflensize + nRecords * rvlensize; csize = cleadsize + hsize + rsize; } /* <<< C# */ public void mWritePrepFor(RecordSetMD aRecordSetMD, long nRecords) //throws com.WDataSci.WDS.WDSException { long rflen = 0; long rvlen = 0; for ( int jj = 0 ; jj < aRecordSetMD.nColumns() ; jj++ ) { aRecordSetMD.Column[jj].Consistency(); rflen += aRecordSetMD.Column[jj].ByteMemLength; if ( aRecordSetMD.Column[jj].isVLen() ) rvlen += aRecordSetMD.Column[jj].ByteMaxLength; } this.RecordSet.Buffer.nRecords = nRecords; this.RecordSet.Buffer.nRecordFLenBytes = rflen; this.RecordSet.Buffer.nRecordVLenBytes = rvlen; this.RecordSet.Buffer.LayoutStyle = "WDSD"; this.RecordSet.Buffer.nDBBLeadingBytes = 8 * 8; this.RecordSet.Buffer.nDBBFLenBytes = nRecords * rflen; this.RecordSet.Buffer.nDBBVLenBytes = nRecords * rvlen; this.RecordSet.Buffer.nDBBRequiredBytes = this.RecordSet.Buffer.nDBBLeadingBytes + this.RecordSet.Buffer.nDBBFLenBytes + this.RecordSet.Buffer.nDBBVLenBytes; if ( this.RecordSet.Buffer.nDBBRequiredBytes > this.RecordSet.Buffer.Length || (this.RecordSet.Buffer.nDBBRequiredBytes + this.RecordSet.Buffer.offset) > this.RecordSet.Buffer.data.Length ) throw new com.WDataSci.WDS.WDSException("Error, capacity of underlying byte[] is insufficient in DBB.ProcessRecordSetParameters"); this.RecordSet.Buffer.bHasFLenVLenSplit = true; this.RecordSet.Buffer.flenoffset = this.RecordSet.Buffer.offset + this.RecordSet.Buffer.nDBBLeadingBytes; this.RecordSet.Buffer.flenlength = this.RecordSet.Buffer.nDBBFLenBytes; this.RecordSet.Buffer.vlenoffset = this.RecordSet.Buffer.offset + this.RecordSet.Buffer.nDBBLeadingBytes + this.RecordSet.Buffer.nDBBFLenBytes; this.RecordSet.Buffer.flenlength = this.RecordSet.Buffer.nDBBVLenBytes; this.RecordSet.Buffer.position(0, 0, 0); } public int mWriteRecordSet(RecordSetMD outRecordSetMD , RecordSet aOutputRecordSet , RecordSetMD inRecordSetMD , RecordSet aInputRecordSet ) //throws com.WDataSci.WDS.WDSException { try { if ( this.RecordSet.Buffer == null ) throw new com.WDataSci.WDS.WDSException("Error, RecordSet buffer not set before WriteSet!"); DBB buf = this.RecordSet.Buffer; int nRows = aOutputRecordSet.Records.size(); this.mWritePrepFor(outRecordSetMD, nRows); buf.position(0, 0, 0); int bptr = 0; //write leading data buf.PutLayerFLenString(0, "WDSD", 8, 0); buf.PutLayerLong(0, buf.nDBBRequiredBytes); buf.PutLayerLong(0, buf.nDBBLeadingBytes); buf.PutLayerLong(0, buf.nDBBFLenBytes); buf.PutLayerLong(0, buf.nDBBVLenBytes); buf.PutLayerLong(0, buf.nRecords); buf.PutLayerLong(0, buf.nRecordFLenBytes); buf.PutLayerLong(0, buf.nRecordVLenBytes); int nColumns = outRecordSetMD.nColumns(); int nInputColumns = inRecordSetMD.nColumns(); bptr = 0; for ( int i = 0 ; i < nRows ; i++, bptr += (int) buf.nRecordFLenBytes ) { buf.position(buf.ptr, bptr, buf.vlenptr); Map<FieldName, Object> outRow = aOutputRecordSet.Records.get(i); Object[] inRow = null; if ( outRecordSetMD.ModeMatter.bRepeatInputFields ) inRow = aInputRecordSet.Records_Orig.get(i); Boolean bInInputSet = outRecordSetMD.ModeMatter.bRepeatInputFields; int j = 0; int jj = 0; for ( jj = 0, j = 0 ; jj < nColumns ; jj++, j++ ) { if ( bInInputSet && jj == nInputColumns ) { bInInputSet = false; j = 0; } Object lv = 0; if ( bInInputSet ) lv = inRow[j]; else lv = outRow.get(outRecordSetMD.Column[j].MapKey); switch ( outRecordSetMD.Column[jj].DTyp ) { //case Dbl: case FieldMDEnums.eDTyp.Dbl: if ( lv == null ) lv = Double.NaN; buf.PutLayerDouble(1, (double) lv); break; //case Lng: case FieldMDEnums.eDTyp.Lng: //Java if ( lv == null ) lv = Long.MIN_VALUE; //C# if ( lv == null ) lv = long.MinValue; buf.PutLayerLong(1, (long) lv); break; //case Int: case FieldMDEnums.eDTyp.Int: //Java if ( lv == null ) lv = Integer.MIN_VALUE; //C# if ( lv == null ) lv = int.MinValue; buf.PutLayerInt(1, (int) lv); break; //case Dte: case FieldMDEnums.eDTyp.Dte: if ( lv == null ) lv = Double.NaN; buf.PutLayerDouble(1, (double) lv); break; //case DTm: case FieldMDEnums.eDTyp.DTm: if ( lv == null ) lv = Double.NaN; buf.PutLayerDouble(1, (double) lv); break; //case Str: case FieldMDEnums.eDTyp.Str: buf.PutLayerFLenString(1, (String) lv, (int) outRecordSetMD.Column[jj].ByteMaxLength, 2); break; //case VLS: case FieldMDEnums.eDTyp.VLS: buf.PutLayerVLenString(1, (String) lv, (int) outRecordSetMD.Column[jj].ByteMaxLength, 2); break; default: throw new com.WDataSci.WDS.WDSException("Error, unImplemented column type" + outRecordSetMD.Column[jj].DTyp.ToString()); } } } return 0; } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error in writing output map to DBB", e); } } /* C# >>> */ public int mWriteRecordSet(RecordSetMD inRecordSetMD , MOIE.ListObject aListObject ) { try { if ( this.RecordSet.Buffer == null ) throw new com.WDataSci.WDS.WDSException("Error, RecordSet buffer not set before WriteSet!"); DBB buf = this.RecordSet.Buffer; int nRows = aListObject.ListRows.Count; int nColumns = aListObject.ListColumns.Count; if ( nColumns != inRecordSetMD.nColumns() ) throw new com.WDataSci.WDS.WDSException("Error, Excel ListObject #columns does not match RecordSetMD #columns"); this.mWritePrepFor(inRecordSetMD, nRows); buf.position(0, 0, 0); //write leading data buf.PutLayerFLenString(0, "WDSD", 8, 0); buf.PutLayerLong(0, buf.nDBBRequiredBytes); buf.PutLayerLong(0, buf.nDBBLeadingBytes); buf.PutLayerLong(0, buf.nDBBFLenBytes); buf.PutLayerLong(0, buf.nDBBVLenBytes); buf.PutLayerLong(0, buf.nRecords); buf.PutLayerLong(0, buf.nRecordFLenBytes); buf.PutLayerLong(0, buf.nRecordVLenBytes); int bptr = 0; //bptr = (int) buf.nDBBLeadingBytes; int nInputColumns = inRecordSetMD.nColumns(); object[,] r = aListObject.Range.Value2; for ( int i = 0, iP2 = 2; i < nRows; i++, iP2++ ) { if ( i > 0 ) bptr += (int) this.RecordSet.Buffer.nRecordFLenBytes; long lbptr = bptr; buf.position(buf.ptr, (int) bptr, buf.vlenptr); for ( int j = 0, jP1 = 1 ; j < nColumns ; j++, jP1++ ) { Object obj = r[iP2, jP1]; switch ( inRecordSetMD.Column[j].DTyp ) { case FieldMDEnums.eDTyp.Dbl: buf.PutLayerDouble(1, obj); break; case FieldMDEnums.eDTyp.Lng: buf.PutLayerLong(1, obj); break; case FieldMDEnums.eDTyp.Dte: buf.PutLayerDouble(1, obj); break; case FieldMDEnums.eDTyp.DTm: buf.PutLayerDouble(1, obj); break; case FieldMDEnums.eDTyp.Int: buf.PutLayerInt(1, obj); break; case FieldMDEnums.eDTyp.Str: buf.PutLayerFLenString(1, Convert.ToString(obj), (int) inRecordSetMD.Column[j].ByteMaxLength, 2); break; case FieldMDEnums.eDTyp.VLS: buf.PutLayerVLenString(1, Convert.ToString(obj), (int) inRecordSetMD.Column[j].ByteMaxLength, 2); break; default: throw new Exception("Hey"); } } } return 0; } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error in writing output map to DBB", e); } } public int mWriteRecordSet(RecordSetMD inRecordSetMD , Object[,] r , Boolean bIncludesHeaderRow ) { try { if ( this.RecordSet.Buffer == null ) throw new com.WDataSci.WDS.WDSException("Error, RecordSet buffer not set before WriteSet!"); DBB buf = this.RecordSet.Buffer; int rowstartindex = r.GetLowerBound(0); int nRows = r.GetUpperBound(0) - rowstartindex + 1; if ( bIncludesHeaderRow ) { nRows -= 1; rowstartindex += 1; } int nColumns = r.GetUpperBound(1) - r.GetLowerBound(1) + 1; if ( nColumns != inRecordSetMD.nColumns() ) throw new com.WDataSci.WDS.WDSException("Error, Excel ListObject #columns does not match RecordSetMD #columns"); this.mWritePrepFor(inRecordSetMD, nRows); buf.position(0, 0, 0); //write leading data buf.PutLayerFLenString(0, "WDSD", 8, 0); buf.PutLayerLong(0, buf.nDBBRequiredBytes); buf.PutLayerLong(0, buf.nDBBLeadingBytes); buf.PutLayerLong(0, buf.nDBBFLenBytes); buf.PutLayerLong(0, buf.nDBBVLenBytes); buf.PutLayerLong(0, buf.nRecords); buf.PutLayerLong(0, buf.nRecordFLenBytes); buf.PutLayerLong(0, buf.nRecordVLenBytes); int bptr = 0; //bptr = (int) buf.nDBBLeadingBytes; int nInputColumns = inRecordSetMD.nColumns(); for ( int i = 0, ii = rowstartindex ; i < nRows ; i++, ii++ ) { if ( i > 0 ) bptr += (int) this.RecordSet.Buffer.nRecordFLenBytes; long lbptr = bptr; buf.position(buf.ptr, (int) bptr, buf.vlenptr); for ( int j = 0, jj = r.GetLowerBound(1) ; j < nColumns ; j++, jj++ ) { Object obj = r [ii, jj]; switch ( inRecordSetMD.Column [j].DTyp ) { case FieldMDEnums.eDTyp.Dbl: buf.PutLayerDouble(1, obj); break; case FieldMDEnums.eDTyp.Lng: buf.PutLayerLong(1, obj); break; case FieldMDEnums.eDTyp.Dte: buf.PutLayerDouble(1, obj); break; case FieldMDEnums.eDTyp.DTm: buf.PutLayerDouble(1, obj); break; case FieldMDEnums.eDTyp.Int: buf.PutLayerInt(1, obj); break; case FieldMDEnums.eDTyp.Str: buf.PutLayerFLenString(1, Convert.ToString(obj), (int) inRecordSetMD.Column [j].ByteMaxLength, 2); break; case FieldMDEnums.eDTyp.VLS: buf.PutLayerVLenString(1, Convert.ToString(obj), (int) inRecordSetMD.Column [j].ByteMaxLength, 2); break; default: throw new Exception("Hey"); } } } return 0; } catch ( Exception e ) { throw new com.WDataSci.WDS.WDSException("Error in writing output map to DBB", e); } } /* <<< C# */ } /* C# >>> */ } /* <<< C# */
42.915138
155
0.475122
f63801e52141d3566d949e3eabc9309d3d2ec863
987
hpp
C++
src/point.hpp
xyl1t/Cidr
48ee260ec4871eddb795ccc0f3aa1fddfc2cd0aa
[ "MIT" ]
6
2020-09-10T17:44:49.000Z
2021-03-14T16:41:11.000Z
src/point.hpp
xyl1t/Cidr
48ee260ec4871eddb795ccc0f3aa1fddfc2cd0aa
[ "MIT" ]
1
2021-07-22T20:25:00.000Z
2021-11-27T19:44:35.000Z
src/point.hpp
xyl1t/Cidr
48ee260ec4871eddb795ccc0f3aa1fddfc2cd0aa
[ "MIT" ]
null
null
null
/******************************** * Project: Cidr * * File: point.hpp * * Date: 12.9.2020 * ********************************/ #ifndef CIDR_POINT_HPP #define CIDR_POINT_HPP #include "tensorMath.hpp" // TODO: ADD CONSTURCTORS! // In order to keep the code "consice" I just derive the point classes from vectors // But Since points are not really vectors they shouldn't have length functions so I hide them namespace cdr { struct FPoint; struct Point : public tem::ivec2 { public: Point(); Point(int x, int y); operator cdr::FPoint() const; private: using tem::ivec2::length; using tem::ivec2::setLength; using tem::ivec2::addLength; using tem::ivec2::subLength; }; struct FPoint : public tem::vec2 { public: FPoint(); FPoint(float x, float y); operator cdr::Point() const; private: using tem::vec2::length; using tem::vec2::setLength; using tem::vec2::addLength; using tem::vec2::subLength; }; } #endif
21.456522
94
0.616008
e6c34ce5698d3c57034991fa808d2da61dd769dd
574
h
C
framework/thirdparty/skia/src/opts/SkMorphology_opts.h
lifan0710/Boymue
eb254ada1b049cffc72f1d4c8af484f0f3af9dac
[ "MIT" ]
1
2021-06-19T09:38:29.000Z
2021-06-19T09:38:29.000Z
framework/thirdparty/skia/src/opts/SkMorphology_opts.h
lifan0710/Boymue
eb254ada1b049cffc72f1d4c8af484f0f3af9dac
[ "MIT" ]
null
null
null
framework/thirdparty/skia/src/opts/SkMorphology_opts.h
lifan0710/Boymue
eb254ada1b049cffc72f1d4c8af484f0f3af9dac
[ "MIT" ]
null
null
null
/* * Copyright 2013 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkMorphology_opts_DEFINED #define SkMorphology_opts_DEFINED #include "SkMorphologyImageFilter.h" enum SkMorphologyProcType { kDilateX_SkMorphologyProcType, kDilateY_SkMorphologyProcType, kErodeX_SkMorphologyProcType, kErodeY_SkMorphologyProcType }; // boymue comment SkMorphologyImageFilter::Proc SkMorphologyGetPlatformProc(SkMorphologyProcType type) { return NULL; }; #endif
21.259259
84
0.790941
d1e99d2367c2f774c4b874db62fc5110b47047ef
978
dart
Dart
lib/utils/business_exception.dart
Danboruya/lily-searcher
88692efe4ac9119435afce3ffe2b31433aacc048
[ "Apache-2.0" ]
null
null
null
lib/utils/business_exception.dart
Danboruya/lily-searcher
88692efe4ac9119435afce3ffe2b31433aacc048
[ "Apache-2.0" ]
3
2021-12-11T03:04:39.000Z
2022-02-06T01:34:27.000Z
lib/utils/business_exception.dart
Danboruya/lily-searcher
88692efe4ac9119435afce3ffe2b31433aacc048
[ "Apache-2.0" ]
null
null
null
import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:simple_logger/simple_logger.dart'; class BusinessExceptionStateNotifier extends StateNotifier<BusinessException> { BusinessExceptionStateNotifier(_logger, [BusinessException? businessException]) : super(businessException ?? BusinessException("", "", _logger)); } class BusinessException implements Exception { BusinessException(this.title, this.message, this._logger); String title; String message; bool hasException = false; final SimpleLogger _logger; void create(String? title, String? message) { title = title ?? ""; message = message ?? ""; hasException = true; } void _reset() { title = ""; message = ""; hasException = false; } @override String toString() { String _title = title; String msg = 'Exception has occurred. Ex message: $message'; _logger.shout('$_title\n$msg'); _reset(); return '$_title\n$msg'; } }
23.853659
79
0.691207
ae58f845ec940b22af6873063632066097791a03
4,327
lua
Lua
spec/substitute/range_spec.lua
gbprod/substitute.nvim
0a9eec9e7a650396f42481a96e0ed1dc7553db86
[ "WTFPL" ]
64
2021-12-20T15:02:21.000Z
2022-03-27T03:44:48.000Z
spec/substitute/range_spec.lua
gbprod/substitute.nvim
0a9eec9e7a650396f42481a96e0ed1dc7553db86
[ "WTFPL" ]
6
2021-12-21T08:41:39.000Z
2022-03-25T10:23:14.000Z
spec/substitute/range_spec.lua
gbprod/substitute.nvim
0a9eec9e7a650396f42481a96e0ed1dc7553db86
[ "WTFPL" ]
null
null
null
local substitute = require("substitute") local range = require("substitute.range") local function execute_keys(feedkeys) local keys = vim.api.nvim_replace_termcodes(feedkeys, true, false, true) vim.api.nvim_feedkeys(keys, "tm", false) end describe("Substitute range", function() before_each(function() local buf = vim.api.nvim_create_buf(false, true) vim.api.nvim_command("buffer " .. buf) vim.api.nvim_buf_set_lines(0, 0, -1, true, { "Lorem", "ipsum", "dolor", "sit", "amet", }) end) it("should prepare replace command", function() substitute.setup() range.operator() vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']s/Lorem//g<Left><Left>", true, false, true), cmd) end) it("should use abolish from global setup", function() substitute.setup({ range = { prefix = "S", }, }) range.operator() vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']S/Lorem//g<Left><Left>", true, false, true), cmd) end) it("should use abolish from override", function() substitute.setup() range.operator({ prefix = "S" }) vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']S/Lorem//g<Left><Left>", true, false, true), cmd) end) it("should prompt current text", function() substitute.setup({ range = { prompt_current_text = true, }, }) range.operator() vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']s/Lorem/Lorem/g<Left><Left>", true, false, true), cmd) end) it("should prompt current text using override", function() substitute.setup() range.operator({ prompt_current_text = true }) vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) range.selection_operator_callback() execute_keys("<cr>") local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']s/Lorem/Lorem/g<Left><Left>", true, false, true), cmd) end) it("should ask for confirmation", function() substitute.setup({ range = { confirm = true, }, }) range.operator() vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']s/Lorem//gc<Left><Left><Left>", true, false, true), cmd) end) it("should ask for confirmation using override", function() substitute.setup() range.operator({ confirm = true }) vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 1, 4, {}) range.operator_callback("char") vim.api.nvim_buf_set_mark(0, "[", 1, 0, {}) vim.api.nvim_buf_set_mark(0, "]", 5, 3, {}) local cmd = range.create_replace_command() assert.are.equal(vim.api.nvim_replace_termcodes(":'[,']s/Lorem//gc<Left><Left><Left>", true, false, true), cmd) end) end)
30.048611
115
0.620291
14970351800467c8387e793358fcad4a427c277a
402
tsx
TypeScript
src/v2/Components/Buttons/index.tsx
ds300/force
e391d6a47a3da61123a24be3e18d15eeb92c99c7
[ "MIT" ]
null
null
null
src/v2/Components/Buttons/index.tsx
ds300/force
e391d6a47a3da61123a24be3e18d15eeb92c99c7
[ "MIT" ]
null
null
null
src/v2/Components/Buttons/index.tsx
ds300/force
e391d6a47a3da61123a24be3e18d15eeb92c99c7
[ "MIT" ]
null
null
null
// @ts-ignore import Button, { ButtonProps } from "./Default" import GhostButton from "./Ghost" import InvertedButton from "./Inverted" import MultiStateButton from "./MultiStateButton" /** * @deprecated in favor of our Design System Buttons in @artsy/palette * https://palette.artsy.net/elements/buttons/button/ */ export default { Button, GhostButton, InvertedButton, MultiStateButton, }
23.647059
70
0.741294
fe9157d028375f8aeaed2b7750be27cf9d0f5331
28,930
swift
Swift
Sources/CwlViews/Implementations/iOS/CwlApplication_iOS.swift
sboddeus/CwlViews
b1692c6687a8eef14fa94c921eb2bd484caf8d69
[ "0BSD" ]
178
2019-04-28T03:23:20.000Z
2022-03-16T15:10:06.000Z
Sources/CwlViews/Implementations/iOS/CwlApplication_iOS.swift
sboddeus/CwlViews
b1692c6687a8eef14fa94c921eb2bd484caf8d69
[ "0BSD" ]
8
2019-05-05T20:01:23.000Z
2019-06-16T03:44:53.000Z
Sources/CwlViews/Implementations/iOS/CwlApplication_iOS.swift
sboddeus/CwlViews
b1692c6687a8eef14fa94c921eb2bd484caf8d69
[ "0BSD" ]
8
2019-05-05T08:28:32.000Z
2021-06-18T11:05:36.000Z
// // CwlApplication_iOS.swift // CwlViews // // Created by Matt Gallagher on 5/08/2015. // Copyright © 2015 Matt Gallagher ( https://www.cocoawithlove.com ). All rights reserved. // // Permission to use, copy, modify, and/or distribute this software for any purpose with or without // fee is hereby granted, provided that the above copyright notice and this permission notice // appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS // SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE // AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, // NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE // OF THIS SOFTWARE. // #if os(iOS) import UIKit public func applicationMain(type: UIApplication.Type = UIApplication.self, _ application: @escaping () -> Application) -> Never { Application.Preparer.Storage.storedApplicationConstructor = application _ = UIApplicationMain(CommandLine.argc, CommandLine.unsafeArgv, NSStringFromClass(type), NSStringFromClass(Application.Preparer.Storage.self)) fatalError("UIApplicationMain completed unexpectedly") } // MARK: - Binder Part 1: Binder public class Application: Binder { public var state: BinderState<Preparer> public required init(type: Preparer.Instance.Type, parameters: Preparer.Parameters, bindings: [Preparer.Binding]) { precondition(type == Preparer.Instance.self, "Custom application subclass must be specified as parameter to `applicationMain`") state = .pending(type: type, parameters: parameters, bindings: bindings) } } // MARK: - Binder Part 2: Binding public extension Application { enum Binding: ApplicationBinding { case inheritedBinding(Preparer.Inherited.Binding) // 0. Static bindings are applied at construction and are subsequently immutable. // 1. Value bindings may be applied at construction and may subsequently change. case iconBadgeNumber(Dynamic<Int>) case isIdleTimerDisabled(Dynamic<Bool>) case isNetworkActivityIndicatorVisible(Dynamic<Bool>) case shortcutItems(Dynamic<[UIApplicationShortcutItem]?>) case supportShakeToEdit(Dynamic<Bool>) case window(Dynamic<WindowConvertible?>) // 2. Signal bindings are performed on the object after construction. case ignoreInteractionEvents(Signal<Bool>) case registerForRemoteNotifications(Signal<Bool>) // 3. Action bindings are triggered by the object after construction. // 4. Delegate bindings require synchronous evaluation within the object's context. case continueUserActivity((_ application: UIApplication, _ userActivity: NSUserActivity, _ restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool) case didBecomeActive((UIApplication) -> Void) case didDecodeRestorableState((UIApplication, NSKeyedUnarchiver) -> Void) case didEnterBackground((UIApplication) -> Void) case didFailToContinueUserActivity((UIApplication, String, Error) -> Void) case didFinishLaunching((_ application: UIApplication, [UIApplication.LaunchOptionsKey: Any]?) -> Bool) case didReceiveMemoryWarning((UIApplication) -> Void) case didReceiveRemoteNotification((UIApplication, [AnyHashable: Any], @escaping (UIBackgroundFetchResult) -> Void) -> Void) case didRegisterRemoteNotifications((UIApplication, Error) -> Void) case didUpdate((_ application: UIApplication, NSUserActivity) -> Void) case handleEventsForBackgroundURLSession((UIApplication, String, @escaping () -> Void) -> Void) case handleWatchKitExtensionRequest((UIApplication, [AnyHashable : Any]?, @escaping ([AnyHashable : Any]?) -> Void) -> Void) case open((_ application: UIApplication, _ url: URL, _ options: [UIApplication.OpenURLOptionsKey: Any]) -> Bool) case performAction((UIApplication, UIApplicationShortcutItem, @escaping (Bool) -> Void) -> Void) case performFetch((UIApplication, @escaping (UIBackgroundFetchResult) -> Void) -> Void) case protectedDataDidBecomeAvailable((UIApplication) -> Void) case protectedDataWillBecomeUnavailable((UIApplication) -> Void) case shouldAllowExtensionPointIdentifier((_ application: UIApplication, UIApplication.ExtensionPointIdentifier) -> Bool) case shouldRequestHealthAuthorization((_ application: UIApplication) -> Void) case significantTimeChange((UIApplication) -> Void) case viewControllerWithRestorationPath((_ application: UIApplication, _ path: [String], _ coder: NSCoder) -> UIViewController?) case willContinueUserActivity((_ application: UIApplication, String) -> Bool) case willEncodeRestorableState((_ application: UIApplication, NSKeyedArchiver) -> Void) case willEnterForeground((UIApplication) -> Void) case willFinishLaunching((_ application: UIApplication, [UIApplication.LaunchOptionsKey: Any]?) -> Bool) case willResignActive((UIApplication) -> Void) case willTerminate((_ application: UIApplication) -> Void) } } // MARK: - Binder Part 3: Preparer public extension Application { struct Preparer: BinderDelegateEmbedder { public typealias Binding = Application.Binding public typealias Inherited = BinderBase public typealias Instance = UIApplication public var inherited = Inherited() public var dynamicDelegate: Delegate? = nil public let delegateClass: Delegate.Type public init(delegateClass: Delegate.Type) { self.delegateClass = delegateClass } public func constructStorage(instance: Instance) -> Storage { return Storage.storedStorage! } public func inheritedBinding(from: Binding) -> Inherited.Binding? { if case .inheritedBinding(let b) = from { return b } else { return nil } } } } // MARK: - Binder Part 4: Preparer overrides public extension Application.Preparer { var delegateIsRequired: Bool { return true } mutating func prepareBinding(_ binding: Binding) { switch binding { case .inheritedBinding(let s): inherited.prepareBinding(s) case .continueUserActivity(let x): delegate().addSingleHandler3(x, #selector(UIApplicationDelegate.application(_:continue:restorationHandler:))) case .didBecomeActive(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationDidBecomeActive(_:))) case .didDecodeRestorableState(let x): delegate().addMultiHandler2(x, #selector(UIApplicationDelegate.application(_:didDecodeRestorableStateWith:))) delegate().addSingleHandler2({ (a: UIApplication, c: NSCoder) in true }, #selector(UIApplicationDelegate.application(_:shouldRestoreApplicationState:))) case .didEnterBackground(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationDidEnterBackground(_:))) case .didFailToContinueUserActivity(let x): delegate().addMultiHandler3(x, #selector(UIApplicationDelegate.application(_:didFailToContinueUserActivityWithType:error:))) case .didFinishLaunching(let x): delegate().addSingleHandler2(x, #selector(UIApplicationDelegate.application(_:didFinishLaunchingWithOptions:))) case .didReceiveMemoryWarning(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationDidReceiveMemoryWarning(_:))) case .didReceiveRemoteNotification(let x): delegate().addMultiHandler3(x, #selector(UIApplicationDelegate.application(_:didReceiveRemoteNotification:fetchCompletionHandler:))) case .didRegisterRemoteNotifications(let x): delegate().addMultiHandler2(x, #selector(UIApplicationDelegate.application(_:didRegisterForRemoteNotificationsWithDeviceToken:))) delegate().addMultiHandler2(x, #selector(UIApplicationDelegate.application(_:didFailToRegisterForRemoteNotificationsWithError:))) case .didUpdate(let x): delegate().addMultiHandler2(x, #selector(UIApplicationDelegate.application(_:didUpdate:))) case .handleEventsForBackgroundURLSession(let x): delegate().addMultiHandler3(x, #selector(UIApplicationDelegate.application(_:handleEventsForBackgroundURLSession:completionHandler:))) case .handleWatchKitExtensionRequest(let x): delegate().addMultiHandler3(x, #selector(UIApplicationDelegate.application(_:handleWatchKitExtensionRequest:reply:))) case .open(let x): delegate().addSingleHandler3(x, #selector(UIApplicationDelegate.application(_:open:options:))) case .performAction(let x): delegate().addMultiHandler3(x, #selector(UIApplicationDelegate.application(_:performActionFor:completionHandler:))) case .performFetch(let x): delegate().addMultiHandler2(x, #selector(UIApplicationDelegate.application(_:performFetchWithCompletionHandler:))) case .protectedDataWillBecomeUnavailable(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationProtectedDataWillBecomeUnavailable(_:))) case .protectedDataDidBecomeAvailable(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationProtectedDataDidBecomeAvailable(_:))) case .shouldAllowExtensionPointIdentifier(let x): delegate().addSingleHandler2(x, #selector(UIApplicationDelegate.application(_:shouldAllowExtensionPointIdentifier:))) case .shouldRequestHealthAuthorization(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationShouldRequestHealthAuthorization(_:))) case .significantTimeChange(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationSignificantTimeChange(_:))) case .viewControllerWithRestorationPath(let x): delegate().addSingleHandler3(x, #selector(UIApplicationDelegate.application(_:viewControllerWithRestorationIdentifierPath:coder:))) case .willContinueUserActivity(let x): delegate().addSingleHandler2(x, #selector(UIApplicationDelegate.application(_:willContinueUserActivityWithType:))) case .willEncodeRestorableState(let x): delegate().addMultiHandler2(x, #selector(UIApplicationDelegate.application(_:willEncodeRestorableStateWith:))) delegate().addSingleHandler2({ (a: UIApplication, c: NSCoder) in true }, #selector(UIApplicationDelegate.application(_:shouldSaveApplicationState:))) case .willEnterForeground(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationWillEnterForeground(_:))) case .willResignActive(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationWillResignActive(_:))) case .willTerminate(let x): delegate().addMultiHandler1(x, #selector(UIApplicationDelegate.applicationWillTerminate(_:))) default: break } } func applyBinding(_ binding: Binding, instance: Instance, storage: Storage) -> Lifetime? { switch binding { case .inheritedBinding(let x): return inherited.applyBinding(x, instance: instance, storage: storage) // 0. Static bindings are applied at construction and are subsequently immutable. // 1. Value bindings may be applied at construction and may subsequently change. case .iconBadgeNumber(let x): return x.apply(instance) { i, v in i.applicationIconBadgeNumber = v } case .isIdleTimerDisabled(let x): return x.apply(instance) { i, v in i.isIdleTimerDisabled = v } case .isNetworkActivityIndicatorVisible(let x): return x.apply(instance) { i, v in i.isNetworkActivityIndicatorVisible = v } case .shortcutItems(let x): return x.apply(instance) { i, v in i.shortcutItems = v } case .supportShakeToEdit(let x): return x.apply(instance) { i, v in i.applicationSupportsShakeToEdit = v } case .window(let x): return x.apply(instance, storage) { i, s, v in s.window = v?.uiWindow() } // 2. Signal bindings are performed on the object after construction. case .ignoreInteractionEvents(let x): return x.apply(instance) { i, v in switch (i.isIgnoringInteractionEvents, v) { case (false, true): i.beginIgnoringInteractionEvents() case (true, false): i.endIgnoringInteractionEvents() default: break } } case .registerForRemoteNotifications(let x): return x.apply(instance) { i, v in switch (i.isRegisteredForRemoteNotifications, v) { case (false, true): i.registerForRemoteNotifications() case (true, false): i.unregisterForRemoteNotifications() default: break } } // 3. Action bindings are triggered by the object after construction. // 4. Delegate bindings require synchronous evaluation within the object's context. case .didBecomeActive: return nil case .didEnterBackground: return nil case .didFailToContinueUserActivity: return nil case .didReceiveMemoryWarning: return nil case .didReceiveRemoteNotification: return nil case .didRegisterRemoteNotifications: return nil case .handleEventsForBackgroundURLSession: return nil case .handleWatchKitExtensionRequest: return nil case .performAction: return nil case .performFetch: return nil case .protectedDataDidBecomeAvailable: return nil case .protectedDataWillBecomeUnavailable: return nil case .significantTimeChange: return nil case .willEnterForeground: return nil case .willResignActive: return nil case .continueUserActivity: return nil case .didDecodeRestorableState: return nil case .didFinishLaunching: return nil case .didUpdate: return nil case .open: return nil case .shouldAllowExtensionPointIdentifier: return nil case .shouldRequestHealthAuthorization: return nil case .viewControllerWithRestorationPath: return nil case .willContinueUserActivity: return nil case .willEncodeRestorableState: return nil case .willFinishLaunching(let x): storage.willFinishLaunching = x return nil case .willTerminate: return nil } } } // MARK: - Binder Part 5: Storage and Delegate extension Application.Preparer { open class Storage: AssociatedBinderStorage, UIApplicationDelegate { static var storedApplicationConstructor: (() -> Application)? = nil static var storedStorage: Storage? = nil open var window: UIWindow? = nil open var additionalWindows: [UIWindow] = [] open var willFinishLaunching: ((UIApplication, [UIApplication.LaunchOptionsKey: Any]?) -> Bool)? open override var isInUse: Bool { return true } open func applyToSharedApplication() { // If the storageApplicationConstructor is not set, this function is a no-op. This is useful during testing. guard let application = Storage.storedApplicationConstructor else { return } // Disconnect the delegate since we're about to change the handled delegate methods UIApplication.shared.delegate = nil Application.Preparer.Storage.storedStorage = self // Apply the styles to the application and delegate. application().apply(to: UIApplication.shared) Application.Preparer.Storage.storedApplicationConstructor = nil Application.Preparer.Storage.storedStorage = nil // Ensure that the delegate was reapplied assert(UIApplication.shared.delegate === self, "Failed to reconnect delegate") // Apply the view hierarchy window?.makeKeyAndVisible() } public func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { applyToSharedApplication() // Invoke any user-supplied code return willFinishLaunching?(application, launchOptions) ?? true } } open class Delegate: DynamicDelegate, UIApplicationDelegate { public func applicationDidBecomeActive(_ application: UIApplication) { multiHandler(application) } public func applicationWillResignActive(_ application: UIApplication) { multiHandler(application) } public func applicationDidEnterBackground(_ application: UIApplication) { multiHandler(application) } public func applicationWillEnterForeground(_ application: UIApplication) { multiHandler(application) } public func applicationDidReceiveMemoryWarning(_ application: UIApplication) { multiHandler(application) } public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { return singleHandler(application, launchOptions) } public func applicationWillTerminate(_ application: UIApplication) { return singleHandler(application) } public func applicationProtectedDataWillBecomeUnavailable(_ application: UIApplication) { multiHandler(application) } public func applicationProtectedDataDidBecomeAvailable(_ application: UIApplication) { multiHandler(application) } public func application(_ application: UIApplication, willEncodeRestorableStateWith coder: NSCoder) { return multiHandler(application, coder as! NSKeyedArchiver) } public func application(_ application: UIApplication, didDecodeRestorableStateWith coder: NSCoder) { return multiHandler(application, coder as! NSKeyedUnarchiver) } public func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { multiHandler(application, completionHandler) } public func application(_ application: UIApplication, handleEventsForBackgroundURLSession session: String, completionHandler: @escaping () -> Void) { multiHandler(application, session, completionHandler) } public func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { multiHandler(application, deviceToken) } public func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) { multiHandler(application, error) } public func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { multiHandler(application, userInfo, completionHandler) } public func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [AnyHashable: Any], completionHandler: @escaping () -> Void) { multiHandler(application, identifier, userInfo, completionHandler) } public func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [AnyHashable: Any], withResponseInfo responseInfo: [AnyHashable : Any], completionHandler: @escaping () -> Void) { multiHandler(application, identifier, userInfo, responseInfo, completionHandler) } public func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error: Error) { multiHandler(application, userActivityType, error) } public func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [AnyHashable : Any]?, reply: @escaping ([AnyHashable : Any]?) -> Void) { multiHandler(application, userInfo, reply) } public func applicationShouldRequestHealthAuthorization(_ application: UIApplication) { multiHandler(application) } public func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool { return singleHandler(application, userActivityType) } public func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { return singleHandler(application, userActivity, restorationHandler) } public func application(_ application: UIApplication, didUpdate userActivity: NSUserActivity) { multiHandler(application, userActivity) } public func application(_ application: UIApplication, shouldSaveApplicationState coder: NSCoder) -> Bool { // The existence of this selector on the dynamic delegate triggers an always true response return true } public func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -> Bool { // The existence of this selector on the dynamic delegate triggers an always true response return true } public func applicationSignificantTimeChange(_ application: UIApplication) { multiHandler(application) } public func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [String], coder: NSCoder) -> UIViewController? { return singleHandler(application, identifierComponents, coder) } public func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { return singleHandler(application, url, options) } public func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplication.ExtensionPointIdentifier) -> Bool { return singleHandler(application, extensionPointIdentifier) } public func application(_ application: UIApplication, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) { multiHandler(application, shortcutItem, completionHandler) } } } // MARK: - Binder Part 6: BindingNames extension BindingName where Binding: ApplicationBinding { public typealias ApplicationName<V> = BindingName<V, Application.Binding, Binding> private static func name<V>(_ source: @escaping (V) -> Application.Binding) -> ApplicationName<V> { return ApplicationName<V>(source: source, downcast: Binding.applicationBinding) } } public extension BindingName where Binding: ApplicationBinding { // You can easily convert the `Binding` cases to `BindingName` using the following Xcode-style regex: // Replace: case ([^\(]+)\((.+)\)$ // With: static var $1: ApplicationName<$2> { return .name(Application.Binding.$1) } // 0. Static bindings are applied at construction and are subsequently immutable. // 1. Value bindings may be applied at construction and may subsequently change. static var iconBadgeNumber: ApplicationName<Dynamic<Int>> { return .name(Application.Binding.iconBadgeNumber) } static var isIdleTimerDisabled: ApplicationName<Dynamic<Bool>> { return .name(Application.Binding.isIdleTimerDisabled) } static var isNetworkActivityIndicatorVisible: ApplicationName<Dynamic<Bool>> { return .name(Application.Binding.isNetworkActivityIndicatorVisible) } static var shortcutItems: ApplicationName<Dynamic<[UIApplicationShortcutItem]?>> { return .name(Application.Binding.shortcutItems) } static var supportShakeToEdit: ApplicationName<Dynamic<Bool>> { return .name(Application.Binding.supportShakeToEdit) } static var window: ApplicationName<Dynamic<WindowConvertible?>> { return .name(Application.Binding.window) } // 2. Signal bindings are performed on the object after construction. static var ignoreInteractionEvents: ApplicationName<Signal<Bool>> { return .name(Application.Binding.ignoreInteractionEvents) } static var registerForRemoteNotifications: ApplicationName<Signal<Bool>> { return .name(Application.Binding.registerForRemoteNotifications) } // 3. Action bindings are triggered by the object after construction. // 4. Delegate bindings require synchronous evaluation within the object's context. static var continueUserActivity: ApplicationName<(_ application: UIApplication, _ userActivity: NSUserActivity, _ restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool> { return .name(Application.Binding.continueUserActivity) } static var didBecomeActive: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.didBecomeActive) } static var didDecodeRestorableState: ApplicationName<(_ application: UIApplication, NSKeyedUnarchiver) -> Void> { return .name(Application.Binding.didDecodeRestorableState) } static var didEnterBackground: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.didEnterBackground) } static var didFailToContinueUserActivity: ApplicationName<(UIApplication, String, Error) -> Void> { return .name(Application.Binding.didFailToContinueUserActivity) } static var didFinishLaunching: ApplicationName<(_ application: UIApplication, [UIApplication.LaunchOptionsKey: Any]?) -> Bool> { return .name(Application.Binding.didFinishLaunching) } static var didReceiveMemoryWarning: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.didReceiveMemoryWarning) } static var didReceiveRemoteNotification: ApplicationName<(UIApplication, [AnyHashable: Any], @escaping (UIBackgroundFetchResult) -> Void) -> Void> { return .name(Application.Binding.didReceiveRemoteNotification) } static var didRegisterRemoteNotifications: ApplicationName<(UIApplication, Error) -> Void> { return .name(Application.Binding.didRegisterRemoteNotifications) } static var didUpdate: ApplicationName<(_ application: UIApplication, NSUserActivity) -> Void> { return .name(Application.Binding.didUpdate) } static var handleEventsForBackgroundURLSession: ApplicationName<(UIApplication, String, @escaping () -> Void) -> Void> { return .name(Application.Binding.handleEventsForBackgroundURLSession) } static var handleWatchKitExtensionRequest: ApplicationName<(UIApplication, [AnyHashable : Any]?, @escaping ([AnyHashable : Any]?) -> Void) -> Void> { return .name(Application.Binding.handleWatchKitExtensionRequest) } static var open: ApplicationName<(_ application: UIApplication, _ url: URL, _ options: [UIApplication.OpenURLOptionsKey: Any]) -> Bool> { return .name(Application.Binding.open) } static var performAction: ApplicationName<(UIApplication, UIApplicationShortcutItem, @escaping (Bool) -> Void) -> Void> { return .name(Application.Binding.performAction) } static var performFetch: ApplicationName<(UIApplication, @escaping (UIBackgroundFetchResult) -> Void) -> Void> { return .name(Application.Binding.performFetch) } static var protectedDataDidBecomeAvailable: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.protectedDataDidBecomeAvailable) } static var protectedDataWillBecomeUnavailable: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.protectedDataWillBecomeUnavailable) } static var shouldAllowExtensionPointIdentifier: ApplicationName<(_ application: UIApplication, UIApplication.ExtensionPointIdentifier) -> Bool> { return .name(Application.Binding.shouldAllowExtensionPointIdentifier) } static var shouldRequestHealthAuthorization: ApplicationName<(_ application: UIApplication) -> Void> { return .name(Application.Binding.shouldRequestHealthAuthorization) } static var significantTimeChange: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.significantTimeChange) } static var viewControllerWithRestorationPath: ApplicationName<(_ application: UIApplication, _ path: [String], _ coder: NSCoder) -> UIViewController?> { return .name(Application.Binding.viewControllerWithRestorationPath) } static var willContinueUserActivity: ApplicationName<(_ application: UIApplication, String) -> Bool> { return .name(Application.Binding.willContinueUserActivity) } static var willEncodeRestorableState: ApplicationName<(_ application: UIApplication, NSKeyedArchiver) -> Void> { return .name(Application.Binding.willEncodeRestorableState) } static var willEnterForeground: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.willEnterForeground) } static var willFinishLaunching: ApplicationName<(_ application: UIApplication, [UIApplication.LaunchOptionsKey: Any]?) -> Bool> { return .name(Application.Binding.willFinishLaunching) } static var willResignActive: ApplicationName<(UIApplication) -> Void> { return .name(Application.Binding.willResignActive) } static var willTerminate: ApplicationName<(_ application: UIApplication) -> Void> { return .name(Application.Binding.willTerminate) } } // MARK: - Binder Part 7: Convertible protocols (if constructible) extension UIApplication: HasDelegate {} // MARK: - Binder Part 8: Downcast protocols public protocol ApplicationBinding: BinderBaseBinding { static func applicationBinding(_ binding: Application.Binding) -> Self func asApplicationBinding() -> Application.Binding? } public extension ApplicationBinding { static func binderBaseBinding(_ binding: BinderBase.Binding) -> Self { return applicationBinding(.inheritedBinding(binding)) } } public extension ApplicationBinding where Preparer.Inherited.Binding: ApplicationBinding { func asApplicationBinding() -> Application.Binding? { return asInheritedBinding()?.asApplicationBinding() } } public extension Application.Binding { typealias Preparer = Application.Preparer func asInheritedBinding() -> Preparer.Inherited.Binding? { if case .inheritedBinding(let b) = self { return b } else { return nil } } func asApplicationBinding() -> Application.Binding? { return self } static func applicationBinding(_ binding: Application.Binding) -> Application.Binding { return binding } } // MARK: - Binder Part 9: Other supporting types public enum ApplicationTerminateReply { case now case cancel case later(Signal<Bool>) } #endif
59.282787
250
0.789838
43393d4b2bd2a27f19615973b21f0ae0daa27626
228
ts
TypeScript
src/app/entities/Category.ts
ALotOfNthing/Hourglass
0c468431f4ccccd9efeb086286191a4e8d489e13
[ "Apache-2.0" ]
null
null
null
src/app/entities/Category.ts
ALotOfNthing/Hourglass
0c468431f4ccccd9efeb086286191a4e8d489e13
[ "Apache-2.0" ]
6
2020-03-16T23:10:07.000Z
2021-05-11T07:34:51.000Z
src/app/entities/Category.ts
VekesserVladimir/Hourglass
0c468431f4ccccd9efeb086286191a4e8d489e13
[ "Apache-2.0" ]
null
null
null
export default class Category { id: string; name: string; color: string; constructor(id: string, name: string, color: string) { this.id = id; this.name = name; this.color = color; } }
20.727273
58
0.565789
b7281cb336b3a1b93e4e6d7ce6aea07fbeb47c46
34,303
cc
C++
src/cpp/StartServiceRequest.pb.cc
ZhangShuoAlreadyExists/ProtocolMessage
3c6601cd0f0232a8cfa3a78038fb91862b4e03fd
[ "BSD-3-Clause" ]
2
2019-05-15T06:43:04.000Z
2022-03-04T05:39:39.000Z
src/cpp/StartServiceRequest.pb.cc
ZhangShuoAlreadyExists/ProtocolMessage
3c6601cd0f0232a8cfa3a78038fb91862b4e03fd
[ "BSD-3-Clause" ]
null
null
null
src/cpp/StartServiceRequest.pb.cc
ZhangShuoAlreadyExists/ProtocolMessage
3c6601cd0f0232a8cfa3a78038fb91862b4e03fd
[ "BSD-3-Clause" ]
1
2019-07-31T09:00:44.000Z
2019-07-31T09:00:44.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: StartServiceRequest.proto #include "StartServiceRequest.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite_inl.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/reflection_ops.h> #include <google/protobuf/wire_format.h> // @@protoc_insertion_point(includes) #include <google/protobuf/port_def.inc> namespace tutorial { class StartServiceRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed<StartServiceRequest> _instance; } _StartServiceRequest_default_instance_; } // namespace tutorial static void InitDefaultsStartServiceRequest_StartServiceRequest_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::tutorial::_StartServiceRequest_default_instance_; new (ptr) ::tutorial::StartServiceRequest(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } ::tutorial::StartServiceRequest::InitAsDefaultInstance(); } ::google::protobuf::internal::SCCInfo<0> scc_info_StartServiceRequest_StartServiceRequest_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsStartServiceRequest_StartServiceRequest_2eproto}, {}}; void InitDefaults_StartServiceRequest_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_StartServiceRequest_StartServiceRequest_2eproto.base); } ::google::protobuf::Metadata file_level_metadata_StartServiceRequest_2eproto[1]; constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_StartServiceRequest_2eproto = nullptr; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_StartServiceRequest_2eproto = nullptr; const ::google::protobuf::uint32 TableStruct_StartServiceRequest_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, service_name_), PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, repo_url_), PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, version_), PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, id_), PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, sequence_), PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, source_), PROTOBUF_FIELD_OFFSET(::tutorial::StartServiceRequest, target_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::tutorial::StartServiceRequest)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast<const ::google::protobuf::Message*>(&::tutorial::_StartServiceRequest_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_StartServiceRequest_2eproto = { {}, AddDescriptors_StartServiceRequest_2eproto, "StartServiceRequest.proto", schemas, file_default_instances, TableStruct_StartServiceRequest_2eproto::offsets, file_level_metadata_StartServiceRequest_2eproto, 1, file_level_enum_descriptors_StartServiceRequest_2eproto, file_level_service_descriptors_StartServiceRequest_2eproto, }; const char descriptor_table_protodef_StartServiceRequest_2eproto[] = "\n\031StartServiceRequest.proto\022\010tutorial\"\214\001" "\n\023StartServiceRequest\022\024\n\014service_name\030\001 " "\001(\t\022\020\n\010repo_url\030\002 \001(\t\022\017\n\007version\030\003 \001(\t\022\n" "\n\002id\030\004 \001(\t\022\020\n\010sequence\030\005 \001(\005\022\016\n\006source\030\n" " \001(\t\022\016\n\006target\030\013 \001(\tb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_StartServiceRequest_2eproto = { false, InitDefaults_StartServiceRequest_2eproto, descriptor_table_protodef_StartServiceRequest_2eproto, "StartServiceRequest.proto", &assign_descriptors_table_StartServiceRequest_2eproto, 188, }; void AddDescriptors_StartServiceRequest_2eproto() { static constexpr ::google::protobuf::internal::InitFunc deps[1] = { }; ::google::protobuf::internal::AddDescriptors(&descriptor_table_StartServiceRequest_2eproto, deps, 0); } // Force running AddDescriptors() at dynamic initialization time. static bool dynamic_init_dummy_StartServiceRequest_2eproto = []() { AddDescriptors_StartServiceRequest_2eproto(); return true; }(); namespace tutorial { // =================================================================== void StartServiceRequest::InitAsDefaultInstance() { } class StartServiceRequest::HasBitSetters { public: }; #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int StartServiceRequest::kServiceNameFieldNumber; const int StartServiceRequest::kRepoUrlFieldNumber; const int StartServiceRequest::kVersionFieldNumber; const int StartServiceRequest::kIdFieldNumber; const int StartServiceRequest::kSequenceFieldNumber; const int StartServiceRequest::kSourceFieldNumber; const int StartServiceRequest::kTargetFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 StartServiceRequest::StartServiceRequest() : ::google::protobuf::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:tutorial.StartServiceRequest) } StartServiceRequest::StartServiceRequest(const StartServiceRequest& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); service_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.service_name().size() > 0) { service_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.service_name_); } repo_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.repo_url().size() > 0) { repo_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.repo_url_); } version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.version().size() > 0) { version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); } id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.id().size() > 0) { id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); } source_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.source().size() > 0) { source_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_); } target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.target().size() > 0) { target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_); } sequence_ = from.sequence_; // @@protoc_insertion_point(copy_constructor:tutorial.StartServiceRequest) } void StartServiceRequest::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_StartServiceRequest_StartServiceRequest_2eproto.base); service_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); repo_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); source_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); target_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); sequence_ = 0; } StartServiceRequest::~StartServiceRequest() { // @@protoc_insertion_point(destructor:tutorial.StartServiceRequest) SharedDtor(); } void StartServiceRequest::SharedDtor() { service_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); repo_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); source_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); target_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } void StartServiceRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } const StartServiceRequest& StartServiceRequest::default_instance() { ::google::protobuf::internal::InitSCC(&::scc_info_StartServiceRequest_StartServiceRequest_2eproto.base); return *internal_default_instance(); } void StartServiceRequest::Clear() { // @@protoc_insertion_point(message_clear_start:tutorial.StartServiceRequest) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; service_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); repo_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); sequence_ = 0; _internal_metadata_.Clear(); } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER const char* StartServiceRequest::_InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { auto msg = static_cast<StartServiceRequest*>(object); ::google::protobuf::int32 size; (void)size; int depth; (void)depth; ::google::protobuf::uint32 tag; ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; auto ptr = begin; while (ptr < end) { ptr = ::google::protobuf::io::Parse32(ptr, &tag); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); switch (tag >> 3) { // string service_name = 1; case 1: { if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("tutorial.StartServiceRequest.service_name"); object = msg->mutable_service_name(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; } GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; break; } // string repo_url = 2; case 2: { if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("tutorial.StartServiceRequest.repo_url"); object = msg->mutable_repo_url(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; } GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; break; } // string version = 3; case 3: { if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("tutorial.StartServiceRequest.version"); object = msg->mutable_version(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; } GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; break; } // string id = 4; case 4: { if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("tutorial.StartServiceRequest.id"); object = msg->mutable_id(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; } GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; break; } // int32 sequence = 5; case 5: { if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; msg->set_sequence(::google::protobuf::internal::ReadVarint(&ptr)); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } // string source = 10; case 10: { if (static_cast<::google::protobuf::uint8>(tag) != 82) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("tutorial.StartServiceRequest.source"); object = msg->mutable_source(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; } GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; break; } // string target = 11; case 11: { if (static_cast<::google::protobuf::uint8>(tag) != 90) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); ctx->extra_parse_data().SetFieldName("tutorial.StartServiceRequest.target"); object = msg->mutable_target(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; goto string_till_end; } GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); ptr += size; break; } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->EndGroup(tag); return ptr; } auto res = UnknownFieldParse(tag, {_InternalParse, msg}, ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); ptr = res.first; GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); if (res.second) return ptr; } } // switch } // while return ptr; string_till_end: static_cast<::std::string*>(object)->clear(); static_cast<::std::string*>(object)->reserve(size); goto len_delim_till_end; len_delim_till_end: return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, {parser_till_end, object}, size); } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER bool StartServiceRequest::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:tutorial.StartServiceRequest) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // string service_name = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_service_name())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->service_name().data(), static_cast<int>(this->service_name().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "tutorial.StartServiceRequest.service_name")); } else { goto handle_unusual; } break; } // string repo_url = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_repo_url())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->repo_url().data(), static_cast<int>(this->repo_url().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "tutorial.StartServiceRequest.repo_url")); } else { goto handle_unusual; } break; } // string version = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_version())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->version().data(), static_cast<int>(this->version().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "tutorial.StartServiceRequest.version")); } else { goto handle_unusual; } break; } // string id = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_id())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->id().data(), static_cast<int>(this->id().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "tutorial.StartServiceRequest.id")); } else { goto handle_unusual; } break; } // int32 sequence = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &sequence_))); } else { goto handle_unusual; } break; } // string source = 10; case 10: { if (static_cast< ::google::protobuf::uint8>(tag) == (82 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_source())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->source().data(), static_cast<int>(this->source().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "tutorial.StartServiceRequest.source")); } else { goto handle_unusual; } break; } // string target = 11; case 11: { if (static_cast< ::google::protobuf::uint8>(tag) == (90 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_target())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->target().data(), static_cast<int>(this->target().length()), ::google::protobuf::internal::WireFormatLite::PARSE, "tutorial.StartServiceRequest.target")); } else { goto handle_unusual; } break; } default: { handle_unusual: if (tag == 0) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, _internal_metadata_.mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:tutorial.StartServiceRequest) return true; failure: // @@protoc_insertion_point(parse_failure:tutorial.StartServiceRequest) return false; #undef DO_ } #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER void StartServiceRequest::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:tutorial.StartServiceRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string service_name = 1; if (this->service_name().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->service_name().data(), static_cast<int>(this->service_name().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.service_name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 1, this->service_name(), output); } // string repo_url = 2; if (this->repo_url().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->repo_url().data(), static_cast<int>(this->repo_url().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.repo_url"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->repo_url(), output); } // string version = 3; if (this->version().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->version().data(), static_cast<int>(this->version().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.version"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->version(), output); } // string id = 4; if (this->id().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->id().data(), static_cast<int>(this->id().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.id"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 4, this->id(), output); } // int32 sequence = 5; if (this->sequence() != 0) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->sequence(), output); } // string source = 10; if (this->source().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->source().data(), static_cast<int>(this->source().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.source"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 10, this->source(), output); } // string target = 11; if (this->target().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->target().data(), static_cast<int>(this->target().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.target"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 11, this->target(), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:tutorial.StartServiceRequest) } ::google::protobuf::uint8* StartServiceRequest::InternalSerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:tutorial.StartServiceRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; // string service_name = 1; if (this->service_name().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->service_name().data(), static_cast<int>(this->service_name().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.service_name"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->service_name(), target); } // string repo_url = 2; if (this->repo_url().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->repo_url().data(), static_cast<int>(this->repo_url().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.repo_url"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->repo_url(), target); } // string version = 3; if (this->version().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->version().data(), static_cast<int>(this->version().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.version"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->version(), target); } // string id = 4; if (this->id().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->id().data(), static_cast<int>(this->id().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.id"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 4, this->id(), target); } // int32 sequence = 5; if (this->sequence() != 0) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->sequence(), target); } // string source = 10; if (this->source().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->source().data(), static_cast<int>(this->source().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.source"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 10, this->source(), target); } // string target = 11; if (this->target().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->target().data(), static_cast<int>(this->target().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "tutorial.StartServiceRequest.target"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 11, this->target(), target); } if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:tutorial.StartServiceRequest) return target; } size_t StartServiceRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:tutorial.StartServiceRequest) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( _internal_metadata_.unknown_fields()); } ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // string service_name = 1; if (this->service_name().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->service_name()); } // string repo_url = 2; if (this->repo_url().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->repo_url()); } // string version = 3; if (this->version().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->version()); } // string id = 4; if (this->id().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->id()); } // string source = 10; if (this->source().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->source()); } // string target = 11; if (this->target().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->target()); } // int32 sequence = 5; if (this->sequence() != 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->sequence()); } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void StartServiceRequest::MergeFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:tutorial.StartServiceRequest) GOOGLE_DCHECK_NE(&from, this); const StartServiceRequest* source = ::google::protobuf::DynamicCastToGenerated<StartServiceRequest>( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:tutorial.StartServiceRequest) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:tutorial.StartServiceRequest) MergeFrom(*source); } } void StartServiceRequest::MergeFrom(const StartServiceRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:tutorial.StartServiceRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.service_name().size() > 0) { service_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.service_name_); } if (from.repo_url().size() > 0) { repo_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.repo_url_); } if (from.version().size() > 0) { version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); } if (from.id().size() > 0) { id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.id_); } if (from.source().size() > 0) { source_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_); } if (from.target().size() > 0) { target_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.target_); } if (from.sequence() != 0) { set_sequence(from.sequence()); } } void StartServiceRequest::CopyFrom(const ::google::protobuf::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:tutorial.StartServiceRequest) if (&from == this) return; Clear(); MergeFrom(from); } void StartServiceRequest::CopyFrom(const StartServiceRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:tutorial.StartServiceRequest) if (&from == this) return; Clear(); MergeFrom(from); } bool StartServiceRequest::IsInitialized() const { return true; } void StartServiceRequest::Swap(StartServiceRequest* other) { if (other == this) return; InternalSwap(other); } void StartServiceRequest::InternalSwap(StartServiceRequest* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); service_name_.Swap(&other->service_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); repo_url_.Swap(&other->repo_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); id_.Swap(&other->id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); source_.Swap(&other->source_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); target_.Swap(&other->target_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(sequence_, other->sequence_); } ::google::protobuf::Metadata StartServiceRequest::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_StartServiceRequest_2eproto); return ::file_level_metadata_StartServiceRequest_2eproto[kIndexInFileMessages]; } // @@protoc_insertion_point(namespace_scope) } // namespace tutorial namespace google { namespace protobuf { template<> PROTOBUF_NOINLINE ::tutorial::StartServiceRequest* Arena::CreateMaybeMessage< ::tutorial::StartServiceRequest >(Arena* arena) { return Arena::CreateInternal< ::tutorial::StartServiceRequest >(arena); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #include <google/protobuf/port_undef.inc>
41.935208
170
0.694808
b2facc3a47c65c5e20e948f6b915de3efdf7140f
761
css
CSS
src/Componants/HeaderComp/HeaderComp.css
Pranitab/ecommerce-react-node
f5444e2b61336afb9ae2fb9eac3c2dff98da8203
[ "MIT" ]
null
null
null
src/Componants/HeaderComp/HeaderComp.css
Pranitab/ecommerce-react-node
f5444e2b61336afb9ae2fb9eac3c2dff98da8203
[ "MIT" ]
null
null
null
src/Componants/HeaderComp/HeaderComp.css
Pranitab/ecommerce-react-node
f5444e2b61336afb9ae2fb9eac3c2dff98da8203
[ "MIT" ]
null
null
null
.HeaderComp{ height: 50px; background-color: #203040; color: #ffffff; display: flex; align-items: center; padding-left: 10px; padding-right: 10px; font-size: 20px; position: fixed; width: 100%; z-index: 1; } .HeaderComp a{ text-decoration: none; color: white; } .HeaderComp a:hover{ color: #eda414 } .HeaderComp a:first-child{ width: 30%; } .HeaderComp a:last-child{ width: 8%; text-align: right; } .HeaderComp input{ width: 50%; height: 22px; } .addToCartBubble{ display: inline-block; position: relative; width: 18px; height: 20px; top: -5px; left: 2px; font-size: 13px; text-align: center; background-color: brown; border-radius: 50%; }
16.911111
30
0.60184
df37890a3e2783605ef1bb134db1304297c6eede
1,900
cs
C#
CategoriesRepository.cs
chaithanyagogineni/Stack-Overflow-Clone-
914c7f047c4471346757c755fa93bbd4a6674840
[ "MIT" ]
null
null
null
CategoriesRepository.cs
chaithanyagogineni/Stack-Overflow-Clone-
914c7f047c4471346757c755fa93bbd4a6674840
[ "MIT" ]
null
null
null
CategoriesRepository.cs
chaithanyagogineni/Stack-Overflow-Clone-
914c7f047c4471346757c755fa93bbd4a6674840
[ "MIT" ]
null
null
null
using System; using System.Collections.Generic; using System.Linq; using StackOverflowClone.DomainModels; namespace StackOverflowClone.Repositories { public interface ICategoriesRepository { void InsertCategory(Category c); void UpdateCategory(Category c); void DeleteCategory(int cid); List<Category> GetCategories(); List<Category> GetCategoryByCategoryID(int CategoryID); } public class CategoriesRepository : ICategoriesRepository { StackOverflowDbContext db; public CategoriesRepository() { db = new StackOverflowDbContext(); } public void InsertCategory(Category c) { db.Categories.Add(c); db.SaveChanges(); } public void UpdateCategory(Category c) { Category ct = db.Categories.Where(temp => temp.CategoryID == c.CategoryID).FirstOrDefault(); { if (ct != null) { ct.CategoryName = c.CategoryName; db.SaveChanges(); } } } public void DeleteCategory(int cid) { Category ct = db.Categories.Where(temp => temp.CategoryID == cid).FirstOrDefault(); { if (ct != null) { db.Categories.Remove(ct); db.SaveChanges(); } } } public List<Category> GetCategories() { List<Category> ct = db.Categories.ToList(); return ct; } public List<Category> GetCategoryByCategoryID(int CategoryID) { List<Category> ct = db.Categories.Where(temp=>temp.CategoryID==CategoryID).ToList(); return ct; } } }
29.230769
105
0.520526
973d3047c27971fc40b77f25c34a25f13a593c4a
10,193
lua
Lua
Assets/ResourcesAsset/Lua/config/level/level_10022.lua
lixiaobing/DAL2Client
612d745fee88ea3fb6abbfd52b668774be483dd5
[ "BSD-3-Clause" ]
1
2021-03-16T06:10:15.000Z
2021-03-16T06:10:15.000Z
Assets/ResourcesAsset/Lua/config/level/level_10022.lua
lixiaobing/DAL2Client
612d745fee88ea3fb6abbfd52b668774be483dd5
[ "BSD-3-Clause" ]
null
null
null
Assets/ResourcesAsset/Lua/config/level/level_10022.lua
lixiaobing/DAL2Client
612d745fee88ea3fb6abbfd52b668774be483dd5
[ "BSD-3-Clause" ]
null
null
null
return { ["id"]=10022, ["name"]="对战训练", ["groupName"]="Demo测试关卡", ["playStartAnimation"]=true, ["fadeIn"]=true, ["sceneName"]="Demo01.unity", ["sceneFile"]="Assets/Scenes/Demo01.unity", ["soundEventName"]="", ["desc"]="", ["cameraEffect"]={ ["templateId"]=0, ["appoint"]=false, ["center"]=FixedVector2(524288, 524288) --[[(0.5, 0.5)]], }, ["borns"]={ [1]={ ["uid"]="33c9387813444fac8e6b12a342bd4dca", ["transform"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(-4669309, -46582, 19624100) --[[(-4.453, -0.04442406, 18.715)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 94371840, 0) --[[(0, 90, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, }, ["props"]={ }, ["strongholds"]={ [1]="Fixed_SH_001", [2]="Fixed_SH_002", }, ["areas"]={ [1]="Fixed_BattleArea_001", [2]="Fixed_BattleArea_002", }, ["walls"]={ [1]="Fixed_BattleArea_001_Wall", [2]="Fixed_BattleArea_002_Wall", }, ["triggers"]={ [1]={ ["id"]=3006, ["enable"]=true, ["unlimited"]=false, ["desc"]="刷怪", ["loopTimes"]=1, ["reachConditionNum"]=0, ["excuteNum"]=0, ["triggerExecutType"]=2 --[[PARALLEL(并行)]], ["triggerNodes"]={ [1]={ ["id"]="cb466302e33c4361a98072e284d8b657", ["Type"]="Start", ["enable"]=true, ["time"]=Fixed64(0) --[[0]], }, }, ["conditionNodes"]={ }, ["executeNodes"]={ [1]={ ["id"]="3a7c19f6a41347ebb898f31377db6c87", ["Type"]="CreateMonsters", ["enable"]=true, ["delayTime"]=Fixed64(0) --[[0]], ["monsters"]={ [1]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718580376", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(199229, -46582, 25773998) --[[(0.19, -0.04442453, 24.58)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [2]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718694366", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(-4225761, -46582, 28447866) --[[(-4.03, -0.04442453, 27.13)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [3]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718719234", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(4938793, -46582, 28437382) --[[(4.71, -0.04442453, 27.12)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [4]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718748524", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(4729078, -46582, 24347934) --[[(4.51, -0.04442453, 23.22)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [5]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718773532", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(199229, -46582, 14501806) --[[(0.19, -0.04442453, 13.83)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [6]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718798582", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(199229, -46582, 11377050) --[[(0.19, -0.04442453, 10.85)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [7]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718822632", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(199229, -46582, 9070182) --[[(0.19, -0.04442453, 8.65)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [8]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718849353", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(4624220, -46582, 15644754) --[[(4.41, -0.04442453, 14.92)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [9]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718876455", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(-5096079, -46582, 15120466) --[[(-4.86, -0.04442453, 14.42)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [10]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718906255", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(-2862612, -46582, 11324621) --[[(-2.73, -0.04442453, 10.8)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, [11]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="5718928983", ["cid"]=220110008, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(199229, -46582, 19881000) --[[(0.19, -0.04442453, 18.96)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, }, }, }}, [2]={ ["id"]=3010, ["enable"]=true, ["unlimited"]=true, ["desc"]="入场", ["loopTimes"]=1, ["reachConditionNum"]=0, ["excuteNum"]=0, ["triggerExecutType"]=2 --[[PARALLEL(并行)]], ["triggerNodes"]={ [1]={ ["id"]="cff85ea7618a46218ee4d1f510e491e6", ["Type"]="Start", ["enable"]=true, ["time"]=Fixed64(0) --[[0]], }, }, ["conditionNodes"]={ }, ["executeNodes"]={ [1]={ ["id"]="4d8254e5604144e8bb5e4187f798e27a", ["Type"]="ActorEnter", ["enable"]=true, }, }}, [3]={ ["id"]=3011, ["enable"]=false, ["unlimited"]=false, ["desc"]="刷怪", ["loopTimes"]=9999, ["reachConditionNum"]=0, ["excuteNum"]=0, ["triggerExecutType"]=2 --[[PARALLEL(并行)]], ["triggerNodes"]={ [1]={ ["id"]="72046bfe33a640f1abcee9de707992b2", ["Type"]="MonsterDead", ["enable"]=true, }, }, ["conditionNodes"]={ [1]={ ["id"]="3aea3b37ec2c497e891e5eebba103c53", ["Type"]="CheckMonsterNum", ["enable"]=true, ["num"]=1, ["relationalOperator"]=1 --[[LESS_THAN(小于)]], }, }, ["executeNodes"]={ [1]={ ["id"]="dad8d8dd5a7c449e8416397c1d6922d9", ["Type"]="CreateMonsters", ["enable"]=true, ["delayTime"]=Fixed64(0) --[[0]], ["monsters"]={ [1]={ ["delayTime"]=Fixed64(209715200) --[[200]], ["uid"]="6685089921", ["cid"]=220110101, ["level"]=0, ["group"]=0, ["tag"]=0, ["mask"]="", ["position"]= { ["id"]=0, ["name"]="", ["position"]=FixedVector3(199229, -46582, 32338084) --[[(0.19, -0.04442453, 30.84)]], ["scale"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], ["rotation"]=FixedVector3(0, 266967456, 0) --[[(0, 254.6, 0)]], ["size"]=FixedVector3(1048576, 1048576, 1048576) --[[(1, 1, 1)]], } }, }, }, }}, }, }
28.875354
96
0.460806
38c7db28d1bf9c3d07d1056eee1376cd80138bb8
2,452
php
PHP
hosts/exclusivefaile_com.php
DebridTurk/new-vinaget-script-master
e0ba677d6fac670bccc2c4ed02a935fe164e10eb
[ "Apache-2.0" ]
1
2018-02-26T15:04:46.000Z
2018-02-26T15:04:46.000Z
hosts/exclusivefaile_com.php
DebridTurk/new-vinaget-script-master
e0ba677d6fac670bccc2c4ed02a935fe164e10eb
[ "Apache-2.0" ]
null
null
null
hosts/exclusivefaile_com.php
DebridTurk/new-vinaget-script-master
e0ba677d6fac670bccc2c4ed02a935fe164e10eb
[ "Apache-2.0" ]
1
2020-01-05T10:33:55.000Z
2020-01-05T10:33:55.000Z
<?php class dl_exclusivefaile_com extends Download { public function CheckAcc($cookie){ $data = $this->lib->curl("http://exclusivefaile.com/?op=my_account", "lang=english;{$cookie}", ""); if(stristr($data, 'Premium account expire:')) return array(true, "Until ".$this->lib->cut_str($data, 'font-size:17px;">Premium account expire: ', '</td>')); else if(stristr($data, 'E-mail') && !stristr($data, 'Premium account expire:')) return array(false, "accfree"); else return array(false, "accinvalid"); } public function Login($user, $pass){ $data = $this->lib->curl("http://exclusivefaile.com/", "lang=english", "login={$user}&password={$pass}&op=login&redirect="); $cookie = "lang=english;{$this->lib->GetCookies($data)}"; return $cookie; } public function Leech($url) { list($url, $pass) = $this->linkpassword($url); $data = $this->lib->curl($url, $this->lib->cookie, ""); if($pass) { $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); $post["password"] = $pass; $data = $this->lib->curl($url, $this->lib->cookie, $post); if(stristr($data,'Wrong password')) $this->error("wrongpass", true, false, 2); elseif(preg_match('@https?:\/\/(\w+\.)?exclusivefaile\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'dotted #bbb;padding:7px;line-height:29px;">', '">http'), $giay)) return trim($giay[0]); } if($this->isredirect($data)) return trim($this->redirect); elseif(stristr($data,'Downloads are disabled for your country:')) $this->error("blockCountry", true, false); elseif(stristr($data,'type="password" name="password')) $this->error("reportpass", true, false); elseif(!$this->isredirect($data)) { $post = $this->parseForm($this->lib->cut_str($data, '<Form name="F1"', '</Form>')); $data = $this->lib->curl($url, $this->lib->cookie, $post); if(preg_match('@https?:\/\/(\w+\.)?exclusivefaile\.com(:\d+)?\/(?:(?:files\/\d+)|(?:d))\/[a-z0-9]+\/[^/|\"|\'|<|>|\r|\n|\t]+@i', $this->lib->cut_str($data, 'dotted #bbb;padding:7px;line-height:29px;">', '">http'), $giay)) return trim($giay[0]); } else return trim($this->redirect); return false; } } /* * Open Source Project * Vinaget by ..::[H]::.. * Version: 2.7.0 * Exclusivefaile Download Plugin by giaythuytinh176 [31.7.2013] * Downloader Class By [FZ] */ ?>
47.153846
228
0.591354
72eed73f3e5789f4fd65d398a1655d652c1ae0b9
1,044
cs
C#
Barebone/ViewModels/Shared/StyleSheets/StyleSheetsViewModelFactory.cs
YodasMyDad/Base
1e33cffea1d465f01ffc894e0e91781d60e4517c
[ "MIT" ]
1
2019-08-17T04:06:03.000Z
2019-08-17T04:06:03.000Z
Barebone/ViewModels/Shared/StyleSheets/StyleSheetsViewModelFactory.cs
YodasMyDad/Base
1e33cffea1d465f01ffc894e0e91781d60e4517c
[ "MIT" ]
null
null
null
Barebone/ViewModels/Shared/StyleSheets/StyleSheetsViewModelFactory.cs
YodasMyDad/Base
1e33cffea1d465f01ffc894e0e91781d60e4517c
[ "MIT" ]
null
null
null
// Copyright © 2017 SOFTINUX. All rights reserved. // Licensed under the MIT License, Version 2.0. See LICENSE file in the project root for license information. using System.Collections.Generic; using System.Linq; using ExtCore.Infrastructure; using Infrastructure.Interfaces; using Barebone.ViewModels.Shared.StyleSheets; namespace Barebone.ViewModels.Shared.StyleSheet { public class StyleSheetsViewModelFactory { public StyleSheetsViewModel Create() { List<Infrastructure.StyleSheet> styleSheets = new List<Infrastructure.StyleSheet>(); foreach (IExtensionMetadata extensionMetadata in ExtensionManager.GetInstances<IExtensionMetadata>()) if(extensionMetadata.StyleSheets != null) styleSheets.AddRange(extensionMetadata.StyleSheets); return new StyleSheetsViewModel() { StyleSheets = styleSheets.OrderBy(ss => ss.Position).Select(ss => new StyleSheetViewModelFactory().Create(ss)) }; } } }
37.285714
126
0.701149
4472f668403a4b273ff13e11acb7f9233fde0379
426
py
Python
katas/XX-Primers/unittest_sample.py
plipp/Python-Coding-Dojos
4a206dfc0c73fc0d2b39ab33032b2aaf89055609
[ "MIT" ]
null
null
null
katas/XX-Primers/unittest_sample.py
plipp/Python-Coding-Dojos
4a206dfc0c73fc0d2b39ab33032b2aaf89055609
[ "MIT" ]
null
null
null
katas/XX-Primers/unittest_sample.py
plipp/Python-Coding-Dojos
4a206dfc0c73fc0d2b39ab33032b2aaf89055609
[ "MIT" ]
null
null
null
# test with: python -m unittest unittest_sample.py import unittest def divide(a, b): return a / b class BasicArithmeticTest(unittest.TestCase): def test_divide(self): self.assertEqual(divide(10, 5), 2) def test_divide_by_zero(self): with self.assertRaises(ZeroDivisionError): divide(10, 0) # ... and much more: see https://docs.python.org/3/library/unittest.html#module-unittest
22.421053
88
0.690141
e843bbc337291e38499c55020a21ca9f2a47a278
700
cs
C#
TicTacToe/EndGame/PossibleWins.cs
Fyzxs/MicroObjectTicTacToe
29a5f74f050269eb1584be9204a381568f4245eb
[ "MIT" ]
null
null
null
TicTacToe/EndGame/PossibleWins.cs
Fyzxs/MicroObjectTicTacToe
29a5f74f050269eb1584be9204a381568f4245eb
[ "MIT" ]
null
null
null
TicTacToe/EndGame/PossibleWins.cs
Fyzxs/MicroObjectTicTacToe
29a5f74f050269eb1584be9204a381568f4245eb
[ "MIT" ]
null
null
null
using tictactoe.Cells; using tictactoe.Library.Bools; namespace tictactoe.EndGame { public sealed class PossibleWins : IWin { private readonly IWin[] _wins; public PossibleWins(ICellCollection cells) : this( new TopRightSlashWin(cells), new TopLeftSlashWin(cells), new RightColumnWin(cells), new CenterColumnWin(cells), new LeftColumnWin(cells), new BottomRowWin(cells), new CenterRowWin(cells), new TopRowWin(cells)) { } public PossibleWins(params IWin[] wins) => _wins = wins; public Bool IsWin() => new Any<IWin>(_wins, win => win.IsWin()); } }
28
72
0.601429
bb81576d43f20ec6f5a7c950ff893b0c0060d9ad
198
cs
C#
Project/Test/AddIns/CSharp/Parser/CSharpParserTest/TestData/Elements/ExternAliasDirective.cs
sarvex/StyleCop
5fc066910d1c648b35d5b10484666c6a42249f29
[ "MS-PL" ]
null
null
null
Project/Test/AddIns/CSharp/Parser/CSharpParserTest/TestData/Elements/ExternAliasDirective.cs
sarvex/StyleCop
5fc066910d1c648b35d5b10484666c6a42249f29
[ "MS-PL" ]
null
null
null
Project/Test/AddIns/CSharp/Parser/CSharpParserTest/TestData/Elements/ExternAliasDirective.cs
sarvex/StyleCop
5fc066910d1c648b35d5b10484666c6a42249f29
[ "MS-PL" ]
null
null
null
extern alias T; extern alias WhateverAndSomeLongName; extern alias WhateverAndSomeLongName2; namespace Namespace1 { extern alias X; }
11.647059
46
0.565657
072d2fcedb2151c27d818ddef2844c64da9150f2
13,391
css
CSS
public/css/style_custom.css
VitalyWeb/storm-shop
c777a6c2fc401e916f0e58c2b6a8e1022f0e597f
[ "MIT" ]
null
null
null
public/css/style_custom.css
VitalyWeb/storm-shop
c777a6c2fc401e916f0e58c2b6a8e1022f0e597f
[ "MIT" ]
1
2020-12-10T20:52:41.000Z
2020-12-10T20:52:41.000Z
public/css/style_custom.css
VitalyWeb/storm-shop
c777a6c2fc401e916f0e58c2b6a8e1022f0e597f
[ "MIT" ]
null
null
null
/* КАСТОМНЫЕ СТИЛИ */ .font-w600 {font-weight: 600 !important;} .flex-container { display: flex; flex-wrap: wrap; } .cursor-p {cursor: pointer} .display-none {display: none !important;} .mb-14 {margin-bottom: 14px;} .mb-16 {margin-bottom: 16px;} .mb-43 {margin-bottom: 43px;} .mt--20 {margin-top: -20px} .width-100 {width: 100% !important;} .pl-0 {padding-left: 0px!important;} /* ================================================================ */ /* checkbox на странице авторизации / регистрации */ .custom-form-check_custom { margin-bottom: 30px; } .custom-form-check_custom input[type=checkbox] { cursor: pointer; margin-left: 5px; margin-right: 5px; position: relative; } .custom-form-check_custom input[type=checkbox]:before { top: -3px; left: -5px; content: ''; width: 20px; height: 20px; position: absolute; border-radius: 3px; background-color: #ffffff; border: 1px solid #f0f0f0; } .custom-form-check_custom input[type=checkbox]:after { left: 0; top: -2px; opacity: 0; font-size: 12px; content: '\f00c'; font-weight: 900; position: absolute; color: #222222; -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; font-family: 'Font Awesome 5 Free'; } .custom-form-check_custom-checked:after { opacity: 1!important; } /* checkbox на странице авторизации / регистрации end */ /* мини корзина -------------------- --- */ .mini-cart_empty-wrapper { height: 150px; } .mini-cart_empty-text { width: max-content; margin: 0 auto; padding-top: 62px; font-size: 16px; font-weight: 600; color: #222222; text-transform: uppercase; } /* мини корзина -------------------- end */ /* контакты -------------------- --- */ .contacts-map_wrapper { width: 50%; height: 500px; } .contacts-map_google-map { width: 100%; height: 100%; } .contacts-form_label-file { margin: 0px; width: 100%; height: 50px; padding: 0px 20px; border-radius: 3px; background-color: #ffffff; -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; border: 1px solid #f0f0f0; cursor: pointer; } /* контакты -------------------- end */ /* уведомления ----------------------------------------------------------- */ .notification-modal { overflow-x: hidden; overflow-y: auto; position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; outline: 0; background: rgba(0, 0, 0, 0.5); } .notification-modal-dialog { transform: none; position: relative; width: auto; margin: auto; margin-top: 12%; pointer-events: none; } @media screen and (max-width: 991px) { .notification-modal-dialog { margin-left: 15px; margin-right: 15px; } } .notification-modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border: 0 solid rgba(0,0,0,.2); outline: 0; border-radius: 3px; } .notification-block { background-color: transparent; box-shadow: none; } .notification-block-header { color: #fff; background-color: #1ec7a6; border-radius: 3px 3px 0 0; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 20px; transition: opacity .2s ease-out; } .notification-block-title { flex: 1 1 auto; min-height: 28px; margin: 0; font-size: 1.142857rem; line-height: 28px; font-weight: 600; color: #ffffff; } .notification-block-options { flex: 0 0 auto; padding-left: 10px; min-height: 28px; } .notification-btn-block-option { color: #fff; opacity: .7; } .notification-block-content { transition: opacity .2s ease-out; margin: 0 auto; padding: 20px 20px 1px; width: 100%; overflow-x: visible; } .notification-block-content p { margin-bottom: 20px; } .notification-modal-footer { display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; -ms-flex-pack: end; justify-content: flex-end; padding: 1.178571rem; border-bottom-right-radius: .3rem; border-bottom-left-radius: .3rem; border-top: 1px solid #e4e7ed; padding-top: 10px; padding-bottom: 10px; } .notification-btn { cursor: pointer; border-color: #e4e7ed; margin: .25rem; display: inline-block; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: .571429rem 1rem; font-size: 1rem; line-height: 16px; border-radius: .25rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; font-weight: 100; color: #ffffff; background-color: #1ec7a6; } /* уведомления ------------------------------------------------------- end */ /* админ панель --------------------------------- */ .admin-pagination { width: max-content; margin-left: auto; } .btn-group_table-custom { margin-left: auto; margin-right: 0px; display: table; min-width: 92px; text-align: right; } .btn-group_table-custom-left { margin-left: auto; margin-right: 0px; display: table; min-width: 66px; text-align: left; } /* админ панель ----------------------------- end */ /* ======================================================================= */ .reset-password_form-block { max-width: 644px; margin: 0 auto; } .auth-pass_input-custom { margin-bottom: 50px; } .section-title_checkout-custom { padding-bottom: 13px; } .cart_add-plus_minus-container { width: max-content; margin: 0 auto; margin-bottom: 15px; margin-top: 1px; height: 44px; padding-top: 4px; } .cart_add-minus { font-size: 18px; padding: 2px 16px; border-radius: 3px; color: #222222; border: 2px solid #f0f0f0; cursor: pointer; height: 36px; transition: all 0.3s ease-in-out; } .cart_add-minus:hover { color: #ffffff; background-color: #f5f5f5; transition: all 0.3s ease-in-out; } .cart_add-plus { font-size: 18px; padding: 4px 16px; border-radius: 3px; color: #ffffff; border-color: #1ec7a6; background-color: #1ec7a6; cursor: pointer; height: 36px; transition: all 0.3s ease-in-out; } .cart_add-plus:hover { color: #ffffff; border-color: #1ec7a6; background-color: #3adebe; transition: all 0.3s ease-in-out; } .cart_add-plus_minus-count { padding: 4px 16px; border-radius: 3px; color: #222222; font-size: 17px; margin-top: 1px; } .checkout_products-block { margin-bottom: 0px; } .checkout_product-block { margin-bottom: 30px; } .product-details-section .product-details .product-details-carousel .slider-for .item img { height: auto; max-height: 100%; } .attribute-value_disabled { opacity: 0.3; } .attribute-value_disabled:hover { color: #1ec7a6; border-color: #ffffff; background-color: #ffffff; } .product-item .hover-content .attribute-options .size-list li a { width: 100%; height: 100%; display: block; color: #222222; text-align: center; } .product-item .hover-content .size-list li a:hover { color: #1ec7a6; } .product-item .hover-content .size-list li a.active { color: #1ec7a6; } .product-item .hover-content .color-list li a:before { font-family: 'Font Awesome 5 Free'; margin-top: 4px; margin-left: 7px; font-size: 14px; content: '\f00c'; font-weight: 900; position: absolute; color: #fff; opacity: 0; transition: all 0.3s ease-in-out; } .product-item .hover-content .color-list li a:hover:before { opacity: 1; } .product-item .hover-content .color-list li a.active:before { font-family: 'Font Awesome 5 Free'; margin-top: 4px; margin-left: 7px; font-size: 14px; content: '\f00c'; font-weight: 900; position: absolute; color: #fff; opacity: 1; transition: all 0.3s ease-in-out; } .product-list-item .item-content .item-size-color ul { float: left; position: relative; margin-right: 30px; padding-right: 30px; display: inline-block; } .product-list-item .item-content .item-size-color ul.size-list_list-custom { margin-right: 30px; padding-right: 30px; } .product-list-item .item-content .item-size-color ul.size-list_list-custom:before { display: block!important; clear: both; top: 50%; width: 2px; right: -1px; content: ""; height: 20px; position: absolute; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); background-color: #222222; } .product-details_desire-button.active { color: #ffffff !important; border-color: #1ec7a6 ; background-color: #1ec7a6; transition: all 0.3s ease-in-out; } .block-title_order-custom { text-transform: unset; } .block-content_skus-custom { margin-bottom: 20px; } .order-sku_img-custom { max-height: 220px; margin: 0 auto; display: block; } .nav-link_search:hover { color: #1ec7a6!important; } .nav-link_search:focus { color: #1ec7a6!important; } .search-catalog_title-count { color: #1ec7a6; } .search-catalog_title-where { color: #1ec7a6; background-color: #f6f7f9; } .search-container { background-color: #f7f7f7; } .search-catalog_img { display: block; margin: 0 auto; max-height: 180px; } .search-catalog_img-wrapper { display: flex; justify-content: center; align-items: center; } .personal-table_desires-description { max-width: 460px; } .personal-block_content-table { display: none; } .personal_block-content .active { display: table; } .personal-table_desires-img-container { margin-right: 20px; } .personal-table_desires-img { max-height: 200px; } .personal-table_desires-link { display: block; width: 70%; display: table; font-size: 18px; font-weight: 600; margin-bottom: 15px; color: #222222; text-transform: uppercase; } .personal-table_desires-price { font-size: 24px; font-weight: 600; color: #222222; padding: 30px 15px; } .personal-table_desires-buttons { margin-top: 10px; } .personal-tabs { background-color: #f7f7f7 !important; margin-top: -20px; } .personal-tab_li { margin-left: 2px; margin-right: 2px; } .personal-tab_link { text-transform: unset; font-size: 1rem; font-weight: 400; line-height: 1.5; text-align: left; } .personal-tabs .personal-tab_link.active { background-color: #1ec7a6; } .personal-tab_link:focus { color: #1ec7a6; } .personal-tab_link:hover { color: #1ec7a6; } .wishlist_image-container img { max-height: 130px; margin-right: 15px; } .wishlist_item-title { font-size: 16px; font-weight: 600; color: #222222 !important; text-transform: uppercase; } .wishlist_item-title:hover { color: #1ec7a6 !important; } .wishlist_space-element { height: 20px; } .wishlist_product-description { } .wishlist_text-bottom { margin-top: 15px; text-align: left; font-size: 16px; font-weight: 600; color: #222222 !important; text-transform: uppercase; } .filter_attribute-size-value.active { color: #ffffff !important; border-color: #1ec7a6 !important; background-color: #1ec7a6 !important; } .admin-img-avatar_custom { background-size: cover; } .button-admin_panel-view { display: inline-block; font-weight: 600; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; font-size: 1rem; font-family: "Nunito Sans",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; color: #1f1f1f; padding: 9px 0; line-height: 1; min-width: 34px; height: 34px; border-radius: 50%!important; cursor: pointer; background-color: unset; border-color: unset; outline: unset!important; } .admin-notifications_link:focus { background-color: #ffffff; border-color: #ffffff; } .admin_new-notification-id { background-color: #3f9ce8; border-radius: 10px; color: #ffffff; } .blog_comment-avatar { float: left; width: 100px; height: 100px; overflow: hidden; margin-right: 15px; position: relative; border-radius: 100%; background-size: cover; } /* .wishlist-items-container { display: block; visibility: visible !important; opacity: 1 !important; } .cart-items-container { /*opacity: 1 !important;*/ /*visibility: visible !important;*/ /*} .hover-content { /*opacity: 1!important;*/ /*visibility: visible!important;*/ /*padding-top: 0px; bottom: -140px; -webkit-box-shadow: 0 5px 8px 1px rgba(0, 0, 0, 0.1); box-shadow: 0 5px 8px 1px rgba(0, 0, 0, 0.1); } */
22.392977
193
0.625271
5eb6e7403bf6c2ece34fb433753cda07ddac3e86
281
rb
Ruby
lib/tinydot/edge.rb
naoty/tinydot
f16bac59dd3449e68be00ba0a961c657040282b3
[ "MIT" ]
2
2021-08-17T07:11:43.000Z
2021-08-17T09:11:07.000Z
lib/tinydot/edge.rb
naoty/tinydot
f16bac59dd3449e68be00ba0a961c657040282b3
[ "MIT" ]
null
null
null
lib/tinydot/edge.rb
naoty/tinydot
f16bac59dd3449e68be00ba0a961c657040282b3
[ "MIT" ]
null
null
null
module Tinydot class Edge def initialize(from, to, attrs = {}) @from = from @to = to @attrs = attrs end def to_dot dot = "#{@from.name} -> #{@to.name}" dot += " [dir = both]" if @attrs[:dir] == "both" dot += ";" end end end
17.5625
54
0.47331
cdfa9b09c2a4bed37048f02c8108d7be83261f13
3,982
cs
C#
NewEPL/NewEPL/Block/BlockOperatorPlus.xaml.cs
ngEPL/ngEPL_Windows
5840a9eae80fa5ad0b61063201b0e86f9bdc7668
[ "MIT" ]
1
2016-09-12T00:22:03.000Z
2016-09-12T00:22:03.000Z
NewEPL/NewEPL/Block/BlockOperatorPlus.xaml.cs
ngEPL/ngEPL_Windows
5840a9eae80fa5ad0b61063201b0e86f9bdc7668
[ "MIT" ]
1
2016-08-19T15:06:01.000Z
2016-08-22T07:28:13.000Z
NewEPL/NewEPL/Block/BlockOperatorPlus.xaml.cs
ngEPL/ngEPL_Windows
5840a9eae80fa5ad0b61063201b0e86f9bdc7668
[ "MIT" ]
null
null
null
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace NewEPL { public partial class BlockOperatorPlus : BlockTemplate { public BlockOperatorPlus() { InitializeComponent(); } protected override void CheckDragAction(BlockTemplate b) { bool escaper = false; var splicers = b.GetSplicers(1, true); foreach (var i in b.Main.BlockCanvas.Children) { if (escaper) break; if (i.GetType() != typeof(BlockTemplate)) continue; if (i.Equals(b)) continue; if (splicers.Count <= 0) continue; var other = (BlockTemplate)i; StackPanel contentPanel = other.GetContentPanel(); foreach (var j in contentPanel.Children) { if(j.GetType() == typeof(ExtendedTextBox)) { ExtendedTextBox textBox = (ExtendedTextBox)j; if (textBox.Hidden) continue; var boundingBox = textBox.GetBoundingBox(other, contentPanel); if (boundingBox.IntersectsWith(b.GetBoundingBox(splicers[0]))) { Canvas.SetLeft(b.Main.TestPreview, boundingBox.X); Canvas.SetTop(b.Main.TestPreview, boundingBox.Y); b.Main.TestPreview.Visibility = System.Windows.Visibility.Visible; escaper = true; break; } } } } } protected override void CheckDropAction(BlockTemplate b) { bool escaper = false; var splicers = b.GetSplicers(1, true); foreach (var i in b.Main.BlockCanvas.Children) { if (escaper) break; if (i.GetType() != typeof(BlockTemplate)) continue; if (i.Equals(b)) continue; if (splicers.Count <= 0) continue; var other = (BlockTemplate)i; StackPanel contentPanel = other.GetContentPanel(); foreach (var j in contentPanel.Children) { if (j.GetType() == typeof(ExtendedTextBox)) { ExtendedTextBox textBox = (ExtendedTextBox)j; if (textBox.Hidden) continue; var boundingBox = textBox.GetBoundingBox(other, contentPanel); if (boundingBox.IntersectsWith(b.GetBoundingBox(splicers[0]))) { b.X = boundingBox.X; b.Y = boundingBox.Y; other.AddBlock(b, textBox); textBox.Visibility = System.Windows.Visibility.Hidden; textBox.Hidden = true; textBox.Width = b.ActualWidth; other.SetWidth(b.ActualWidth - 24); other.SetHeight(b.ActualHeight - textBox.ActualHeight - 3); // 14 contentPanel.Height += b.ActualHeight - textBox.ActualHeight - 3; textBox.BlockChildren.Add(b); b.DifX = -(other.X - b.X); b.DifY = -(other.Y - b.Y); b.SetZIndex(ZIndex + 1); b.BlockParent = other; if(other.BlockParent != null) { //other.BlockParent.AddBlock(other, ); other.BlockParent.SetWidth(other.ActualWidth - 24); other.BlockParent.SetHeight(other.ActualHeight - textBox.ActualHeight - 3); } escaper = true; break; } } } } } } }
40.632653
107
0.470869
d0652089a44a2e967f114c79d7184a24b5410986
1,310
cpp
C++
problems/592.fraction-addition-and-subtraction.cpp
bigfishi/leetcode
3e512f2822a742349384a0bdd7954696f5867683
[ "MIT" ]
null
null
null
problems/592.fraction-addition-and-subtraction.cpp
bigfishi/leetcode
3e512f2822a742349384a0bdd7954696f5867683
[ "MIT" ]
null
null
null
problems/592.fraction-addition-and-subtraction.cpp
bigfishi/leetcode
3e512f2822a742349384a0bdd7954696f5867683
[ "MIT" ]
null
null
null
// 中等 需要用到求最大公约数,需要注意越界,另外,提交错了一次,因为没考虑分子分母为10的情况 typedef long long llong; class Solution { int calcGcd(llong x, llong y) { int z = y; while (z) { y = x%y; x = z; z = y; } return x; } void calcFraction(int& x, int& y, int x2, int y2) { llong tx = x*y2 + x2*y; llong ty = y*y2; int c = calcGcd(abs(tx), ty); x = tx / c; y = ty / c; } public: string fractionAddition(string expression) { int x = 0, y = 1; if (expression.size() == 0) return to_string(x) + "/" + to_string(y); int n = expression.size(); int i = 0; while (i<n) { int x2, y2; bool isNag = false; if (expression[i] == '+') i++; if (expression[i] == '-') { isNag = true; i++; } if (i + 1 < n && expression[i + 1] >= '0' && expression[i + 1] <= '9') { x2 = (expression[i] - '0') * 10 + expression[i + 1] - '0'; i += 3; } else { x2 = expression[i] - '0'; i+=2; } if (isNag) x2 = -x2; if (i + 1 < n && expression[i + 1] >= '0' && expression[i + 1] <= '9') { y2 = (expression[i] - '0') * 10 + expression[i + 1] - '0'; i++; } else { y2 = expression[i] - '0'; } calcFraction(x, y, x2, y2); i++; } string res = ""; if (x < 0) { res += '-'; x = -x; } res += to_string(x) + "/" + to_string(y); return res; } };
20.793651
75
0.478626
7062b4143646d16fb330bdbcc1679f9903f4b80a
2,164
nse
Lua
source_code/host_agents/windows/binaries_for_windows_host_agent/nmap_utils/scripts/skypev2-version.nse
Doctor-Venom/Cyber-Oracle
0cc3475416ea552704f4b1086d850fa90117ccc6
[ "MIT" ]
16
2020-09-20T22:32:54.000Z
2021-04-02T17:14:25.000Z
scripts_old/skypev2-version.nse
elpadrinho/pentest-tools
4e008d2f18ebf4c35fc86102ba7e4e85f7e002f9
[ "Apache-2.0" ]
3
2020-09-30T11:41:49.000Z
2021-12-19T23:27:19.000Z
scripts_old/skypev2-version.nse
elpadrinho/pentest-tools
4e008d2f18ebf4c35fc86102ba7e4e85f7e002f9
[ "Apache-2.0" ]
2
2018-10-12T18:34:38.000Z
2019-03-28T03:36:12.000Z
local comm = require "comm" local nmap = require "nmap" local shortport = require "shortport" local string = require "string" local U = require "lpeg-utility" description = [[ Detects the Skype version 2 service. ]] --- -- @output -- PORT STATE SERVICE VERSION -- 80/tcp open skype2 Skype author = "Brandon Enright" license = "Same as Nmap--See https://nmap.org/book/man-legal.html" categories = {"version"} portrule = function(host, port) return (port.number == 80 or port.number == 443 or port.service == nil or port.service == "" or port.service == "unknown") and port.protocol == "tcp" and port.state == "open" and port.version.name_confidence < 10 and not(shortport.port_is_excluded(port.number,port.protocol)) and nmap.version_intensity() >= 7 end action = function(host, port) local result, rand -- Did the service engine already do the hard work? if port.version and port.version.service_fp then -- Probes sent, replies received, but no match. result = U.get_response(port.version.service_fp, "GetRequest") -- Loop through the ASCII probes most likely to receive random response -- from Skype. Others will also receive this response, but are harder to -- distinguish from an echo service. for _, p in ipairs({"HTTPOptions", "RTSPRequest"}) do rand = U.get_response(port.version.service_fp, p) if rand then break end end end local status if not result then -- Have to send the probe ourselves. status, result = comm.exchange(host, port, "GET / HTTP/1.0\r\n\r\n", {bytes=26}) if (not status) then return nil end end if (result ~= "HTTP/1.0 404 Not Found\r\n\r\n") then return end -- So far so good, now see if we get random data for another request if not rand then status, rand = comm.exchange(host, port, "random data\r\n\r\n", {bytes=15}) if (not status) then return end end if string.match(rand, "[^%s!-~].*[^%s!-~].*[^%s!-~]") then -- Detected port.version.name = "skype2" port.version.product = "Skype" nmap.set_port_version(host, port) return end return end
26.716049
76
0.660813
cfddc9d2dd0c3fcfd94d77b9b0ff3ac02e90332f
161
rs
Rust
pkcs1/src/document.rs
msrd0/formats
5c58533557e52f45db9ec4335248ce1b5e094801
[ "Apache-2.0", "MIT" ]
4
2022-02-08T05:32:15.000Z
2022-03-29T22:35:33.000Z
pkcs1/src/document.rs
msrd0/formats
5c58533557e52f45db9ec4335248ce1b5e094801
[ "Apache-2.0", "MIT" ]
1
2021-09-03T03:35:15.000Z
2021-09-03T03:35:15.000Z
pkcs1/src/document.rs
msrd0/formats
5c58533557e52f45db9ec4335248ce1b5e094801
[ "Apache-2.0", "MIT" ]
1
2021-09-03T02:56:57.000Z
2021-09-03T02:56:57.000Z
//! Serialized DER-encoded documents stored in heap-backed buffers. // TODO(tarcieri): heapless support? pub(crate) mod private_key; pub(crate) mod public_key;
26.833333
67
0.770186
0e07ef93681f6d95c73f27ec03d0da74d4ee8faa
2,972
lua
Lua
scripts/premake5.lua
vasconssa/vulkan-preatmospheric-scattering
0fc13052776b35abe009d58bf30d869f7fe92ad6
[ "MIT" ]
null
null
null
scripts/premake5.lua
vasconssa/vulkan-preatmospheric-scattering
0fc13052776b35abe009d58bf30d869f7fe92ad6
[ "MIT" ]
null
null
null
scripts/premake5.lua
vasconssa/vulkan-preatmospheric-scattering
0fc13052776b35abe009d58bf30d869f7fe92ad6
[ "MIT" ]
null
null
null
require "export-compile-commands" DIR = path.getabsolute("..") print(DIR) THIRDPARTYDIR = path.join(DIR, "3rdparty") BUILDDIR = path.join(DIR, "build") TESTDIR = path.join(DIR, "tests") workspace "Gabibits" configurations { "Debug", "Release" } platforms { "Android-Arm", "Win32", "Win64", "Linux32", "Linux64" } toolset "clang" include("toolchain.lua") project "sx" kind "StaticLib" language "C" includedirs { path.join(DIR, "include"), path.join(DIR, "3rdparty"), } links { "m", "pthread", } files { path.join(DIR, "src/sx/*.c"), --DIR .. "/src/sx/*.c", } filter "platforms:Linux64" system "Linux" architecture "x86_64" files { DIR .. "/src/sx/asm/make_x86_64_sysv_elf_gas.S", DIR .. "/src/sx/asm/jump_x86_64_sysv_elf_gas.S", DIR .. "/src/sx/asm/ontop_x86_64_sysv_elf_gas.S", } filter "architecture:x86" system "Linux" filter {} project "volk" kind "StaticLib" language "C" includedirs { path.join(DIR, "3rdparty/volk"), } filter "platforms:Linux64" system "Linux" architecture "x86_64" symbols "on" defines { "VK_USE_PLATFORM_XCB_KHR", } links { "pthread", "m", } filter {} files { path.join(THIRDPARTYDIR, "volk/volk.c"); } project "Vulkan-preatmospheric-scattering" kind "WindowedApp" language "C" includedirs { path.join(DIR, "include"), path.join(DIR, "3rdparty"), } links { "sx", "volk", } prebuildcommands('{MKDIR} %{cfg.buildtarget.directory}/shaders') filter "platforms:Linux64" system "Linux" architecture "x86_64" symbols "on" defines { "GB_USE_XCB", "VK_USE_PLATFORM_XCB_KHR", } links { "xcb-util", "xcb-ewmh", "xcb-keysyms", "xcb", "pthread", "m", --"vulkan", } filter "files:**.comp or **.vert or **.frag or **.glsl" -- A message to display while this build step is running (optional) buildmessage 'Compiling %{file.relpath}' -- One or more commands to run (required) buildcommands { 'glslc "%{file.relpath}" -I'..DIR..'/shaders/preatmospheric -o "%{cfg.buildtarget.directory}/shaders/%{file.name}.spv"', 'glslc "%{file.relpath}" -I'..DIR..'/shaders/preatmospheric -o'..DIR..'"/shaders/%{file.name}.spv"', } buildoutputs { '%{cfg.buildtarget.directory}/shaders/%{file.name}.spv', DIR..'"/shaders/%{file.name}.spv"', } filter {} files { path.join(DIR, "src/**.c"), path.join(DIR, "shaders/*.comp"), path.join(DIR, "shaders/*.vert"), path.join(DIR, "shaders/*.frag"), path.join(DIR, "shaders/sky/*"), } removefiles { path.join(DIR, "src/sx/*.c"), } include "tests.lua"
20.081081
126
0.551817
f4bd648832f8c013b4aab50f6a88658a0f25cb2d
1,336
ts
TypeScript
packages/connectivity/src/scp-cf/resilience-options.ts
florian-richter/cloud-sdk
d12b69f5e2316acce08a9978272f8b4f977ce6db
[ "Apache-2.0" ]
null
null
null
packages/connectivity/src/scp-cf/resilience-options.ts
florian-richter/cloud-sdk
d12b69f5e2316acce08a9978272f8b4f977ce6db
[ "Apache-2.0" ]
21
2022-01-19T17:49:11.000Z
2022-03-31T23:45:22.000Z
packages/connectivity/src/scp-cf/resilience-options.ts
florian-richter/cloud-sdk
d12b69f5e2316acce08a9978272f8b4f977ce6db
[ "Apache-2.0" ]
null
null
null
export interface ResilienceOptions { /** * A boolean value that indicates whether to execute request to SCP-CF services using circuit breaker. * ResilienceOptions. */ enableCircuitBreaker?: boolean; /** * Timeout in milliseconds to retrieve the destination. */ timeout?: number; } /** * @internal */ export const defaultResilienceBTPServices: Required<ResilienceOptions> = { enableCircuitBreaker: true, timeout: 10000 }; /** * @internal */ export const circuitBreakerDefaultOptions: CircuitBreakerOptions = { timeout: false, errorThresholdPercentage: 50, volumeThreshold: 10, resetTimeout: 30000 }; /** * Creates a promise for a timeout race. * @internal * @param timeout - Value for the timeout. * @returns A promise which times out after the given time. */ export function timeoutPromise<T>(timeout: number): Promise<T> { return new Promise<T>((resolve, reject) => setTimeout( () => reject(new Error('Token retrieval ran into timeout.')), timeout ) ); } /** * This is partially copied from CircuitBreaker.Options of `@types/opossum`. * @internal */ export interface CircuitBreakerOptions { timeout?: number | false | undefined; errorThresholdPercentage?: number | undefined; volumeThreshold?: number | undefined; resetTimeout?: number | undefined; }
23.438596
104
0.706587
4ddab7cbcf29299f497affaaf018cd0710e5d8fd
3,615
lua
Lua
Modules/Shared/Ragdoll/Classes/BindableRagdollHumanoidOnFall.lua
Cuyler36/NevermoreEngine
863c1b673d0986819b0228f324fb8e18e616c8c9
[ "MIT" ]
null
null
null
Modules/Shared/Ragdoll/Classes/BindableRagdollHumanoidOnFall.lua
Cuyler36/NevermoreEngine
863c1b673d0986819b0228f324fb8e18e616c8c9
[ "MIT" ]
null
null
null
Modules/Shared/Ragdoll/Classes/BindableRagdollHumanoidOnFall.lua
Cuyler36/NevermoreEngine
863c1b673d0986819b0228f324fb8e18e616c8c9
[ "MIT" ]
null
null
null
--- Ragdolls the humanoid on fall -- @classmod BindableRagdollHumanoidOnFall local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore")) local BaseObject = require("BaseObject") local FRAMES_TO_EXAMINE = 8 local FRAME_TIME = 0.1 local RAGDOLL_DEBOUNCE_TIME = 1 local REQUIRED_MAX_FALL_VELOCITY = -30 local BindableRagdollHumanoidOnFall = setmetatable({}, BaseObject) BindableRagdollHumanoidOnFall.ClassName = "BindableRagdollHumanoidOnFall" BindableRagdollHumanoidOnFall.__index = BindableRagdollHumanoidOnFall function BindableRagdollHumanoidOnFall.new(humanoid, ragdollBinder) local self = setmetatable(BaseObject.new(humanoid), BindableRagdollHumanoidOnFall) self._ragdollBinder = assert(ragdollBinder) self.ShouldRagdoll = Instance.new("BoolValue") self.ShouldRagdoll.Value = false self._maid:GiveTask(self.ShouldRagdoll) -- Setup Ragdoll self:_initLastVelocityRecords() self._lastRagDollTime = 0 local alive = true self._maid:GiveTask(function() alive = false end) spawn(function() wait(math.random()*FRAME_TIME) -- Apply jitter while alive do self:_updateVelocity() wait(FRAME_TIME) end end) self._maid:GiveTask(self._ragdollBinder:ObserveInstance(self._obj, function(class) if not class then self._lastRagDollTime = tick() self.ShouldRagdoll.Value = false end end)) return self end function BindableRagdollHumanoidOnFall:_initLastVelocityRecords() self._lastVelocityRecords = {} for _ = 1, FRAMES_TO_EXAMINE + 1 do -- Add an extra frame because we remove before inserting table.insert(self._lastVelocityRecords, Vector3.new()) end end function BindableRagdollHumanoidOnFall:_getLargestSpeedInRecords() local largestSpeed = -math.huge for _, velocityRecord in pairs(self._lastVelocityRecords) do local speed = velocityRecord.magnitude if speed > largestSpeed then largestSpeed = speed end end return largestSpeed end function BindableRagdollHumanoidOnFall:_ragdollFromFall() self.ShouldRagdoll.Value = true spawn(function() while self.Destroy and self:_getLargestSpeedInRecords() >= 3 and self.ShouldRagdoll.Value do wait() end if self.Destroy and self.ShouldRagdoll.Value then wait(0.75) end if self.Destroy and self._obj.Health > 0 then self.ShouldRagdoll.Value = false end end) end function BindableRagdollHumanoidOnFall:_updateVelocity() table.remove(self._lastVelocityRecords, 1) local rootPart = self._obj.RootPart if not rootPart then table.insert(self._lastVelocityRecords, Vector3.new()) return end local currentVelocity = rootPart.Velocity local fellForAllFrames = true local mostNegativeVelocityY = math.huge for _, velocityRecord in pairs(self._lastVelocityRecords) do if velocityRecord.y >= -2 then fellForAllFrames = false break end if velocityRecord.y < mostNegativeVelocityY then mostNegativeVelocityY = velocityRecord.y end end table.insert(self._lastVelocityRecords, currentVelocity) if not fellForAllFrames then return end if mostNegativeVelocityY >= REQUIRED_MAX_FALL_VELOCITY then return end -- print("currentVelocity.magnitude, mostNegativeVelocityY", currentVelocity.magnitude, mostNegativeVelocityY) if self._obj.Health <= 0 then return end if self._obj.Sit then return end local currentState = self._obj:GetState() if currentState == Enum.HumanoidStateType.Physics or currentState == Enum.HumanoidStateType.Swimming then return end if (tick() - self._lastRagDollTime) <= RAGDOLL_DEBOUNCE_TIME then return end self:_ragdollFromFall() end return BindableRagdollHumanoidOnFall
24.1
111
0.786722
2c722b99aa3f7d66d3dd472877f9249562050ae2
7,341
py
Python
jarviscli/plugins/stock.py
erick-dsnk/Jarvis
acb95768f192ee6987d88204731600a9791ce66b
[ "MIT" ]
null
null
null
jarviscli/plugins/stock.py
erick-dsnk/Jarvis
acb95768f192ee6987d88204731600a9791ce66b
[ "MIT" ]
null
null
null
jarviscli/plugins/stock.py
erick-dsnk/Jarvis
acb95768f192ee6987d88204731600a9791ce66b
[ "MIT" ]
null
null
null
import re from inspect import cleandoc import requests from colorama import Fore from plugin import plugin @plugin('stock') class Stock: """ stock <stock_id> : Get details of stock identified by <stock_id>(one id at a time) stock getid : Search stock id stock profile <stock_id> : Get company profile stock fstatement <stock_id> : Get latest ANNUAL finincial statement of the company stock gainers : Most gainers in NYSE stock losers : Most losers in NYSE stock help : Prints help *** AVAILABLE ONLY FOR US EQUITIES *** Data provided for free by IEX (https://iextrading.com/developer). View IEX’s Terms of Use (https://iextrading.com/api-exhibit-a/). """ def __call__(self, jarvis, s): if not s or 'help' in s: jarvis.say(cleandoc(self.__doc__), Fore.GREEN) else: ps = s.split() if ps[0] == 'getid': ps.pop(0) if ps: name = ' '.join(ps) else: name = jarvis.input("Enter the name of the stock: ") self.get_stock_id(jarvis, name) elif ps[0] == 'profile': if(len(ps) != 2): jarvis.say("You forgot to mention the symbol", Fore.RED) else: symbol = ps[1] self.get_profile(jarvis, symbol) elif ps[0] == 'fstatement': if(len(ps) != 2): jarvis.say("You forgot to mention the symbol", Fore.RED) else: symbol = ps[1] self.get_financial_stmt(jarvis, symbol) elif ps[0] == 'gainers': self.get_gainers(jarvis) elif ps[0] == 'losers': self.get_losers(jarvis) # anything else is treated as a stock symbol else: self.get_stock_data(jarvis, s) def get_stock_data(self, jarvis, quote): ''' Given a stock symbol, get the real time price of the stock ''' url = 'https://financialmodelingprep.com/api/v3/stock/real-time-price/' + quote resp = requests.get(url) if(resp.status_code == 200): data = resp.json() if('symbol' in data.keys()): jarvis.say("Symbol: " + str(data['symbol']), Fore.GREEN) jarvis.say("Price: " + str(data['price']), Fore.GREEN) jarvis.say("IEX Real-Time Price (https://iextrading.com/developer)") elif('Error' in data.keys()): jarvis.say("Invalid stock symbol name", Fore.RED) else: jarvis.say("Error. Please retry") else: jarvis.say("Cannot find the name. Try again later\n", Fore.RED) def get_stock_id(self, jarvis, name): ''' Get the list of stock IDs given a company name or part of the company name ''' url = 'https://financialmodelingprep.com/api/v3/company/stock/list' resp = requests.get(url) if(resp.status_code == 200): data = resp.json() found = False # Add try block. Somtimes the endpoint does not work or has unexcepted behaviour try: for stock in data['symbolsList']: if(re.match(name.lower(), stock['name'].lower())): found = True jarvis.say(stock['symbol'] + "\t\t" + stock['name'], Fore.GREEN) if not found: jarvis.say("The given name could not be found\n", Fore.RED) except KeyError: jarvis.say("The endpoint is not working at the moment. Try again later", Fore.RED) else: jarvis.say("Cannot find the name at this time. Try again later\n", Fore.RED) def get_profile(self, jarvis, symbol): ''' Given a stock symbol get the company profile ''' url = 'https://financialmodelingprep.com/api/v3/company/profile/' + symbol resp = requests.get(url) if(resp.status_code == 200): data = resp.json() if(not data): jarvis.say("Cannot find details for " + symbol, Fore.RED) else: jarvis.say(" Symbol : " + data['symbol'], Fore.GREEN) jarvis.say(" Company : " + data['profile']['companyName'], Fore.GREEN) jarvis.say(" Industry : " + data['profile']['industry'], Fore.GREEN) jarvis.say(" Sector : " + data['profile']['sector'], Fore.GREEN) jarvis.say(" Website : " + data['profile']['website'], Fore.GREEN) jarvis.say(" Exchange : " + data['profile']['exchange'], Fore.GREEN) jarvis.say(" Description : " + data['profile']['description'], Fore.GREEN) else: jarvis.say("Cannot find details for " + symbol, Fore.RED) def get_financial_stmt(self, jarvis, symbol): ''' Get the last annual financial statement of a company given it's stock symbol ''' url = 'https://financialmodelingprep.com/api/v3/financials/income-statement/' + symbol resp = requests.get(url) if(resp.status_code == 200): data = resp.json() if(not data): jarvis.say("Cannot find details for: " + symbol, Fore.RED) else: for key in data['financials'][0].keys(): jarvis.say(key + " => " + data['financials'][0][key], Fore.GREEN) else: jarvis.say("Cannot find details for " + symbol, Fore.RED) def get_gainers(self, jarvis): ''' Get the most gainers of the day ''' url = 'https://financialmodelingprep.com/api/v3/stock/gainers' resp = requests.get(url) if(resp.status_code == 200): data = resp.json() if(not data): jarvis.say("Cannot find details at this moment.", Fore.RED) else: for gainer in data['mostGainerStock']: jarvis.say(gainer['ticker'] + " | " + gainer['companyName'], Fore.GREEN) jarvis.say("Price: " + str(gainer['price']) + " | Change: " + str(gainer['changes']), Fore.GREEN) jarvis.say("Percent gained: " + str(gainer['changesPercentage'])[1:-1] + "\n\n", Fore.GREEN) else: jarvis.say("Cannot get gainers list at the moment") def get_losers(self, jarvis): ''' Get the most losers of the day ''' url = 'https://financialmodelingprep.com/api/v3/stock/losers' resp = requests.get(url) if(resp.status_code == 200): data = resp.json() if(not data): jarvis.say("Cannot find details at the moment.", Fore.RED) else: for loser in data['mostLoserStock']: jarvis.say(loser['ticker'] + " | " + loser['companyName'], Fore.GREEN) jarvis.say("Price: " + str(loser['price']) + " | Change: " + str(loser['changes']), Fore.GREEN) jarvis.say("Percent lost: " + str(loser['changesPercentage'])[1:-1] + "\n\n", Fore.GREEN) else: jarvis.say("Cannot get losers list at the moment")
43.958084
134
0.533442
12d471cad6cd53fa6785a8fa4383755cfd968740
3,265
cs
C#
src/PhotonTheme/Controls/Extensions/ButtonExtension.cs
AlbertAlonso/PhotonTheme
58b3dc41b96f42718567d22ceebf757a36a04b5d
[ "MIT" ]
41
2019-07-07T10:30:46.000Z
2020-09-14T17:48:24.000Z
src/PhotonTheme/Controls/Extensions/ButtonExtension.cs
alonfnt/PhotonTheme
58b3dc41b96f42718567d22ceebf757a36a04b5d
[ "MIT" ]
21
2019-07-19T10:02:06.000Z
2019-08-17T22:41:57.000Z
src/PhotonTheme/Controls/Extensions/ButtonExtension.cs
AlbertAlonso/PhotonTheme
58b3dc41b96f42718567d22ceebf757a36a04b5d
[ "MIT" ]
6
2019-07-22T07:41:43.000Z
2020-12-21T07:58:40.000Z
using System.Windows; namespace PhotonTheme.Controls { public class ButtonExtension { /// <summary> /// Controls the corner radius of the Button /// </summary> public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.RegisterAttached( "CornerRadius", typeof(CornerRadius), typeof(ButtonExtension), new PropertyMetadata(new CornerRadius(4.0))); /// <summary> /// Controls the left PackIconType and its visibility /// </summary> public static readonly DependencyProperty LeftIconProperty = DependencyProperty.RegisterAttached( "LeftIcon", typeof(PackIconKind), typeof(ButtonExtension), new PropertyMetadata(null)); /// <summary> /// Controls the left PackIconType and its visibility /// </summary> public static readonly DependencyProperty RightIconProperty = DependencyProperty.RegisterAttached( "RightIcon", typeof(PackIconKind), typeof(ButtonExtension), new PropertyMetadata(null)); public static readonly DependencyProperty RightIconVisibilityProperty = DependencyProperty.RegisterAttached( "RightIconVisibility", typeof(Visibility), typeof(ButtonExtension), new PropertyMetadata(Visibility.Collapsed)); public static readonly DependencyProperty LeftIconVisibilityProperty = DependencyProperty.RegisterAttached( "LeftIconVisibility", typeof(Visibility), typeof(ButtonExtension), new PropertyMetadata(Visibility.Collapsed)); public static void SetCornerRadius(DependencyObject element, CornerRadius value) { element.SetValue(CornerRadiusProperty, value); } public static CornerRadius GetCornerRadius(DependencyObject element) { return (CornerRadius)element.GetValue(CornerRadiusProperty); } public static void SetLeftIcon(DependencyObject element, PackIconKind value) { element.SetValue(CornerRadiusProperty, value); } public static PackIconKind GetLeftIcon(DependencyObject element) { return (PackIconKind)element.GetValue(LeftIconProperty); } public static void SetRightIcon(DependencyObject element, PackIconKind value) { element.SetValue(CornerRadiusProperty, value); } public static PackIconKind GetRightIcon(DependencyObject element) { return (PackIconKind)element.GetValue(RightIconProperty); } public static void SetRightIconVisibility(DependencyObject element, Visibility value) { element.SetValue(RightIconVisibilityProperty, value); } public static Visibility GetRightIconVisibility(DependencyObject element) { return (Visibility)element.GetValue(RightIconVisibilityProperty); } public static void SetLeftIconVisibility(DependencyObject element, Visibility value) { element.SetValue(LeftIconVisibilityProperty, value); } public static Visibility GetLeftIconVisibility(DependencyObject element) { return (Visibility)element.GetValue(LeftIconVisibilityProperty); } } }
40.308642
124
0.693415
f427dfc11120d498d29569784f450f8d05e23e0c
1,776
cs
C#
BungieSharper.Entities/Destiny/Entities.Destiny.Definitions.Lore.cs
Taybenberg/BungieSharper
e6c6fea9ed2d3953d082d072cb66f754840afce3
[ "MIT", "BSD-3-Clause" ]
10
2020-07-12T07:19:20.000Z
2022-03-10T08:14:10.000Z
BungieSharper.Entities/Destiny/Entities.Destiny.Definitions.Lore.cs
Taybenberg/BungieSharper
e6c6fea9ed2d3953d082d072cb66f754840afce3
[ "MIT", "BSD-3-Clause" ]
6
2021-01-14T08:20:52.000Z
2022-02-25T01:06:19.000Z
BungieSharper.Entities/Destiny/Entities.Destiny.Definitions.Lore.cs
Taybenberg/BungieSharper
e6c6fea9ed2d3953d082d072cb66f754840afce3
[ "MIT", "BSD-3-Clause" ]
1
2022-02-22T16:49:44.000Z
2022-02-22T16:49:44.000Z
using System.Text.Json.Serialization; namespace BungieSharper.Entities.Destiny.Definitions.Lore { /// <summary> /// These are definitions for in-game "Lore," meant to be narrative enhancements of the game experience. /// DestinyInventoryItemDefinitions for interesting items point to these definitions, but nothing's stopping you from scraping all of these and doing something cool with them. If they end up having cool data. /// </summary> public class DestinyLoreDefinition { [JsonPropertyName("displayProperties")] public Destiny.Definitions.Common.DestinyDisplayPropertiesDefinition DisplayProperties { get; set; } [JsonPropertyName("subtitle")] public string Subtitle { get; set; } /// <summary> /// The unique identifier for this entity. Guaranteed to be unique for the type of entity, but not globally. /// When entities refer to each other in Destiny content, it is this hash that they are referring to. /// </summary> [JsonPropertyName("hash")] public uint Hash { get; set; } /// <summary>The index of the entity as it was found in the investment tables.</summary> [JsonPropertyName("index")] public int Index { get; set; } /// <summary>If this is true, then there is an entity with this identifier/type combination, but BNet is not yet allowed to show it. Sorry!</summary> [JsonPropertyName("redacted")] public bool Redacted { get; set; } } #if NET6_0_OR_GREATER [JsonSerializable(typeof(DestinyLoreDefinition))] [JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase)] internal partial class DestinyLoreDefinitionJsonContext : JsonSerializerContext { } #endif }
46.736842
212
0.705518
af25038f917a90abd6e8c8d9858fc3aff48d4568
4,502
py
Python
largescaleqml/utils/misc.py
chris-n-self/large-scale-qml
0358bf9fac9cc418af5c573ae80f580aeeef7765
[ "MIT" ]
6
2021-08-17T13:21:15.000Z
2021-09-09T19:44:25.000Z
largescaleqml/utils/misc.py
chris-n-self/large-scale-qml
0358bf9fac9cc418af5c573ae80f580aeeef7765
[ "MIT" ]
null
null
null
largescaleqml/utils/misc.py
chris-n-self/large-scale-qml
0358bf9fac9cc418af5c573ae80f580aeeef7765
[ "MIT" ]
null
null
null
""" """ import os import copy import joblib import logging from tqdm import tqdm from qiskit.result import Result from qiskit.ignis.mitigation import TensoredMeasFitter from qcoptim.utilities import FastCountsResult logger = logging.getLogger(__name__) def _dump_output(name, output): """ """ # make directory if it doesn't exist filename = name+'.joblib' directory = os.path.dirname(filename) if not os.path.exists(directory): os.makedirs(directory) # pickle output obj using joblib joblib.dump(output, filename, compress=True) # # used in applying measurement error mitigation scripts under studies # def _apply_measurement_error_mitigation( job_filename, raw_directory, mem_directory, ): """ """ # get list of raw files to process files = _find_results_files( job_filename, raw_directory, mem_directory, ) # (check all unique) assert len(files) == len(set(files)) if len(files) > 0: print('found '+f'{len(files)}'+' files, e.g. '+f'{files[0]}') # apply measurement error mitigation for file in tqdm(files, desc='applying m.e.m.'): _process_file( file, job_filename, raw_directory, mem_directory, ) else: print('found '+f'{len(files)}'+' files') # copy X and y variables file X_y_vars = joblib.load( '/'.join([raw_directory, job_filename, 'X_y_vars.joblib']) ) joblib.dump( X_y_vars, '/'.join([mem_directory, job_filename, 'X_y_vars.joblib']), compress=True, ) def _find_results_files( search_sub_directory, raw_directory, mem_directory, check_for_output=True ): """ """ files = [] for file in os.scandir( os.path.join(raw_directory, search_sub_directory) ): fullpath = file.path filename = os.path.basename(fullpath) split_filename = os.path.splitext(filename)[0] # check that is IBMQ data if 'data' in split_filename: loaded_file = joblib.load(fullpath) # check that contains measurement error mitigation data if 'meas_err_mit_assets' in loaded_file.keys(): # check file doesn't already exist in meas_err_mit dir if check_for_output and not os.path.isfile(os.path.join( mem_directory, search_sub_directory, filename )): files.append(filename) return files def _process_file( filename, search_sub_directory, raw_directory, mem_directory, ): """ """ input_fullpath = os.path.join( raw_directory, search_sub_directory, filename) output_fullpath = os.path.join( mem_directory, search_sub_directory, filename) # load data and train fitter loaded_data = joblib.load(input_fullpath) loaded_results = Result.from_dict(loaded_data['qiskit-results']) fitter = TensoredMeasFitter( loaded_results, **loaded_data['meas_err_mit_assets'] ) # assert max([fitter.readout_fidelity(idx) for idx in range(8)]) < 1. # crop results to just data results _results = [ res for res in loaded_results.results if 'data' in res.header.name ] loaded_results.results = _results # apply filter filtered_results = fitter.filter.apply(loaded_results) # make output output_data = copy.deepcopy(loaded_data) output_data['qiskit-results'] = filtered_results # make directory if needed directory = os.path.dirname(output_fullpath) if not os.path.exists(directory): os.makedirs(directory) joblib.dump(output_data, output_fullpath, compress=True) # # used in process results scripts under studies # def _load_data( results_sub_directory, start_idx, end_idx, ): """ """ loaded_results = [] for dataidx in tqdm( range(start_idx, end_idx), desc='loading '+f'{results_sub_directory}'+' data' ): data = joblib.load( results_sub_directory+'/data'+f'{dataidx}'+'.joblib') # cast results from dict if needed tmp = data['qiskit-results'] if isinstance(tmp, dict): tmp = Result.from_dict(tmp) elif not isinstance(tmp, Result): raise TypeError('type of results not recognised: '+f'{type(tmp)}') loaded_results.append(FastCountsResult(tmp)) return loaded_results
25.292135
78
0.637272
b8e67ef334e25cad935ed14dda63d8396791cd2e
1,456
h
C
FileOperateRecord/2017-06-26 153432/UITableViewDelegateDataSource/CCTableViewDelegateDataSource.h
VArbiter/CCLocalLibrary
2b830a728c353f9706498196968b059a0aa07429
[ "MIT" ]
2
2017-05-25T07:20:07.000Z
2017-12-08T11:41:54.000Z
FileOperateRecord/2017-06-26 153432/UITableViewDelegateDataSource/CCTableViewDelegateDataSource.h
VArbiter/CCLocalLibrary
2b830a728c353f9706498196968b059a0aa07429
[ "MIT" ]
null
null
null
FileOperateRecord/2017-06-26 153432/UITableViewDelegateDataSource/CCTableViewDelegateDataSource.h
VArbiter/CCLocalLibrary
2b830a728c353f9706498196968b059a0aa07429
[ "MIT" ]
null
null
null
// // CCTableViewDelegateDataSource.h // CCLocalLibrary // // Created by 冯明庆 on 2017/4/22. // Copyright © 2017年 冯明庆. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface CCTableViewDelegate : NSObject < UITableViewDelegate > - (id < UITableViewDelegate >) initWithDefaultSettings ; @property (nonatomic , copy) CGFloat (^blockCellHeight)(UITableView * tableView , NSIndexPath *indexPath) ; @property (nonatomic , copy) CGFloat (^blockSectionHeaderHeight)(UITableView * tableView , NSInteger integerSection) ; @property (nonatomic , copy) UIView *(^blockSectionHeader)(UITableView *tableView , NSInteger integerSection) ; @property (nonatomic , copy) BOOL (^blockDidSelect)(UITableView *tableView , NSIndexPath *indexPath) ; @end #pragma mark - ----------------------------------------------------------------- @interface CCTableViewDataSource : NSObject < UITableViewDataSource > - (id < UITableViewDataSource >) initWithDefaultSettings ; @property (nonatomic , copy) NSInteger (^blockSections)(UITableView *tableView); @property (nonatomic , copy) NSInteger (^blockRowsInSections)(UITableView * tableView , NSInteger integerSection); @property (nonatomic , copy) NSString * (^blockCellIdentifier)(UITableView *tableView , NSIndexPath *indexPath) ; @property (nonatomic , copy) UITableViewCell * (^blockConfigCell)(UITableView *tableView , UITableViewCell *cellConfig , NSIndexPath *indexPath) ; @end
40.444444
146
0.73283
ae9bbfa00d706d6d02529d62d8b83fd609b8ee33
10,101
swift
Swift
Sources/CustomLayout/CustomLayoutEngine.swift
MnkGitBox/CustomLayout
9e615cb58386c38f0f077bb39265e5110b68da3d
[ "MIT" ]
1
2022-01-16T08:14:51.000Z
2022-01-16T08:14:51.000Z
Sources/CustomLayout/CustomLayoutEngine.swift
MnkGitBox/CustomLayout
9e615cb58386c38f0f077bb39265e5110b68da3d
[ "MIT" ]
null
null
null
Sources/CustomLayout/CustomLayoutEngine.swift
MnkGitBox/CustomLayout
9e615cb58386c38f0f077bb39265e5110b68da3d
[ "MIT" ]
null
null
null
// // CustomLayoutEngine.swift // // // Created by Malith Kamburapola on 2022-01-15. // import UIKit struct CustomLayoutEngine: CustomLayout { private let firstView: UIView init(_ view: UIView) { self.firstView = view } //MARK: - ACTIVE LAYOUT TO PARENT func activate(equalConstant constant: CGFloat, to secondView: UIView?, layoutToSafeArea isSafeAreaActivate: Bool ) { activate(to: secondView, [.leading(constant: constant), .traling(constant: constant), .top(constant: constant), .bottom(constant: constant)], layoutToSafeArea: isSafeAreaActivate) } func activate(to secondView: UIView?,_ layouts: [CustomLayoutConstraint], layoutToSafeArea isSafeAreaActivate: Bool) { for layout in layouts { prepareLayout(layout, secondView, isSafeAreaActivate) } } func activate(to layoutsConfigurtions: [UIView : [CustomLayoutConstraint]], layoutToSafeArea isSafeAreaActivate: Bool) { for config in layoutsConfigurtions { for layout in config.value { prepareLayout(layout, config.key, isSafeAreaActivate) } } } func activate(to secondView: UIView, _ layoutKey: CustomLayoutConstraint, layoutToSafeArea isSafeAreaActivate: Bool) { switch layoutKey { case let .traling(r, c, safeAreaAlign), let .leading(r, c, safeAreaAlign), let .centerX(r, c, safeAreaAlign): firstView.anchorX(for: layoutKey, (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorX(for: layoutKey, (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .top(r, c, safeAreaAlign), let .bottom(r, c, safeAreaAlign), let .centerY(r, c, safeAreaAlign): firstView.anchorY(for: layoutKey, (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorY(for: layoutKey, (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .topToBottom(r, c, safeAreaAlign): firstView.anchorY(for: .top(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorY(for: .bottom(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .bottomToTop(r, c, safeAreaAlign): firstView.anchorY(for: .bottom(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorY(for: .top(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .topToCenterY(r, c, safeAreaAlign): firstView.anchorY(for: .top(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorY(for: .centerY(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .bottomToCenterY(r, c, safeAreaAlign): firstView.anchorY(for: .bottom(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorY(for: .centerY(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .leadingToTraling(r, c, safeAreaAlign): firstView.anchorX(for: .leading(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorX(for: .traling(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .leadingToCenterX(r, c, safeAreaAlign): firstView.anchorX(for: .leading(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorX(for: .centerX(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .tralingToLeading(r, c, safeAreaAlign): firstView.anchorX(for: .traling(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorX(for: .leading(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .tralingToCenterX(r, c, safeAreaAlign): firstView.anchorX(for: .traling(), (isSafeAreaActivate || safeAreaAlign)) .constraint(relation: r, to: secondView.anchorX(for: .centerX(), (isSafeAreaActivate || safeAreaAlign)), constant: c).isActive = true case let .equalWidth(r, m, c): firstView.widthAnchor.constraint(relation: r, to: secondView.widthAnchor, multiplier: m, constant: c).isActive = true case let .equalHeight(r, m, c): firstView.heightAnchor.constraint(relation: r, to: secondView.heightAnchor, multiplier: m, constant: c).isActive = true case let .equalWidthToHeight(r, m, c): firstView.widthAnchor.constraint(relation: r, to: secondView.heightAnchor, multiplier: m, constant: c).isActive = true case let .equalHeightToWidth(r, m, c): firstView.heightAnchor.constraint(relation: r, to: secondView.widthAnchor, multiplier: m, constant: c).isActive = true default: fatalError("Incorrent layout method for key") } } //Remove all constraint func removeAllConstraints() { var _superview = firstView.superview while let superview = _superview { for constraint in superview.constraints { if let first = constraint.firstItem as? UIView, first == firstView { superview.removeConstraint(constraint) } if let second = constraint.secondItem as? UIView, second == firstView { superview.removeConstraint(constraint) } } _superview = superview.superview } firstView.removeConstraints(firstView.constraints) firstView.translatesAutoresizingMaskIntoConstraints = true } //Activate Dimesion realative layout private func activate(_ layout: CustomLayoutConstraint) { switch layout { case let .height(r, c): firstView.heightAnchor.constant(relation: r, constant: c).isActive = true case let .width(r, c): firstView.widthAnchor.constant(relation: r, constant: c).isActive = true default: fatalError("Incorrent layout method for key") } } private func prepareLayout(_ layout: CustomLayoutConstraint, _ secondView: UIView?, _ isSafeAreaActivate: Bool) { firstView.translatesAutoresizingMaskIntoConstraints = false switch layout { case .height, .width: activate(layout) default: let `secondView` = secondView == nil ? firstView.superview : secondView guard let `secondView` = secondView else { fatalError("First add \(firstView.description) to view hirachy before layout") } activate(to: secondView, layout, layoutToSafeArea: isSafeAreaActivate) } } } //MARK: - LAYOUT EXTENSION TO UIVIEW extension UIView { func anchorX(for layoutKey: CustomLayoutConstraint, _ safeAreaRelative: Bool) -> NSLayoutXAxisAnchor { switch layoutKey { case .leading: return safeAreaRelative ? self.safeAreaLayoutGuide.leadingAnchor : self.leadingAnchor case .traling: return safeAreaRelative ? self.safeAreaLayoutGuide.trailingAnchor : self.trailingAnchor case .centerX: return safeAreaRelative ? self.safeAreaLayoutGuide.centerXAnchor : self.centerXAnchor default: fatalError("Not Related to NSLayoutXAxisAnchor") } } func anchorY(for layoutKey: CustomLayoutConstraint, _ safeAreaRelative: Bool) -> NSLayoutYAxisAnchor { switch layoutKey { case .top: return safeAreaRelative ? self.safeAreaLayoutGuide.topAnchor : self.topAnchor case .bottom: return safeAreaRelative ? self.safeAreaLayoutGuide.bottomAnchor : self.bottomAnchor case .centerY: return safeAreaRelative ? self.safeAreaLayoutGuide.centerYAnchor : self.centerYAnchor default: fatalError("Not Related to NSLayoutXAxisAnchor") } } } extension NSLayoutAnchor { @objc func constraint(relation r: ConstraintRelationType, to anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint { switch r { case .equalTo: return constraint(equalTo: anchor, constant: c) case .greaterThanOrEqualTo: return constraint(greaterThanOrEqualTo: anchor, constant: c) case .lessThanOrEqualTo: return constraint(lessThanOrEqualTo: anchor, constant: c) } } } extension NSLayoutDimension { @objc func constraint(relation r: ConstraintRelationType, to dimension: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint { switch r { case .equalTo: return constraint(equalTo: dimension, multiplier: m, constant: c) case .greaterThanOrEqualTo: return constraint(greaterThanOrEqualTo: dimension, multiplier: m, constant: c) case .lessThanOrEqualTo: return constraint(lessThanOrEqualTo: dimension, multiplier: m, constant: c) } } @objc func constant(relation r: ConstraintRelationType, constant c: CGFloat) -> NSLayoutConstraint { switch r { case .equalTo: return constraint(equalToConstant: c) case .greaterThanOrEqualTo: return constraint(greaterThanOrEqualToConstant: c) case .lessThanOrEqualTo: return constraint(lessThanOrEqualToConstant: c) } } }
43.727273
187
0.63271
6db1103fcde69781bc0cdbec7cf8161463f0b404
2,838
h
C
Labyrint/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Security_Principal_WindowsIdentity4008973414MethodDeclarations.h
mimietti/Labyball
c4b03f5b5d5ec1a1cae5831d22391bc2a171230f
[ "MIT" ]
null
null
null
Labyrint/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Security_Principal_WindowsIdentity4008973414MethodDeclarations.h
mimietti/Labyball
c4b03f5b5d5ec1a1cae5831d22391bc2a171230f
[ "MIT" ]
23
2016-07-21T13:03:02.000Z
2016-10-03T12:43:01.000Z
Labyrint/labyrinti1/Classes/Native/mscorlib_System_Security_Principal_WindowsIdentity4008973414MethodDeclarations.h
mimietti/Labyball
c4b03f5b5d5ec1a1cae5831d22391bc2a171230f
[ "MIT" ]
1
2019-09-08T17:32:17.000Z
2019-09-08T17:32:17.000Z
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // System.Security.Principal.WindowsIdentity struct WindowsIdentity_t4008973414; // System.Runtime.Serialization.SerializationInfo struct SerializationInfo_t2995724695; // System.Object struct Il2CppObject; // System.String struct String_t; #include "codegen/il2cpp-codegen.h" #include "mscorlib_System_Runtime_Serialization_Serializatio2995724695.h" #include "mscorlib_System_Runtime_Serialization_StreamingCont986364934.h" #include "mscorlib_System_Object837106420.h" #include "mscorlib_System_IntPtr676692020.h" // System.Void System.Security.Principal.WindowsIdentity::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void WindowsIdentity__ctor_m2888541667 (WindowsIdentity_t4008973414 * __this, SerializationInfo_t2995724695 * ___info0, StreamingContext_t986364934 ___context1, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void System.Security.Principal.WindowsIdentity::.cctor() extern "C" void WindowsIdentity__cctor_m309158987 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void System.Security.Principal.WindowsIdentity::System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object) extern "C" void WindowsIdentity_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m1877162132 (WindowsIdentity_t4008973414 * __this, Il2CppObject * ___sender0, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void System.Security.Principal.WindowsIdentity::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) extern "C" void WindowsIdentity_System_Runtime_Serialization_ISerializable_GetObjectData_m3559271593 (WindowsIdentity_t4008973414 * __this, SerializationInfo_t2995724695 * ___info0, StreamingContext_t986364934 ___context1, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.Void System.Security.Principal.WindowsIdentity::Dispose() extern "C" void WindowsIdentity_Dispose_m2952357727 (WindowsIdentity_t4008973414 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.IntPtr System.Security.Principal.WindowsIdentity::GetCurrentToken() extern "C" IntPtr_t WindowsIdentity_GetCurrentToken_m3719460523 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR; // System.String System.Security.Principal.WindowsIdentity::GetTokenName(System.IntPtr) extern "C" String_t* WindowsIdentity_GetTokenName_m2587745703 (Il2CppObject * __this /* static, unused */, IntPtr_t ___token0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
64.5
270
0.847075
e2dc1464d7d917fc62d64fcc253195195898c096
1,451
py
Python
plantcv/plot_hist.py
luuvt/plantcv
7548d308645edba2b347c16cb62922dddbca7ab8
[ "MIT" ]
null
null
null
plantcv/plot_hist.py
luuvt/plantcv
7548d308645edba2b347c16cb62922dddbca7ab8
[ "MIT" ]
null
null
null
plantcv/plot_hist.py
luuvt/plantcv
7548d308645edba2b347c16cb62922dddbca7ab8
[ "MIT" ]
1
2020-08-13T17:44:53.000Z
2020-08-13T17:44:53.000Z
# Plot histogram import cv2 import numpy as np def plot_hist(img, name=False): """Plot a histogram using the pyplot library. Inputs: img = image to analyze name = name for plot output :param img: numpy array :param name: str :return: bins,hist """ import matplotlib matplotlib.use('Agg', warn=False) from matplotlib import pyplot as plt # get histogram if img.dtype == 'uint8': hist = cv2.calcHist([img], [0], None, [256], [0, 255]) bins = range(0, 256, 1) if name != False: # open pyplot plotting window using hist data plt.plot(hist) # set range of x-axis xaxis = plt.xlim([0, 255]) fig_name = name + '.png' # write the figure to current directory plt.savefig(fig_name) # close pyplot plotting window plt.clf() else: hist, bins = np.histogram(img, bins='auto') if name != False: # open pyplot plotting window using hist data plt.plot(bins[:-1], hist) plt.xticks(bins[:-1], rotation='vertical', fontsize=4) # set range of x-axis # xaxis = plt.xlim([0, bins.max()]) fig_name = name + '.png' # write the figure to current directory plt.savefig(fig_name) # close pyplot plotting window plt.clf() return bins, hist
26.87037
66
0.547898
ed271f20597d61dc68a1538c44fa29901c28374f
636
h
C
quic/state/stream/StreamStateFunctions.h
Shikugawa/mvfst-quicbench
5c6bb05cb5b9810bf1afddc5fe168d6b220bcd1d
[ "MIT" ]
null
null
null
quic/state/stream/StreamStateFunctions.h
Shikugawa/mvfst-quicbench
5c6bb05cb5b9810bf1afddc5fe168d6b220bcd1d
[ "MIT" ]
1
2022-03-08T19:07:06.000Z
2022-03-08T19:07:06.000Z
quic/state/stream/StreamStateFunctions.h
Shikugawa/mvfst-quicbench
5c6bb05cb5b9810bf1afddc5fe168d6b220bcd1d
[ "MIT" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <quic/state/StateData.h> namespace quic { // Common operations to conduct on QuicStreamState when send reset on it void resetQuicStream(QuicStreamState& stream, ApplicationErrorCode error); // Comon operations to conduct on QuicStreamState when receive reset on it void onResetQuicStream(QuicStreamState& stream, const RstStreamFrame& frame); bool isAllDataReceived(const QuicStreamState& stream); } // namespace quic
28.909091
77
0.779874
da80e8e4066474b3b652d913bafc82ba0fe44976
1,222
php
PHP
src/Entity/SendingTextToSpeechSmsInterface.php
webeweb/WBWSMSModeLibrary
48269122ba2cef06102089c3db16e1dc2e018408
[ "MIT" ]
1
2017-10-26T10:12:05.000Z
2017-10-26T10:12:05.000Z
src/Entity/SendingTextToSpeechSmsInterface.php
webeweb/WBWSMSModeLibrary
48269122ba2cef06102089c3db16e1dc2e018408
[ "MIT" ]
null
null
null
src/Entity/SendingTextToSpeechSmsInterface.php
webeweb/WBWSMSModeLibrary
48269122ba2cef06102089c3db16e1dc2e018408
[ "MIT" ]
null
null
null
<?php /* * This file is part of the smsmode-library package. * * (c) 2019 WEBEWEB * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace WBW\Library\SmsMode\Entity; use DateTime; /** * Sending text-to-speech SMS interface. * * @author webeweb <https://github.com/webeweb> * @package WBW\Library\SmsMode\Entity */ interface SendingTextToSpeechSmsInterface extends SmsModeEntityInterface { /** * Get the date envoi. * * @return DateTime|null Returns the date envoi. */ public function getSmsModeDateEnvoi(): ?DateTime; /** * Get the language. * * @return string|null Returns the language. */ public function getSmsModeLanguage(): ?string; /** * Get the message. * * @return string|null Returns the message. */ public function getSmsModeMessage(): ?string; /** * Get the numero. * * @return string[] Returns the numero. */ public function getSmsModeNumero(): array; /** * Get the title. * * @return string|null Returns the title. */ public function getSmsModeTitle(): ?string; }
20.711864
74
0.635025
ac829bd51b8dd614b3b0fe2fb5ccfe9c3f2d4ea3
2,362
swift
Swift
InstagramCopy/Controller/Messages/NewMessageController.swift
Saransh239/INSTAGRAM-CLONE
24e959c8b2433f165fb45488ddbf4ca7a1b5687e
[ "MIT" ]
3
2020-10-02T02:36:40.000Z
2020-10-07T12:33:07.000Z
InstagramCopy/Controller/Messages/NewMessageController.swift
Rohan-cod/InstagramClone
e94f8a29c9dff8b7b8895f7cd0a5a0217c832ff6
[ "MIT" ]
null
null
null
InstagramCopy/Controller/Messages/NewMessageController.swift
Rohan-cod/InstagramClone
e94f8a29c9dff8b7b8895f7cd0a5a0217c832ff6
[ "MIT" ]
null
null
null
import UIKit import Firebase private let reuseIdentifier = "NewMessageCell" class NewMessageController: UITableViewController { // MARK: - Properties var users = [User]() var messagesController: MessagesController? // MARK: - Init override func viewDidLoad() { super.viewDidLoad() configureNavigationBar() // register cell tableView.register(NewMessageCell.self, forCellReuseIdentifier: reuseIdentifier) // removes separator views from unused rows tableView.tableFooterView = UIView(frame: .zero) fetchUsers() } // MARK: - UITableView override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { return 75 } override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return users.count } override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCell(withIdentifier: reuseIdentifier, for: indexPath) as! NewMessageCell cell.user = users[indexPath.row] return cell } override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { self.dismiss(animated: true) { let user = self.users[indexPath.row] self.messagesController?.showChatController(forUser: user) } } // MARK: - Handlers @objc func handleCancel() { dismiss(animated: true, completion: nil) } func configureNavigationBar() { navigationItem.title = "New Message" navigationItem.leftBarButtonItem = UIBarButtonItem(title: "Cancel", style: .plain, target: self, action: #selector(handleCancel)) navigationItem.leftBarButtonItem?.tintColor = .black } // MARK: - API func fetchUsers() { USER_REF.observe(.childAdded) { (snapshot) in let uid = snapshot.key if uid != Auth.auth().currentUser?.uid { Database.fetchUser(with: uid, completion: { (user) in self.users.append(user) self.tableView.reloadData() }) } } } }
29.525
137
0.612616
e002964439de0a96612e5eea4e594dc592580ab0
820
php
PHP
application/views/users/forgot.php
jessyosmena/blog-codeIgniter-3
2bfed25e9c7db5f81cb220a3346180895e62574f
[ "MIT" ]
null
null
null
application/views/users/forgot.php
jessyosmena/blog-codeIgniter-3
2bfed25e9c7db5f81cb220a3346180895e62574f
[ "MIT" ]
null
null
null
application/views/users/forgot.php
jessyosmena/blog-codeIgniter-3
2bfed25e9c7db5f81cb220a3346180895e62574f
[ "MIT" ]
null
null
null
<br /> <div class="row"> <div class="col-lg-6 col-lg-offset-3"> <div class="col-lg-12"> <div class="well bs-component"> <fieldset> <h4 class="text-center">Forgot Password</h4> <?php echo form_open('users/forgot'); ?> <div class="form-group"> <label for="inputEmail" class="col-lg-2 control-label">Email</label> <div> <input type="email" class="form-control" name="email" placeholder="Enter Email"> <?php echo form_error('email', '<p class="text-danger error">', '</p>'); ?> </div> </div> <div class="form-group"> <div> <button type="submit" class="btn btn-primary btn-block">Submit</button> </div> </div> <?php echo form_close(); ?> </fieldset> </div> </div> </div> </div>
31.538462
90
0.540244
977dca07a95236b5b4a35923296bb464b507f523
286
rb
Ruby
db/migrate/20181126200455_add_categorical_column.rb
vivekwap4/DataCapture
6207d0027c3bf760e41b07a8580ad4650803cff3
[ "MIT" ]
null
null
null
db/migrate/20181126200455_add_categorical_column.rb
vivekwap4/DataCapture
6207d0027c3bf760e41b07a8580ad4650803cff3
[ "MIT" ]
null
null
null
db/migrate/20181126200455_add_categorical_column.rb
vivekwap4/DataCapture
6207d0027c3bf760e41b07a8580ad4650803cff3
[ "MIT" ]
null
null
null
class AddCategoricalColumn < ActiveRecord::Migration def change add_column :formattributes, :categorical, :boolean, default: false create_table 'categoricalformattributes' do |t| t.references 'formattributes' t.string 'option' t.timestamps end end end
26
70
0.723776
faaa264165b1bf13c3bbb7bfd7201772a5a65465
56,293
lua
Lua
pony admin script - Copy.lua
xVoid-xyz/Roblox-Scripts
7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2
[ "BSD-3-Clause" ]
70
2021-02-09T17:21:32.000Z
2022-03-28T12:41:42.000Z
pony admin script - Copy.lua
xVoid-xyz/Roblox-Scripts
7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2
[ "BSD-3-Clause" ]
4
2021-08-19T22:05:58.000Z
2022-03-19T18:58:01.000Z
pony admin script - Copy.lua
xVoid-xyz/Roblox-Scripts
7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2
[ "BSD-3-Clause" ]
325
2021-02-26T22:23:41.000Z
2022-03-31T19:36:12.000Z
--Bronytabs by madiik and a little by Ri1es --I fully pasted this script. Don't come lieing around here (madiik) --Fixed Sound cmd --and ba.n --Now added l.ag cmd. --Version 5.6_3 players = game:GetService("Players") player = players.LocalPlayer key = ";" mouse = player:GetMouse() sorcery = script:clone() sorcery.Disabled = true btab = false testing = false chatpowers = true probemode = false angle = 0 dismisstabdebounce = false SourceName = "DSource" --Change when in different SB, Alakazard = "source", oxcool1 = "Source", AntiBoomz0r = "Source", Anaminus = "DSource" clicked = false if not testing then script.Parent = _Ponyville_ else script.Parent = player.Character end tabs = {} outputs = {} tabmodel = Instance.new("Model", workspace) tabmodel.Name = "Tabs" guis = { ["Rainbow Dash"] = ("http://www.roblox.com/asset/?id=132693629"), ["Fluttershy"] = ("http://www.roblox.com/asset/?id=132786149"), ["Twilight Sparkle"] = ("http://www.roblox.com/asset/?id=132791309"), ["Pinkie Pie"] = ("http://www.roblox.com/asset/?id=132877278"), ["Rarity"] = ("http://www.roblox.com/asset/?id=133597041"), ["Applejack"] = ("http://www.roblox.com/asset/?id=133597299"), ["Rainbow"] = ("http://www.roblox.com/asset/?id=132944894"), ["Intro"] = ("http://www.roblox.com/asset/?id=133145835"), ["Nightmare Moon"] = ("http://www.roblox.com/asset/?id=133272876"), ["NO GUI"] = ("") } Clothes = {} for _,Item in pairs(player.Character:children()) do if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then table.insert(Clothes,Item:Clone()) end end for i,v in pairs(player.Character:children()) do if v:IsA("BodyColors") then body = v torsocolor = body.TorsoColor leftlegcolor = body.LeftLegColor rightlegcolor = body.RightLegColor leftarmcolor = body.LeftArmColor rightarmcolor = body.RightArmColor headcolor = body.HeadColor end end local notapony = {"aandrez99", "99zay99", "JaJestemPolakII", "Arcanious", "3iD", "DarkMystrik", "Nitrobullet", "epicnesstester", "MrRagesAlot", "TurboFusion", "telemon1103", "projacob7", "projacob8alt", "projacob8", "blockyblox1231"} local mutedforever = {"starwill1", "ScriptGuider", "LuaHat", "christmasboy"} function unmuteGUI() for _, v in pairs(player:children()) do if v:IsA("PlayerGui") then local gui = Instance.new("ScreenGui", v) gui.Name = "MLP:FiM Restore all CoreGuis Gui" local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(1, 0, 1, 0) frame.BackgroundTransparency = 1 local button = Instance.new("TextButton", frame) button.Size = UDim2.new(0.1, 0, 0.08, 0) button.Position = UDim2.new(0.9, 0, 0.8, 0) button.Text = "Restore all CoreGuis (Z)" button.BackgroundTransparency = 0.5 button.BackgroundColor3 = Color3.new(1, 1, 1) button.TextScaled = true button.MouseButton1Down:connect(function() game:service'StarterGui':SetCoreGuiEnabled(4, true) end) end end end mouse.KeyDown:connect(function(key) if key == "z" then game:service'StarterGui':SetCoreGuiEnabled(4, true) end end) modeldebounce = false game:service'RunService'.Stepped:connect(function() if modeldebounce then return end angle = (angle % 360) + 0.5 if tabmodel.Parent ~= workspace then modeldebounce = true tabs = {} tabmodel = Instance.new("Model", workspace) tabmodel.Name = "Tabs" tabs = {} wait() modeldebounce = false end if #tabs > 1 then if dismisstabdebounce then return end dismisstabdebounce = true dismisstab() end end) game:service'RunService'.Stepped:connect(function() if disabled then return end if player:findFirstChild("PlayerGui") == nil then Instance.new("PlayerGui", player) end if player:findFirstChild("PlayerGui"):findFirstChild("MLP:FiM Restore all CoreGuis Gui") == nil then unmuteGUI() end end) Words = {} function addWord(name, code, func) table.insert(Words, {["Name"]=name, ["Code"]=code, ["Function"]=func}) end function disabletabs() disabled = true player = O_NO_I_BROKE_THE_SCRIPT notapony = {} guis = {} tabs = {} Words = {} workspace:Destroy() end function dismisstab(recipient) if disabled then return end if recipient == nil then recipient = player end local tab = Instance.new("Part") tab.FormFactor = "Custom" tab.Size = Vector3.new(2, 2, 2) tab.Locked = true if recipient.Character and recipient.Character.Torso then tab.CFrame = recipient.Character.Torso.CFrame end tab.Parent = tabmodel tab.Transparency = 0.5 tab.Name = "Bronytab" Instance.new("PointLight", tab).Color = tab.BrickColor.Color tab.TopSurface = 0 tab.CanCollide = false tab.BottomSurface = 0 tab.BrickColor = BrickColor.new("Pastel Blue") tab.Anchored = true local box = Instance.new("SelectionBox", tab) box.Adornee = tab box.Name = "SelectionBox" box.Color = tab.BrickColor local bg = Instance.new("BillboardGui", tab) bg.Adornee = tab bg.Size = UDim2.new(8, 0, 7.5, 0) bg.StudsOffset = Vector3.new(0, 6, 0) local img = Instance.new("ImageLabel", bg) img.Size = UDim2.new(1, 0, 1, 0) img.BackgroundTransparency = 1 img.Image = guis["Rainbow Dash"] local text = Instance.new("TextLabel", bg) text.Size = UDim2.new(1, 0, 0.2, 0) text.FontSize = "Size24" text.BackgroundTransparency = 1 text.Font = "ArialBold" text.TextStrokeTransparency = 0 text.TextColor = tab.BrickColor text.Text = "Dismiss!" local cd = Instance.new("ClickDetector", tab) cd.MaxActivationDistance = 500 cd.MouseHoverEnter:connect(function(player2) if player2 ~= recipient then return end tab.Size = Vector3.new(2.4, 2.4, 2.4) end) cd.MouseHoverLeave:connect(function(player2) if player2 ~= recipient then return end tab.Size = Vector3.new(2, 2, 2) end) cd.MouseClick:connect(function(player2) if clicked then return end if player2 ~= recipient then return end for _,v in pairs(tabs) do clicked = true coroutine.wrap(function() for _ = 0.5, 1, 0.05 do pcall(function() v.tab.Size = v.tab.Size - Vector3.new(0.4, 0.4, 0.4) v.tab.SelectionBox.Transparency = v.tab.SelectionBox.Transparency + 0.1 v.tab.Transparency = v.tab.Transparency + 0.05 end) wait() end pcall(function() v.tab:Destroy() tabs = {} end) wait(0.1) clicked = false end)() end coroutine.wrap(function() for _ = 0.5, 1, 0.05 do pcall(function() tab.Size = tab.Size - Vector3.new(0.4, 0.4, 0.4) box.Transparency = box.Transparency + 0.1 tab.Transparency = tab.Transparency + 0.05 end) wait() end pcall(function() tab:Destroy() end) dismisstabdebounce = false end)() end) game:service'RunService'.Stepped:connect(function() if recipient.Character then if recipient.Character:FindFirstChild("Torso") then tab.CFrame = recipient.Character.Torso.CFrame *CFrame.Angles(0,math.rad(angle*2),0) *CFrame.new(0,5,5) end end if #tabs < 2 then tab:Destroy() dismisstabdebounce = false return end end) end --remove all tabs function removetabs() tabs = {} outputs = {} wait() tabmodel:Destroy() wait() tabs = {} outputs = {} wait(0.3) end function createtab(gui, texthere, color, Func) if disabled then return end local tab = Instance.new("Part") tab.FormFactor = "Custom" if player.Character and player.Character.Torso then tab.CFrame = player.Character.Torso.CFrame end tab.Parent = tabmodel tab.Size = Vector3.new(2, 2, 2) tab.Locked = true tab.Transparency = 0.5 tab.Name = "Bronytab" tab.TopSurface = 0 tab.CanCollide = false Instance.new("PointLight", tab).Color = tab.BrickColor.Color tab.BottomSurface = 0 tab.BrickColor = BrickColor.new(color) tab.Anchored = true local box = Instance.new("SelectionBox", tab) box.Adornee = tab box.Color = tab.BrickColor local bg = Instance.new("BillboardGui", tab) bg.Adornee = tab bg.Size = UDim2.new(8, 0, 7, 0) bg.StudsOffset = Vector3.new(0, 6, 0) local img = Instance.new("ImageLabel", bg) img.Size = UDim2.new(1, 0, 1, 0) img.BackgroundTransparency = 1 img.Image = gui local text = Instance.new("TextLabel", bg) text.Size = UDim2.new(1, 0, 0.2, 0) text.FontSize = "Size24" text.BackgroundTransparency = 1 text.TextStrokeTransparency = 0 text.Font = "ArialBold" text.TextColor = tab.BrickColor text.Text = texthere table.insert(tabs, {tab = tab}) local current = #tabs local cd = Instance.new("ClickDetector", tab) cd.MaxActivationDistance = 500 cd.MouseHoverEnter:connect(function(player2) if player2 ~= player then return end if clicked then return end tab.Size = Vector3.new(2.4, 2.4, 2.4) end) cd.MouseHoverLeave:connect(function(player2) if player2 ~= player then return end if clicked then return end tab.Size = Vector3.new(2, 2, 2) end) cd.MouseClick:connect(function(player2) if clicked then return end if player2 ~= player then return end clicked = true if Func~=nil then local Ran,Error=coroutine.resume(coroutine.create(function() Func(recipient) end)) if Ran == nil and Error then Output(guis["Twilight Sparkle"], Error, "Really red") end end for _ = 0.5, 1, 0.05 do pcall(function() tab.Size = tab.Size - Vector3.new(0.4, 0.4, 0.4) box.Transparency = box.Transparency + 0.1 tab.Transparency = tab.Transparency + 0.05 end) wait() end pcall(function() tab:Destroy() end) clicked = false table.remove(tabs, current, tab) end) end function Output(texthere, color) if disabled then return end local tab = Instance.new("Part") tab.FormFactor = "Custom" if player.Character and player.Character.Torso then tab.CFrame = player.Character.Torso.CFrame end tab.Parent = tabmodel tab.Size = Vector3.new(4, 2, 2) tab.Locked = true tab.Transparency = 0.5 tab.Name = "Bronytab" tab.TopSurface = 0 tab.CanCollide = false Instance.new("PointLight", tab).Color = tab.BrickColor.Color tab.BottomSurface = 0 tab.BrickColor = BrickColor.new(color) tab.Anchored = true local box = Instance.new("SelectionBox", tab) box.Adornee = tab box.Color = tab.BrickColor local bg = Instance.new("BillboardGui", tab) bg.Adornee = tab bg.Size = UDim2.new(8, 0, 1, 0) bg.StudsOffset = Vector3.new(0, 6, 0) local text = Instance.new("TextLabel", bg) text.Size = UDim2.new(1, 0, 0.2, 0) text.FontSize = "Size24" text.BackgroundTransparency = 1 text.TextStrokeTransparency = 0 text.Font = "ArialBold" text.TextColor = tab.BrickColor text.Text = texthere table.insert(outputs, {tab = tab}) local current = #outputs local cd = Instance.new("ClickDetector", tab) cd.MaxActivationDistance = 500 cd.MouseHoverEnter:connect(function(player2) if player2 ~= player then return end if clicked then return end tab.Transparency = 0 end) cd.MouseHoverLeave:connect(function(player2) if player2 ~= player then return end if clicked then return end tab.Transparency = 0.5 end) cd.MouseClick:connect(function(player2) if clicked then return end if player2 ~= player then return end clicked = true for _ = 0.5, 1, 0.05 do tab.Size = tab.Size - Vector3.new(0.4, 0.3, 0.3) box.Transparency = box.Transparency + 0.1 tab.Transparency = tab.Transparency + 0.05 wait() end tab:Destroy() clicked = false table.remove(outputs, current, tab) end) end game:service'RunService'.Stepped:connect(function() if player.Character then if player.Character:FindFirstChild("Torso") then for i,v in pairs(tabs) do v.tab.CFrame = player.Character.Torso.CFrame *CFrame.Angles(0,math.rad(angle + (360/#tabs*i)),0) *CFrame.new(0,math.sin(angle/10),6 + (#tabs+2)) *CFrame.Angles(math.rad(angle*4), 0, math.rad(angle*4)) end end end end) game:service'RunService'.Stepped:connect(function() if player.Character then if player.Character:FindFirstChild("Torso") then for i,v in pairs(outputs) do v.tab.CFrame = player.Character.Torso.CFrame *CFrame.Angles(0,math.rad(angle + (360/#outputs*i)),0) *CFrame.new(0,5,2 + (#outputs + 1)) end end end end) --find a normal script coroutine.wrap(function() local found = false while found == false do if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end for _,scriptinworkspace in pairs(workspace:children()) do if scriptinworkspace then if scriptinworkspace:IsA("Script") then if scriptinworkspace:FindFirstChild(SourceName) then newScript = scriptinworkspace:Clone() wait(0.2) newScript.Name = "NewScript" newScript.Disabled = true newScript:FindFirstChild(SourceName).Value = "" createtab(guis["Twilight Sparkle"], "Source has been found.", "Lime green") found = true break end end end end wait() end end)() function NewS(sourcevalue, parent) if game.PlaceId == 21053279 or game.PlaceId == 21053219 then NS(sourcevalue, parent) --createtab(guis["Twilight Sparkle"], "Script has been created.", "Lime green") else if newScript then local scr = newScript:Clone() if scr:FindFirstChild(SourceName) then if scr:FindFirstChild(SourceName) then scr:FindFirstChild(SourceName).Value = sourcevalue scr.Parent = parent wait(0.5) scr.Disabled = false --createtab(guis["Twilight Sparkle"], "Script has been created.", "Lime green") return scr end end end end end function NewLS(sourcevalue, parent) if game.PlaceId == 21053279 or game.PlaceId == 21053219 then NLS(sourcevalue, parent) --createtab(guis["Twilight Sparkle"], "A Local Script has been created.", "Lime green") else local NS = sorcery:Clone() NS.Name = "NewLocal" local Source = NS:findFirstChild(SourceName) if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName) Source.Value = sourcevalue NS.Parent = parent NS.Disabled = false --createtab(guis["Twilight Sparkle"], "A Local Script has been created.", "Lime green") return NS end end --Chat gui player.Chatted:connect(function(msg) if not chatpowers then return end if disabled then return end if probemode == true then if workspace:findFirstChild(player.Name.."'s flying brony") ~= nil then mainPart = workspace:findFirstChild(player.Name.."'s flying brony") end else if player.Character == nil then return end if player.Character:findFirstChild("Head") ~= nil then mainPart = player.Character:findFirstChild("Head") end end if msg:lower():match(string.lower("yay")) or msg:upper():match(string.upper("YAY")) then NewS([[local sound = Instance.new("Sound", script) sound.Volume = 1 sound.SoundId = "http://www.roblox.com/asset/?id=130764531" sound:play() wait() sound:stop() wait() sound:play() wait(15) script:Destroy() ]], workspace) end local bg = Instance.new("BillboardGui", mainPart) bg.Adornee = mainPart bg.Size = UDim2.new(8, 0, 7, 0) bg.StudsOffset = Vector3.new(0, 2, 0) local bg2 = Instance.new("BillboardGui", mainPart) bg2.Adornee = mainPart bg2.Size = UDim2.new(4, 0, 2.5, 0) bg2.StudsOffset = Vector3.new(-6, 4.5, 0) local img = Instance.new("ImageLabel", bg2) img.Size = UDim2.new(1, 0, 1, 0) img.Position = UDim2.new(0, 0, 0.5, 0) img.BackgroundTransparency = 1 img.Image = guis["Fluttershy"] local text = Instance.new("TextLabel", bg) text.Size = UDim2.new(1, 0, 0.5, 0) text.FontSize = "Size36" text.TextScaled = true text.BackgroundTransparency = 1 text.TextStrokeTransparency = 0 text.Font = "ArialBold" text.TextColor = BrickColor.new("Brick yellow") text.Text = msg:sub(1) for _ = 0, 5, 0.05 do if bg ~= nil then if bg2 ~= nil then bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0) end bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0) end wait() end for _ = 0, 10 do text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 text.TextTransparency = text.TextTransparency + 0.1 wait() end if bg == nil then return end bg:Destroy() if bg2 == nil then return end bg2:Destroy() end) createtab(guis["Rarity"], "The creators are madiik and a little by Scriptury", "Br. yellowish green") createtab(guis["Fluttershy"], "Thanks DansaltSC for the explore.", "New Yeller") createtab(guis["Pinkie Pie"], "Yay! This is now free! Get it at: pastebin, search bar: 'My Little Pony LOCAL admin'", "New Yeller") createtab(guis["Twilight Sparkle"], "Click this to see magic.", "Lavender", function() removetabs(); for _,v in pairs(Words) do createtab(guis["Twilight Sparkle"], v["Name"]..": "..v["Code"], "Lavender") wait() end end ) addWord("Clear the terrain", "clrt", function() NewS("workspace.Terrain:Clear() wait(1) script:Destroy()", workspace) end ) addWord("Fly around", "probe", function() removetabs(); if player.Character then player.Character = nil end probemode = true if workspace.CurrentCamera == nil then return end local camera = workspace.CurrentCamera local probe = Instance.new("Part", workspace) probe.Size = Vector3.new(2, 2, 2) probe.TopSurface = 0 probe.Anchored = true probe.BottomSurface = 0 probe.FormFactor = "Symmetric" probe.Name = player.Name.."'s flying brony" probe.BrickColor = BrickColor.White() probe.Transparency = 0.5 probe.Reflectance = 0.5 local rotation = 0 local bbg = Instance.new("BillboardGui", probe) bbg.Size = UDim2.new(3, 0, 3 ,0) bbg.ExtentsOffset = Vector3.new(0, 2, 0) local txt = Instance.new("TextLabel", bbg) txt.FontSize = "Size24" txt.Font = "SourceSansBold" txt.Text = "A brony called "..player.Name txt.BackgroundTransparency = 1 txt.TextColor = BrickColor.new("Brick yellow") txt.TextStrokeTransparency = 0 txt.Size = UDim2.new(1,0,1,0) local pl = Instance.new("PointLight", probe) pl.Shadows = true pl.Range = 20 coroutine.wrap(function() while pl ~= nil do pl.Color = Color3.new(math.random(), math.random(), math.random()) wait(0.8) end end)() coroutine.wrap(function() while player.Character == nil and probe.Parent == workspace and probe ~= nil and game:service'RunService'.Stepped:wait() do probe.CFrame = camera.Focus * CFrame.Angles(0, rotation, 0) rotation = rotation + 0.1 end if camera then camera:Destroy() end probe:Destroy() probemode = false end)() end ) addWord("Sparkles", "sparkle", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then for _, bp in pairs(plr.Character:children()) do if bp:IsA("BasePart") then Instance.new("Sparkles", bp) end end end end end ) addWord("Freeze the pony", "freeze", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then for _, bp in pairs(plr.Character:children()) do if bp:IsA("BasePart") then bp.Anchored = true end end end end end ) addWord("Thaw the pony", "thaw", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then for _, bp in pairs(plr.Character:children()) do if bp:IsA("BasePart") then bp.Anchored = false end end end end end ) addWord("Remove Sparkles", "unsparkle", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then for _, bp in pairs(plr.Character:children()) do if bp:IsA("BasePart") then for _, spark in pairs(bp:children()) do if spark:IsA("Sparkles") then spark:Destroy() end end end end end end end ) addWord("Insert an item", "ins", function(plrs, msg) if player.Character then local insert = game:service'InsertService':LoadAsset(tonumber(msg)) if insert then insert.Parent = workspace insert:MoveTo(player.Character:GetModelCFrame().p) end end end ) addWord("Mute the pony", "mute", function(plrs) for _, plr in pairs(plrs) do if plr then NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr:findFirstChild("Backpack")) end end end ) addWord("Unmute that pony", "unmute", function(plrs) for _, plr in pairs(plrs) do if plr then NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr:findFirstChild("Backpack")) end end end ) Services = { game:GetService("Workspace"), game:GetService("Players"), game:GetService("Lighting"), game:GetService("StarterPack"), game:GetService("StarterGui"), game:GetService("Teams"), game:GetService("SoundService"), game:GetService("Debris"), game:GetService("InsertService"), game:GetService("RunService"), game:GetService("Chat"), game:GetService("TeleportService"), game:GetService("Geometry"), game:GetService("MarketplaceService"), game:GetService("BadgeService"), game:GetService("NetworkClient"), game:GetService("FriendService"), } function iExplore(Item) removetabs(); if(Item==nil)then for _,v in pairs(Services)do createtab(guis["Twilight Sparkle"],v.Name,'',function() iExplore(v) end) end; else f={ ['View children']=function() removetabs(); for _,v in pairs(Item:children())do createtab(guis["Twilight Sparkle"],v.Name,"Lime green",function() iExplore(v) wait() end); end; end; ['View parent']=function() iExplore(Item.Parent) end; ['Destroy']=function() Item:Destroy(); iExplore(Item.Parent); end; ['Clear']=function() Item:ClearAllChildren() end; ['Clone']=function() pcall(function() cloneableObj = Item:clone() end) end; ['Paste']=function() if cloneableObj then cloneableObj.Parent = Item end end; ['Ki'..'ck Item']=function() NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item) end; }; for i,v in pairs(f)do createtab(guis["Twilight Sparkle"],tostring(i),"Lime green",v); end; createtab(guis["Pinkie Pie"],'Item Name: \''..tostring(Item.Name)..'\'',"Lime green",nil); createtab(guis["Pinkie Pie"],'Class: \''..tostring(Item.ClassName)..'\'',"Lime green",nil); if cloneableObj then createtab(guis["Pinkie Pie"],'Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',"Lime green",nil); end end; end; addWord("Explore the item", "explore", function() iExplore() end ) addWord("Make that pony immortal", "god", function(plrs) for _, plr in pairs(plrs) do if plr then if plr.Character then if plr.Character:findFirstChild("Humanoid") then plr.Character:findFirstChild("Humanoid").MaxHealth = math.huge end end end end end ) addWord("Make that pony mortal", "mortal", function(plrs) for _, plr in pairs(plrs) do if plr then if plr.Character then if plr.Character:findFirstChild("Humanoid") then plr.Character:findFirstChild("Humanoid").MaxHealth = 100 end end end end end ) addWord("Pun".."ish the brony", "pun".."ish", function(plrs) for _, plr in pairs(plrs) do if plr then if plr.Character then plr.Character:Destroy() end end end end ) addWord("Un-Pun".."ish the brony", "unpun".."ish", function(plrs) for _, plr in pairs(plrs) do if plr then NewS([[game:GetService('Players')["]]..plr.Name..[["]:LoadCharacter()]], workspace) end end end ) addWord("Get out from ponyland!", "b".."an", function(plrs) for _, plr in pairs(plrs) do if plr then table.insert(notapony, plr.Name) end end end ) addWord("Magical words", "magic", function() removetabs(); for _,v in pairs(Words) do createtab(guis["Twilight Sparkle"], v["Name"]..": "..v["Code"], "Lavender") wait() end end ) addWord("Turn to Day", "day", function() game:service'Lighting'.TimeOfDay = 14 game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255) game:service'Lighting'.Brightness = 1 game:service'Lighting'.Ambient = Color3.new() game:service'Lighting'.GlobalShadows = true game:service'Lighting'.GeographicLatitude = 41.733 game:service'Lighting'.FogEnd = 100000 game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255) game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255) end ) addWord("Turn to night", "night", function() game:service'Lighting'.TimeOfDay = 0 game:service'Lighting'.OutdoorAmbient = Color3.new(0.1, 0.1, 0.15) game:service'Lighting'.Brightness = 1 game:service'Lighting'.Ambient = Color3.new() game:service'Lighting'.GlobalShadows = true game:service'Lighting'.GeographicLatitude = 41.733 game:service'Lighting'.FogEnd = 100000 game:service'Lighting'.FogColor = Color3.new() game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255) end ) addWord("Execute", "exe", function(plrs, msg) a,b = ypcall(function() loadstring(msg)() end) if not a then Output(b,"Bright red") end end ) addWord("Rejoin a player", "rj", function(plrs) for _, plr in pairs(plrs) do if plr then NewLS("game:service'TeleportService':Teleport(game.PlaceId)", plr.Character) end end end ) addWord("Ki".."ck that brony", "ki".."ck", function(plrs) for _, plr in pairs(plrs) do if plr then NewLS("game:service'StarterGui':SetCoreGuiEnabled(4, false)", plr:findFirstChild('Backpack')) wait(0.2) plr:remove() end end end ) addWord("Add some pony music! on/off", "bronymusic", function(plrs, msg) if msg == "on" then NewS([[ script.Name = "Brony Music Script" local sound = Instance.new("Sound", script) sound.Looped = true sound.Volume = 1 sound.SoundId = "http://www.roblox.com/asset/?id=130769808" sound:stop() wait(0.1) sound:play() ]], workspace) elseif msg == "off" then if workspace:findFirstChild("Brony Music Script") and workspace:findFirstChild("Brony Music Script"):IsA("Script") then workspace:findFirstChild("Brony Music Script"):Destroy() end end end ) addWord("Disable bronytabs", "disable", function() Output("Disabled Tabs.", "Really red") wait(1) removetabs() disabletabs() end ) addWord("Reborn a pony", "reset", function(plrs) for _, plr in pairs(plrs) do if plr then NewS([[game:GetService('Players')["]]..plr.Name..[["]:LoadCharacter()]], workspace) Output("Reseted "..plr.Name..".", "Lime green") end end end ) addWord("Get Info on a player", "info", function(plrs) for _, plr in pairs(plrs) do if plr then removetabs() createtab(guis["Fluttershy"], "Age: "..plr.AccountAge, "Lime green") createtab(guis["Twilight Sparkle"], "Player name: "..plr.Name, "Lime green") createtab(guis["Rarity"], "Player ID: "..plr.userId, "Lime green") if plr.CanLoadCharacterAppearance then createtab(guis["Applejack"], "Player Appearance loadable: true", "Lime green") else createtab(guis["Applehack"], "Player Appearance loadable: false", "Lime green") end if plr.userId == game.CreatorId then createtab(guis["Rainbow Dash"], "Player owns the place: Yes", "Lime green") else createtab(guis["Rainbow Dash"], "Player owns the place: No", "Lime green") end end end end ) addWord("Nuke da pony", "nuke", function(plrs) for _, plr in pairs(plrs) do if plr then if plr.Character then if plr.Character.Torso then for pos2 = -10, 10 do for pos = -10, 10 do local expl = Instance.new("Explosion", workspace) expl.BlastRadius = 20 expl.BlastPressure = 2000 expl.Position = plr.Character.Torso.Position + Vector3.new(pos*3, 0, pos2*3) end wait() end end end end end end ) addWord("Server Info", "server", function() removetabs() NewS([[ local port = Instance.new("NumberValue", game:service'Lighting') port.Value = game:service'NetworkServer'.Port port.Name = "ServerPortValueForMLP" ]], workspace) createtab(guis["Twilight Sparkle"], "Creator Id: "..game.CreatorId, "Lime green") createtab(guis["Twilight Sparkle"], "Place Id: "..game.PlaceId, "Lime green") wait(0.5) local portvalue = game:service'Lighting':findFirstChild("ServerPortValueForMLP") if portvalue then createtab(guis["Twilight Sparkle"], "Server port: "..portvalue.Value, "Lime green") end end ) addWord("Un-ForceField", "unff", function(plrs) for _,plr in pairs(plrs) do if plr and plr.Character then for _, ff in pairs(plr.Character:children()) do if ff and ff:IsA("ForceField") then ff:Destroy() end end end end end ) addWord("Island", "island", function() local terrain = workspace:findFirstChild("Terrain") if terrain then for h = -1, 1 do for r = -150, 150 do for r2 = -150, 150 do workspace:findFirstChild("Terrain"):SetCell(r2, h, r, 17, 0, 0) end end wait() end for h = -1, 2 do for r = -25, 25 do for r2 = -25, 25 do workspace:findFirstChild("Terrain"):SetCell(r2, h, r, 1, 0, 0) end end wait() end end end ) addWord("Mute-B".."an a pony", "muteba".."n", function(plrs) for _, plr in pairs(plrs) do if plr then table.insert(mutedforever, plr.Name) NewLS("game:service'StarterGui':SetCoreGuiEnabled(4, false)", plr:findFirstChild("Backpack")) end end end ) addWord("Ping a Pony", "ping", function(plrs, msg) if msg == "plrs" then for _, plr in pairs(game:service'Players':GetPlayers()) do if plr then createtab(guis["Pinkie Pie"], plr.Name, "Brick yellow", nil) wait() end end return 0 elseif msg == "ba".."nlist" then for _, notabrony in pairs(notapony) do createtab(guis["Nightmare Moon"], notabrony, "Navy blue", nil) wait() end return 0 else createtab(guis["Pinkie Pie"], msg, "Pink", nil) end end ) addWord("Lock Server", "lserver", function(plrs, msg) if msg == "on" then NewS("game:service'Players'.CharacterAutoLoads = false", workspace) hintServer = Instance.new("Hint", workspace) hintServer.Text = "Server is lo".."cked." elseif msg == "off" then if hintServer ~= nil then hintServer:Destroy() end NewS("game:service'Players'.CharacterAutoLoads = true", workspace) end end ) addWord("TrollCam", "troll", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then NewLS([[ script.Parent = nil local cam = workspace.CurrentCamera if cam then cam.CameraType = "Scriptable" local screen = Instance.new("ScreenGui", game:service'Players'.LocalPlayer:findFirstChild("PlayerGui")) screen.Name = "TrollScreen" values = {-.25,-.2,-.15,-.1,-.05, 0, .05, .1, .15, .2, .25, .3, .35, .4, .45, 5, .55, .6, .65, .7, .75, .8, .85, .9, .95, 1, 1.05, 1.1, 1.15} for roll = 0, 200, 0.5 do cam:SetRoll(roll) local troll = Instance.new("ImageLabel", screen) troll.Size = UDim2.new(.15, 0, .25, 0) troll.Position = UDim2.new(values[math.random(#values)], 0, values[math.random(#values)], 0) troll.Image = ("http://www.roblox.com/asset/?id=132877278") troll.BackgroundTransparency = 1 wait() end cam.CameraType = "Custom" screen:Destroy() end ]], plr.Character) end end end ) addWord("Disconnect", "dash", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then coroutine.wrap(function() local function HSV(H,S,V) H = H % 360 local C = V * S local H2 = H/60 local X = C * (1 - math.abs((H2 %2) -1)) local color = Color3.new(0,0,0) if H2 <= 0 then color = Color3.new(C,0,0) elseif 0 <= H2 and H2 <= 1 then color = Color3.new(C,X,0) elseif 1 <= H2 and H2 <= 2 then color = Color3.new(X,C,0) elseif 2 <= H2 and H2 <= 3 then color = Color3.new(0,C,X) elseif 3 <= H2 and H2 <= 4 then color = Color3.new(0,X,C) elseif 4 <= H2 and H2 <= 5 then color = Color3.new(X,0,C) elseif 5 <= H2 and H2 <= 6 then color = Color3.new(C,0,X) end local m = V - C return Color3.new(color.r + m, color.g + m, color.b + m) end if plr.Character:findFirstChild("Torso") then plr.Character.Torso.CFrame = plr.Character.Torso.CFrame * CFrame.new(0, 350, 0) wait(2) local p = Instance.new("Part", workspace) p.FormFactor = "Custom" p.Anchored = true p.Size = Vector3.new(0.2, 0.2, 0.2) p.Locked = true p.CFrame = CFrame.new(plr.Character.Torso.CFrame.x, plr.Character.Torso.CFrame.y, plr.Character.Torso.CFrame.z) * CFrame.Angles(math.pi/2, 0, 0) p.CanCollide = false local msh = Instance.new("SpecialMesh", p) msh.MeshId = "http://www.roblox.com/asset/?id=3270017" msh.TextureId = "http://www.roblox.com/asset/?id=48358980" local hue = 0 for _ = 0, 5000 do hue = ((hue+0.5)%360) msh.Scale = msh.Scale + Vector3.new(2, 2, 0) p.Transparency = p.Transparency + 0.005 local colur = HSV(hue,1,1) msh.VertexColor = Vector3.new(colur.r,colur.g,colur.b) wait() end end end)() wait(3) NewLS("game:service'Players'.LocalPlayer:Kick()", plr:findFirstChild('Backpack')) end end end ) addWord("SONIC RAINBOOM!", "rainboom", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then coroutine.wrap(function() NewLS([[ function HSV(H,S,V) H = H % 360 local C = V * S local H2 = H/60 local X = C * (1 - math.abs((H2 %2) -1)) local color = Color3.new(0,0,0) if H2 <= 0 then color = Color3.new(C,0,0) elseif 0 <= H2 and H2 <= 1 then color = Color3.new(C,X,0) elseif 1 <= H2 and H2 <= 2 then color = Color3.new(X,C,0) elseif 2 <= H2 and H2 <= 3 then color = Color3.new(0,C,X) elseif 3 <= H2 and H2 <= 4 then color = Color3.new(0,X,C) elseif 4 <= H2 and H2 <= 5 then color = Color3.new(X,0,C) elseif 5 <= H2 and H2 <= 6 then color = Color3.new(C,0,X) end local m = V - C return Color3.new(color.r + m, color.g + m, color.b + m) end if script.Parent:findFirstChild("Torso") then script.Parent.Torso.CFrame = script.Parent.Torso.CFrame * CFrame.new(0, 350, 0) wait(2) local p = Instance.new("Part", workspace) p.FormFactor = "Custom" p.Anchored = true p.Locked = true p.CFrame = CFrame.new(script.Parent.Torso.CFrame.x, script.Parent.Torso.CFrame.y, script.Parent.Torso.CFrame.z) * CFrame.Angles(math.pi/2, 0, 0) p.Size = Vector3.new(0.2, 0.2, 0.2) p.CanCollide = false local msh = Instance.new("SpecialMesh", p) msh.MeshId = "http://www.roblox.com/asset/?id=3270017" msh.TextureId = "http://www.roblox.com/asset/?id=48358980" local hue = 0 for _ = 0, 5000 do hue = ((hue+0.5)%360) msh.Scale = msh.Scale + Vector3.new(2, 2, 0) p.Transparency = p.Transparency + 0.005 local colur = HSV(hue,1,1) msh.VertexColor = Vector3.new(colur.r,colur.g,colur.b) wait() end end]], plr.Character) end)() end end end ) addWord("Fix Tab Count", "fixtabs", function() removetabs() createtab(guis["Twilight Sparkle"], "Tab count has been fixed.", "Br. yellowish green") end ) addWord("Protect the pony!", "ff", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character then Instance.new("ForceField", plr.Character) end end end ) addWord("Own dat brony", "own", function(plrs) for _, plr in pairs(plrs) do if plr and plr.Character and plr.Character.Torso then local p = Instance.new("Part", workspace) p.CanCollide = false p.Size = Vector3.new(6, 1024, 6) p.Anchored = true p.Transparency = 1 local decal1 = Instance.new("Decal", p) decal1.Texture = guis["Rainbow"] decal1.Face = "Front" local decal2 = Instance.new("Decal", p) decal2.Texture = guis["Rainbow"] decal2.Face = "Back" local decal1 = Instance.new("Decal", p) decal1.Texture = guis["Rainbow"] decal1.Face = "Right" local decal2 = Instance.new("Decal", p) decal2.Texture = guis["Rainbow"] decal2.Face = "Left" p.CFrame = CFrame.new(plr.Character.Torso.CFrame.x, plr.Character.Torso.CFrame.y, plr.Character.Torso.CFrame.z) game:service'Debris':AddItem(p, 3) plr.Character:BreakJoints() end end end ) addWord("Swagify", "swag", function(plrs) for i,v in pairs(plrs) do if v.Character:FindFirstChild("Shirt") then v.Character.Shirt:remove() end if v.Character:FindFirstChild("Pants") then v.Character.Pants:remove() end for j,b in pairs(v.Character:children()) do if b:IsA("BasePart") then Instance.new("Sparkles", b).SparkleColor = Color3.new(1,0,1) Instance.new("Fire", b).Color = Color3.new(1,0,1) local sb = Instance.new("SelectionBox", b) sb.Color = BrickColor.new(Color3.new(1,0,1)) sb.Adornee = sb.Parent b.BrickColor = BrickColor.new(Color3.new(1,0,1)) end end end end ) addWord("Local Script", "ls", function(plrs, msg) if player.Character then NewLS(msg, player.Character) end end ) addWord("Create a base", "base", function(plrs) pcall(function() local base = Instance.new("Part", workspace) base.Size = Vector3.new(1024, 1, 1024) base.Anchored = true base.Locked = true base.CFrame = CFrame.new(0, 0.6, 0) base.BrickColor = BrickColor.new("Bright green") end) end ) addWord("Share Bronies", "share", function(plrs) for _,plr in pairs(plrs) do if plr then if plr.Character then local shared = script:clone() shared.Disabled = true shared.Parent = plr.Character wait(1) shared.Disabled = false end end end end ) addWord("Create a new sound", "sound", function(plrs, msg) if workspace:findFirstChild(""..player.Name.."'s soundscript") then workspace:findFirstChild(""..player.Name.."'s soundscript"):Destroy() end wait() NewS([[ script.Name = "]]..player.Name..[['s soundscript" local snd = Instance.new("Sound", script) snd.Looped = true snd.SoundId = "http://www.roblox.com/asset/?id=]]..tonumber(msg)..[[" snd.Volume = 1 snd:play() snd.Name = "]]..player.Name..[['s sound" wait() snd:stop() wait() snd:play() ]], workspace) end ) addWord("Remove your created sound", "rsound", function() if workspace:findFirstChild(""..player.Name.."'s soundscript") then workspace:findFirstChild(""..player.Name.."'s soundscript"):Destroy() end end ) addWord("Create your character", "char", function() if workspace.CurrentCamera == nil then return end local camera = workspace.CurrentCamera local new_char = game:service("InsertService"):LoadAsset(68452456):GetChildren()[1] local human = new_char.Humanoid human.Parent = nil new_char.Name = "A brony called "..player.Name wait() human.Parent = new_char camera.CameraSubject = human camera.CameraType = "Custom" new_char.Parent = workspace local pl = Instance.new("PointLight", new_char.Head) pl.Range = 24 pl.Shadows = true player.Character = new_char new_char:MakeJoints() new_char.Torso.BrickColor = torsocolor new_char["Left Leg"].BrickColor = leftlegcolor new_char["Right Leg"].BrickColor = rightlegcolor new_char["Left Arm"].BrickColor = leftarmcolor new_char["Right Arm"].BrickColor = rightarmcolor new_char.Head.BrickColor = headcolor for i,v in pairs(Clothes) do v:Clone().Parent = new_char end end ) addWord("Box the pony", "box", function(plrs) for _,plr in pairs(plrs) do if plr and plr.Character then if plr.Character:findFirstChild("Torso") then for _,base in pairs(plr.Character:children()) do if base:IsA("BasePart") then local box = Instance.new("SelectionBox", base) box.Adornee = base box.Color = plr.Character:findFirstChild("Torso").BrickColor end end end end end end ) addWord("Un-Box the pony", "unbox", function(plrs) for _,plr in pairs(plrs) do if plr and plr.Character then for _,base in pairs(plr.Character:children()) do if base:IsA("BasePart") then for _,b in pairs(base:children()) do if b:IsA("SelectionBox") then b:Destroy() end end end end end end end ) addWord("L".."ag dat pony", "l".."ag", function(plrs) for _,plr in pairs(plrs) do if plr then NewLS([[ script.Parent = nil for pos = -5, math.huge do for pos2 = -5, 5 do local expl = Instance.new("Explosion", workspace.CurrentCamera) expl.Position = Vector3.new(pos, 0, pos2) end wait() end]], plr:findFirstChild("Backpack")) end end end ) addWord("Dismiss Tabs", "dismiss", function() if clicked then return end for _,v in pairs(tabs) do clicked = true coroutine.wrap(function() for _ = 0.5, 1, 0.05 do pcall(function() v.tab.SelectionBox.Transparency = v.tab.SelectionBox.Transparency + 0.1 v.tab.Transparency = v.tab.Transparency + 0.05 end) wait() end pcall(function() v.tab:Destroy() tabs = {} clicked = false end) end)() end end ) addWord("New Local Script", "nl", function(plrs, msg) local keypos = msg:find(key) local targPlayers = msg:sub(1,keypos-1) local plrs = getPlayers(targPlayers) local source = msg:sub(tostring(keypos+1)) for i,v in pairs(plrs) do if v.Character ~= nil then NewLS(source, v.Character) end end end ) addWord("Set WalkSpeed", "ws", function(plrs, msg) local keypos = msg:find(key) local targPlayers = msg:sub(1,keypos-1) local plrs = getPlayers(targPlayers) local speed = msg:sub(tonumber(keypos+1)) for _,v in pairs(plrs) do if v.Character ~= nil and v.Character:findFirstChild("Humanoid") ~= nil then v.Character:findFirstChild("Humanoid").WalkSpeed = speed end end end ) addWord("Teleport to...", "tp", function(plrs, msg) local keypos = msg:find(key) local targPlayers = msg:sub(1,keypos-1) local plrs = getPlayers(targPlayers) local plyrname = msg:sub(tostring(keypos+1)) for _,v in pairs(plrs) do if v.Character ~= nil and v.Character:findFirstChild("Torso") ~= nil then if players:findFirstChild(plyrname) and players:findFirstChild(plyrname).Character and players:findFirstChild(plyrname).Character:findFirstChild("Torso") then v.Character:findFirstChild("Torso").CFrame = players:findFirstChild(plyrname).Character:findFirstChild("Torso").CFrame end end end end ) addWord("Chatpowers, on/off", "chat", function(plrs, msg) if msg == "off" then chatpowers = false elseif msg == "on" then chatpowers = true end end ) addWord("Message", "m", function(plrs, msg) local message = Instance.new("Message", workspace) message.Text = "["..player.Name.."]: "..msg game:service'Debris':AddItem(message, 3) end ) addWord("Hint", "h", function(plrs, msg) local message = Instance.new("Hint", workspace) message.Text = "["..player.Name.."]: "..msg game:service'Debris':AddItem(message, 3) end ) addWord("Fire tha pony", "fire", function(plrs) for i,v in pairs(plrs) do for j,b in pairs(v.Character:children()) do if b:IsA("BasePart") then Instance.new("Fire", b) end end end end ) addWord("Un-fire", "unfire", function(plrs) for _,plr in pairs(plrs) do for _,b in pairs(plr.Character:children()) do if b:IsA("BasePart") then if b:findFirstChild("Fire") then b:findFirstChild("Fire"):Destroy() end end end end end ) addWord("Clean", "clean", function() pcall(function() NewLS("workspace:ClearAllChildren()", player.Character) NewLS("workspace.Terrain:Clear()", player.Character) end) end ) addWord("Set B".."et", "key", function(plrs, msg) pcall(function() key = tostring(msg) end) end ) addWord("New Script", "s", function(plrs, msg) NewS(msg, workspace) end ) function getPlayers(msg) local ponies = {} if msg == "me" or msg == "meh" then table.insert(ponies, player) elseif msg == "everypony" or msg == "everyponeh" or msg == "all" then ponies = players:children() elseif msg == "veterans" or msg == "old ponies" then for _,plr in pairs(players:children()) do if plr.AccountAge > 364 then table.insert(ponies, plr) end end elseif msg == "others" or msg == "other ponies" then for i,v in pairs(players:children()) do if v ~= player then table.insert(ponies, v) end end else for i,v in pairs(players:children()) do if v.Name:lower():sub(1,#msg) == msg:lower() then table.insert(ponies, v) end end end return ponies end player.Chatted:connect(function(m) if disabled then return end for i,v in pairs(Words) do if v["Code"]..key == m:sub(1, #v["Code"]+#key) then v["Function"](getPlayers(m:sub(#v["Code"]+#key+1)), m:sub(#v["Code"]+#key+1)) end end end) createtab(guis["Intro"], ("Welcome to MLP Brony tabs"), "Lavender") for _,plr in pairs(players:children()) do end players.ChildAdded:connect(function(plr) for name = 1, #mutedforever do if plr.Name:lower() == mutedforever[name]:lower() then NewLS("game:service'StarterGui':SetCoreGuiEnabled(4, false)", v:findFirstChild("Backpack")) end end createtab(guis["Pinkie Pie"], plr.Name.." has joined! IT'S TIME TO PARTY!", "Pink") end) players.ChildRemoved:connect(function(plr) Output(plr.Name.." has left the Party, Aww.", "Bright blue") end) --FLIP DA TABLE game:service'RunService'.Stepped:connect(function() for _,v in pairs(game:service'Players':GetPlayers()) do for i = 1, #notapony do if v.Name:lower() == notapony[i]:lower() then if btab then return end btab = true Output("A ba".."nned player tried to join: "..v.Name, "Bright red") NewLS("game:service'Players'.LocalPlayer:Kick()", v:findFirstChild("Backpack")) wait(2) btab = false end end end end)
30.981288
237
0.5379
6605efd7856b073978f614f6e098c3cf113f8873
3,488
py
Python
parser/team19/BDTytus/LineNumber.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
parser/team19/BDTytus/LineNumber.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
parser/team19/BDTytus/LineNumber.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
from Graphics import Tkinter as tk class LineNumberCanvas(tk.Canvas): def __init__(self, *args, **kwargs): tk.Canvas.__init__(self, *args, **kwargs) self.text_widget = None self.breakpoints = [] def connect(self, text_widget): self.text_widget = text_widget def re_render(self): """Re-render the line canvas""" self.delete('all') # To prevent drawing over the previous canvas temp = self.text_widget.index("@0,0") while True: dline = self.text_widget.dlineinfo(temp) if dline is None: break y = dline[1] x = dline[0] linenum = str(temp).split(".")[0] id = self.create_text(2, y, anchor="nw", text=linenum) if int(linenum) in self.breakpoints: x1, y1, x2, y2 = self.bbox(id) self.create_oval(x1, y1, x2, y2, fill='red') self.tag_raise(id) temp = self.text_widget.index("%s+1line" % temp) def get_breakpoint_number(self, event): if self.find_withtag('current'): i = self.find_withtag('current')[0] linenum = int(self.itemcget(i, 'text')) if linenum in self.breakpoints: self.breakpoints.remove(linenum) else: self.breakpoints.append(linenum) self.re_render() class LineMain: def __init__(self, text): self.text = text self.master = text.master self.mechanise() self._set_() self.binding_keys() def mechanise(self): self.text.tk.eval(''' proc widget_interceptor {widget command args} { set orig_call [uplevel [linsert $args 0 $command]] if { ([lindex $args 0] == "insert") || ([lindex $args 0] == "delete") || ([lindex $args 0] == "replace") || ([lrange $args 0 2] == {mark set insert}) || ([lrange $args 0 1] == {xview moveto}) || ([lrange $args 0 1] == {xview scroll}) || ([lrange $args 0 1] == {yview moveto}) || ([lrange $args 0 1] == {yview scroll})} { event generate $widget <<Changed>> } #return original command return $orig_call } ''') self.text.tk.eval(''' rename {widget} new interp alias {{}} ::{widget} {{}} widget_interceptor {widget} new '''.format(widget=str(self.text))) return def binding_keys(self): for key in ['<Down>', '<Up>', "<<Changed>>", "<Configure>"]: self.text.bind(key, self.changed) self.linenumbers.bind('<Button-1>', self.linenumbers.get_breakpoint_number) return def changed(self, event): self.linenumbers.re_render() # print "render" return def _set_(self): self.linenumbers = LineNumberCanvas(self.master, width=25) self.linenumbers.connect(self.text) self.linenumbers.pack(side="left", fill="y") self.linenumbers2 = LineNumberCanvas(self.master, width=25) self.linenumbers2.connect(self.text) self.linenumbers2.pack(side="right", fill="y") return if __name__ == '__main__': root = tk.Tk() l = tk.Text(root) LineMain(l) l.pack() root.mainloop()
31.709091
83
0.524656
ef43dcf6ce6931ffd4bd95a3447c2ea397bec62c
682
h
C
Authentication/Deprecated-Digest/RT-XMPPDeprecatedDigestAuthentication.h
ReadyTalk/XMPPFramework-RT
2aedfebf45d2baebeed41745b8e7eb3278905b44
[ "BSD-Source-Code" ]
null
null
null
Authentication/Deprecated-Digest/RT-XMPPDeprecatedDigestAuthentication.h
ReadyTalk/XMPPFramework-RT
2aedfebf45d2baebeed41745b8e7eb3278905b44
[ "BSD-Source-Code" ]
null
null
null
Authentication/Deprecated-Digest/RT-XMPPDeprecatedDigestAuthentication.h
ReadyTalk/XMPPFramework-RT
2aedfebf45d2baebeed41745b8e7eb3278905b44
[ "BSD-Source-Code" ]
null
null
null
#import <Foundation/Foundation.h> #import "RT-XMPPSASLAuthentication.h" #import "RT-XMPPStream.h" @interface XMPPDeprecatedDigestAuthentication : NSObject <XMPPSASLAuthentication> // This class implements the XMPPSASLAuthentication protocol. // // See XMPPSASLAuthentication.h for more information. @end //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #pragma mark - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @interface XMPPStream (XMPPDeprecatedDigestAuthentication) - (BOOL)supportsDeprecatedDigestAuthentication; @end
29.652174
120
0.52346
e23b64eac64353d68ec3b4edc44ca0161277f689
1,648
js
JavaScript
core/dbMysql.js
UrijHoruzij/auth-jwt-server
ff3452bca1c4a2de975884ce653e16a467aae5da
[ "MIT" ]
2
2020-08-18T10:29:03.000Z
2020-08-18T11:07:22.000Z
core/dbMysql.js
UrijHoruzij/Express-JWT
ff3452bca1c4a2de975884ce653e16a467aae5da
[ "MIT" ]
null
null
null
core/dbMysql.js
UrijHoruzij/Express-JWT
ff3452bca1c4a2de975884ce653e16a467aae5da
[ "MIT" ]
null
null
null
const mysql = require('mysql2/promise'); const { DB_MYSQL_CONFIG } = require('../config.js'); /** * @module dbMysql */ /** * Class function database Mysql. */ class dbMysql { /** * Create a dbMysql * @constructor */ constructor() { this.connection = ''; } /** * Inittialization */ async init() { this.connection = await mysql.createConnection({ host: DB_MYSQL_CONFIG.host, user: DB_MYSQL_CONFIG.user, database: DB_MYSQL_CONFIG.database, }); this.connection.query(this.createTable()); } /** * getUserById * @param {string} _id - _id User * @returns {object} User info */ async getUserById(_id) { [rows, fields] = await this.connection.query(`SELECT * FROM Users WHERE _id=${_id}`); return rows; } /** * checkExistUser * @param {string} email - email User * @returns {object} User info */ async checkExistUser(email) { [rows, fields] = await this.connection.query(`SELECT * FROM Users WHERE email=${email}`); return rows; } /** * addUser * @param {object} data - info User * @returns {object} User info */ async addUser(data) { const result = await this.connection.query( `INSERT INTO Users (email,password,name,lastname) VALUES (${data.email}, ${data.password}, ${data.name},${data.lastname});`, ); return result[0]; } /** * createTable * @returns {string} Query SQL */ createTable() { return `CREATE TABLE IF NOT EXISTS Users ( _id INT AUTO_INCREMENT PRIMARY KEY, email VARCHAR(120) NOT NULL UNIQUE, password VARCHAR(120) NOT NULL, name VARCHAR(30) NOT NULL, lastname VARCHAR(60) NOT NULL, );`; } } module.exports = dbMysql;
20.6
127
0.646845
df498d87b84c31c588d4a5a061b32b8395061286
1,050
rb
Ruby
spec/mailers/user_mailer_spec.rb
Ichi-Taku/sample_app
0dbb3a8f2e93aa5960358dd671b01c270ea0bbfa
[ "RSA-MD" ]
null
null
null
spec/mailers/user_mailer_spec.rb
Ichi-Taku/sample_app
0dbb3a8f2e93aa5960358dd671b01c270ea0bbfa
[ "RSA-MD" ]
4
2020-04-10T05:36:50.000Z
2022-03-31T01:05:39.000Z
spec/mailers/user_mailer_spec.rb
Ichi-Taku/sample_app
0dbb3a8f2e93aa5960358dd671b01c270ea0bbfa
[ "RSA-MD" ]
null
null
null
require "rails_helper" RSpec.describe UserMailer, type: :mailer do describe `#account_activation` do let!(:user) { build(:user, activation_token: User.new_token) } let!(:mail) { UserMailer.account_activation(user) } it { expect(mail.subject).to eq "Account activation" } it { expect(mail.to).to eq [user.email] } it { expect(mail.from).to eq ["noreply@example.com"] } it { expect(mail.body.encoded).to include user.name } it { expect(mail.body.encoded).to include user.activation_token } it { expect(mail.body.encoded).to include CGI.escape(user.email) } end describe `#password_reset` do let!(:user) { build(:user, reset_token: User.new_token) } let!(:mail) { UserMailer.password_reset(user) } it { expect(mail.subject).to eq "Password reset" } it { expect(mail.to).to eq [user.email] } it { expect(mail.from).to eq ["noreply@example.com"] } it { expect(mail.body.encoded).to include user.reset_token } it { expect(mail.body.encoded).to include CGI.escape(user.email) } end end
40.384615
70
0.682857
6ddb032617624619898d0e4c353b426ae4b3cccd
1,824
ts
TypeScript
src/math/Triangle.d.ts
DefinitelyMaybe/threejs_4_deno
7c454db2317a35f9f43a3837dc3ae90746caddb6
[ "MIT" ]
1
2021-01-04T06:10:49.000Z
2021-01-04T06:10:49.000Z
src/math/Triangle.d.ts
DefinitelyMaybe/threejs_4_deno
7c454db2317a35f9f43a3837dc3ae90746caddb6
[ "MIT" ]
1
2021-01-07T00:01:21.000Z
2021-01-21T00:00:19.000Z
src/math/Triangle.d.ts
DefinitelyMaybe/threejs_4_deno
7c454db2317a35f9f43a3837dc3ae90746caddb6
[ "MIT" ]
1
2021-03-16T10:23:40.000Z
2021-03-16T10:23:40.000Z
/// <reference lib="dom" /> import { Vector2 } from "./Vector2.d.ts"; import { Vector3 } from "./Vector3.d.ts"; import { Plane } from "./Plane.d.ts"; import { Box3 } from "./Box3.d.ts"; export class Triangle { constructor(a?: Vector3, b?: Vector3, c?: Vector3); /** * @default new THREE.Vector3() */ a: Vector3; /** * @default new THREE.Vector3() */ b: Vector3; /** * @default new THREE.Vector3() */ c: Vector3; set(a: Vector3, b: Vector3, c: Vector3): Triangle; setFromPointsAndIndices( points: Vector3[], i0: number, i1: number, i2: number, ): Triangle; clone(): this; copy(triangle: Triangle): this; getArea(): number; getMidpoint(target: Vector3): Vector3; getNormal(target: Vector3): Vector3; getPlane(target: Plane): Plane; getBarycoord(point: Vector3, target: Vector3): Vector3; getUV( point: Vector3, uv1: Vector2, uv2: Vector2, uv3: Vector2, target: Vector2, ): Vector2; containsPoint(point: Vector3): boolean; intersectsBox(box: Box3): boolean; isFrontFacing(direction: Vector3): boolean; closestPointToPoint(point: Vector3, target: Vector3): Vector3; equals(triangle: Triangle): boolean; static getNormal( a: Vector3, b: Vector3, c: Vector3, target: Vector3, ): Vector3; static getBarycoord( point: Vector3, a: Vector3, b: Vector3, c: Vector3, target: Vector3, ): Vector3; static containsPoint( point: Vector3, a: Vector3, b: Vector3, c: Vector3, ): boolean; static getUV( point: Vector3, p1: Vector3, p2: Vector3, p3: Vector3, uv1: Vector2, uv2: Vector2, uv3: Vector2, target: Vector2, ): Vector2; static isFrontFacing( a: Vector3, b: Vector3, c: Vector3, direction: Vector3, ): boolean; }
20.727273
64
0.623355
f3d0e36d79a656b0a87e2bbf110a7f724bf35805
320
rs
Rust
oom-backend/oom-db/src/lib.rs
tbrand/OutOfMemory
781883cdd0394ecc8e05926fec96c0d78a3b9da3
[ "MIT" ]
9
2019-07-07T19:45:43.000Z
2021-09-29T05:44:31.000Z
oom-backend/oom-db/src/lib.rs
tbrand/OutOfMemory
781883cdd0394ecc8e05926fec96c0d78a3b9da3
[ "MIT" ]
9
2019-07-06T16:51:33.000Z
2019-07-08T13:20:05.000Z
oom-backend/oom-db/src/lib.rs
tbrand/OutOfMemory
781883cdd0394ecc8e05926fec96c0d78a3b9da3
[ "MIT" ]
null
null
null
#![deny(warnings)] pub mod answers; pub mod comments; pub mod error; pub mod list_tags; pub mod posts; pub mod questions; pub mod rank_users; pub mod tags; pub mod ups; pub mod users; pub mod users_analysis; pub mod views; pub use oom_model as model; pub use oom_schema::schema; pub use oom_schema::schema_additional;
16.842105
38
0.765625
5493526d49aa48be88f0aefc27c7c932ab6b541c
16,677
css
CSS
Projetos/Dia_13/style.css
IamThiago-IT/25
ce32f1d30485832b08f4200597448db70bc6f412
[ "Apache-2.0" ]
18
2020-09-10T15:01:54.000Z
2022-03-24T22:24:01.000Z
Projetos/Dia_13/style.css
IamThiago-IT/25
ce32f1d30485832b08f4200597448db70bc6f412
[ "Apache-2.0" ]
null
null
null
Projetos/Dia_13/style.css
IamThiago-IT/25
ce32f1d30485832b08f4200597448db70bc6f412
[ "Apache-2.0" ]
3
2021-01-28T20:35:04.000Z
2022-01-24T09:55:43.000Z
@import url(https://fonts.googleapis.com/css?family=Nunito:400,700,300); .stat_inner { position: absolute; right: 0; left: 0; top: 50%; margin: auto; } * { box-sizing: border-box; } body { background: -webkit-radial-gradient(center, ellipse cover, #2A96AF 0%, #2A96AF 100%); overflow: hidden; } .stat { -webkit-animation: in 0.6s forwards, float 4s 0.6s infinite; animation: in 0.6s forwards, float 4s 0.6s infinite; -webkit-perspective: 800px; perspective: 800px; opacity: 0; height: 100vh; } .stat input[type="checkbox"] { display: none; } .stat input[type="checkbox"]:checked + label .stat_inner { -webkit-transform: translateY(-50%) rotatey(0deg) rotatez(90deg) scale(1) translateZ(0px); transform: translateY(-50%) rotatey(0deg) rotatez(90deg) scale(1) translateZ(0px); z-index: 5; } .stat input[type="checkbox"]:checked + label .stat_inner__outerbox--top { -webkit-transform: translateY(-1000px); transform: translateY(-1000px); } .stat input[type="checkbox"]:checked + label .stat_inner__innerbox .front { box-shadow: 0px 0px rgba(0, 0, 0, 0.05) inset; } .stat input[type="checkbox"]:checked + label .stat_inner__innerbox .bar { box-shadow: 110px 0px white inset; } .stat input[type="checkbox"]:checked + label .stat_inner__innerbox i { -webkit-transform: rotate(-90deg) scale(1); transform: rotate(-90deg) scale(1); } .stat input[type="checkbox"]:checked + label .stat_inner__innerbox .right { box-shadow: 0px 0px rgba(0, 0, 0, 0.05) inset; -webkit-transform: rotateY(-270deg) translateX(50px) translatez(10px); transform: rotateY(-270deg) translateX(50px) translatez(10px); background: #035E7F; } .stat input[type="checkbox"]:checked + label .stat_inner__innerbox .right h1, .stat input[type="checkbox"]:checked + label .stat_inner__innerbox .right h2, .stat input[type="checkbox"]:checked + label .stat_inner__innerbox .right h3 { display: none; } .stat input[type="checkbox"]:checked + label .stat_inner__outerbox--bottom { -webkit-transform: translateY(1000px); transform: translateY(1000px); } .stat_inner { -webkit-transform-style: preserve-3d; transform-style: preserve-3d; width: 100px; height: 380px; -webkit-transform: translateY(-50%) rotatey(50deg) scale(0.8) translateZ(0px); transform: translateY(-50%) rotatey(50deg) scale(0.8) translateZ(0px); cursor: pointer; -webkit-transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); } .stat_inner .ion-chevron-down { -webkit-transition: all .2s .4s; transition: all .2s .4s; position: relative; opacity: 0; top: -20px; } .stat_inner:hover { -webkit-transform: translateY(-50%) scale(1) rotatey(-50deg) translateZ(0); transform: translateY(-50%) scale(1) rotatey(-50deg) translateZ(0); } .stat_inner:hover .stat_inner__outerbox--top { -webkit-transform: translateY(-95px); transform: translateY(-95px); } .stat_inner:hover .ion-chevron-down { position: relative; top: 0px; opacity: 1; } .stat_inner__innerbox { position: relative; width: 100px; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } .stat_inner__innerbox div { position: absolute; width: 100px; height: 380px; } .stat_inner__innerbox .back { -webkit-transform: translateZ(-50px) rotateY(180deg); transform: translateZ(-50px) rotateY(180deg); background: #70FFC5; } .stat_inner__innerbox .right { -webkit-transform: rotateY(-270deg) translateX(50px); transform: rotateY(-270deg) translateX(50px); -webkit-transform-origin: top right; transform-origin: top right; -webkit-transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); background: #70FFC5; box-shadow: 0px 190px rgba(0, 0, 0, 0.05) inset; } .stat_inner__innerbox .right .details { position: absolute; top: 47%; text-align: center; height: 0px; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .stat_inner__innerbox .right .details h2 { font-family: nunito, sans-serif; color: #49C593; font-size: 17px; padding-top: 12px; } .stat_inner__innerbox .left { -webkit-transform: rotateY(270deg) translateX(-50px); transform: rotateY(270deg) translateX(-50px); -webkit-transform-origin: center left; transform-origin: center left; background: #70FFC5; } .stat_inner__innerbox .top { -webkit-transform: rotateX(-90deg) translateY(-50px); transform: rotateX(-90deg) translateY(-50px); -webkit-transform-origin: top center; transform-origin: top center; height: 100px; background: #70FFC5; } .stat_inner__innerbox .bottom { -webkit-transform: rotateX(90deg) translateY(50px) translatez(-280px); transform: rotateX(90deg) translateY(50px) translatez(-280px); -webkit-transform-origin: bottom center; transform-origin: bottom center; height: 100px; background: #70FFC5; } .stat_inner__innerbox .front { -webkit-transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); -webkit-transform: translateZ(50px); transform: translateZ(50px); box-shadow: 0px 190px rgba(0, 0, 0, 0.05) inset; background: #a3ffda; text-align: center; } .stat_inner__innerbox .front h3 { font-family: nunito, sans-serif; color: #49C593; font-size: 17px; margin: 0; padding-top: 12px; } .stat_inner__innerbox .front h4 { font-family: nunito, sans-serif; color: #49C593; margin: 0; font-size: 17px; padding-top: 12px; } .stat_inner__innerbox .front i { position: absolute; bottom: 20px; background: #307559; padding: 17px 10px 22px 12px; width: 60px; height: 60px; line-height: 22px; left: 21px; border-radius: 100px; color: white; font-size: 29px; -webkit-transition: all 0.2s 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.2s 1s cubic-bezier(0.19, 1, 0.22, 1); -webkit-transform: rotate(-90deg) scale(0); transform: rotate(-90deg) scale(0); } .stat_inner__innerbox .front .bar { height: 5px; z-index: 2; float: left; border-radius: 100px; position: relative; margin: 6px 3px 0px -4px; box-shadow: 0px 0px #fff inset; -webkit-transform: rotatey(180deg) rotatex(180deg) translatex(-100px); transform: rotatey(180deg) rotatex(180deg) translatex(-100px); -webkit-transform-origin: 0% 50%; transform-origin: 0% 50%; background: #15ad71; clear: both; } .stat_inner__innerbox .front .bar:nth-of-type(1) { width: 68%; -webkit-transition: all 0.2s 0.325s; transition: all 0.2s 0.325s; } .stat_inner__innerbox .front .bar:nth-of-type(2) { width: 57%; -webkit-transition: all 0.2s 0.35s; transition: all 0.2s 0.35s; } .stat_inner__innerbox .front .bar:nth-of-type(3) { width: 65%; -webkit-transition: all 0.2s 0.375s; transition: all 0.2s 0.375s; } .stat_inner__innerbox .front .bar:nth-of-type(4) { width: 59%; -webkit-transition: all 0.2s 0.4s; transition: all 0.2s 0.4s; } .stat_inner__innerbox .front .bar:nth-of-type(5) { width: 63%; -webkit-transition: all 0.2s 0.425s; transition: all 0.2s 0.425s; } .stat_inner__innerbox .front .bar:nth-of-type(6) { width: 66%; -webkit-transition: all 0.2s 0.45s; transition: all 0.2s 0.45s; } .stat_inner__innerbox .front .bar:nth-of-type(7) { width: 65%; -webkit-transition: all 0.2s 0.475s; transition: all 0.2s 0.475s; } .stat_inner__innerbox .front .bar:nth-of-type(8) { width: 66%; -webkit-transition: all 0.2s 0.5s; transition: all 0.2s 0.5s; } .stat_inner__innerbox .front .bar:nth-of-type(9) { width: 52%; -webkit-transition: all 0.2s 0.525s; transition: all 0.2s 0.525s; } .stat_inner__innerbox .front .bar:nth-of-type(10) { width: 53%; -webkit-transition: all 0.2s 0.55s; transition: all 0.2s 0.55s; } .stat_inner__innerbox .front .bar:nth-of-type(11) { width: 62%; -webkit-transition: all 0.2s 0.575s; transition: all 0.2s 0.575s; } .stat_inner__innerbox .front .bar:nth-of-type(12) { width: 68%; -webkit-transition: all 0.2s 0.6s; transition: all 0.2s 0.6s; } .stat_inner__innerbox .front .bar:nth-of-type(13) { width: 59%; -webkit-transition: all 0.2s 0.625s; transition: all 0.2s 0.625s; } .stat_inner__innerbox .front .bar:nth-of-type(14) { width: 56%; -webkit-transition: all 0.2s 0.65s; transition: all 0.2s 0.65s; } .stat_inner__innerbox .front .bar:nth-of-type(15) { width: 70%; -webkit-transition: all 0.2s 0.675s; transition: all 0.2s 0.675s; } .stat_inner__innerbox .front .bar:nth-of-type(16) { width: 55%; -webkit-transition: all 0.2s 0.7s; transition: all 0.2s 0.7s; } .stat_inner__innerbox .front .bar:nth-of-type(17) { width: 60%; -webkit-transition: all 0.2s 0.725s; transition: all 0.2s 0.725s; } .stat_inner__innerbox .front .bar:nth-of-type(18) { width: 66%; -webkit-transition: all 0.2s 0.75s; transition: all 0.2s 0.75s; } .stat_inner__innerbox .front .bar:nth-of-type(19) { width: 55%; -webkit-transition: all 0.2s 0.775s; transition: all 0.2s 0.775s; } .stat_inner__innerbox .front .bar:nth-of-type(20) { width: 57%; -webkit-transition: all 0.2s 0.8s; transition: all 0.2s 0.8s; } .stat_inner__innerbox .front .bar:nth-of-type(21) { width: 63%; -webkit-transition: all 0.2s 0.825s; transition: all 0.2s 0.825s; } .stat_inner__innerbox .front .bar:nth-of-type(22) { width: 67%; -webkit-transition: all 0.2s 0.85s; transition: all 0.2s 0.85s; } .stat_inner__innerbox .front .bar:nth-of-type(23) { width: 54%; -webkit-transition: all 0.2s 0.875s; transition: all 0.2s 0.875s; } .stat_inner__innerbox .front .bar:nth-of-type(24) { width: 52%; -webkit-transition: all 0.2s 0.9s; transition: all 0.2s 0.9s; } .stat_inner__innerbox .front .bar:nth-of-type(25) { width: 60%; -webkit-transition: all 0.2s 0.925s; transition: all 0.2s 0.925s; } .stat_inner__outerbox--bottom { position: relative; width: 100px; -webkit-transform: translateY(0px); transform: translateY(0px); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); } .stat_inner__outerbox--bottom div { position: absolute; width: 124px; height: 119px; } .stat_inner__outerbox--bottom .back { -webkit-transform: translateZ(-62px) rotateY(180deg) translateY(273px) translateX(12px); transform: translateZ(-62px) rotateY(180deg) translateY(273px) translateX(12px); } .stat_inner__outerbox--bottom .right { -webkit-transform: rotateY(-270deg) translateX(60px) translateY(272px) translateZ(-12px); transform: rotateY(-270deg) translateX(60px) translateY(272px) translateZ(-12px); -webkit-transform-origin: top right; transform-origin: top right; background: #eaeaea; } .stat_inner__outerbox--bottom .left { -webkit-transform: rotateY(270deg) translateX(-62px) translateY(272px) translateZ(12px); transform: rotateY(270deg) translateX(-62px) translateY(272px) translateZ(12px); -webkit-transform-origin: center left; transform-origin: center left; background: #eaeaea; } .stat_inner__outerbox--bottom .top { -webkit-transform: rotateX(-90deg) translateY(-62px) translateZ(273px) translateX(-12px); transform: rotateX(-90deg) translateY(-62px) translateZ(273px) translateX(-12px); -webkit-transform-origin: top center; transform-origin: top center; height: 124px; background: #E0E0E0; } .stat_inner__outerbox--bottom .bottom { -webkit-transform: rotateX(90deg) translateY(61px) translatez(-289px) translateX(-13px); transform: rotateX(90deg) translateY(61px) translatez(-289px) translateX(-13px); -webkit-transform-origin: bottom center; transform-origin: bottom center; height: 124px; background: #035E7F; } .stat_inner__outerbox--bottom .front { -webkit-transform: translateZ(62px) translateY(272px) translateX(-13px); transform: translateZ(62px) translateY(272px) translateX(-13px); background: #fafafa; } .stat_inner__outerbox--top { position: relative; width: 100px; -webkit-transform: translateY(0px); transform: translateY(0px); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 0.65s 0.1s cubic-bezier(0.19, 1, 0.22, 1); } .stat_inner__outerbox--top div { position: absolute; width: 124px; height: 285px; } .stat_inner__outerbox--top .back { -webkit-transform: translateZ(-62px) rotateY(180deg) translateY(-12px) translateX(12px); transform: translateZ(-62px) rotateY(180deg) translateY(-12px) translateX(12px); } .stat_inner__outerbox--top .right { -webkit-transform: rotateY(-270deg) translateX(60px) translateY(-12px) translateZ(-12px); transform: rotateY(-270deg) translateX(60px) translateY(-12px) translateZ(-12px); -webkit-transform-origin: top right; transform-origin: top right; background: #eaeaea; font-family: nunito, sans-serif; color: #49C593; font-size: 13px; text-align: center; } .stat_inner__outerbox--top .right h2, .stat_inner__outerbox--top .right h3 { padding: 0px 20px; -webkit-text-orientation: vertical; text-orientation: vertical; -webkit-transform: translateZ(0px); transform: translateZ(0px); } .stat_inner__outerbox--top .right i { font-size: 40px; padding-top: 20px; -webkit-transform: translateZ(0px); transform: translateZ(0px); display: block; } .stat_inner__outerbox--top .left { -webkit-transform: rotateY(270deg) translateX(-62px) translateY(-12px) translateZ(12px); transform: rotateY(270deg) translateX(-62px) translateY(-12px) translateZ(12px); -webkit-transform-origin: center left; transform-origin: center left; background: #eaeaea; text-align: center; } .stat_inner__outerbox--top .left .title { position: absolute; top: 60%; height: 0px; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .stat_inner__outerbox--top .left h1, .stat_inner__outerbox--top .left h2 { font-size: 19px; color: #3E5A77; margin: 0; font-family: nunito, sans-serif; } .stat_inner__outerbox--top .left h2 { font-size: 12px; padding: 0px 20px; opacity: 0.6; } .stat_inner__outerbox--top .left i { font-size: 59px; color: #2A96AF; } .stat_inner__outerbox--top .top { -webkit-transform: rotateX(-90deg) translateY(-62px) translateZ(-12px) translateX(-13px); transform: rotateX(-90deg) translateY(-62px) translateZ(-12px) translateX(-13px); -webkit-transform-origin: top center; transform-origin: top center; height: 124px; background: #E0E0E0; } .stat_inner__outerbox--top .bottom { -webkit-transform: rotateX(90deg) translateY(62px) translatez(-148px) translateX(-12px); transform: rotateX(90deg) translateY(62px) translatez(-148px) translateX(-12px); -webkit-transform-origin: bottom center; transform-origin: bottom center; height: 124px; background: #E0E0E0; } .stat_inner__outerbox--top .front { -webkit-transform: translateZ(62px) translateY(-12px) translateX(-13px); transform: translateZ(62px) translateY(-12px) translateX(-13px); background: #fafafa; } @-webkit-keyframes float { 0% { -webkit-transform: translateY(0px); transform: translateY(0px); } 50% { -webkit-transform: translateY(10px); transform: translateY(10px); } 100% { -webkit-transform: translateY(0px); transform: translateY(0px); } } @keyframes float { 0% { -webkit-transform: translateY(0px); transform: translateY(0px); } 50% { -webkit-transform: translateY(10px); transform: translateY(10px); } 100% { -webkit-transform: translateY(0px); transform: translateY(0px); } } @-webkit-keyframes in { 0% { opacity: 0; -webkit-transform: translateY(40px) scale(0.2); transform: translateY(40px) scale(0.2); } 100% { opacity: 1; -webkit-transform: translateY(0px) scale(1); transform: translateY(0px) scale(1); } } @keyframes in { 0% { opacity: 0; -webkit-transform: translateY(40px) scale(0.2); transform: translateY(40px) scale(0.2); } 100% { opacity: 1; -webkit-transform: translateY(0px) scale(1); transform: translateY(0px) scale(1); } }
30.940631
234
0.682077
09a9acf0f9377ab8a10c36cdcca584e2c845573d
1,810
java
Java
header/src/main/java/org/zstack/header/volume/APIDeleteDataVolumeMsg.java
qianfei11/zstack
8f0e374162ef61742bbe2129d0c7f1a88e40b0bf
[ "Apache-2.0" ]
879
2017-02-16T02:01:44.000Z
2022-03-31T15:44:28.000Z
header/src/main/java/org/zstack/header/volume/APIDeleteDataVolumeMsg.java
WQL782795/zstack
d003d0e410b8dc0756cdfaf2edcf6dd80c02fea3
[ "ECL-2.0", "Apache-2.0" ]
482
2017-02-13T09:57:37.000Z
2022-03-31T07:17:29.000Z
header/src/main/java/org/zstack/header/volume/APIDeleteDataVolumeMsg.java
WQL782795/zstack
d003d0e410b8dc0756cdfaf2edcf6dd80c02fea3
[ "ECL-2.0", "Apache-2.0" ]
306
2017-02-13T08:31:29.000Z
2022-03-14T07:58:46.000Z
package org.zstack.header.volume; import org.springframework.http.HttpMethod; import org.zstack.header.identity.Action; import org.zstack.header.message.APIDeleteMessage; import org.zstack.header.message.APIParam; import org.zstack.header.rest.RestRequest; /** * @api delete a data volume * @category volume * @cli * @httpMsg { * "org.zstack.header.volume.APIDeleteDataVolumeMsg": { * "uuid": "5bfd7ec8e90d498495cbc533cdd9fd5b", * "deleteMode": "Permissive", * "session": { * "uuid": "950f72f78acd4b1fb79dd9f831e5f6d7" * } * } * } * @msg { * "org.zstack.header.volume.APIDeleteDataVolumeMsg": { * "uuid": "5bfd7ec8e90d498495cbc533cdd9fd5b", * "deleteMode": "Permissive", * "session": { * "uuid": "950f72f78acd4b1fb79dd9f831e5f6d7" * }, * "timeout": 1800000, * "id": "ab12310f65a74fa3b56770e147a315e9", * "serviceId": "api.portal" * } * } * @result see :ref:`APIDeleteDataVolumeEvent` * @since 0.1.0 */ @Action(category = VolumeConstant.ACTION_CATEGORY) @RestRequest( path = "/volumes/{uuid}", method = HttpMethod.DELETE, responseClass = APIDeleteDataVolumeEvent.class ) public class APIDeleteDataVolumeMsg extends APIDeleteMessage implements VolumeMessage { /** * @desc data volume uuid */ @APIParam(resourceType = VolumeVO.class, successIfResourceNotExisting = true) private String uuid; public String getUuid() { return uuid; } public void setUuid(String uuid) { this.uuid = uuid; } @Override public String getVolumeUuid() { return uuid; } public static APIDeleteDataVolumeMsg __example__() { APIDeleteDataVolumeMsg msg = new APIDeleteDataVolumeMsg(); msg.setUuid(uuid()); msg.setDeletionMode(DeletionMode.Permissive); return msg; } }
25.492958
87
0.68453
c6316565d9abdafe240b2196a9c88f637cf1018b
3,130
rb
Ruby
app/lib/matestack/ui/core/render.rb
mayanktap/matestack-ui-core
5812a76dc1a461946268c7becc36024cc027623b
[ "MIT" ]
null
null
null
app/lib/matestack/ui/core/render.rb
mayanktap/matestack-ui-core
5812a76dc1a461946268c7becc36024cc027623b
[ "MIT" ]
15
2020-05-18T02:53:08.000Z
2020-09-11T04:35:40.000Z
app/lib/matestack/ui/core/render.rb
Stevenans985900/matestack-ui-core
5812a76dc1a461946268c7becc36024cc027623b
[ "MIT" ]
null
null
null
module Matestack::Ui::Core::Render # Matestack allows you to use `render` to render matestack pages. # # render Pages::Member::Bookings::Index # render matestack: Pages::Member::Bookings::Index # render matestack: 'member/bookings/index' # def render(*args) if (matestack_class = args.first).is_a?(Class) && (matestack_class < Matestack::Ui::Page) responder_for matestack_class elsif (options = args.first).kind_of?(Hash) && (matestack_arg = options[:matestack]).present? if (matestack_path = matestack_arg).kind_of? String matestack_path = "pages/#{matestack_path}" unless matestack_path.start_with?("pages/") or matestack_path.start_with?("components/") matestack_class = matestack_path.split("/").collect { |str| str.camelcase }.join("::").constantize elsif matestack_arg.is_a?(Class) && (matestack_arg < Matestack::Ui::Page) matestack_class = matestack_arg end responder_for matestack_class else super end end # Matestack allows implicit rendering. The matestack page class name is inferred from the # controller path and action name. # # class Clients::BookingsController < ApplicationController # def index # @bookings = Booking.all # # looks for Pages::Clients::Bookings::Index # end # # def show # @booking = Booking.find params[:id] # # looks for Pages::Clients::Bookings::Show # end # end # # In this example, `clients/bookings#index` will render `Pages::Clients::Bookings::Index`, # `clients/bookings#show` will render `Pages::Clients::Bookings::Show`. # # Custom action names translate also into page names. # # class Clients::BookingsController < ApplicationController # def step1 # # looks for Pages::Clients::Bookings::Step1 # end # end # # In this example, the `clients/bookings#step1` action will render # `Pages::Clients::Bookings::Step1`. # def default_render(*args) if matestack_page_class = default_render_matestack_page_class render matestack: matestack_page_class else super end end def possible_default_render_matestack_page_paths paths = [] paths << "pages/#{controller_path}/#{action_name}" paths << "pages/#{controller_path}" if action_name == "index" paths << "pages/#{controller_path.singularize}" if action_name == "show" paths << "#{controller_path}/#{action_name}_page" paths << "#{controller_path}_page" if action_name == "index" paths << "#{controller_path.singularize}_page" if action_name == "show" paths end def possible_default_render_matestack_page_class_names possible_default_render_matestack_page_paths.collect { |page_path| page_path.split("/").collect { |str| str.camelcase }.join("::") } end def default_render_matestack_page_class possible_default_render_matestack_page_class_names.each do |class_name| begin return matestack_class = class_name.constantize rescue NameError end end return nil end end
35.168539
139
0.677316
d1c149cdddde8183fe78168fa4c43f8087b4c581
400
cs
C#
Client/Assets/Scripts/GameCtrl/Lobby/HeroTimeLimitCtrl.cs
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
null
null
null
Client/Assets/Scripts/GameCtrl/Lobby/HeroTimeLimitCtrl.cs
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
null
null
null
Client/Assets/Scripts/GameCtrl/Lobby/HeroTimeLimitCtrl.cs
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
null
null
null
using UnityEngine; using System.Collections; namespace BlGame.Ctrl { public class HeroTimeLimitCtrl : Singleton<HeroTimeLimitCtrl> { public void Enter() { EventCenter.Broadcast(EGameEvent.eGameEvent_HeroTimeLimitEnter); } public void Exit() { EventCenter.Broadcast(EGameEvent.eGameEvent_HeroTimeLimitExit); } } }
21.052632
76
0.6425
64910bef0668ad2d4874cc93cfb7ee0b61e4d52f
2,202
lua
Lua
timelapse/logger.lua
estansifer/factoriomods
9425d4d0d85daedf714db4be5493c67fa069ac7b
[ "MIT" ]
3
2018-11-04T11:19:46.000Z
2020-10-15T12:48:47.000Z
timelapse/logger.lua
estansifer/factoriomods
9425d4d0d85daedf714db4be5493c67fa069ac7b
[ "MIT" ]
1
2020-02-03T00:07:14.000Z
2020-02-03T00:07:14.000Z
timelapse/logger.lua
estansifer/factoriomods
9425d4d0d85daedf714db4be5493c67fa069ac7b
[ "MIT" ]
1
2020-05-05T02:08:11.000Z
2020-05-05T02:08:11.000Z
local append = table.insert logversion = '0.0.1' function Logger(filename) local logger = {filename, {}, 0} if global.loggers == nil then global.loggers = {} end append(global.loggers, logger) return logger end -- Do not use newline characters in 'line'! This will mess up the journal. function write_log(logger, line) local tick = game.tick append(logger[2], string.format('%d %s\n', tick - logger[3], line)) logger[3] = tick end -- Do not use newline characters in 'line'! This will mess up the journal. function write_logs(line) for _, logger in ipairs(global.loggers or {}) do write_log(logger, line) end end function flush_log(logger) -- for name, player in pairs(game.players) do -- if settings.get_player_settings(player)['timelapse-enable'].value then -- game.write_file(log[1], table.concat(log[2]), true, player.index) -- end -- end if #(logger[2]) > 0 then game.write_file(logger[1], table.concat(logger[2]), true) logger[2] = {} end end function flush_logs() -- Write to journal -- Note that the line count assumes no newline characters were printed local update_sizes = {} local total = 0 for _, logger in ipairs(global.loggers or {}) do total = total + (#(logger[2])) append(update_sizes, tostring(#(logger[2]))) end if total == 0 then return end flush_id = math.random(1024 * 1024 * 1024) local message = string.format('%d %d %d %d %s', game.tick, flush_id, global.last_flush_tick, global.last_flush_id, table.concat(update_sizes, ' ')) write_log(global.journal, message) global.last_flush_tick = game.tick global.last_flush_id = flush_id -- Flush everything for _, logger in ipairs(global.loggers or {}) do flush_log(logger) end end function log_journal_header(seed) local names = {} for _, logger in ipairs(global.loggers or {}) do append(names, logger[1]) end write_log(global.journal, 'logfiles ' .. table.concat(names, ' ')) write_log(global.journal, string.format('logversion %d %d %s', seed, game.tick, logversion)) end
28.597403
96
0.645322
e29d4bedd9c485a8e7cffe9295c51d41b23e8285
3,989
py
Python
ex03/update_hosts.py
iamhyc/pthread-tutorial
598987c8c49c74f6333ac3dc4771ad1d4bb11f4d
[ "MIT" ]
null
null
null
ex03/update_hosts.py
iamhyc/pthread-tutorial
598987c8c49c74f6333ac3dc4771ad1d4bb11f4d
[ "MIT" ]
null
null
null
ex03/update_hosts.py
iamhyc/pthread-tutorial
598987c8c49c74f6333ac3dc4771ad1d4bb11f4d
[ "MIT" ]
9
2021-09-13T09:36:52.000Z
2021-10-06T15:05:22.000Z
#!/usr/bin/env python3 import re, os, sys import itertools import subprocess as sp import json _header = ''' #127.0.0.1 localhost #127.0.1.1 %s # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters ''' _body = '''\ {x1} {hostname}-x1 {x1a} {x2} {hostname}-x2 {x2a} {x3} {hostname}-x3 {x3a} ''' _filter = re.compile('(\d+.\d+.\d+.\d+) (student\d+)-(.*)') #e.g., "10.244.40.4 student96-x2" _adminpass = 'comp7305' _username = 'hduser' _userpass = 'student' SHELL_RUN = lambda x: sp.run(x, stdout=sp.PIPE, stderr=sp.PIPE, check=True, shell=True) CMD = lambda _cmd,_pass: f'sshpass -p {_pass} {_cmd} -oStrictHostKeyChecking=accept-new' # load host_file into host_map host_map = dict() host_file = open('../hosts').readlines() for item in host_file: _result = _filter.findall(item) if len(_result)==1: _ip, _name, _id = _result[0] if _name in host_map: host_map[_name][_id] = _ip else: host_map.update( {_name: {_id:_ip}} ) #=========================================================== if sys.argv[1]=='ex02': # proceed? print( json.dumps(host_map, indent=2) ) if input('Proceed? (y/N) ') not in ['Y', 'y']: exit(0) # upload the hosts file for name,item in host_map.items(): if name in ['student93','student94','student95','student96']: _hosts = _header%name + _body.format(hostname=name, x1=item['x1'], x2=item['x2'], x3=item['x3'], x1a='', x2a='', x3a='') SHELL_RUN( f'echo "{_hosts}" | {CMD("ssh",_adminpass)} ta@{name} "cat > /tmp/hosts && echo {_adminpass}|sudo -S cp /tmp/hosts /etc/hosts"' ) print(f'"hosts" file updated on {name}.') pass elif sys.argv[1]=='ex03': _masters = [93] #[97, 101, 105, 109] # assign master-slave tuples master_hosts = dict() for node in _masters: _file = _header _nodes = [f'student{node+i}' for i in range(4)] # generate hosts file body for i,_name in enumerate(_nodes): _item = host_map[_name] _x1a, _x2a, _x3a = ('master' if i==0 else f'worker{3*i+0}', f'worker{3*i+1}', f'worker{3*i+2}') _file += _body.format(hostname=_name, x1=_item['x1'], x2=_item['x2'], x3=_item['x3'], x1a=_x1a, x2a=_x2a, x3a=_x3a) # _workers = [[f'{x}-x1', f'{x}-x2', f'{x}-x3'] for x in _nodes] _workers = list( itertools.chain.from_iterable(_workers) ) master_hosts.update( {_nodes[0]:[_workers,_file]} ) pass # proceed? [print('%s: %s%s'%(k,v[0],v[1])) for k,v in master_hosts.items()] if input('Proceed? (y/N) ') not in ['y', 'Y']: exit(0) # update utils and hosts for _master,(_nodes,_hosts) in master_hosts.items(): # upload hosts file for physical machine hosts = _hosts%_master SHELL_RUN( f'echo "{hosts}" | {CMD("ssh",_adminpass)} ta@{_master} -T "cat > /tmp/hosts && echo {_adminpass}|sudo -S cp /tmp/hosts /etc/hosts"' ) # upload hosts file for containers for _node in _nodes: hosts = _hosts%_node SHELL_RUN( f'echo "{hosts}" | {CMD("ssh",_userpass)} -oProxyCommand="{CMD("ssh",_adminpass)} -W %h:%p ta@{_master}" {_username}@{_node} -T "cat > /tmp/hosts_{_username} && echo {_userpass}|sudo -S cp /tmp/hosts_{_username} /etc/hosts"' ) print(f'"hosts" file updated for {_nodes}.') # upload utils for master container SHELL_RUN( f'{CMD("scp",_userpass)} -oProxyCommand="{CMD("ssh",_adminpass)} -W %h:%p ta@{_master}" -r ./utils ./terasort {_username}@{_nodes[0]}:~/' ) print(f'"utils" && "terasort" uploaded for master container: {_nodes[0]}.') pass else: print('"ex02" or "ex03"')
41.552083
250
0.570569
2533c98b03ed8b104d5e829039809db2c8eceed3
611
dart
Dart
lib/features/number_trivia/data/models/number_trivia_model.dart
Sthaynny/clean_code_course
709a6a9a8d71ea37ba22dd502f5aa76420fc3e22
[ "RSA-MD" ]
1
2020-11-15T19:10:14.000Z
2020-11-15T19:10:14.000Z
lib/features/number_trivia/data/models/number_trivia_model.dart
Sthaynny/clean_code_course
709a6a9a8d71ea37ba22dd502f5aa76420fc3e22
[ "RSA-MD" ]
null
null
null
lib/features/number_trivia/data/models/number_trivia_model.dart
Sthaynny/clean_code_course
709a6a9a8d71ea37ba22dd502f5aa76420fc3e22
[ "RSA-MD" ]
null
null
null
import 'package:clean_code_course/features/number_trivia/domain/entities/number_trivia.dart'; import 'package:flutter/cupertino.dart'; import 'package:json_annotation/json_annotation.dart'; part 'number_trivia_model.g.dart'; @JsonSerializable() class NumberTriviaModel extends NumberTrivia { const NumberTriviaModel({ @required String text, @required int number, }) : super(text: text, number: number); factory NumberTriviaModel.fromJson(Map<String, dynamic> jsonMap) { return _$NumberTriviaModelFromJson(jsonMap); } Map<String, dynamic> toJson() => _$NumberTriviaModelToJson(this); }
30.55
93
0.774141
b89dd6c8c9bbdc6daa1e1652c270fa661ab37c93
251
h
C
SDKFrameworks/NOSSDK/Common/NOSIPUtils.h
nemOoO-wang/MMLive
01753b5ba72138e4d3f3d6d8d397a40b34aef062
[ "MIT" ]
5
2018-02-27T07:06:17.000Z
2020-12-24T03:44:28.000Z
NOSSDK/Common/NOSIPUtils.h
NetEase-Object-Storage/nos-ios-sdk
10178d3c90cc9c8eea41c81ed14aa18e11103284
[ "MIT" ]
null
null
null
NOSSDK/Common/NOSIPUtils.h
NetEase-Object-Storage/nos-ios-sdk
10178d3c90cc9c8eea41c81ed14aa18e11103284
[ "MIT" ]
null
null
null
// // NOSIPUtils.h // NOSSDK // // Created by hzzhenghuabin on 2015/1/25. // Copyright (c) 2015年 NetEase. All rights reserved. // #import <Foundation/Foundation.h> @interface NOSIPUtils : NSObject + (NSString *) localIP:(BOOL)preferIPv4; @end
15.6875
53
0.689243
966935041e4e6bdcb44f192e9a9015fc52d23195
15,192
rs
Rust
src/bcf/header.rs
ingolia/rust-htslib
8a5e3acb42a9759a5725e36569a337289e7e95a4
[ "MIT" ]
2
2020-01-18T22:29:51.000Z
2021-02-12T02:33:18.000Z
src/bcf/header.rs
ingolia/rust-htslib
8a5e3acb42a9759a5725e36569a337289e7e95a4
[ "MIT" ]
1
2018-01-17T22:05:30.000Z
2018-01-17T22:05:30.000Z
src/bcf/header.rs
ingolia/rust-htslib
8a5e3acb42a9759a5725e36569a337289e7e95a4
[ "MIT" ]
null
null
null
// Copyright 2014 Johannes Köster. // Licensed under the MIT license (http://opensource.org/licenses/MIT) // This file may not be copied, modified, or distributed // except according to those terms. use std::ffi; use std::slice; use std::str; use htslib; use linear_map::LinearMap; pub type SampleSubset = Vec<i32>; custom_derive! { /// A newtype for IDs from BCF headers. #[derive( NewtypeFrom, NewtypeDeref, PartialEq, PartialOrd, Eq, Ord, Copy, Clone, Debug )] pub struct Id(pub u32); } /// A BCF header. #[derive(Debug)] pub struct Header { pub inner: *mut htslib::bcf_hdr_t, pub subset: Option<SampleSubset>, } impl Header { /// Create a new (empty) `Header`. pub fn new() -> Self { Header { inner: unsafe { htslib::bcf_hdr_init(ffi::CString::new(&b"w"[..]).unwrap().as_ptr()) }, subset: None, } } /// Create a new `Header` using the given `HeaderView` as the template. /// /// After construction, you can modify the header independently from the template `header`. /// /// # Arguments /// /// - `header` - The `HeaderView` to use as the template. pub fn from_template(header: &HeaderView) -> Self { Header { inner: unsafe { htslib::bcf_hdr_dup(header.inner) }, subset: None, } } /// Create a new `Header` using the given `HeaderView` as as template, but subsetting to the /// given `samples`. /// /// # Arguments /// /// - `header` - The `HeaderView` to use for the template. /// - `samples` - A slice of byte-encoded (`[u8]`) sample names. pub fn from_template_subset( header: &HeaderView, samples: &[&[u8]], ) -> Result<Self, SubsetError> { let mut imap = vec![0; samples.len()]; let names: Vec<_> = samples .iter() .map(|&s| ffi::CString::new(s).unwrap()) .collect(); let name_pointers: Vec<_> = names.iter().map(|s| s.as_ptr() as *mut i8).collect(); let inner = unsafe { htslib::bcf_hdr_subset( header.inner, samples.len() as i32, name_pointers.as_ptr() as *const *const i8, imap.as_mut_ptr() as *mut i32, ) }; if inner.is_null() { Err(SubsetError::DuplicateSampleName) } else { Ok(Header { inner: inner, subset: Some(imap), }) } } /// Add a `sample` to the header. /// /// # Arguments /// /// - `sample` - Name of the sample to add (to the end of the sample list). pub fn push_sample(&mut self, sample: &[u8]) -> &mut Self { unsafe { htslib::bcf_hdr_add_sample(self.inner, ffi::CString::new(sample).unwrap().as_ptr()) }; self } /// Add a record to the header. /// /// # Arguments /// /// - `record` - String representation of the header line /// /// # Example /// /// ```rust,ignore /// header.push_record(format!("##contig=<ID={},length={}>", "chrX", 155270560).as_bytes()); /// ``` pub fn push_record(&mut self, record: &[u8]) -> &mut Self { unsafe { htslib::bcf_hdr_append(self.inner, ffi::CString::new(record).unwrap().as_ptr()) }; self } /// Remove a `FILTER` entry from the header. /// /// # Arguments /// /// - `tag` - Name of the `FLT` tag to remove. pub fn remove_filter(&mut self, tag: &[u8]) -> &mut Self { self.remove_impl(tag, htslib::BCF_HL_FLT) } /// Remove an `INFO` entry from the header. /// /// # Arguments /// /// - `tag` - Name of the `INFO` tag to remove. pub fn remove_info(&mut self, tag: &[u8]) -> &mut Self { self.remove_impl(tag, htslib::BCF_HL_INFO) } /// Remove a `FORMAT` entry from the header. /// /// # Arguments /// /// - `tag` - Name of the `FORMAT` tag to remove. pub fn remove_format(&mut self, tag: &[u8]) -> &mut Self { self.remove_impl(tag, htslib::BCF_HL_FMT) } /// Remove a contig entry from the header. /// /// # Arguments /// /// - `tag` - Name of the `FORMAT` tag to remove. pub fn remove_contig(&mut self, tag: &[u8]) -> &mut Self { self.remove_impl(tag, htslib::BCF_HL_CTG) } /// Remove a structured entry from the header. /// /// # Arguments /// /// - `tag` - Name of the structured tag to remove. pub fn remove_structured(&mut self, tag: &[u8]) -> &mut Self { self.remove_impl(tag, htslib::BCF_HL_STR) } /// Remove a generic entry from the header. /// /// # Arguments /// /// - `tag` - Name of the generic tag to remove. pub fn remove_generic(&mut self, tag: &[u8]) -> &mut Self { self.remove_impl(tag, htslib::BCF_HL_GEN) } /// Implementation of removing header tags. fn remove_impl(&mut self, tag: &[u8], type_: u32) -> &mut Self { unsafe { let v = tag.to_vec(); let c_str = ffi::CString::new(v).unwrap(); htslib::bcf_hdr_remove(self.inner, type_ as i32, c_str.as_ptr()); } self } } impl Drop for Header { fn drop(&mut self) { unsafe { htslib::bcf_hdr_destroy(self.inner) }; } } /// A header record. #[derive(Debug)] pub enum HeaderRecord { /// A `FILTER` header record. Filter { key: String, values: LinearMap<String, String>, }, /// An `INFO` header record. Info { key: String, values: LinearMap<String, String>, }, /// A `FORMAT` header record. Format { key: String, values: LinearMap<String, String>, }, /// A `contig` header record. Contig { key: String, values: LinearMap<String, String>, }, /// A structured header record. Structured { key: String, values: LinearMap<String, String>, }, /// A generic, unstructured header record. Generic { key: String, value: String }, } #[derive(Debug)] pub struct HeaderView { pub inner: *mut htslib::bcf_hdr_t, } impl HeaderView { pub fn new(inner: *mut htslib::bcf_hdr_t) -> Self { HeaderView { inner: inner } } #[inline] fn inner(&self) -> htslib::bcf_hdr_t { unsafe { (*self.inner) } } pub fn sample_count(&self) -> u32 { self.inner().n[htslib::BCF_DT_SAMPLE as usize] as u32 } pub fn samples(&self) -> Vec<&[u8]> { let names = unsafe { slice::from_raw_parts(self.inner().samples, self.sample_count() as usize) }; names .iter() .map(|name| unsafe { ffi::CStr::from_ptr(*name).to_bytes() }) .collect() } pub fn rid2name(&self, rid: u32) -> &[u8] { unsafe { let dict = self.inner().id[htslib::BCF_DT_CTG as usize]; let ptr = (*dict.offset(rid as isize)).key; ffi::CStr::from_ptr(ptr).to_bytes() } } pub fn name2rid(&self, name: &[u8]) -> Result<u32, RidError> { unsafe { match htslib::bcf_hdr_id2int( self.inner, htslib::BCF_DT_CTG as i32, ffi::CString::new(name).unwrap().as_ptr() as *mut i8, ) { -1 => Err(RidError::UnknownSequence( str::from_utf8(name).unwrap().to_owned(), )), i => Ok(i as u32), } } } pub fn info_type(&self, tag: &[u8]) -> Result<(TagType, TagLength), TagTypeError> { self.tag_type(tag, htslib::BCF_HL_INFO) } pub fn format_type(&self, tag: &[u8]) -> Result<(TagType, TagLength), TagTypeError> { self.tag_type(tag, htslib::BCF_HL_FMT) } fn tag_type( &self, tag: &[u8], hdr_type: ::libc::c_uint, ) -> Result<(TagType, TagLength), TagTypeError> { let (_type, length) = unsafe { let id = htslib::bcf_hdr_id2int( self.inner, htslib::BCF_DT_ID as i32, ffi::CString::new(tag).unwrap().as_ptr() as *mut i8, ); if id < 0 { return Err(TagTypeError::UndefinedTag( str::from_utf8(tag).unwrap().to_owned(), )); } let n = (*self.inner).n[htslib::BCF_DT_ID as usize] as usize; let entry = slice::from_raw_parts((*self.inner).id[htslib::BCF_DT_ID as usize], n); let d = (*entry[id as usize].val).info[hdr_type as usize]; (d >> 4 & 0xf, d >> 8 & 0xf) }; let _type = match _type as ::libc::c_uint { htslib::BCF_HT_FLAG => TagType::Flag, htslib::BCF_HT_INT => TagType::Integer, htslib::BCF_HT_REAL => TagType::Float, htslib::BCF_HT_STR => TagType::String, _ => return Err(TagTypeError::UnexpectedTagType), }; let length = match length as ::libc::c_uint { htslib::BCF_VL_FIXED => TagLength::Fixed, htslib::BCF_VL_VAR => TagLength::Variable, htslib::BCF_VL_A => TagLength::AltAlleles, htslib::BCF_VL_R => TagLength::Alleles, htslib::BCF_VL_G => TagLength::Genotypes, _ => return Err(TagTypeError::UnexpectedTagType), }; Ok((_type, length)) } /// Convert string ID (e.g., for a `FILTER` value) to its numeric identifier. pub fn name_to_id(&self, id: &[u8]) -> Result<Id, IdError> { unsafe { match htslib::bcf_hdr_id2int( self.inner, htslib::BCF_DT_ID as i32, ffi::CString::new(id).unwrap().as_ptr() as *const i8, ) { -1 => Err(IdError::UnknownID(str::from_utf8(id).unwrap().to_owned())), i => Ok(Id(i as u32)), } } } /// Convert integer representing an identifier (e.g., a `FILTER` value) to its string /// name.bam. pub fn id_to_name(&self, id: Id) -> Vec<u8> { let key = unsafe { ffi::CStr::from_ptr( (*(*self.inner).id[htslib::BCF_DT_ID as usize].offset(*id as isize)).key, ) }; key.to_bytes().to_vec() } /// Convert string sample name to its numeric identifier. pub fn sample_to_id(&self, id: &[u8]) -> Result<Id, SampleError> { unsafe { match htslib::bcf_hdr_id2int( self.inner, htslib::BCF_DT_SAMPLE as i32, ffi::CString::new(id).unwrap().as_ptr() as *const i8, ) { -1 => Err(SampleError::UnknownSample( str::from_utf8(id).unwrap().to_owned(), )), i => Ok(Id(i as u32)), } } } /// Convert integer representing an contig to its name. pub fn id_to_sample(&self, id: Id) -> Vec<u8> { let key = unsafe { ffi::CStr::from_ptr( (*(*self.inner).id[htslib::BCF_DT_SAMPLE as usize].offset(*id as isize)).key, ) }; key.to_bytes().to_vec() } /// Return structured `HeaderRecord`s. pub fn header_records(&self) -> Vec<HeaderRecord> { fn parse_kv(rec: &htslib::bcf_hrec_t) -> LinearMap<String, String> { let mut result: LinearMap<String, String> = LinearMap::new(); for i in 0_i32..(rec.nkeys) { let key = unsafe { ffi::CStr::from_ptr(*rec.keys.offset(i as isize)) .to_str() .unwrap() .to_string() }; let value = unsafe { ffi::CStr::from_ptr(*rec.vals.offset(i as isize)) .to_str() .unwrap() .to_string() }; result.insert(key, value); } result } let mut result: Vec<HeaderRecord> = Vec::new(); for i in 0_i32..unsafe { (*self.inner).nhrec } { let rec = unsafe { &(**(*self.inner).hrec.offset(i as isize)) }; let key = unsafe { ffi::CStr::from_ptr(rec.key).to_str().unwrap().to_string() }; let record = match rec.type_ { 0 => HeaderRecord::Filter { key, values: parse_kv(rec), }, 1 => HeaderRecord::Info { key, values: parse_kv(rec), }, 2 => HeaderRecord::Format { key, values: parse_kv(rec), }, 3 => HeaderRecord::Contig { key, values: parse_kv(rec), }, 4 => HeaderRecord::Structured { key, values: parse_kv(rec), }, 5 => HeaderRecord::Generic { key, value: unsafe { ffi::CStr::from_ptr(rec.value).to_str().unwrap().to_string() }, }, _ => panic!("Unknown type: {}", rec.type_), }; result.push(record); } result } } impl Clone for HeaderView { fn clone(&self) -> Self { HeaderView { inner: unsafe { htslib::bcf_hdr_dup(self.inner) }, } } } impl Drop for HeaderView { fn drop(&mut self) { unsafe { htslib::bcf_hdr_destroy(self.inner); } } } #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum TagType { Flag, Integer, Float, String, } #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum TagLength { Fixed, AltAlleles, Alleles, Genotypes, Variable, } quick_error! { #[derive(Debug, Clone)] pub enum RidError { UnknownSequence(name: String) { description("unknown sequence") display("sequence {} not found in header", name) } } } quick_error! { #[derive(Debug, Clone)] pub enum IdError { UnknownID(name: String) { description("unknown ID") display("ID {} not found in header", name) } } } quick_error! { #[derive(Debug, Clone)] pub enum SampleError { UnknownSample(name: String) { description("unknown sample") display("sample {} not found in header", name) } } } quick_error! { #[derive(Debug, Clone)] pub enum SubsetError { DuplicateSampleName { description("duplicate sample name when subsetting header") } } } quick_error! { #[derive(Debug, Clone)] pub enum TagTypeError { UnexpectedTagType { description("unexpected tag type in header") } UndefinedTag(name: String) { description("undefined tag") display("tag {} is undefined in header", name) } } }
29.159309
99
0.510203
1f5bd8a362b03f7e4fee83741c152aaaf7297e16
235,226
go
Go
app/bindata/bindata.go
signedbytes/WindowsSpyBlocker
8a1020bdfe4fb74fac3725ea21d2150f6b043aa5
[ "MIT" ]
1
2020-01-01T16:34:06.000Z
2020-01-01T16:34:06.000Z
app/bindata/bindata.go
signedbytes/WindowsSpyBlocker
8a1020bdfe4fb74fac3725ea21d2150f6b043aa5
[ "MIT" ]
null
null
null
app/bindata/bindata.go
signedbytes/WindowsSpyBlocker
8a1020bdfe4fb74fac3725ea21d2150f6b043aa5
[ "MIT" ]
null
null
null
// Code generated by go-bindata. DO NOT EDIT. // sources: // app/settings.json (6.173kB) // data/dnscrypt/extra.txt (5.397kB) // data/dnscrypt/spy.txt (8.794kB) // data/dnscrypt/update.txt (9.354kB) // data/firewall/extra.txt (4.655kB) // data/firewall/spy.txt (2.529kB) // data/firewall/update.txt (3.707kB) // data/hosts/extra.txt (8.09kB) // data/hosts/extra_v6.txt (7.075kB) // data/hosts/spy.txt (12.932kB) // data/hosts/spy_v6.txt (11.102kB) // data/hosts/update.txt (19.731kB) // data/hosts/update_v6.txt (17.236kB) // data/ncsi/ncsi.txt (17B) // data/openwrt/extra/dnsmasq.conf (8.206kB) // data/openwrt/extra/firewall.user (14.441kB) // data/openwrt/spy/dnsmasq.conf (13.211kB) // data/openwrt/spy/firewall.user (7.792kB) // data/openwrt/update/dnsmasq.conf (20.105kB) // data/openwrt/update/firewall.user (11.489kB) // data/p2p/extra.txt (14.465kB) // data/p2p/spy.txt (7.705kB) // data/p2p/update.txt (11.48kB) // data/proxifier/extra/domains.txt (5.572kB) // data/proxifier/extra/ips.txt (4.729kB) // data/proxifier/spy/domains.txt (9.129kB) // data/proxifier/spy/ips.txt (2.457kB) // data/proxifier/update/domains.txt (9.649kB) // data/proxifier/update/ips.txt (3.714kB) // data/simplewall/extra/blocklist.xml (37.726kB) // data/simplewall/spy/blocklist.xml (19.674kB) // data/simplewall/update/blocklist.xml (30.072kB) // app.conf (904B) package bindata import ( "bytes" "compress/gzip" "crypto/sha256" "fmt" "io" "io/ioutil" "os" "path/filepath" "strings" "time" ) func bindataRead(data []byte, name string) ([]byte, error) { gz, err := gzip.NewReader(bytes.NewBuffer(data)) if err != nil { return nil, fmt.Errorf("read %q: %v", name, err) } var buf bytes.Buffer _, err = io.Copy(&buf, gz) clErr := gz.Close() if err != nil { return nil, fmt.Errorf("read %q: %v", name, err) } if clErr != nil { return nil, err } return buf.Bytes(), nil } type asset struct { bytes []byte info os.FileInfo digest [sha256.Size]byte } type bindataFileInfo struct { name string size int64 mode os.FileMode modTime time.Time } func (fi bindataFileInfo) Name() string { return fi.name } func (fi bindataFileInfo) Size() int64 { return fi.size } func (fi bindataFileInfo) Mode() os.FileMode { return fi.mode } func (fi bindataFileInfo) ModTime() time.Time { return fi.modTime } func (fi bindataFileInfo) IsDir() bool { return false } func (fi bindataFileInfo) Sys() interface{} { return nil } var _appSettingsJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\x6d\x6f\xdb\x38\xf2\x7f\xdf\x4f\xc1\xbf\x8a\x00\xbb\xc1\x8a\x8a\xed\xc4\xdb\xfa\xdf\x07\x74\x93\xde\x5d\x80\xa6\x31\xe2\x5c\x83\xc3\xf1\x50\xd0\xe4\xd8\xe6\x46\x22\x59\x92\xb2\xec\x3d\xf4\xbb\x1f\x48\xd9\xd6\x83\xe5\xc4\x5d\xec\x0b\xc3\xd6\xcc\x6f\x66\x7e\x9c\x19\x0e\x29\xff\xf7\x05\x42\x51\x6e\x84\x8d\x46\xc8\xff\x46\x28\x4a\xa9\x03\xeb\xbe\x80\xb1\x42\xc9\x68\x84\xa2\x85\x73\xda\x8e\x92\xc4\xd0\x02\xcf\x85\x5b\xe4\xd3\xdc\x82\x61\x4a\x3a\x90\x0e\x33\x95\x25\xcc\xd0\x3f\xd6\x71\x46\x57\xc9\x83\x90\x5c\x15\x76\xa2\xd7\xbf\xa5\x8a\x3d\x82\x49\x32\x6a\x1d\x98\x04\x1b\xb0\x49\xe9\x3a\xfa\xa5\x0c\xe4\x16\x06\xa8\x63\x46\x15\xbc\x1e\xa6\x28\x0a\x5c\x53\x61\x65\xe6\x89\x05\x6a\xd8\xe2\x83\x16\xc9\xb2\x9f\x9c\xd8\xc4\x80\x56\xc6\x25\xef\x4f\xec\xdb\x13\xbb\xf5\x57\x2c\xa8\x0b\x0b\x09\xae\xbc\xa7\x20\xc8\xd6\x42\x53\xce\x0d\x58\x1b\xc8\x0a\x9d\x6c\x2d\xb8\xb4\xdf\x72\x30\xeb\x7a\xf8\xad\x2c\xc4\x2d\x16\x4a\xd8\x1d\x5c\x68\xaa\x45\xcd\xbf\xd0\x31\xd5\x22\x38\xfd\xdd\x2a\x59\xc3\x09\x39\x53\x0d\xa0\x17\x60\xa1\x3c\x77\x0f\xad\x90\x72\x56\x0f\x2e\x34\x96\xb3\xe4\xc4\xe2\x26\x68\xd8\xc4\x0c\xb1\x4c\x13\x03\x56\xa5\x4b\xc0\x3a\xd5\xef\xb9\xca\xa8\x90\x3e\x15\x2f\x10\xfa\xee\xcd\xa2\x54\x4c\x6b\x35\x2d\x84\x01\xbb\xa0\xe6\xf1\xeb\xa0\xbf\x93\x86\xca\xa7\x8d\xb5\xa7\x78\x2a\xa4\x33\x74\x5d\x95\x35\x71\x4a\xa5\x36\x79\xd8\x7a\x88\x0b\x21\x07\xfd\x78\x80\xcf\x70\x1f\xff\x21\xf4\x86\x25\x42\x11\x5b\x00\x7b\x9c\x89\x14\xbc\xcb\x5d\x44\x42\x5c\xf8\xc6\xb0\x82\x28\x40\xbf\xff\xd2\x26\x35\x3c\xff\x0b\x48\x0d\xcf\xff\x0a\x52\x52\x33\xaa\x9f\x60\x23\x33\xaa\x43\x6b\x04\x60\xc2\x85\x75\xe5\xcf\xf8\x0c\xbf\x7e\x7d\x11\x1c\x76\x07\xbf\x1c\x11\xb2\xd9\x1e\x84\x4c\xd6\xd6\x41\x36\xe8\x13\xf2\xd9\x1b\x13\x52\xf8\x2f\xcc\xd3\xb4\x49\xc7\xae\x6d\x16\x76\xe1\x9f\xc8\xce\x24\xd8\xc6\x03\xdc\x3b\x7b\x22\x27\x65\x84\xc0\x28\x53\xb2\x96\x90\x5d\x2b\x71\xea\xe8\xbd\x4e\xab\x6e\xe2\xd2\x32\xb3\xd6\xae\x4e\x6b\x01\x34\xec\xe2\x2a\xca\x92\xa6\x79\x88\x50\xb6\x65\xb5\x26\xa5\x41\x16\xa6\x61\x2d\xea\x29\xaf\x79\x7b\xf9\xf2\x25\xda\x1b\x29\x28\x46\xb7\x1a\xe4\xc3\xdd\x3d\x12\xda\xa2\x13\x8b\x4c\x9e\x82\x45\x3f\x25\xe0\x58\x32\x13\x06\x0a\x9a\xa6\xd8\x0f\xa9\x9f\x89\xf4\x2e\x3e\x09\x06\xd2\xc2\x08\xdd\x5c\xdf\x97\x92\x1b\x65\x00\xf9\x4d\x39\x42\x27\x96\x48\x22\x5f\x22\x90\x33\x65\x18\x20\xa3\x72\x07\x06\x5d\x7d\x9e\x10\x29\xb4\xa3\x53\xef\x3b\x76\x48\x52\x87\xe2\x6b\x34\xbe\xfb\x78\x77\xfb\xcf\xfb\xeb\xcf\x7f\x47\xb1\x46\x8e\x69\x14\xc7\xdc\x4f\x23\x74\x31\x40\xf1\xef\xe8\xee\xe3\xd5\xf5\xdd\xc7\xcb\x7b\x14\xc7\x4e\xc5\x5e\x61\xd1\xc5\xe0\x08\x57\x39\x3f\xd6\x95\x67\x1b\x96\x4c\xe4\x2e\xdd\xf5\x84\x57\xa1\xae\xd1\xdf\x6e\xef\x1e\x3e\xdc\x5d\x79\x77\x57\x77\xb7\x63\x14\x73\xb4\xad\xc7\xae\x22\xbe\xa4\x61\x82\xd8\x3f\x57\x85\x85\xb2\x6e\xaf\x0e\x5c\xda\x8c\xda\x6f\x98\x29\x39\x3b\xbe\x0c\x9d\xeb\xb1\x60\x96\x60\xde\xfa\xe1\xb9\x63\xde\xe8\x28\xdd\xd7\x5d\xbd\x78\x88\xf7\xb8\x3f\xde\xb1\xfd\x71\x66\x15\xaf\x3d\xdf\xa3\x76\xab\x6b\xa3\x56\x62\x26\xc0\x1c\xd3\xec\x9d\x6b\x3f\xb1\xff\xff\x83\xd5\x7a\xd6\x4d\x73\xc0\x88\x4c\xa7\x61\xc3\x74\x65\xf0\xcd\xff\xc5\x71\x67\x0a\x2b\xb3\xaa\xee\x71\xfc\x8e\xc8\x60\x51\x4f\x67\x4d\x3c\x51\xb9\x61\xe0\x13\x5a\xc7\x52\xeb\xe2\x1b\xc5\x7d\x9a\x78\xa5\x23\xf2\xcd\xfb\x55\x96\xa2\x65\x79\x0f\x79\x4b\xa2\x1e\x3e\x23\xd1\x7b\x6f\x66\x94\x72\xef\x3a\x2b\x42\xdc\x1b\xe1\x20\x43\x92\x66\xf0\x96\x44\x27\xf6\xeb\x89\x25\x51\xe0\x17\x1e\x49\x84\xb8\x30\x6f\x49\x74\x46\x22\xa4\x8d\x72\x8a\xa9\x74\xf3\x58\x45\xf2\x4f\xc2\x7e\x9d\xfa\xd5\xfa\xc0\xe5\x23\x48\xbf\xa9\xf8\x46\x90\xbc\x6b\x8f\xc9\xfd\x5a\x47\xb9\x5c\xd2\x54\xf0\x4f\x42\x82\x2f\xd6\xbf\xb7\x7c\x1f\x20\x65\x2a\x03\xe4\x14\x1a\xef\xac\x76\xab\x19\x1b\xe5\x87\x33\xda\x97\x58\xba\x04\x8e\xa8\xad\x34\x9f\xd4\x1c\x05\xd5\x86\x5d\xa5\xb9\x37\x74\x36\x13\x0c\xa5\x6a\x7e\x58\x19\x4c\xb9\xb0\x2d\xf5\x17\x30\x53\x65\x01\xa9\xdc\xe9\xdc\xed\x9b\xfb\xa8\x57\xc2\x00\x73\xca\xac\x91\xb0\xc8\x82\x43\x4e\xd5\x01\x8c\xa6\xe8\xf2\xe6\x76\x82\x2e\x7d\x16\x2b\xcd\x87\xdc\xa9\x8c\x3a\xc1\xfc\x80\x45\x99\xe2\x80\x38\x38\x60\x4e\xa8\x5a\x41\x7f\xba\x1e\x2f\x87\x3f\x57\xcf\x36\x74\x0e\xb2\xbe\xfd\x1c\x92\xca\xa1\x99\xca\x65\x8d\xd1\xa5\x92\xb2\x74\x62\x11\x57\x01\xa1\x8c\x98\x0b\x49\x1d\xa0\x99\x51\x19\x72\x0b\x40\x54\xeb\x54\x30\x1a\x60\x65\xf9\xfe\xb3\x2b\x5f\xeb\xa4\x8d\x60\xe9\x56\x63\xea\x16\x7b\x47\xb7\x5d\x5b\x49\x9d\x58\x02\x21\x85\x90\xb0\x74\x84\x7c\x52\x73\x4b\xc8\x8d\x60\x46\x59\x35\x73\xf1\x06\x1b\x97\x67\xea\xc9\xf9\xad\x06\x13\xa2\xd2\x14\x7b\xbf\xd5\x35\x4d\x32\x2b\xaa\x98\x06\xe6\xf5\x5d\xf8\x08\xe1\x66\x3a\xf9\xd7\xe4\xfe\xe3\x0d\x21\x97\xb9\x31\x20\xdd\xa5\x92\xce\xa8\x74\x02\x8e\x90\x09\x98\xa5\x60\x60\x09\xf9\x9c\xd2\xc9\x92\x11\x32\xa6\x86\x66\xe0\xc0\x58\x42\xae\xa5\x03\x23\xc1\x55\x69\x2a\x60\x3a\x36\x6a\x0a\xff\x50\xd6\x9f\xbf\xd1\x07\xe6\x17\xf2\x50\x97\xee\x61\xb7\x49\x68\x62\x83\x74\x0f\x7b\x59\xbe\x14\xec\xc3\xb7\x8a\x4e\x26\x5f\x86\xdd\x5c\xbe\x0c\xbb\xd9\x74\xe1\x37\xf2\x43\x8c\xba\x4c\x2a\x55\x35\x58\xa5\xed\xc8\xcf\x55\x5d\xba\x87\xdd\x5b\xf3\x55\x4b\xd1\xe9\xbd\x4e\xe8\xaa\x29\x3f\x14\xa1\xcb\xa4\x52\xb5\xcf\x9d\x29\xd4\xcf\x87\x28\xdb\x36\x67\xf3\xd0\x28\x60\x1a\xa2\x9e\x87\xeb\x71\x51\xe0\xcc\xce\x1c\x2b\x37\x93\x7f\x57\xf3\x97\xca\xfa\x81\xe2\xd3\xea\x33\x1d\xf0\x75\x9c\x5b\xb9\x16\x6e\x4b\x2d\x40\x77\x7b\x03\x6d\x76\x2a\xba\x07\xdb\xb6\xa8\xf2\x22\xf4\x72\x78\x2c\x95\xe1\xf1\x54\x86\xc7\x51\xe1\xd2\x56\x49\xe1\xd2\x06\x26\x7e\xa7\xb6\x29\x70\x69\x1b\xab\xec\x0d\x7a\xb8\x77\xf6\x2b\xee\x5f\x5c\xf8\x4f\x97\xcf\xe1\x0f\xf8\x0c\xd8\x19\x1f\xc0\xe8\x7c\x76\x41\x47\x17\xd3\x57\xbd\xd1\xa8\xb7\x7f\x1d\x28\xec\xf4\x89\xaa\x6a\xff\x02\x3e\x15\xf2\xc9\x52\x1a\x5a\x24\xaf\xce\xbf\xfd\xc6\x44\xef\xec\xa9\x3a\xee\xdd\x05\x0e\x96\xf0\xb9\xb0\xc3\x23\xc3\x0e\x9f\x0d\xdb\x28\xd7\xe6\xb5\xd8\xf4\xb0\x7f\xcd\xf0\x89\x7e\xa6\x66\xfd\xb3\x57\x78\xf8\x2b\xee\xf7\xfb\xfe\x73\xb0\x64\x3f\xe2\x37\x18\xf4\x87\xfd\xb3\x51\xaf\xf7\x7a\x34\xb8\x18\x8d\x06\x17\xad\xdb\xd7\xee\x00\x28\x44\xca\xa8\xe1\x93\x7c\x5a\x5d\xea\xca\x7b\x42\x74\x8a\xfb\x19\x97\xb8\x1a\xe0\xd1\x29\xa6\x71\x66\x81\xcf\xa1\x25\xe5\x12\x56\xb9\xdd\x13\xae\xea\x2c\x83\xc8\x9e\xe2\xcc\x52\xbe\x07\x0d\x72\xd9\x42\x67\x41\x0a\xac\xcd\x41\x6b\x58\xc5\x66\xd6\x61\xe1\x78\xe6\x9a\x22\xd6\x49\x98\x1f\x10\x43\x2a\x96\x60\xd6\x98\x5b\x8d\x33\x8d\x77\x43\xcb\xfb\xc4\xd2\x52\xc7\x0e\x18\xb4\xc1\x35\x48\x7a\x0c\x0a\x3a\xf9\xcc\xd3\x29\x97\xb6\x7f\xc8\x28\x55\xe5\x5d\x02\x7b\xf7\x4d\xcb\x0c\xac\x05\x39\x07\x53\xea\x1a\x66\x3b\x6f\x45\xd9\xd5\xb9\xe6\xd4\xb5\xed\x3b\xd8\x1c\x9e\x87\x1b\x65\x6b\x9c\x44\xa7\x58\x1b\xc5\x31\x57\x9d\xf9\xac\x50\x86\xf2\x0e\x9a\x5e\xba\x57\x61\xe3\x7b\x67\x4f\x6a\x3b\xb3\x57\xfe\x69\xd7\x81\xde\x5c\x5a\xca\x46\xc2\x53\x21\xe7\x07\x00\x56\x31\x41\xd3\x43\xb4\x6d\x46\x8d\xb3\xcc\x00\xc8\x43\x10\x07\x29\x64\xe0\xcc\xba\x1e\xab\x41\xb2\x42\x3c\xeb\xe2\xd9\x6e\xac\xa0\xb9\xb1\x07\xfd\x89\x14\x0e\xae\xdc\x95\xf7\xf2\x8c\x4a\xea\x7b\xa7\xe9\x3d\xcd\x9f\x6c\x66\xcc\xf0\x4c\x29\xa7\x8d\x90\xae\x69\xb9\x69\xb0\x03\x84\xba\xb4\x98\x3e\x52\x3f\xe3\x1a\x6e\x96\xc2\xb8\x9c\xa6\x40\x8d\x5b\xb4\x34\xaa\x9c\x13\xbc\x2d\x36\x0e\x56\xa7\x98\x53\x47\xb1\x4f\xcc\x76\xab\x1c\xc8\x5f\x13\xdf\xcd\xb6\xc4\x3c\x05\x29\x28\xc3\x7a\x21\x58\x6b\x74\x7a\xb1\xef\x51\x46\xad\x6b\xeb\x70\x01\xd4\x2d\xc0\x1c\x0a\xda\xdc\xa8\x4f\xa8\x94\x99\xb7\x55\x9d\x9a\x83\xdd\xb1\x9a\xaa\x55\x7b\x2b\x52\x63\xe8\xfa\x34\x3e\x66\x2f\xb3\x75\x1f\x9f\xe2\x8c\xef\x37\xc7\x29\xde\x62\xca\x0c\xc6\xa7\x4f\x54\xe4\x85\x7f\x31\xfa\xfe\xe2\x7f\x01\x00\x00\xff\xff\xc4\x1f\x84\x07\x1d\x18\x00\x00") func appSettingsJsonBytes() ([]byte, error) { return bindataRead( _appSettingsJson, "app/settings.json", ) } func appSettingsJson() (*asset, error) { bytes, err := appSettingsJsonBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "app/settings.json", size: 6173, mode: os.FileMode(0666), modTime: time.Unix(1569806294, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd9, 0x51, 0xd4, 0xe7, 0xb0, 0xa7, 0xb9, 0x55, 0xbd, 0xa4, 0xf8, 0x66, 0xa5, 0x17, 0xa9, 0x74, 0x8, 0xbb, 0xb4, 0x69, 0x79, 0x3e, 0x70, 0xd4, 0xb2, 0xc2, 0xc, 0xf0, 0x58, 0x9d, 0x35, 0x2e}} return a, nil } var _dataDnscryptExtraTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\xdd\xb2\xa4\x28\x0c\xbe\x3f\x8f\x32\x55\x52\xad\x67\x66\x76\xf7\x71\xd2\x10\x95\x6d\x7e\x1c\x82\x6d\x9f\x7d\xfa\x2d\x40\xdb\x16\xed\x53\x72\x27\xc9\x97\x98\xe4\x83\x14\xe1\x07\x6b\xb4\x30\xcc\xa0\xff\xf8\xc1\xa0\xd2\x84\xa2\xc3\x65\x39\x0c\xf8\xa8\x5c\xcb\x34\x19\xc6\xad\xfe\xf8\xc1\x04\xdf\x42\x94\xe5\xe0\xa5\x35\x4c\xc9\xfb\x22\xd3\x48\x84\xa6\x43\x97\x84\xc9\x70\x63\xa5\xa9\xf5\xdc\x1a\x83\xdc\x7b\x24\xff\x84\xb4\xde\x70\x92\xf3\x92\xd0\xdd\x25\x47\x4a\x61\xb0\xab\x34\x5d\xae\x21\xcb\x25\x28\xa6\x25\x77\x96\x6c\xbb\x38\x22\x0d\xce\x13\x77\x88\x66\xa7\xf3\x52\xe1\xde\xe3\x5d\x3a\x3f\x82\x42\x70\xbe\x9f\x63\xbc\xdb\x10\x33\x37\x62\x5e\x4f\x08\xbe\x47\xb7\x73\xf8\xb8\xda\xc7\x33\xcf\x4d\x01\x81\x7b\x79\x8f\xd5\xa9\xee\x0d\x23\x45\x99\xed\xaa\x3f\x52\xea\xcf\x01\x86\xcb\xa5\x61\xe4\xad\x83\x0e\xd7\x62\x82\xa1\x09\xdd\xce\x60\x90\x6b\x46\x61\x61\x0d\x0a\xf7\xb4\xc9\xa9\x84\x61\x20\x46\xb7\xaf\x61\xd6\x3b\xbe\xaa\xd6\x6f\x66\x08\x3c\x4f\xd9\x8c\xbe\x67\x5d\xfb\x60\x9a\x3e\xc2\x7f\x5a\xeb\xae\x23\x49\x83\x44\xd1\x8a\xd7\x59\x40\x1c\x8c\xf8\xe2\x6e\xa4\x9e\xac\x00\x76\x5b\x62\xe3\x22\xb8\x36\x1e\x8d\x67\x83\xb3\x82\x71\x4d\xcf\x7f\x07\xa5\x35\x68\xac\x4f\x35\xe4\x38\xd2\x04\x9e\xc3\xf5\x52\xb3\xab\xb2\x57\xc6\xad\x43\x36\x49\x23\xec\x44\x09\xd2\x23\xbf\xc5\xfc\x90\xe7\x21\xf4\x56\x72\x3c\x21\x7c\xc9\x93\x2b\x89\x26\xec\xce\x56\x76\x6c\x00\xa2\xc1\x3a\x9f\x34\xf6\x88\xc5\x19\x19\x59\x5f\xeb\x39\x4b\x3d\x82\xde\x19\xb8\x7c\xc7\xf2\xaf\x86\x11\x7a\x2f\x4d\x47\x4c\x80\x87\x2c\x38\xb8\x81\x30\x29\x59\xa1\x05\xd3\xe8\xe1\x79\x04\xb6\x9e\xbe\x57\xbf\x3a\xc2\xd1\xd9\x01\x5f\x8f\x4a\x15\xc9\xd8\xfa\x6b\x11\xc5\x15\xf8\x6d\x15\x57\xbd\xed\xf5\x56\x47\x08\x8e\xf7\xef\x2c\x17\xaa\xa2\x30\x8f\xb7\x5b\xb7\x6c\xb7\x6e\xf0\x4e\xd9\x2b\x28\x46\xa0\x9f\xfb\x42\x22\xbf\x2b\x49\x3e\xb3\x97\xba\x8b\x61\x57\x5c\x53\xe5\x7c\xb5\x86\x39\xa7\xab\x41\xfe\x87\xe9\x08\x07\x2c\x55\x9a\xcc\xb1\x8e\x91\xbf\xb2\xa8\x4f\x9e\x0d\x49\x81\x6e\x2e\x64\xfe\xdb\xe1\xfe\x93\x29\xdb\x49\xb3\x06\xad\x24\x47\x43\x21\x1b\x3d\x64\xf0\xa5\x49\x56\xd2\xb4\xe8\xd0\x70\xac\x26\x24\x3f\x12\xe3\xca\x8e\x02\x86\x21\x06\x91\x3b\x8c\xcb\xa7\x27\x6b\x94\x34\x1b\x0d\xc1\x4c\xe8\xef\xd5\x3c\x9c\x1f\x4d\xf1\xac\x06\x99\x66\xbd\xf5\x1a\xa4\x8a\x76\x1a\x4c\x68\x24\x02\xef\x1c\x8d\xdf\xf5\x32\x0d\x03\x6d\xe8\xd2\x28\x24\x38\x14\xd2\x21\xcf\x2b\xaf\x9d\x15\x18\x4a\xa3\x3b\xc7\x6c\xdb\x4a\x8e\xb1\xa5\x3c\xc3\xd7\x04\xa1\x5b\xbc\xac\x5f\xba\xbb\xc1\x87\xaf\x5e\x1b\x7c\xbe\x31\x92\xc7\x98\xcd\x19\x79\x3c\x7e\x34\xca\xb9\x6b\xcc\xa8\x78\x92\x73\x07\x66\x91\x53\xea\x65\x4b\x9b\xe4\x6a\xe4\x61\x2b\x5d\x4d\x73\xb9\xbc\x6d\x36\xc7\xe8\xa6\x08\xfd\x59\x84\xfe\x59\x84\xfe\x55\x84\xfe\x5d\x84\xfe\xab\x08\xfd\x77\x11\xfa\x9f\x12\x74\x7d\x29\x42\x17\x71\x59\x17\x71\x59\x17\x71\x59\x17\x71\x59\x17\xb1\x53\x17\xb1\x53\x17\xb1\x53\x17\xb1\xd3\x14\xb1\xd3\x14\xb1\xd3\x14\xb1\xd3\x14\xb1\xd3\x14\xb1\xd3\x14\x9d\xb4\xa6\x88\xcb\xa6\x88\xcb\xa6\x88\xcb\xa6\x88\xcb\xcf\xb3\x5c\x0a\x5d\xd2\x35\x13\xfa\x2c\x97\x09\x7d\x96\xcb\x84\x3e\xcb\x65\x42\x9f\xe5\x32\xa1\xcf\x72\x99\xd0\x67\xb9\x4c\xe8\xb3\x5c\x26\xf4\x59\x2e\x23\xfa\x74\x1f\x4c\xe8\x22\x76\x4e\xf7\xc1\x84\x2e\x62\xa7\x2e\x62\xe7\x74\xd7\x4c\xe8\x22\x76\x4e\x77\xcd\x84\x2e\x62\xe7\x74\xd7\x4c\xe8\x22\x2e\x4f\xf7\xc1\x84\x2e\x62\xe7\x74\x1f\x4c\xe8\x22\x76\x4e\xf7\xc1\x84\x2e\x62\xe7\x74\x1f\x8c\xe8\xf7\x7d\x70\xf0\x60\xac\x79\xa7\xf5\xeb\xc0\x6d\x47\xaf\xac\xbd\xcd\x77\xe5\xcf\xdf\xbf\xa2\x74\xf0\x32\x0e\xf8\xf9\x84\x31\x8c\x8e\xf7\x40\xb8\x1f\x26\xfe\x8c\xe8\xbe\xd6\xc1\xd9\xe5\x17\x5c\xd7\x5c\x68\xfa\xb7\xfe\xd4\xf9\xf5\xde\x61\x27\x29\xdc\xfa\xb9\x18\x78\x7e\xdf\x76\x32\x5c\xc3\x25\x93\xe1\x63\xab\xa2\x26\x4c\x03\x71\x9c\x5d\xe7\xdb\x65\xe6\x9b\x93\x5b\xa6\xd7\x6a\x92\xe6\x60\x82\xfd\xf8\x66\xba\xfd\xa0\x36\x08\x8f\x07\x2d\xea\x61\x57\x9a\xdd\x7b\x48\xac\x5f\x25\x35\x74\xbb\x79\x78\xa3\xa2\xea\x40\xc9\xc1\x83\xb2\x9d\xc3\xfb\xf2\x92\x15\xc5\x7f\x46\x50\xd2\x7f\x1d\xb9\x0b\xa3\x46\x2b\x98\xa0\xc7\x9e\x1c\x1a\x87\xf8\x5c\xb0\x95\x7a\x36\xee\x9e\x6b\xbc\xd4\xb8\x19\xb6\xfc\xad\x61\x83\xf2\xcf\x92\x8e\x7d\x9b\x99\x8c\xf2\x85\x80\xbd\xc7\x3b\x28\x29\xbe\x79\x6e\x5a\xf5\x47\x4a\x74\x14\x34\xfd\xd7\xd5\x49\x11\xb7\x42\x8f\x2e\xfd\x6a\x02\xa5\x30\xcf\x69\x12\x3c\x4f\x3e\x88\x40\xed\x80\xc4\xad\xf1\x47\x33\xde\x5b\x4d\x36\xcd\x25\x5c\xfd\xde\x45\x73\xa8\x9a\xa6\xa5\xbe\xf3\x66\x0d\xd2\xc7\x01\x15\x0f\xad\xb2\x61\xfe\xff\x00\x00\x00\xff\xff\xb4\xec\x03\x1b\x15\x15\x00\x00") func dataDnscryptExtraTxtBytes() ([]byte, error) { return bindataRead( _dataDnscryptExtraTxt, "data/dnscrypt/extra.txt", ) } func dataDnscryptExtraTxt() (*asset, error) { bytes, err := dataDnscryptExtraTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/dnscrypt/extra.txt", size: 5397, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe0, 0xb9, 0xb3, 0xa4, 0x21, 0xfc, 0x7, 0xf6, 0xdc, 0xd4, 0xcd, 0x4, 0x9b, 0x92, 0x60, 0x46, 0xad, 0x2, 0x5a, 0x8d, 0xa0, 0x27, 0x23, 0x52, 0xd6, 0x8a, 0x1, 0x96, 0x8, 0x85, 0xcf, 0x85}} return a, nil } var _dataDnscryptSpyTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x5a\xeb\xb2\xe2\x20\x12\xfe\x3f\x8f\x32\x55\x52\xdc\x72\xf1\x71\x90\xa0\x52\x27\x81\x14\xa0\x8e\xfb\xf4\x5b\xa8\x63\x12\x69\x9b\xd9\xfd\xe7\xf9\x3e\xfa\x42\x77\x13\x68\x38\xbf\x89\x1a\xdc\x9f\x48\xb4\x9f\x7e\xe5\xdf\xf1\x37\x99\xa2\x1a\x22\x71\x26\x2d\x80\xfb\xcb\xa7\x61\x4a\xaf\xdf\xa7\xf1\x30\xb8\xc8\xc9\x64\x75\xf0\xd1\x1f\xff\xe2\x53\x34\xc3\xc9\xbc\xe4\x83\x1a\x56\xe2\x21\x2b\x5e\xfe\x4c\x66\x34\x93\x49\xe1\x5e\xe8\x48\x41\x1d\x8f\x56\x4f\xca\xa9\x93\x09\x2f\x5d\x57\x1f\x92\xf9\xf3\x9b\x0c\x2a\xa9\x42\xe2\x49\x42\x9c\xd2\xe2\x6d\x53\xe9\x64\xaf\x36\xdd\xc9\xcd\xba\xc1\xdf\x9e\xd3\x56\xc3\xf8\xf1\xb7\x33\x7f\x2e\xcf\x08\x2c\xc1\x59\xbb\xae\x86\xc8\x56\x61\x7a\xfd\xf9\xe2\x7e\xd4\x4e\x0f\x6e\xe7\x22\x51\x43\x32\xfa\x4c\x06\xf3\x4b\xcd\x4a\x33\xe2\x7c\xb2\xc7\x8d\x6d\xa2\x7e\xd4\xe0\x5e\x5a\x66\x4b\xb4\x0f\x49\x39\x45\x94\xfd\xa5\xa2\x9d\xfc\x75\x77\xb3\x8e\x44\x93\x92\x75\xa7\x08\xcc\x6e\xad\xe0\x60\xdd\xe9\xe1\xe5\x66\xfa\x87\x51\x08\xca\x76\x8a\xb0\x21\x5c\xd7\x88\x2e\x90\xd3\x0a\x71\xfc\xb0\xd3\x3e\x50\xca\x48\x76\x6c\xce\x3f\x00\x96\xa3\xac\x40\x59\x09\xb3\x37\x17\x19\xb9\xb9\xb8\xc9\xc9\xc1\x89\x19\xf3\x47\x44\x7d\xa6\x9c\x52\x46\x9b\xa6\x87\xa4\x17\xbe\xa5\x28\xdf\x32\x5c\xbe\xe5\x7b\x9c\x17\xa0\xf7\x2b\xbe\xa9\xf0\x2d\xce\x37\xa8\xff\xac\xe3\x1d\xc6\xf3\x1e\x95\xe7\x54\x70\x8e\xf2\x9d\xc4\xe6\xcf\xb9\xe0\x58\xfc\x38\x17\xe8\xfc\x39\x17\x2d\x14\x3f\x19\xf5\x99\x51\xc6\x38\xed\x99\xac\xf0\x90\xfd\x85\xdf\x33\x5c\xff\x9e\x09\x8c\x67\x94\x41\xf3\x5f\x78\x46\x2b\x3c\xee\x1f\xe3\x1c\xb7\x2f\x29\x94\xdf\x85\x87\xeb\x77\xe1\x3b\x8a\xc6\x8f\x75\x15\xff\x3b\x3c\xfe\x6c\x4f\x51\xfb\x9c\x31\xd4\x7f\x2e\x18\x54\x9f\x6b\x1e\xaa\xcf\x85\x97\x1c\xcd\xaf\x60\xb8\x7f\x82\xe1\xf6\x05\xa7\xdf\xed\xe7\xec\x33\x0e\xc4\x27\xf8\x5b\x34\x81\x98\xab\x71\x09\xfa\x8c\xbf\x47\xcc\x76\x36\x44\x05\x5b\xf0\x91\x44\x13\xae\xd6\x9d\x76\xf1\xfe\x52\x7a\x2f\x3e\xec\xf7\xe2\xc3\xfe\x44\xcc\x82\xe8\xf7\x46\xa5\x95\x3e\x9b\x87\x2f\x93\x0a\x69\xe3\xaf\x1e\x22\xa3\x24\x26\x47\xc6\xd1\xdd\x1e\x9b\x4b\x86\x38\x15\x64\xf4\x05\x28\x21\x70\x0f\x80\x0c\x02\x79\x0f\x80\x12\xd2\xd9\x74\x00\xd8\x36\x10\x08\x19\xea\x20\xe7\x7b\x48\xbc\x87\x0c\xf5\x90\xce\x3d\xa0\x53\x50\x40\x3c\x57\x75\x09\x72\xc0\xba\xe0\x80\x78\xd7\x91\xe1\x12\x37\x18\xa7\x94\x36\x45\x8e\x38\x95\x39\x1f\xfa\xfe\x89\x32\x06\xa2\x0d\x88\xb6\x20\xda\x41\x28\x07\xad\x71\x50\xaf\x00\x7d\x10\xe0\x58\x49\x41\x54\x80\x28\xa8\xa1\x01\x35\x34\x1c\x44\xc1\xb9\xb5\xa0\xbf\xb9\xb8\x4a\xb4\x03\x7d\xe8\x41\x6b\x3d\x38\x76\x0f\xa0\x8c\xd3\xb2\x44\x32\x5a\xd6\x48\xde\x39\xc0\xb1\xbc\x2c\x5c\xce\xb8\x28\x2b\x37\xa3\xe5\x62\xe4\xe0\x6a\xcc\x28\xa8\xb7\x69\x41\x14\xf4\xb7\x01\xad\xe5\xa8\x03\x28\xa8\xa1\x03\x35\xf4\xa0\x06\x60\xad\x72\x26\x80\x0f\x15\x67\x82\x81\x63\x39\xa0\x77\x5f\x56\x83\xa0\x94\x77\xc5\xca\x14\xb4\x2f\x47\xb2\xb2\x46\x45\x4f\x7c\xd8\x42\x92\x96\xa5\x21\x69\xb9\x48\xf3\xd1\xe0\x18\xd4\x16\x03\x16\x73\xde\x22\x4b\xac\x2c\x55\x68\x19\x4b\x0e\xe8\x93\xe5\xf2\x91\x4d\x39\x5d\xd9\x94\xc1\x82\x16\x99\x6c\x01\x59\x60\xd9\xc9\x0e\x90\xed\xcb\x4f\x84\xec\xcb\x8f\x94\xec\x01\x7d\x7b\x40\x76\x5f\xca\x36\xb2\x48\x51\xcf\x78\x51\x1b\x3d\x2b\xd7\x63\x3e\x9d\x16\x98\x00\x64\x45\xb9\x8e\x7a\x59\xee\x21\xbd\x2c\x2b\xb5\x07\x56\x5b\xdf\x02\x76\x8b\x6d\xf2\xcc\xbe\xf7\x58\x6f\x12\x6a\xf9\xf4\xf9\xf3\xe4\xf1\x42\x4c\x81\x9c\x3e\x10\x5e\x48\xf1\x8d\x94\x77\xc9\xba\xcb\x65\x22\x43\xd1\xda\x6a\x1f\x66\x12\x53\x01\xe7\xfe\x71\xd6\xe4\x4a\xf5\xe0\x1e\x13\x1b\x0e\xcd\xce\xa8\xf9\xdd\x48\x3f\xba\x6a\xbc\x99\x1e\x0e\xcd\xff\x3b\xbc\x36\xd4\xaa\x93\xf3\x31\x59\x1d\x49\xbc\xcc\xb3\x0f\xe9\x63\x02\xe6\xb2\xbb\x32\x8a\x9c\x16\xf3\x00\x8e\x0e\xf8\xca\x1c\x47\xf3\xe7\x7d\x04\x3c\x2d\xbf\x8c\xff\x5f\xa6\xbb\x1e\x5e\x19\x7a\x5e\xae\x46\xce\x7c\xf9\xf9\xc3\xff\x59\xc1\x4f\x79\xe0\x3e\xff\xf0\x7c\xe0\x16\x8f\x86\x14\x38\xf0\x6f\xf9\xb2\xa1\xda\xf2\x65\xc3\xbd\xe5\xcb\x86\x68\xc3\x0b\xdc\xbf\x1e\x68\x08\x36\xbc\xc4\xfd\xeb\x1b\x7c\x7e\x7d\x53\xd1\xdf\x94\x0d\xf7\x9a\xdf\x57\xfc\xdb\x03\x17\x12\x1b\x5e\x96\x0d\xd3\x86\x6f\x2a\xf2\xc0\x85\xcd\x86\x07\x2e\x04\x56\x3c\xa3\x40\x43\xb9\xe1\xf1\xfc\x31\x0a\x5c\x48\xac\x79\x26\x70\xfd\x4c\xa2\xf9\x67\xac\x41\xf3\x9b\x5b\x6a\x9c\x97\x68\xfc\x1e\x07\x31\x94\x07\x2e\xbc\xb6\x3c\x9a\x7f\x06\x5d\x08\x6d\x79\x7c\x7e\xa2\x12\x7f\x21\x2a\xf6\x2b\xfe\x4b\x7c\xfd\x31\x29\x70\xff\x64\x25\xff\xb2\x92\x7f\x89\xd7\x3f\x93\xc0\x85\xdb\x9a\x6f\x80\x0b\x9b\x0d\x5f\x89\x6f\x83\x7f\xbf\x58\x03\x5c\x08\x6e\x78\x89\xc7\xbf\xc1\xbf\x2f\xe0\x85\xd3\x86\xaf\xe4\xb7\x15\x15\xf9\x4a\xfd\xb7\x0d\x9e\xff\xb6\xe6\x7f\x83\xc7\xa7\xb2\x7f\xb0\xca\xfe\x01\x5e\xc8\x6e\x78\x81\xd7\x47\x07\x5c\x28\x6f\xf8\xca\xfc\xfa\xca\xfa\xeb\x2b\xf6\xfb\xca\xfa\xe9\x2b\xf5\xdf\x57\xbe\x8f\x95\xfd\x8d\xf5\x95\xfc\xee\x2b\xf1\xdd\x03\x17\xd2\x5b\x1e\x8f\x4f\x65\x7f\xe2\x95\xfd\x83\x53\x89\xce\x2f\x77\xfe\x28\xcf\x60\xfd\xe0\x33\xc9\x0b\x3f\x14\x84\xdd\x1d\xc6\x16\x79\x41\x59\xf3\xd0\x01\xdf\xee\xf0\x17\x18\xbb\x3b\xdc\xff\x95\x87\xf5\xa3\xcd\xc7\x8a\x86\xa5\xa3\xe3\x98\xf4\x9b\xfe\x26\x8d\xfa\x6e\xbc\x1b\xad\x33\xb7\xcf\x46\x63\x3c\x30\x72\xbb\xdd\xc8\x14\xd7\xe7\xd5\xc9\x1f\xec\x68\x90\xc3\xf9\x6b\xc0\xb7\xab\xde\xc9\x0f\x26\x38\x72\x53\x29\xfa\xda\x39\x7c\xf5\xd6\x3a\x45\x97\x4c\x4c\xc5\x35\xf1\xf3\x2d\xd3\x1f\x8f\x56\x1b\x35\xcf\x91\x8c\xf6\x6a\x16\x26\x5c\x46\x03\xd3\xde\x19\xed\xc7\xd1\xe8\xe4\x03\xd1\xa3\xbf\x0c\x6a\x9e\x9f\x0e\xaf\x3c\x98\x83\x21\x47\xef\xd3\x1c\xac\x4b\x73\x30\x83\xd5\xcf\x69\xcc\xc1\x5c\xad\xb9\xbd\x4f\xfc\x41\x0d\x8b\xee\xf5\xb3\x70\x96\x09\x64\x32\x49\x3d\x5c\xd7\xe6\x33\xcc\x51\x9f\xcd\xa4\xd6\xe8\xca\x7e\x34\xfa\x92\x5d\x18\x55\x3c\x27\x35\xfe\x58\x77\x7a\x0a\x99\xf1\x88\xe4\xe0\xdd\xeb\x44\xe5\x86\x83\x07\x1f\x8e\xd7\xfd\xd0\x6e\x9e\x0d\x38\xe6\xc4\xe7\x62\xb1\x45\xf7\xd9\x0d\xbf\x10\x53\x20\xab\x6e\x38\xce\x77\x67\xd2\xe7\x7b\xfa\x13\x55\xe3\x67\x8f\xf8\xc4\xcd\x25\xf8\xd9\x7c\x89\x4c\xbc\x2d\x01\x8f\x97\x70\x35\xf7\xbf\x45\xb5\x55\xb5\x3c\xc3\xab\x79\x36\x7f\xc8\x21\xc7\x30\x6b\xf8\xf6\x3e\xbf\xe0\xc1\x4c\x3e\xe5\xba\xf9\x3b\x7f\xf5\x9f\x9c\x8d\xed\xa0\x4b\xf8\xcc\x68\x32\xc1\x0c\x9e\xd8\xf9\xda\x16\x4c\x4c\x04\x7c\xa5\xbf\x4c\x4f\xe7\x35\x92\xd5\x4b\xac\x34\xce\x79\x00\xda\x38\xe3\xe2\x57\x46\x31\xf3\x15\xd5\x8f\xff\x50\xc0\x0a\xee\x35\x22\x97\xdb\x3f\x8d\xfa\xce\x42\xcc\x2b\xf7\xef\x92\x00\x6b\xe1\x66\x1d\xa3\x50\x62\x32\xd1\x7d\xa5\x7a\x00\xff\x6f\x00\x00\x00\xff\xff\x71\x95\x50\x61\x5a\x22\x00\x00") func dataDnscryptSpyTxtBytes() ([]byte, error) { return bindataRead( _dataDnscryptSpyTxt, "data/dnscrypt/spy.txt", ) } func dataDnscryptSpyTxt() (*asset, error) { bytes, err := dataDnscryptSpyTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/dnscrypt/spy.txt", size: 8794, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8e, 0x1f, 0x6b, 0xa9, 0xeb, 0x33, 0xd6, 0x49, 0xf9, 0x65, 0x18, 0xd2, 0xf6, 0x58, 0xe4, 0xad, 0x63, 0x7, 0x2, 0xb2, 0xb7, 0xb8, 0x71, 0xc, 0xa0, 0xa8, 0x2f, 0x60, 0xe4, 0x27, 0x1d, 0x56}} return a, nil } var _dataDnscryptUpdateTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x9a\xdb\x6e\xe3\xbc\x0e\x85\xef\xfb\x28\x05\xb6\x41\x52\xf2\xe9\x71\xdc\xd8\xe9\x18\x93\xda\x81\xe5\x69\x90\xb7\xdf\xa0\xdb\x69\x85\x46\xb3\xd6\x9f\xcb\x7c\xa2\xc4\x93\x28\x4a\xf0\x73\x35\x4e\x97\xf9\x7d\xda\xee\xd5\x98\xae\xd5\xdb\xb5\x7a\x9b\x4f\xdb\x9a\xd6\xf3\x5e\x9d\xd6\xb7\x6a\x49\xc3\x7e\xaa\x96\x69\x7f\xca\x46\xfe\x1c\xf5\xf4\x5c\xbd\xa5\x69\x7c\x9d\x3e\x07\xfe\xb9\x8e\xc3\x3e\x3d\x8c\xb9\xcd\xcb\xb8\xde\xd2\x27\xfd\xfc\x2f\xfd\x18\x36\x6c\xdb\x70\x7f\xfe\xdf\x75\x5b\xc7\x6a\x5c\x8b\x4a\x3d\xbd\x5c\xec\x5a\xdd\x96\x54\x2d\xeb\x3e\x9f\xef\x7f\x27\x3e\x14\x1e\x7e\x0f\xa3\x93\x69\xff\x1e\x96\xf1\xa7\x97\xcb\xfa\x52\xa5\x25\x5e\xb7\x31\xed\x9b\x84\xa1\x4a\xfb\xba\xb9\x3a\xdb\xf4\x35\xd0\xa5\x4f\x97\x79\x5a\xf6\x07\xf9\xf1\x25\xdc\x96\x64\xa2\xfe\x2b\xd0\xba\xf4\xdf\x7f\xd1\xf6\x6b\xd8\x0f\xd9\x74\xfa\xa5\xa2\x2a\xa2\x66\x84\xb7\x90\x77\xa1\xa8\x6f\xc6\x8b\xba\x7f\xf1\x5e\xf1\xfc\xbd\x11\x79\xeb\x30\x0f\x90\xbb\x85\x98\x63\xff\xa8\x58\xc4\x1c\xfb\x47\x25\x10\xf9\x48\xd6\x8f\x58\x9e\xc4\x57\xd5\x02\xe1\xd0\xff\xaa\xd8\xff\xaa\xd6\x63\x1e\xc8\xfa\x11\xaf\x6f\x82\xe7\x37\xc3\xfe\x37\xa2\xbf\x91\xf8\x59\x80\xf9\xab\x01\xe7\xb7\x06\x92\x3f\x81\xf8\x2f\x10\xff\x05\x92\x5f\x81\xec\x8f\xa8\x78\xfd\x48\xf4\x8f\xd6\x10\x8e\xfd\x13\x83\x60\x4e\xf2\xa3\x2e\xd7\xd3\x8c\x63\xfb\x6a\xe2\xff\x1a\xd7\x37\xad\x23\x59\x3f\xe2\xf8\x35\x82\xe3\xd3\x28\xe1\x44\xff\x86\xe4\x77\x43\xf2\xab\x89\x38\x3e\x2d\xf1\x7f\x4b\xea\x53\x1b\xb0\xfe\x2d\x89\x7f\xa7\x58\xff\xce\xb0\xfe\x1d\xc9\xdf\x8e\xd4\x0f\x72\xfe\x69\x47\xea\x47\x47\xea\x7b\x2f\xd8\x7f\xbd\xe0\xf9\x7b\xc5\xf6\xf7\x4a\xd6\x27\xf9\xd5\x93\xf8\xf5\x78\x7f\x98\x28\xf4\x9f\x09\xae\xaf\x26\x78\x7f\x9b\xe0\xf3\xcf\x04\x9f\x7f\x26\x01\xfa\xdf\x04\xee\x1f\x3f\xc0\x51\xfe\x38\x47\xfa\x1f\x07\x24\xe6\x30\xff\x8e\x02\x0c\xb9\x09\x9e\xdf\x04\xed\x0f\x15\x23\xfa\x19\xf4\xaf\x8a\x41\xff\x7a\xfb\x85\xe5\x03\xcc\x1f\x95\x00\xe3\xef\x9c\xc9\xe3\xf8\x05\x58\x5f\xbd\xfd\x63\x9c\xe8\x47\xec\x8f\x82\xe5\x23\xc9\x3f\x7c\xfe\x7b\x7b\x4a\xe4\x49\xfe\x45\xd8\x7f\x78\x7b\x8b\xe3\x5f\xc3\xfe\x5d\xa5\x86\xf5\xcd\x39\x5e\xbf\x86\xfd\x89\x4a\x4d\xf6\x37\x3e\x9f\x55\x1a\xd8\x9f\x3a\xc7\xf6\x37\xb0\xff\x72\x8e\xf7\x67\x03\xfb\x43\x95\x56\x70\xfc\x5a\x78\xbe\xaa\xb4\x44\xbf\x16\x9e\x1f\x2a\x2d\xec\x2f\x54\x3a\x12\xdf\x4e\xb1\xfd\x1d\xf1\x7f\x47\xfc\xdf\x91\xfa\x80\xfb\x03\xe7\xd8\x7e\x7c\xbf\x56\x72\xbf\x56\xe9\xc9\xfe\xed\x89\xfd\x3d\xa9\x8f\xe8\xfc\x0f\xd2\x69\x07\xea\xbf\xf3\x1e\xe4\x4f\x90\xce\x04\xf4\x8f\xce\xff\xf1\x5e\xf2\xc5\x03\xa8\x6f\xce\x23\x38\xbf\x3e\x38\xb4\xcf\x1a\xc6\x89\x7e\x2d\x91\x6f\xf5\xdf\xf9\xe7\xbc\x83\xfa\xf7\xa2\xe0\xfc\x73\x6e\x60\xff\x38\x8f\x30\x7e\xce\xf1\xfc\x35\x8c\xaf\x73\x2c\x8f\xee\x3f\xce\x99\xfd\x38\xff\x7a\x5f\x01\x71\xc5\xf9\xe7\x1c\xc5\xa7\xf7\x0a\x4b\x38\xb4\x4f\x8d\xcc\x1f\x88\x7e\x01\xfb\x5f\x49\x7c\xe1\xfd\xd9\x39\xce\xff\x5e\x1b\xd0\x9f\x3b\x6f\x71\xfc\xb5\x23\xf2\x3d\xf1\x5f\x8f\xf5\x37\xc1\xf9\x6f\x24\x3e\x86\xfa\x73\xe7\xe8\x7d\xea\xe0\x64\xfd\x1a\xc9\xab\x88\x22\xff\x1c\xef\xb7\xc0\x7e\x15\x41\xef\x63\xce\x61\xfe\x1c\x1c\xe4\x8f\x8a\x44\x94\xbf\x2a\xb0\x3f\xfb\xe0\x58\x3f\x58\x5f\x55\x04\xd6\xcf\xe3\x8a\x06\xf2\xef\x78\x5f\x04\xf1\x77\x4e\xe6\x27\xfe\xd1\x88\xf5\xd7\x88\xfd\xaf\xb0\xbe\x1e\xef\x43\xd0\xbf\x4a\xfc\xa7\xa8\xff\x0b\xe4\x7d\x27\x90\xf7\x97\x70\xbc\x4f\xc0\xfc\x86\xef\x0f\xc1\xaf\x9f\x58\xde\x14\xc7\xc7\x0c\xdc\x8f\x3e\x38\x9e\x3f\x60\xff\x5a\x04\xf7\xe7\x83\x13\xf9\x1a\xf4\xaf\xce\x61\xfd\x75\x4e\xe6\x6f\x29\x87\xf1\xb5\xae\x9c\x1f\xb7\x25\xe9\x58\x00\xcd\x21\x68\xde\x98\x14\x1d\x93\xf3\x92\x61\x19\x2f\x06\x36\xe7\x25\xc7\x65\xbc\xd8\xd8\x7f\xf3\x72\x62\xe4\x1c\xcf\x5f\x2e\x1c\x39\xc7\xf6\x95\x0f\x86\x9c\x97\x02\x93\x73\x6c\x5f\x28\x06\x2e\xe7\xd8\xbe\x72\x63\x9d\x71\xa2\x5f\xf9\x60\xf9\xe6\xe5\x8d\x91\x73\x6c\x5f\x4d\xf2\xab\x7c\xf0\xe4\x9c\xcc\x4f\xf4\xaf\x8b\x85\x2b\xe7\x38\xfe\x0d\x99\xbf\x21\xf2\xe5\x8b\x71\xce\x71\x7c\xca\x0f\xcb\x39\xc7\xf9\x53\x7e\x78\xce\x39\xce\x9f\xf2\xc3\x74\xce\xa1\xfe\xde\x9a\x10\x0e\xf5\x53\xc1\xfa\x69\xf9\xe0\xc9\x38\xd1\x4f\x89\x7e\xe5\xc6\xe4\x9b\x97\x1f\x66\x73\xce\xe4\xb1\xfe\xa4\x3e\x68\x20\xfe\x23\xf5\x41\x03\x5b\x1f\xef\x1f\x25\xfb\x5f\x6b\xe2\xdf\x9a\xe8\x5f\x13\xfd\x1b\xbc\x3f\xb4\x21\xeb\x37\xb8\xbe\x6a\x53\xd2\x6f\x3a\xcf\xcb\xbc\xcf\xeb\xf2\xf1\xb9\xcb\xcf\xcf\x5c\xc6\x39\x5d\x2f\xc3\xfd\x34\xec\xc3\x65\x7d\x7d\xfc\xc4\x65\x5c\x6f\xcb\x65\x1d\xc6\x1f\x7f\x4f\xc3\x9f\x64\xb7\x61\x3f\x0d\x2f\xa2\xd5\xf1\x2d\xcb\xc3\x87\x2b\xaf\xd3\x8a\x3f\x9f\x79\x9d\xd6\xf7\x69\xc3\x63\xd2\xef\xfb\xb8\xcd\xef\xd3\x83\x61\x7f\x41\xba\x2f\xa7\xea\xba\x5e\xe6\xd3\x3c\xa5\xea\xe2\x43\x7d\xf1\x3d\x9d\xa7\x6a\xdf\x86\xf3\x79\x3e\xa5\x5f\xc3\x75\x5e\x5e\xcb\x0b\x7c\xce\xf9\xfd\x31\xd0\xff\x03\x00\x00\xff\xff\xbc\x52\xd6\x26\x8a\x24\x00\x00") func dataDnscryptUpdateTxtBytes() ([]byte, error) { return bindataRead( _dataDnscryptUpdateTxt, "data/dnscrypt/update.txt", ) } func dataDnscryptUpdateTxt() (*asset, error) { bytes, err := dataDnscryptUpdateTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/dnscrypt/update.txt", size: 9354, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x53, 0xf6, 0x9, 0x2, 0x10, 0xee, 0xde, 0x30, 0xd1, 0x24, 0x8d, 0x7f, 0xf4, 0x45, 0xf0, 0x77, 0xad, 0xd, 0xc, 0xa6, 0xf4, 0x1, 0xcc, 0x40, 0x40, 0xa3, 0x89, 0x3c, 0x17, 0x31, 0x36, 0xc}} return a, nil } var _dataFirewallExtraTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x97\xcb\x6e\x9c\xbb\x0d\xc7\xf7\xf3\x14\x03\x64\x6d\x5a\xa4\xa8\x9b\xbb\x2b\x8a\x02\x05\x7a\x56\x3d\x45\x81\xee\xa6\xce\xb4\xc7\xa8\x6f\xb0\x1d\x38\xe9\xd3\x17\x7f\xea\xf2\x51\x39\x8b\x49\xf8\xb3\x24\x7e\x12\xc5\x9b\xbe\x7c\xf9\x72\xfe\xc7\xc3\xf3\xd7\x97\xcf\xf7\xbf\xbd\xfe\xf8\xe3\xe3\xcb\xfd\x7f\xaf\x6f\xe7\x9b\xf3\x9f\x1f\xde\xae\x9f\x97\xc7\xc7\xf3\xf5\xfb\xc7\xdb\xe5\xfc\xf6\xed\xf1\xfa\x7e\xc2\xe4\xbf\x3e\xdc\x5f\x9f\xdf\xaf\x77\xe7\x5f\xfe\xf2\xab\xfd\xe1\xef\xaf\x5f\x2f\x1f\xd7\xaf\x77\x67\x09\xdc\x6e\x38\xdc\x84\xf6\x6b\xe0\x3b\x0e\x77\x21\xfc\x33\xc8\x5d\x08\x36\xed\x4f\x2f\xcf\x97\x8f\xeb\xdd\xf9\xb7\x8f\x8f\xd7\xf7\xbb\xdb\xdb\xcf\xcf\x4f\x7a\xbd\x7c\xbc\x5d\x5f\x9e\xe9\xfe\xe5\xe9\xf6\xfe\xed\xf2\xbf\x1f\x4f\x97\xef\xe7\x3f\xfc\x34\xe5\xc7\xeb\xe5\x91\x9e\xae\x7d\xc2\x67\xdf\xc4\x2f\x2f\x6f\xd7\xf3\xc3\xf3\xbf\x5f\x0e\x7d\xff\x79\xf8\xf8\xed\xdb\xbf\x0e\x55\x37\x4f\x97\xef\xb7\xbf\x3b\xd9\xe9\xc4\x91\xb2\x12\xd7\x4c\x22\x09\x54\x32\x09\x57\x62\x2e\x8b\x1a\x71\x63\x47\xc2\xc1\xa8\x10\xb3\x10\x47\x31\xaa\x24\x31\x11\x4b\x76\x24\xda\xb5\x34\x92\xd8\x28\x37\x07\xd5\x56\xd5\x40\x2c\x94\xd4\x64\xa6\x44\x29\x9a\x58\x89\x15\xca\x2a\x88\x43\xa1\xb8\x83\xf4\x25\x80\x44\x35\x38\x79\x4d\xca\xc4\x29\x7b\x70\x23\x6e\xb9\x7d\x6d\x01\x0e\xee\xc0\xcd\x13\x26\x09\xc1\x93\xb4\x49\x2a\x6e\x19\x40\x3c\x44\x0f\xea\xc0\x69\xd7\xe8\x17\x65\xb7\x25\x2d\x1e\xda\xb6\x75\xa9\xfb\x49\xb6\x83\x49\x4a\x54\x64\xa3\xb8\x91\x9e\x24\x52\xcb\x94\x04\x56\xef\xb2\x84\x8a\x9f\x51\xa1\xcc\xc4\xb1\x0c\xe0\x52\x89\x4b\x1c\x24\xa1\x51\xeb\x43\x8d\x38\x34\x52\x75\x90\x17\x70\xc6\x6f\x92\x19\xd1\x56\x71\xc0\xcd\x0b\x71\x49\x1d\x19\xd7\x45\xdc\xea\x81\xb8\x0c\x3e\x69\xa0\xdc\x88\x4b\x26\xce\x80\x12\x28\x10\x87\x6a\xb2\x02\x73\x34\xb9\xc0\x85\x49\xb4\x4e\x8a\x81\x34\x19\x34\xd2\x3a\x96\xd7\x88\x55\x3a\x65\x96\x42\x89\x27\xa4\x40\x12\x4d\x5b\x4d\xf0\xe1\xae\xb9\x36\xe2\x98\xa8\x2b\x6e\x98\x42\xe1\x66\x89\x92\xd2\xf8\x3b\x2e\x80\xbd\xdc\x1c\x48\xf0\x23\x5d\xf1\xa2\xec\xa9\x1e\x33\x71\xc7\x3b\xe9\x46\x69\xa3\xbc\x51\x99\x84\x5f\x99\x5b\x41\x6c\x77\x8d\x6c\xe1\x1c\xeb\x84\x4a\x7d\x4e\x21\xce\x4c\xc9\x26\xe1\x1e\x94\x64\x8a\x16\xed\x6b\x00\xf1\xa1\xc7\x58\x23\xee\x56\xb5\x45\x19\xfe\x32\x09\x51\xee\x28\x12\xd7\x43\xa5\x52\x54\x4f\xdc\x0e\xc4\x41\xc6\x54\xa1\x78\x8c\xb1\x50\x11\xb8\xdc\x84\x64\x8e\x34\xa8\x99\x6b\x2d\x62\x92\xd6\x21\xc2\x73\xf2\x94\xe1\xc5\x73\x9a\x52\x52\x12\x89\x93\x18\xff\x4f\x10\x51\x8b\xfd\x89\xca\xc4\x3a\x46\x13\xc5\x9e\x9a\x8c\x0a\x62\x88\x63\x9e\x04\xdb\x97\xf1\x89\x6a\xe1\x34\x65\x0e\x91\xca\x01\x79\x19\x16\x21\x82\x28\x4d\x7d\xcf\x92\x89\xa7\x83\x00\x1a\xf5\x63\x4a\x0f\x7f\x2e\xba\x50\x85\x4a\x5e\xd4\x92\xe5\xbf\xc4\xc4\x21\x59\x5c\x23\x78\xd3\x30\x2a\x7e\xcc\x1d\x91\x1b\x89\x4b\x99\x84\x31\xed\x84\xd8\x4b\x54\x75\x42\xab\x48\xe2\x03\xfa\x67\xc6\x44\x26\xc9\x96\x12\x07\x45\x41\x58\x0d\xe0\x9c\x89\xc3\xd0\xa2\x08\x5e\xf3\x6b\x43\x64\xf9\x88\x1b\x4a\x62\xbe\x87\x1a\xc2\x3a\x49\x33\xbc\x63\x40\x32\xb7\x3c\xa0\xca\x02\xf1\x8b\xd2\xa6\xa2\xb0\xb9\x0d\xa8\x52\xce\xd4\x2a\x64\x64\xa9\x8a\x08\x5d\xb2\x04\x27\xf3\x94\xe1\xf2\xd5\x43\x73\x70\x2c\x01\xf8\x35\x22\x1e\xa2\x07\x9d\x50\x32\xc5\xe0\x81\x3d\x88\x87\xe8\x61\x53\x90\x3c\x64\x07\x7a\x1c\xa7\x52\x76\xf2\xb1\x1e\x90\x3c\x6c\xd3\x8a\x87\xea\xa1\x39\xd8\x3e\xa3\x7a\x1c\x14\x21\xbf\x51\xdd\xa8\x79\xf2\x76\x0c\x9b\x21\xc3\x66\xc9\xb0\x99\x52\x37\x9d\xba\xe9\xd4\x4d\xa7\x6e\x3a\x75\xd3\xa9\x3f\xe9\x1c\xf7\x83\x10\x6c\x4a\x3c\x2e\x05\x09\x3c\x06\x0b\x37\x43\xf4\x27\x95\x6a\xd9\xa8\x79\x42\x00\x03\xad\x37\x40\x0e\x75\xc0\x25\x1f\x88\xe2\xd2\xb5\x5a\xfd\x43\x34\xf2\x44\x09\x38\x64\xbf\xa3\x84\x96\xaa\x92\x76\x4d\x39\xf6\x94\xd2\x2d\x80\x16\xae\x31\xa5\x34\x49\xa4\x58\x1d\x9f\x98\x78\x5e\x0e\x42\x91\x03\x2a\xb4\x23\xe1\xb4\x50\x50\x3c\x3b\x15\x6b\xc4\x78\x7c\x11\xe9\x7e\x59\x20\x37\x42\x60\xf5\x78\xe4\x12\xcc\x5a\x63\x5d\xe1\x51\xf1\xc6\x60\xb4\x00\x1d\x5f\x2c\x89\x60\xc8\xd6\x2d\x80\x12\x24\x4a\x93\xaa\xd5\x1e\xe5\x83\x22\x8d\xe3\x83\x5a\xb4\x66\xc2\x10\x66\x83\x7d\x8c\x50\x52\x82\x4e\x07\xae\x4a\x15\x4d\x58\x9b\x84\xbd\x8f\x85\x68\x11\x2c\xc9\x75\xc2\x56\xe0\x9b\x71\x92\x20\xcb\x69\x27\x1c\x73\x9c\xc9\x00\x71\x35\x01\x2d\x49\x3f\xbc\xa0\x00\xb4\x46\xa2\xad\x63\xb3\xf4\xaa\x0b\x52\xa6\xb2\x11\xf7\x70\x32\x2c\x65\x6d\xa5\x13\x87\xe0\x51\xe4\x98\x9b\xe0\x80\xc7\xa8\xa5\xeb\xba\xa1\x1f\x2d\xfb\x28\xfc\x41\xbc\xe6\x7c\x0c\xc2\x44\xc1\x93\xae\x99\x12\xfa\x96\xb2\x12\xec\x48\xc2\xe2\x64\x75\x72\x76\x72\xed\xb2\x35\x4a\x53\x42\x9f\x64\x72\xb2\xc0\x9d\xa2\xc8\x21\xa6\xe8\x64\x3d\xe5\x44\x3d\x6b\x4b\xe4\x01\x82\x7a\xd8\x47\xa0\xc5\x8a\xa0\xa7\x18\x36\xe2\x8d\x64\xa3\xa5\xa5\x55\x73\x47\x50\xb2\xda\x24\x71\x42\x0c\xa8\x38\x1d\xa4\x9f\x66\xc9\x38\x0f\x9c\x4e\x11\x3e\x01\x09\x7b\x11\x23\xaf\x1a\x71\x7f\x3e\x69\xe8\x28\xf6\x97\x58\x3a\xc1\x7f\x9d\x1e\xed\x7d\x92\x2c\x42\xc0\x79\xa8\x0e\x38\xc4\x4e\xc9\x1e\x2d\x65\xa8\xcc\x68\x77\x62\x5f\x65\xbd\x7c\xef\x7b\x3b\xe2\xde\x91\xa0\xfa\x4a\x6c\xd3\xb2\xcd\x20\xed\x1d\x34\x2f\x14\xcb\xda\x93\x93\x15\xe3\xfe\x04\x62\x5c\x15\xd9\x94\xb2\x63\xdb\x30\xee\x93\x23\x2f\xcc\x4c\xe1\xc6\x81\x19\x01\x0d\x5e\xb1\x56\x11\x4f\x8b\x85\x68\xc5\x83\x43\x3b\xd5\xa9\xb7\x30\x99\xac\x9f\x58\x24\x51\xfb\xcb\xb2\xf4\xfe\xcb\xde\x5f\xd9\xb1\xa2\x7c\x4d\xb4\x07\xeb\x31\x2a\x1a\x29\x0e\x5d\x78\xbc\x26\xc6\x03\x00\x09\xbd\xb1\x3d\x56\xb4\x9d\x10\x48\x29\x51\xca\xd8\xff\x92\x6d\xfb\x9d\xac\xfc\x7a\x10\x5c\xa2\xc7\xbc\x63\xdd\x10\xdf\xf7\x28\x0b\x05\x0f\xef\x45\xb0\x46\xcc\x3b\xd6\x0d\x35\xec\x78\x68\x8a\xe3\x65\xed\xd0\x7d\xd6\x70\x9f\x1c\xc7\x09\x32\xe1\xdf\x13\xd2\x29\xea\x4f\xa5\xd2\x16\x04\x41\xd6\x40\x15\x92\x58\x7a\xbf\x89\x93\x1a\xb7\xde\xd2\xe2\xbd\x18\x14\xaf\x31\x6e\x85\xc2\x8d\x03\x18\xd0\x8a\x9d\x95\x45\x26\xc1\x73\xb2\x3f\x85\x31\x28\x13\x10\xfe\x1b\xa8\x87\xec\xa1\x4e\xc0\x4b\x42\xda\x22\x38\xa3\x7d\xad\x23\x8a\xbc\x7a\x92\x6d\x2c\x46\x4f\x1a\xd6\x17\xf0\xa2\xd5\xff\x07\x00\x00\xff\xff\x49\x14\x7c\xb2\x2f\x12\x00\x00") func dataFirewallExtraTxtBytes() ([]byte, error) { return bindataRead( _dataFirewallExtraTxt, "data/firewall/extra.txt", ) } func dataFirewallExtraTxt() (*asset, error) { bytes, err := dataFirewallExtraTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/firewall/extra.txt", size: 4655, mode: os.FileMode(0666), modTime: time.Unix(1570576259, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5b, 0xe0, 0xcb, 0x22, 0xeb, 0xac, 0x1f, 0x61, 0x55, 0xaf, 0x4c, 0x5d, 0x54, 0xbe, 0xaa, 0x86, 0x51, 0x93, 0x53, 0x5a, 0x29, 0xde, 0x24, 0x64, 0x9c, 0x2a, 0xc2, 0x73, 0xf2, 0x47, 0x60, 0x7d}} return a, nil } var _dataFirewallSpyTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\xd6\x4d\x6f\x24\x35\x10\x06\xe0\x7b\xff\x8a\x91\x72\xce\x1b\xbf\x55\xe5\xaf\xe1\x86\x10\x12\x12\x7b\x62\x11\x12\xb7\x21\x19\xd8\x88\x24\x33\x9a\xcc\x6a\x36\xfc\x7a\x54\xee\x2f\x37\x1c\x56\xeb\x67\xda\x76\xdb\xee\xaa\x72\xee\xee\xee\x76\xbf\x3d\xbf\x3d\x9d\x6e\xef\xbf\x9c\x3f\xbe\x7f\x39\x3d\xfe\x7d\xbc\xec\xee\x77\x3f\x3e\x5f\x8e\xb7\xc3\xcb\xcb\xee\xfd\xfc\xb1\xbb\x7c\x7d\x39\xbe\x0f\xde\xf5\xe7\xe7\xc7\xe3\xdb\xfb\x71\xbf\xfb\xf4\xd3\xe7\xf6\xc3\xaf\xe7\xa7\xc3\xf5\xf8\xb4\xdf\x49\x60\xbd\x67\xb8\x0f\xf5\x73\xe0\x9e\x61\x1f\xc2\xef\x41\xf6\x21\xb4\x6e\x3f\x9c\xde\x0e\xd7\xe3\x7e\xf7\xe5\x7a\x3d\xbf\xef\x1f\x1e\x6e\xb7\x1b\xce\x87\xeb\xe5\x78\x7a\xc3\xe3\xe9\xf5\xe1\xf1\x72\xf8\xe7\xe3\xf5\xf0\x6d\xf7\xdd\x7f\xba\x7c\x9c\x0f\x2f\x78\x3d\x8e\x1d\x6e\xe3\x22\x3e\x9d\x2e\xc7\xdd\xf3\xdb\x9f\xa7\x75\xbe\xbf\x9e\xaf\x5f\xbe\xfe\xb1\x4e\x75\xff\x7a\xf8\xf6\xf0\xbf\x7d\x0d\x03\x15\xa9\x40\x09\x56\x6d\x48\x88\x09\x62\x3a\x3d\x29\x82\xe2\xcd\x5c\x40\x0d\x10\x09\x93\x44\x05\x22\x69\x91\x82\xda\x06\x55\x01\xab\x41\x28\x83\x04\x98\xa1\x24\x98\x0e\xa2\xa8\x15\x56\x41\xa1\x83\x41\x60\x90\xa8\x33\x84\xb0\xb1\xad\x60\x11\x50\xd2\x60\xc1\xd7\x20\x22\x6d\x3a\x57\x05\xa3\x22\x65\x47\x0e\x60\x31\x14\x9d\x20\x12\x20\x56\x16\x11\x62\xb5\x29\x43\xa4\xc0\x72\x87\xd2\xa3\xca\x0c\x15\x30\xb0\xa9\xa2\x44\x50\xa2\xa3\x8e\xf3\xb5\xd9\xc8\x08\x85\x30\xcc\x20\x2b\x58\xe2\xc8\x0a\x21\x21\x41\x87\x48\xd0\x02\x2c\x40\x34\x8d\x22\xa8\x60\xb2\x51\x0a\x92\xc8\x3d\x0a\x87\x28\x20\x0d\x09\x96\xba\x76\x9e\xdb\x19\xba\xb4\x55\x90\xba\x76\xff\x7b\xe9\xda\x62\xcb\x60\xf3\x4f\xd1\x61\xf3\x24\x2e\x88\xc8\xa5\x47\xed\xc0\x18\x16\x25\xa8\xf5\x88\x3d\xd6\x25\x67\xa8\xf6\xb0\x0e\x5c\xfb\x95\x02\x09\x3d\x4a\x8f\x65\x0d\xf4\xaf\xd7\x63\xf3\x84\xa1\xd7\xba\xdb\x26\xeb\x15\xd7\x49\xfc\x90\xb8\x91\x6c\xa4\xbd\xf2\x56\xeb\x9c\xb1\x60\x3d\x9b\x26\xd9\x48\x7b\x55\x6e\xb4\xe9\xc9\x30\x52\xfd\x40\x3c\x95\xf2\x42\x26\x8f\x77\x57\x8c\x60\xf6\x68\x1d\x0f\x3d\x7a\xf0\xda\x7c\xea\xd1\x47\x16\x0f\xa9\xc6\x64\x10\x0b\xf3\x57\x98\x14\xeb\x2a\x8f\xd8\x71\x1e\xcf\xb0\x52\xe7\x97\xe4\x80\xa2\xe0\xd8\x33\x1b\x3c\x13\xa7\xb8\xcc\x05\x5a\xc0\xc8\x59\xb4\xec\xf3\x2e\x8c\x6c\x59\x3b\xd3\xff\x2d\x23\x45\x74\x3e\x55\x9f\xdf\xf7\x3d\x1e\xab\x48\x85\x7a\x92\xb7\x81\xa2\xa1\x25\x61\x09\xa3\x12\xcc\xff\xab\x8b\x14\x12\x64\x48\x11\x3e\x53\x08\xc8\x5d\xbb\x76\x6d\xb2\x7f\xb0\x41\x3f\xbc\x6a\x0f\x9b\x91\x88\x34\x22\x42\x2a\x44\xcb\x04\x33\x44\x76\x6d\x5b\xdb\x0c\xa5\x47\x9d\xe0\xbb\x95\x30\x81\x5e\x0d\xd8\x43\x7a\xe8\x8c\x9c\x50\xe7\x31\x12\xc5\xa3\x7a\x45\xea\x91\xfb\x6e\x99\x3d\xa4\x43\xed\xc7\x70\x33\x77\x3b\xcf\x34\xd6\x34\xf3\xf4\xe4\xc0\x60\x68\x11\x92\x3d\xf6\x9b\x7c\x75\x19\x29\xad\xf2\xba\xb7\xc8\x6b\x9e\x2c\x5d\xbd\xc2\xc6\x8d\xfc\x25\x33\x35\x7b\xd0\x8d\xf4\x8d\x83\x35\xce\x12\x0f\x0c\x4e\x7d\x13\x3c\xa0\x38\x43\x8b\x7f\x14\xb6\xfc\x08\xf0\x5a\xb2\x22\x78\x79\x9f\x25\x94\xf1\x42\x6b\x36\x68\x84\x98\x0d\x54\xfa\xf5\x83\xd4\xfa\x2e\x60\xd0\x45\x9e\x32\xfe\xcc\x5a\x22\xf8\xf5\xe7\xeb\xee\xa9\x5b\xda\x86\x7e\x20\x13\x5b\x4e\xae\x14\x8d\x9e\x0c\x9e\xb4\x31\x79\xed\x95\x18\x66\x55\xb6\xad\x8c\x60\x48\x7e\xc7\x6d\x19\xb7\xac\x0b\xa9\xad\x56\xcc\x14\xa2\x7b\x28\xd6\x36\x3a\xc9\x6a\xff\x4e\xbf\xb0\xb3\x6c\xa4\x1b\xd9\xc0\x54\x90\xfc\x46\xf5\x6b\x6c\x16\x2d\x41\xe2\xaa\x0a\x7f\xfd\xa4\xdc\x22\xb0\xc9\xd3\xdc\x63\x69\x94\xb6\xf4\x4a\x5c\xd5\xfe\x80\x18\x58\xd9\xb2\xda\x4b\x5b\x09\x13\x33\x84\xa5\xe5\xfc\xe8\x8a\xe8\xd7\x7e\x2f\x3f\xae\x59\x2d\x75\x57\x9a\xd7\x60\x0f\xdc\xe4\xd5\xc7\x17\x6b\xff\x06\x00\x00\xff\xff\xbd\x8e\xea\x02\xe1\x09\x00\x00") func dataFirewallSpyTxtBytes() ([]byte, error) { return bindataRead( _dataFirewallSpyTxt, "data/firewall/spy.txt", ) } func dataFirewallSpyTxt() (*asset, error) { bytes, err := dataFirewallSpyTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/firewall/spy.txt", size: 2529, mode: os.FileMode(0666), modTime: time.Unix(1570576267, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf0, 0x81, 0xab, 0xed, 0xbb, 0xe0, 0x5e, 0xdc, 0xc2, 0x6, 0x73, 0x3e, 0xc6, 0xbf, 0x95, 0x83, 0x8c, 0xd2, 0xe6, 0x21, 0x70, 0x13, 0xc1, 0x63, 0x6c, 0xd5, 0x40, 0xbb, 0xf7, 0xb2, 0x24, 0x6e}} return a, nil } var _dataFirewallUpdateTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\xd7\x4d\x6f\x6b\x27\x13\x00\xe0\xbd\x7f\x85\xa5\xac\x33\x61\x3e\x80\xc1\xef\xee\x55\x55\xa9\x52\xef\xaa\xb7\xaa\xd4\x9d\x9b\xb8\xbd\x51\x93\xd8\x72\x1c\xf9\xa6\xbf\xbe\x1a\x38\x07\x06\x57\xca\x82\x27\xc0\x9c\x81\x73\xf8\xf0\xdd\xdd\xdd\xf6\xb7\xe7\xb7\xa7\xe3\xf5\xfd\x97\xd3\xe7\xff\x5f\x8e\x8f\x7f\x1f\xce\xdb\xfb\xed\x8f\xcf\xe7\xc3\x75\xff\xf2\xb2\xfd\x38\x3d\xed\x2f\x87\xed\xf9\xe3\xe5\xf0\xbe\xb1\xd6\x3f\x3f\x3f\x1e\xde\xde\x0f\xbb\xed\x97\x9f\xbe\xd6\x7f\xfc\x5a\x5b\x3c\xed\xb6\x14\xb0\xdc\x63\xb8\x0f\xe5\x6b\xc0\x1d\x86\x5d\x08\xbf\x07\xda\x85\x50\x9b\xfd\x70\x7c\xdb\x5f\x0e\xbb\xed\xb7\xcb\xe5\xf4\xbe\x7b\x78\xb8\x5e\xaf\x70\xda\x5f\xce\x87\xe3\x1b\x3c\x1e\x5f\x1f\x1e\xcf\xfb\x7f\x3e\x5f\xf7\xdf\xb7\xff\xbb\x69\xf2\x79\xda\xbf\xc0\xeb\xa1\x35\xb8\xb6\x24\xbe\x1c\xcf\x87\xed\xf3\xdb\x9f\xc7\x11\xef\xaf\xe7\xcb\xb7\x8f\x3f\x46\xa8\xfb\xd7\xfd\xf7\x87\xff\x0c\x6d\xb3\x41\x86\xa4\xa0\x19\x24\x8f\x32\xe6\xb8\x42\x01\xa9\x2c\x28\x0c\x18\x2a\xb2\x00\xe6\x02\x88\xb5\x53\x56\xc0\xa4\x40\x1c\x56\xe5\x0c\x28\xd2\x55\x00\x4b\x59\xa5\x01\x62\x70\x28\x03\x02\xa3\x93\x0a\xa0\xa6\xae\x04\x14\x47\x5d\x86\xa8\x0b\x88\x03\x20\xd7\x2a\x65\x40\x51\x20\x54\x2f\x8e\x5d\x05\x7c\x39\xd5\xe4\x35\xd6\x41\xd6\x27\x69\x02\x24\x1b\x9a\x78\xe9\xa4\x82\xa6\x42\x40\x88\x80\x54\x93\xc7\x90\x41\x96\x51\x2d\x65\x1a\xe5\x25\x71\x03\x49\x02\x0c\x5e\x56\x49\x01\x38\x59\xda\x90\xd8\x21\x87\x15\x44\xc0\x65\x45\x24\x40\xae\x55\x82\xf6\x47\xb5\x8f\x10\x90\x00\x95\x51\x8e\xad\x8d\x40\xb6\x27\x8d\xb2\x44\x57\x6e\xed\x23\x98\x7a\x11\xb3\x5a\x19\x35\xda\xfb\x06\x0a\xba\x21\xcb\x98\x01\xb5\x00\x52\x9c\x99\x26\xc6\x3c\x53\x37\x12\x20\x59\x0a\x0a\x18\x64\x55\x44\x40\xa6\x49\xa3\x8e\x80\x42\xea\x62\x20\x29\x5d\x02\x9c\x1c\x4a\xee\x88\xf5\x2b\x33\x15\x20\x4c\x90\xd9\xc1\xbe\xe2\x21\x8a\xd8\xa5\x90\xa8\xc3\xbe\xd4\xbc\xca\xe6\x23\x75\xd8\x4c\xf7\x18\x44\x75\x29\xac\x62\x60\x0f\x2c\x75\xd4\x36\xf1\x24\xe0\xcb\x88\x1e\x12\x9d\xec\x4b\x58\x95\x00\xd9\x43\xd1\x89\x5a\x52\x5d\x79\x92\x4e\x2a\x5e\x31\x74\x15\x97\x55\x81\xe2\xca\x48\x1e\xec\x91\x1c\x08\x3d\x7c\x1f\x12\x8f\xa9\x4f\xf6\xf0\x0f\x65\x9f\x19\xfb\x68\x1c\x3d\x7c\xd2\xe2\x9f\x23\xbe\xd9\x34\xce\xe8\x87\x90\x7c\xe8\xe4\xfb\x24\x9f\x5b\xf2\xb9\x65\x1f\x2d\xfb\x61\x67\x9f\x41\xf6\x23\xd5\x69\xa6\x7d\x1f\xf5\x19\xa8\x1f\x0f\xe2\x24\x9a\xa6\x9e\xa6\x3a\x9e\xea\xc4\xc7\x5f\x96\x40\xb6\xe1\x41\xd6\x51\x5e\x03\x56\xd0\x32\xad\x0b\xf2\x8a\x04\x58\x64\x80\x42\x0f\x66\x87\x42\x5a\x90\xc3\xba\xae\x0b\x42\x66\x5b\x36\x2b\x22\xc4\xa5\x68\x7f\xb2\x94\xd1\x76\x93\x92\xba\xc8\x5e\x9e\xed\x63\x09\x01\x63\xfd\xa0\xab\x72\x5d\x58\x4a\x5e\x28\x79\x90\x01\x39\x36\xda\x54\x02\x32\x76\x31\x70\x2f\x67\x10\x5a\x81\xc4\x20\x5a\x95\x6d\xb0\x90\x4b\x83\x02\x16\x8b\xdf\x1e\xae\x0c\xd2\x06\xb9\x08\xd1\x8e\xae\x16\xdf\x0e\xa3\xba\xef\xa6\xc1\x58\x37\xa9\xca\x0c\x29\xd8\x8e\xde\xa4\x90\x09\x88\x6b\x36\x6d\x29\x07\x40\x94\xc6\x02\x68\xd3\xd7\xe2\xae\x24\x72\xb5\x08\x9a\xbc\x28\xd0\x20\xd9\x83\x07\xeb\x8e\xef\x84\x99\xa6\xca\x35\x89\x52\xc7\xde\x06\x6e\x07\x66\xdd\x11\xf3\xa4\x38\x68\x6f\x2b\x8e\xb6\x64\xc7\x9d\x17\xa6\xa5\xad\x85\x8e\x50\xda\x43\x44\xa1\x24\x68\x33\x44\x62\xfb\x00\x60\xc0\x4d\x12\x3b\x02\xb3\x2d\xca\x14\xc1\x26\x28\xa8\x65\x3d\xc0\xec\x10\x7d\x4d\xf1\x7d\x0a\x39\x60\xe4\x49\xe2\xa5\xb1\x2a\x02\xb2\x42\xb8\x1f\x65\x8a\xbd\x26\xb1\xad\x58\x07\x75\xd0\xe0\x41\x0e\xc5\xd7\x14\x74\xb0\x45\xe0\x44\x61\xd2\xd4\x92\xd6\x88\x64\x27\xb5\xe5\x9e\x00\xed\xe8\x11\xa9\xef\x61\xa2\x4e\xd4\x32\xd1\xee\x4e\x41\xec\xd4\xb6\x2b\x97\xbd\x6e\x44\x6c\x67\x95\x6d\x28\x5e\x12\xa6\x3a\xbb\x31\x0d\x52\xe4\x99\x76\x63\xc1\x7a\xf6\x32\xb7\x8b\x4d\x17\x85\x1b\xf2\x44\xdf\x55\x96\x3b\xa1\xe3\x4d\x6d\x9e\x28\x3c\x33\xcd\xbc\x69\x5c\x26\xd6\x1b\x97\xa3\xdd\xf4\xa4\xae\x2e\xbb\x5c\x68\x9e\xa9\x13\xeb\x15\xb4\xb3\x3d\xd7\x31\xcf\x74\x7d\x19\xea\xe5\xb8\x8b\x5d\x20\xfb\xf4\x1c\x7c\x46\x88\xf6\xfa\x67\xa6\x89\x29\xcc\xa4\x41\xdb\xb1\x5d\x0e\xcd\x65\x76\xc4\x1b\xdb\xc4\x66\xdb\x3c\x21\x91\xad\x24\x8c\xb9\x2d\x0a\x7b\x81\xb2\x92\x24\x80\x16\x2f\xbb\xdd\x39\xda\x67\x5d\x99\xec\xbc\x41\xd6\x49\xc5\x4b\xa6\x96\x82\x93\xa6\x7e\xd2\xfb\x95\x04\x51\x3c\xd4\xc1\x0e\x30\xa7\x98\x37\x58\xb0\x6e\x42\xf6\x8b\x82\x27\xa9\x97\xcd\xa5\x13\x75\x21\x17\x98\x85\x7a\x53\xeb\xe2\x36\xcb\x62\xb1\x4d\x1e\x95\x67\xa6\x99\x3a\xb1\xd8\x85\x3c\x83\xfd\x04\x40\xb1\x1c\x9d\x12\xfe\x1b\x00\x00\xff\xff\xef\xc7\x79\x74\x7b\x0e\x00\x00") func dataFirewallUpdateTxtBytes() ([]byte, error) { return bindataRead( _dataFirewallUpdateTxt, "data/firewall/update.txt", ) } func dataFirewallUpdateTxt() (*asset, error) { bytes, err := dataFirewallUpdateTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/firewall/update.txt", size: 3707, mode: os.FileMode(0666), modTime: time.Unix(1570576275, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf7, 0xf7, 0xa0, 0xb5, 0x85, 0x8c, 0x55, 0xe7, 0xbd, 0x4f, 0x6d, 0xa, 0x62, 0x1e, 0xa, 0xde, 0xc4, 0x89, 0xfb, 0xb2, 0xe9, 0xf8, 0x62, 0xb0, 0x12, 0xe4, 0x3, 0x6f, 0x49, 0x1d, 0x9f, 0x5}} return a, nil } var _dataHostsExtraTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x59\xcf\x6f\xa4\xb8\x12\xbe\xcf\x5f\xd1\xd2\x9c\x71\x80\x4e\x32\x93\xbc\xdb\xd3\x3b\xbc\x95\x76\x4e\x3b\xab\x95\xf6\x56\x6d\x17\xe0\x6d\x6c\x33\x2e\xd3\x74\xe7\xaf\x5f\x61\xfa\x47\x68\x30\x09\x56\x2e\x11\xf5\x7d\xe5\xa2\xea\x73\x19\x57\x7f\xfd\xfa\x75\xf3\x97\xd4\xc2\x74\xf4\x47\x73\xfa\x6f\x6d\xf8\x1e\xed\x26\xd9\xfc\xdf\x90\xa3\x0d\x1e\x9d\x85\x8d\x6d\x6b\xa4\x2f\x3d\xf2\x77\xc9\x51\x13\xbe\x6e\x7e\xfc\xf6\xd3\x3f\xf8\xb3\x11\xe0\x50\xbc\x6e\xf2\x34\x7b\x49\xb2\x34\x49\x5f\x7e\xa6\xd9\x6b\x96\xbe\xa6\xe9\xdf\x69\xfe\x9a\xa6\x1e\xf6\x3f\xa3\xc1\xe1\xeb\xa6\x72\xae\xa1\xd7\x87\x87\xae\xeb\x58\x03\xce\xa2\xd1\x8c\x1b\xf5\xc0\x2d\xbc\x9d\x14\x1c\x37\xff\xb9\x83\x9c\x1a\xa8\x99\xc2\x01\xd0\x0d\x41\xfc\x30\x16\x37\x52\x17\xe6\xe6\xaf\x94\xae\x6a\x77\x37\x57\x89\x82\xe3\xc3\xe4\xb5\xbe\x7c\x49\x99\xff\xdb\x40\x92\xa6\x69\xc6\x20\x51\x84\xa2\x44\xa6\xd1\xdd\xdb\x04\x0f\x1a\xf3\x05\xe2\x76\xd1\xb6\xe0\xf4\x71\x81\xf8\xb4\x60\x7b\x5e\xb0\x7d\x5b\xb0\x7d\x5f\xb0\xbd\x84\x6d\x59\xba\x60\x5b\xc8\x68\x16\x4c\xda\xdc\x43\xee\xe4\x01\x9c\x34\x9a\x51\x4d\x4c\x49\x6e\x0d\x99\xc2\xf5\x05\x9e\x01\x25\x87\x7c\x09\xa7\xb6\x0d\x34\x7d\xd5\xc8\x19\x0b\x25\xb2\x5a\x1e\x70\x0c\xd1\xd4\xa1\x0d\x3a\x68\x24\xdb\x49\x5d\x4e\x1e\x1a\x8d\xc2\x4e\x7c\x35\x0d\x1e\x13\x5b\x30\x45\xfa\xde\x40\x8c\xf6\xa7\xe6\x0e\x6f\xf9\x14\x7a\x7b\xc6\x34\x81\xe3\xe3\xec\x58\x62\xa4\xc0\x3a\xe2\x16\x51\x87\xa2\x6e\x5d\xc5\xca\xe2\xc8\x14\xdd\x9e\xbd\x6d\x9f\xb3\xef\xd9\x33\x3b\x18\xa6\x08\xb9\x16\x63\xc7\x6f\x4f\x59\xbe\xdd\x3e\x06\xcc\x7d\x0e\x0a\x63\x77\x2d\x49\x8d\x44\xa3\xd5\x76\xb5\xd9\xb1\x0e\xc1\x55\x68\x03\x01\xf1\xa5\x7d\xc5\xb3\x10\x0b\xb4\x38\x71\xdb\x52\x45\x46\x00\xdb\xdf\xd7\x81\x8b\x3e\x4d\xda\xa1\x76\xac\xb1\x46\x30\xae\x68\x92\xcf\x1e\x64\x34\x6a\xe3\xee\x56\xc5\x96\x3a\x70\x1c\x76\x69\xc6\xfc\x2b\x70\x63\x91\x75\x43\xe3\x18\x43\x2b\xe4\x7b\x5f\x5b\xe4\xa1\x50\x2b\x23\x39\xae\x30\xce\xd4\x96\xd7\x12\xb5\x4b\x4c\x51\x48\x8e\xdb\xe7\xa7\xc4\x41\xff\x3a\xd3\x7c\x0d\x38\x62\x25\x38\xec\xe0\xc4\x14\x12\xa1\x2e\xd1\x4e\xd5\x3d\x60\xb9\xd1\x85\x2c\x59\x03\x44\x8d\xb1\x6e\xec\xcd\x2c\x6d\xa0\x33\xd3\xc7\x30\xd5\xef\xd9\xea\x10\x54\xd0\x81\xad\x43\x96\x53\xce\x08\x9d\x93\xba\x24\x26\xc0\xc1\x5d\x82\x60\x0f\x42\x8f\x0b\x21\xf0\xc0\x0e\xd2\xba\x16\x6a\x04\xeb\xaa\x7b\x63\x9f\x65\xaf\xfd\xe3\xce\x1c\x27\xb9\x10\x4a\x30\x85\x0e\x08\x6d\x8f\x0c\x45\xbc\x0c\x9b\x0d\x4b\xf7\x75\x2a\x9c\xe6\x24\x47\xae\x90\x6b\xb6\x18\x33\xb6\xd6\x34\xf8\x7e\x47\x27\x5e\xc8\xf3\x91\xe1\xc1\xec\x31\x39\x2b\xf4\x12\x5e\x48\x25\x05\xa2\xd8\x01\xdf\xdf\x7c\x25\x95\xa9\xd4\xc8\xe1\x15\x43\x08\x96\x57\x81\x65\xaf\xa8\xcb\xde\x18\x19\xa5\x06\xcd\x91\x5d\xb3\xe5\xf7\xc9\xb4\x67\x16\xc6\x08\xd0\x42\x58\xa9\xf7\xcc\xc9\x1a\x83\x40\x9b\x14\x96\x05\x3b\x69\x11\x2a\x5b\x39\x75\x55\x4e\xf7\x43\x59\x9b\x1d\xd4\x8c\x40\x4d\x3c\xcb\xec\xf6\x12\x64\xb8\x84\x90\x70\x25\xf2\x43\x2d\xc9\x85\xcc\xaa\x64\xe4\x76\x8c\x92\xc9\x0a\xaa\xf4\xe5\x4d\xb8\xa2\xc4\xba\xe4\x56\x99\xb3\xb0\x14\xc8\x37\x1c\x37\xde\x9e\xe3\x3d\x2d\x61\x74\x81\x16\xfb\x2a\xd4\x86\x0f\x47\xa7\x7f\xf1\x31\x86\xa4\x40\x7b\x7e\xc3\x50\xe8\xcd\xe1\x91\xd5\xa6\x94\x7a\x9a\xb9\xda\x7f\xfe\xf5\x29\x56\x4d\x80\x7e\x59\x3d\xb9\x06\x94\x74\x48\xae\x25\xc6\x6b\xd3\x0a\x68\x9a\x51\x48\xa1\x85\xfc\xe3\xeb\x0a\x46\xd7\x52\xcf\x22\x08\xce\x9b\xf1\x79\xea\xb6\xef\xfa\x8a\x7c\x2f\x78\x6f\x53\xa0\xfb\x8f\x00\x81\x07\x8e\xda\x05\x8f\x2b\x65\xcd\xd0\x4d\x54\x69\xd9\xd0\x8f\xfd\x09\x3e\x89\x55\x41\x43\xb3\xdb\x42\xb1\xca\x38\x05\xb2\x1e\x3f\x45\x21\xc1\xa2\x90\x16\x79\x48\x3e\x8a\xa0\x3f\xb9\xa7\x4b\xcd\x35\x18\x0d\x87\x4f\x7c\x0e\x68\x3c\xba\xe4\xfd\x06\x0d\xed\x21\xc3\x0d\xbd\x3b\x7f\x28\x9f\xed\x2c\x03\xc0\x67\x78\xde\xcb\xbc\xdd\x1f\x22\xd4\x4a\x37\xeb\xcd\x9f\x53\x21\x87\xfa\x62\xa7\xf1\x37\xcd\xe5\x23\x8c\xd7\x2d\xef\x37\xd6\x4e\xe7\xfe\x3b\x63\xf9\x38\x9f\x67\xe5\x51\xac\x6d\x14\xeb\x31\x8a\xf5\x14\xc5\x7a\x8e\x62\x7d\x8b\x62\x7d\x8f\x62\xbd\xc4\xb0\xb2\x34\x8a\x15\xa5\x8d\x2c\x4a\x1b\x59\x94\x36\xb2\x28\x6d\x64\x51\x55\xce\xa2\xaa\x9c\x45\x55\x39\x8b\xaa\x72\x1e\x55\xe5\x3c\xaa\xca\x79\x54\x95\xf3\xa8\x2a\xe7\x51\x55\xce\xa3\x3a\x40\x1e\xa5\x8d\x3c\x4a\x1b\x79\x94\x36\xf2\x28\x6d\x6c\xd7\x6a\x43\xa8\x98\xd3\x61\x60\xad\xd5\xc6\xc0\x5a\xab\x8d\x81\xb5\x56\x1b\x03\x6b\xad\x36\x06\xd6\x5a\x6d\x0c\xac\xb5\xda\x18\x58\x6b\xb5\x31\xb0\xd6\x6a\xc3\xb3\x56\xf7\xf9\x81\x15\x55\xe5\xd5\x7d\x7e\x60\x45\x55\x39\x8b\xaa\xf2\xea\xd3\x61\x60\x45\x55\x79\xf5\xe9\x30\xb0\xa2\xaa\xbc\xfa\x74\x18\x58\x51\xda\x58\xdd\xe7\x07\x56\x54\x95\x57\xf7\xf9\x81\x15\x55\xe5\xd5\x7d\x7e\x60\x45\x55\x79\x75\x9f\xf7\xac\x8f\xfb\x7c\xe3\x40\x1b\xfd\x11\xca\x4d\x87\x09\xa6\x75\xb5\x31\x7b\x76\xbd\xf2\x8c\xac\x8d\x93\x7e\x6c\x1c\xba\x2d\x37\xad\xe5\x15\x10\x86\x2f\xc4\xbf\x5a\xb4\xa7\xdb\x68\xd2\x86\x2e\x38\x36\x4f\xa9\xfb\x27\xdb\xaa\xd0\x85\xd4\x62\x29\xa9\xbf\xaf\x72\xd1\xf0\xd0\xed\xcd\xca\xfe\x72\x27\x99\xec\xff\x99\x87\x7c\x6a\x66\x48\x29\xcb\x95\xd0\xa3\xec\xf5\x57\xc1\xf3\xb4\x6f\x3a\x06\xbc\x4c\x8f\xee\xb2\x7b\x99\x35\x2c\x8f\x86\x17\x46\x80\x13\x4c\x42\x54\xcf\xcf\xf6\xae\x88\x4e\xea\x45\x4f\x45\x6f\x5c\x9e\x82\x50\x05\xc1\x9a\x93\x03\x27\xf9\x4c\x7e\x42\x3f\x2f\x78\x01\x25\x52\x41\x19\x1c\x38\x8e\x20\x94\x2c\x80\x38\x38\xa8\x4d\x69\xf1\x70\x99\xf3\xf8\xc7\xbf\x5a\xa8\xa5\x3b\x2d\xb9\xef\xef\xde\x85\x60\x82\x8e\x61\xb5\x52\xdb\xf8\xe9\xf0\xbc\xd5\xa5\xac\xcf\x3e\xec\x99\x38\x69\x50\x92\xfb\x29\x1e\x85\x67\x9b\x37\xc2\x47\x40\xd6\x06\x7f\x7f\xe9\xa9\xc9\xe7\x84\xe4\xa4\xc2\xd9\x59\x8c\xdb\xe7\xac\xa9\xdd\x44\x9f\x6d\x55\x04\x5c\xb5\x72\x46\xe5\xe1\x20\xdb\x4f\xfd\x28\x73\x80\x5a\x8a\x8f\x7e\xd8\xba\x81\x96\x7f\xd8\x3a\xa0\xa5\xde\x53\x75\xda\x59\x29\xfc\xb6\xaf\xd0\x8e\x03\xee\x18\x34\x8d\xc5\xe6\x13\xb1\x75\x50\xd7\x18\xaa\x7c\x27\x78\x48\x32\xbd\x09\xea\x20\x51\xea\x2c\x4d\x5c\x2f\xa9\xe9\x14\xa9\x23\x6e\xb4\x5b\x9a\x46\x05\x11\x81\x49\xd2\x80\xcf\x3f\x76\x99\x2d\x42\xba\xce\x0f\xf3\xb9\xd1\x1a\xb9\x73\x48\xf3\xf6\xc9\x2c\xae\x37\x5c\x67\xf3\xbe\x21\xbe\xb7\x1e\x17\x44\x7e\x54\xf5\xdd\xd4\xf5\xdf\x00\x00\x00\xff\xff\xff\x4e\xed\x44\x9a\x1f\x00\x00") func dataHostsExtraTxtBytes() ([]byte, error) { return bindataRead( _dataHostsExtraTxt, "data/hosts/extra.txt", ) } func dataHostsExtraTxt() (*asset, error) { bytes, err := dataHostsExtraTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/hosts/extra.txt", size: 8090, mode: os.FileMode(0666), modTime: time.Unix(1570576281, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x91, 0x27, 0x15, 0xba, 0x5f, 0xaa, 0x41, 0x51, 0xae, 0xec, 0xce, 0x24, 0xf6, 0x35, 0xa7, 0xad, 0x40, 0x7c, 0x96, 0xb6, 0x5a, 0x43, 0xe4, 0x9d, 0xfa, 0x4a, 0x65, 0xa5, 0xf5, 0x2b, 0x14, 0xfc}} return a, nil } var _dataHostsExtra_v6Txt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\xc1\x8e\xe3\xbc\x0d\xbe\xef\x53\x04\xd8\xb3\x35\xb6\x33\x33\xff\x4e\x7a\x2b\x7a\xe8\x02\x5d\xa0\x40\xb7\x28\xd0\x1b\x23\xd1\xb6\x1a\x4b\xf2\x8a\x72\x9c\xcc\xd3\x17\x92\x13\xc7\x4e\xe4\xec\xaf\x5b\x42\xf2\xa3\x28\x7e\x14\x65\xf1\xeb\xd7\xaf\x9b\xff\x48\x2d\xcc\x40\xff\xea\xce\x7f\x6d\x0d\x3f\xa0\xdd\x64\x9b\xbf\x1b\x72\xb4\xf9\xfe\xcf\xe3\xfb\x06\x4f\xce\xc2\xc6\xf6\x2d\xd2\x17\x6f\xfe\x0f\xc9\x51\x13\xee\x36\x3f\xbe\xff\x0c\x82\x7f\x77\x02\x1c\x8a\xdd\xa6\xcc\x8b\x8f\xac\xc8\xb3\xfc\xe3\x67\x5e\xec\x8a\x7c\x97\xe7\xff\xcd\xcb\x5d\x9e\x07\xb3\xbf\x19\x0d\x0e\x77\x9b\xc6\xb9\x8e\x76\x2f\x2f\xc3\x30\xb0\x0e\x9c\x45\xa3\x19\x37\xea\x85\x5b\xf8\x3c\x2b\x38\x6d\xfe\x72\x67\x72\xee\xa0\x65\x0a\x47\x83\x61\x0c\xe2\x87\xb1\xb8\x91\xba\x32\x37\x7f\xb5\x74\x4d\xbf\xbf\xb9\xca\x14\x9c\x5e\x1e\xf6\xf6\xe5\xcb\x6e\xb7\x81\x2c\xcf\xf3\x82\x41\xa6\x08\x45\x8d\x4c\xa3\x9b\x89\x05\x8f\xc9\xcb\xb8\xf9\x76\x4d\x1c\xf7\xf2\x1a\x37\x7f\x8b\x8b\xdf\xe3\xe2\x3f\xe2\xe2\x6f\x71\xf1\x47\x54\x5c\xe4\x71\x71\x3c\x2b\x45\x6c\xf7\x77\xff\xb9\x93\x47\x70\xd2\x68\x46\x2d\x31\x25\xb9\x35\x64\x2a\xe7\x09\x59\xea\xb3\x63\xb9\x62\xa2\xb6\x1d\x74\x3e\xd5\xe4\x8c\x85\x1a\x59\x2b\x8f\x38\x69\x35\x0d\x68\x63\xb0\x4e\xb2\xbd\xd4\xf5\xfc\xbf\xd1\x28\xec\x1c\xdc\x75\x78\xca\x6c\xc5\x14\xe9\x99\x8c\x18\x1d\xce\xdd\xcd\xca\xf2\x85\xc1\xed\x2f\xd3\x04\x8e\x4f\x7b\xb5\xc4\x48\x81\x75\xc4\x2d\xa2\x8e\x84\xd4\xbb\x86\xd5\xd5\x89\x29\x0a\x7f\x3f\xb7\xef\xc5\xb7\xe2\x9d\x1d\x0d\x53\x84\x5c\x8b\xc9\xd3\xe7\x5b\x51\x6e\xb7\xaf\x8f\x1a\xbf\xa3\xca\xd8\x7d\x4f\x52\x23\xd1\xd5\xf3\xbe\x35\x7b\x36\x20\xb8\x06\xed\xe3\xba\x7c\xa5\x82\x79\x11\xb1\x05\x2d\xce\xdc\xf6\xd4\x90\x11\xc0\x0e\xb3\x0c\x72\xe1\x37\xad\x1d\x6a\xc7\x3a\x6b\x04\xe3\x8a\xe6\x89\xf1\x7a\xa3\x51\x1b\x77\x5b\x01\x7b\x1a\xc0\x71\xd8\xe7\x05\x0b\x41\x72\x63\x91\x0d\xe3\xf9\x9b\xac\x1a\xe4\x87\xc0\x05\xf2\x48\x44\x8d\x91\x1c\xff\x9c\x7c\x49\x08\x6f\x25\x6a\x97\x99\xaa\x92\x1c\xb7\xef\x6f\x99\x03\x1f\xf0\x22\x05\xa3\x09\xb1\x1a\x1c\x0e\x70\x66\x0a\x89\x50\xd7\x68\x17\x55\x36\x9a\x71\xa3\x2b\x59\xb3\x0e\x88\x3a\x63\xdd\xe4\xc3\xac\x54\xee\xc5\x3e\xac\xb7\xa8\xa8\x8b\xc2\x21\xa8\x18\xcc\xb6\x11\xe1\xb9\x64\x84\xce\x49\x5d\x13\x13\xe0\xe0\x6e\xe3\x70\x00\xa1\xa7\x8c\x0a\x3c\xb2\xa3\xb4\xae\x87\x16\xc1\xba\x66\x26\xf7\x39\x0b\x85\x78\xda\x9b\xd3\x7c\x8f\x42\x09\xa6\xd0\x01\xa1\xf5\x46\x91\xc0\x9e\x5b\xdc\x87\xa0\x7d\xae\x2b\xa7\x39\xc9\xab\x03\xe4\x9a\xad\x85\x86\xbd\x35\x1d\xce\x0f\x50\x16\x8a\xec\x21\x0a\x3c\x9a\x03\x66\x97\x12\xba\x86\x12\xa1\xb6\x42\x14\x7b\xe0\x87\x9b\x87\xac\x31\x8d\xba\xba\x99\xd4\x84\x60\x79\xf3\xb8\xce\x64\x70\xad\xd6\xab\x5c\x6a\xd0\x1c\xd9\x94\x85\x50\xb9\x8b\x5e\x53\x19\x23\x40\x0b\x61\xa5\x3e\x30\x27\x5b\x8c\xd9\xd8\xac\xb2\x2c\xd6\x81\xaa\x48\xea\xeb\x05\xb6\x5e\x14\x67\xdd\x9a\x3d\xb4\x8c\x40\xcd\xbd\xc8\xe2\x16\x21\x19\x2e\x21\x52\x54\x12\xf9\xb1\x95\xe4\x22\x1a\x55\x33\x72\x7b\x46\xd9\xdc\xa5\xaa\x03\x27\x19\x57\x94\x59\x97\xdd\x12\x7b\xa1\x5f\x81\xfc\xc4\xa9\x57\x79\xf3\x80\x5f\x51\xeb\x0a\x2d\xfa\x4c\xb6\x86\x8f\x57\x44\xd8\xd5\xa4\x26\x29\xd0\x5e\xf6\x10\x89\xb0\x3b\xbe\xb2\xd6\xd4\x52\x2f\x92\xd1\x86\xef\x10\x9f\x2b\xd5\x3d\x82\xae\x2b\x65\xd3\xe2\xd9\x80\xe4\x7a\x62\xbc\x35\xbd\x80\xae\xbb\x2e\x1f\xf1\x1c\x24\x93\x4b\xa3\x5b\xa9\xef\x95\x04\x97\x53\xf0\xbe\xf0\xe3\x3b\xa3\xa2\x70\xea\x2e\x62\x05\xda\xdf\x64\x02\x8f\x1c\xb5\x8b\x35\x6d\x65\xcd\x78\x5a\x55\x6d\xd9\xd8\xc2\xc2\xd5\x34\x0f\x49\x41\x47\xf7\xe5\xa9\x58\x63\x9c\x02\xd9\x4e\x02\x14\x12\x2c\x0a\x69\x91\x47\x98\x56\x04\xfe\x4a\x5a\xb8\xbd\x3b\xb6\x1a\x8e\xcf\x2f\x36\x8d\x27\x97\xcd\xcf\x43\xa4\x82\x0d\x37\x34\x6b\xc5\x54\xde\x9f\xd7\x51\x17\x52\xf5\x80\x8d\xab\x42\x67\xa5\x5e\xba\x7b\x1f\xa1\x5b\x47\xdc\xe8\xab\x8a\xa6\x4b\xf8\xfa\x49\xc0\xdb\x9e\xfb\xda\xde\xeb\x32\x5c\x96\xab\x97\x55\x1c\x50\xa6\x02\xb6\xa9\x80\xd7\x54\xc0\x5b\x2a\xe0\x3d\x15\xf0\x47\x2a\xe0\x5b\x2a\xe0\x23\x11\x50\xe4\xa9\x80\x54\xa6\x8b\x54\xa6\x8b\x54\xa6\x8b\x54\xa6\x8b\x54\xe2\x8a\x54\xe2\x8a\x54\xe2\x8a\x54\xe2\xca\x54\xe2\xca\x54\xe2\xca\x54\xe2\xca\x54\xe2\xca\x54\xe2\xca\xd4\x23\x5a\xa6\x32\x5d\xa6\x32\x5d\xa6\x32\x5d\xa6\x32\xbd\x4d\x60\x5a\xa8\xc4\x66\x3c\x02\x12\x98\x1e\x01\x09\x4c\x8f\x80\x04\xa6\x47\x40\x02\xd3\x23\x20\x81\xe9\x11\x90\xc0\xf4\x08\x48\x60\x7a\x04\x24\x30\x1d\x00\x29\xbd\x75\x04\xa4\x12\x97\xd2\x5b\x47\x40\x2a\x71\x45\x2a\x71\x29\xcd\x78\x04\xa4\x12\x97\xd2\x8c\x47\x40\x2a\x71\x29\xcd\x78\x04\xa4\x32\x9d\xd2\x5b\x47\x40\x2a\x71\x29\xbd\x75\x04\xa4\x12\x97\xd2\x5b\x47\x40\x2a\x71\x29\xbd\x35\x00\x9e\xf6\xd6\xce\x81\x36\xfa\x89\x81\x5b\xbc\x42\x4d\xef\x5a\x63\x0e\x6c\xfa\x64\xbf\x2a\x3a\x27\xc3\x24\x2e\xf2\x26\xeb\x7a\xcb\x1b\x20\x8c\xbe\xbd\x7e\xf5\x68\xcf\xb7\xc1\x91\x8d\x7c\xa0\xdb\x32\xa7\xe1\x7f\xc5\x56\x45\xde\x43\x16\x6b\x49\xfe\xa5\xc4\x45\xc7\x23\xef\x0b\x2b\xfd\xcb\x43\x32\xe9\x7f\x3c\x68\x7f\x37\xe0\xa1\x9c\x95\x4a\xe8\x6b\x2e\xfc\xeb\xe4\x32\xa4\x59\x0c\x6e\xae\xb3\x82\x5b\x9a\xae\xef\xd3\xd5\xe1\xdb\x93\xa1\xcd\x5c\x9d\x11\xb5\x0f\x23\x99\x49\x39\x48\xbd\x86\xaf\xbc\x7c\xf5\x95\x4c\x0d\xc4\x88\x22\x07\x4e\xf2\xe5\x96\x23\xc3\xd5\x40\x73\x26\x15\xd4\xb1\x71\xd0\x42\x4b\x59\x5c\xcf\xc1\x41\x6b\x6a\x8b\xc7\xeb\x23\x3f\x88\x7f\xf5\xd0\x4a\x77\x5e\x71\xea\xdf\x75\x95\x60\x82\x4e\xd1\x4a\xa2\xbe\x0b\xf3\xb7\x07\x85\xcb\x99\x4f\x23\x1c\x98\x38\x6b\x50\x92\x87\xe1\x0b\x45\xe7\x4d\x37\xdb\x27\x36\xac\x8f\x8d\x96\x3d\x20\xfb\x2d\xf1\x4e\x2a\xbc\x7f\x9c\xbb\x43\xc9\xba\xd6\xcd\x0b\xa8\x6f\xaa\x47\x6c\x2f\x97\x75\x17\x0d\xa3\xff\xdd\xbc\xf9\x08\xad\x14\x4f\x86\xef\x37\xfd\xea\xf0\xfd\x88\x96\x3c\xbe\x39\xef\xad\x14\xe1\x80\x35\x68\xa7\xb8\x06\xff\xd8\xb7\xd8\x3d\x8f\x63\x80\xb6\xc5\x08\x5d\x83\xe0\x11\x76\xbd\x14\xda\x98\xb9\xd4\x45\x9e\x39\x4f\xfc\x62\x70\x30\x10\x37\xda\xad\x8c\x1d\x56\x95\x8f\xc3\x83\xd1\xb4\x7c\xea\xa8\x58\xd3\x0e\x43\x98\x76\x72\xa3\x35\x72\xe7\x90\x1e\x54\xf3\x89\x8a\x97\x4d\x13\xcc\xd0\x52\x2e\x8a\x53\xbc\xe2\x4e\xaa\xbd\x9b\x75\xfd\x3f\x00\x00\xff\xff\xa4\xea\xed\x3a\xa3\x1b\x00\x00") func dataHostsExtra_v6TxtBytes() ([]byte, error) { return bindataRead( _dataHostsExtra_v6Txt, "data/hosts/extra_v6.txt", ) } func dataHostsExtra_v6Txt() (*asset, error) { bytes, err := dataHostsExtra_v6TxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/hosts/extra_v6.txt", size: 7075, mode: os.FileMode(0666), modTime: time.Unix(1570576289, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe8, 0x31, 0xf1, 0x51, 0x7, 0x91, 0x4b, 0xcb, 0x38, 0xc2, 0xf6, 0x48, 0x29, 0xf0, 0x33, 0x2b, 0x4e, 0xc0, 0x51, 0x7c, 0xcf, 0x1a, 0x9e, 0xe3, 0x41, 0xdc, 0x8d, 0xb6, 0x9f, 0x17, 0x3f, 0xec}} return a, nil } var _dataHostsSpyTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x5a\x4d\x8f\xe3\xb8\xd1\xbe\xcf\xaf\x30\x30\x67\x73\xf8\x25\x5b\xee\xf7\xf6\x22\x87\x04\xc8\x9e\xb2\x41\x80\xdc\x28\x8a\xb6\x84\x96\x48\x2e\x49\x5b\xf6\xfe\xfa\x40\xb6\x67\x6c\x59\x62\xb9\x3a\x41\x5f\x1a\x7e\x1e\xd6\x07\x59\x55\xa4\x8a\xfc\xfe\xfd\xfb\xea\x5f\xad\xad\xdd\x10\xff\xe1\x2f\xff\xdf\x39\xfd\x69\xc2\x6a\xbd\xfa\xab\x8b\x29\xae\xa2\xbf\xac\xc2\xb1\x33\xf1\xdb\xc8\xfb\x7b\xab\x8d\x8d\xe6\x63\xf5\xdb\xdf\x7e\xbf\xfe\xf0\x4f\x5f\xab\x64\xea\x8f\x15\xa7\x6c\xb7\xa6\xe5\x9a\x8a\xdf\x59\xf1\x21\xcb\x0f\x4a\xff\x4d\xf9\x07\xa5\x57\xda\x5f\x9c\x55\xc9\x7c\xac\x9a\x94\x7c\xfc\xf8\xf1\x63\x18\x06\xe2\x55\x0a\xc6\x59\xa2\x5d\xff\x43\x07\xf5\xe7\xa5\x57\xe7\xd5\xff\xbd\x50\x2e\x5e\x75\xa4\x37\x37\xc2\x70\x33\xe2\x37\x17\xcc\xaa\xb5\x7b\xf7\x90\x77\x68\x53\x73\xac\x1e\xa2\xd6\xbd\x3a\xff\x98\x39\xf5\xed\x1b\x25\xd7\xbf\x95\x22\xaa\x8e\x8c\xf4\xf1\xaa\x7e\xfa\x33\x27\x7d\x54\x75\x24\xd6\xa4\x39\xf0\xca\x0f\xaa\x9e\xff\xaa\xc5\xc2\x6f\xa9\x3d\xb5\xe9\x42\x86\x9b\x51\x53\xb0\xb6\xe6\x7c\x7c\xd1\x58\xdb\xf3\x2b\xab\xcb\x8c\x8e\x73\x75\x37\xef\x66\x6e\x2c\x3a\xdd\xd6\x3e\x12\x95\xea\x3e\x4d\x7f\xff\x54\x6b\x5d\xdb\xb5\x8d\x44\xd5\xc9\xe8\x86\xd4\xe6\x01\x76\xbe\x51\x24\x99\xce\xf4\x26\x85\x0b\xe9\x5b\x1d\x5c\x74\xfb\x17\x11\x5e\x69\x46\xac\x4b\xed\x7e\xe2\x39\x51\x9f\xaa\xb6\x2f\xb6\xf9\x96\x68\x17\x92\xb2\x8a\xa8\xf6\xf1\x73\x6c\x7b\x77\x5a\x0f\xad\x25\xd1\xa4\xd4\xda\x43\x24\xb5\x4a\x6a\xaa\x71\x49\x60\xb5\xbc\xc6\x55\x6e\x8d\xab\xc5\xc5\xac\x5a\x7b\xb8\xce\xf0\xa2\x83\x55\x27\x04\x65\x6b\x45\x58\x1d\x4e\x4b\x88\xce\x22\x87\x05\xc4\xf2\x6a\xad\x5d\xa0\x94\x91\x71\x3a\xfc\xf8\x0f\xc0\xe2\x28\x96\x40\xb1\x24\xcc\x1a\x6c\x64\x64\xb0\x71\x31\x02\x2b\x2b\x3c\xc6\x6e\x11\x75\x43\x39\xa5\x8c\x16\x45\x09\x49\x7b\xf0\x36\x14\xc5\xdb\x30\x9c\xbc\x0d\xdf\xe1\x78\x02\xf4\xf6\x89\x57\x20\x79\x1b\x1c\xaf\x40\xf9\xcb\xb6\x7c\x8b\xe1\xf1\x12\x25\x8f\x53\xc1\x39\x8a\xb7\x95\x98\xf9\xe3\x5c\x70\xcc\x7a\x70\x2e\x50\xf3\xc7\xb9\xd8\x40\xeb\x21\xa3\x6e\x18\x65\x8c\xd3\x92\x49\x24\x0f\xb2\xef\xc1\xdb\x31\x9c\xde\x1d\x13\x18\x1e\xa3\x0c\x9a\xbf\x07\x8f\x51\x24\x0f\xe7\x07\xe3\x1c\x67\x9f\xa4\x50\x5c\x3d\x78\x70\xbe\x3d\x78\x5b\x8a\x5a\x0f\xb6\x45\xfa\xbb\xc5\xad\x2f\xdb\x51\x94\x7d\x9c\x31\x94\xbf\x5c\x30\x28\x8f\x9e\x79\x50\x1e\x3d\x78\x92\xa3\xe2\x4a\x30\x9c\x1f\x82\xe1\xec\x13\x9c\xbe\xb7\x6f\x8c\x3e\xc6\x81\x79\x0e\x6e\x88\x26\x10\x73\x32\x36\x2d\x6d\xc6\x33\xa6\x6f\xbd\x21\x2a\xb4\x59\x5e\x24\xd1\x84\x53\x6b\x0f\xeb\x78\x79\x51\x76\xc9\x6e\xb0\x97\xec\x06\x7b\x43\xcc\x1c\xd1\x0b\xc7\x1c\x3d\xdb\xf2\xb5\xd2\x8d\xb9\xfa\xd5\xab\x90\x16\xe7\x40\xd7\x76\x49\x54\x1d\x19\x25\x31\x59\xd2\x75\x76\x98\x1c\x2e\x46\x88\x53\x41\x3a\x97\x05\x25\x04\xee\x00\x90\x41\x20\x2f\x01\x50\x42\x3a\x8b\x2d\x00\x6e\x0a\x08\x84\x0c\xda\x42\x93\x50\x42\x62\x4b\xc8\xa0\x12\xd2\xb9\x03\x74\x0a\x0a\x88\x1d\xf3\x3e\x0f\x72\xc0\x5a\xc1\x01\xb1\xdb\x2d\xa9\x8f\x71\x11\xe3\x94\xd2\x22\x1b\x43\x9c\xca\x31\x4e\xf4\x25\x87\x32\x06\xa2\x05\x88\x6e\x40\x74\x0b\xa1\x1c\xb4\x8a\x83\x7a\x05\x68\xb3\x00\xc7\x4a\x0a\xa2\x02\x44\x41\xc9\x05\x28\xb9\xe0\x20\x0a\xce\xd5\x06\xf4\x77\x4c\x9e\x3c\xba\x05\x6d\x2e\x41\xab\x4a\x70\xec\x0e\x40\x19\xa7\xf9\x50\x1f\xd1\x7c\xac\x8f\x67\x0f\x70\x2c\xcf\x27\x2e\x67\x5c\xe4\x33\x77\x44\xf3\xc5\x8d\x83\xd5\x6d\x44\x41\xbd\xc5\x06\x44\x41\x7f\x0b\xd0\xaa\x71\xf5\x01\x14\x94\xbc\x05\x25\x97\xa0\x64\xa0\x06\x72\x26\x80\x0d\x86\x33\xc1\xc0\xb1\x1c\xd0\xbb\xcb\x47\xb3\xa0\x25\x80\x51\xbe\xcd\x56\xc1\x6b\x55\xce\x8d\x2c\x89\x0b\xcb\x50\x21\xb3\x90\xa4\xf9\xe8\x97\x34\x5f\x17\xc7\xf3\xf2\x3e\xa8\x65\x0c\xa8\xa7\xe3\xf9\x2f\x8f\xe5\xb3\x18\xaa\xa4\x92\x03\xfa\x64\xbe\x22\xc9\x22\xbf\x0e\xb2\xc8\xaf\x1f\x54\xc7\xe4\x06\x90\x09\x54\x38\xb9\x05\x64\x96\xf9\x6a\x2e\xcb\xfc\xfe\x23\x4b\x40\xdf\x0e\x90\xb9\xcb\xcb\x2c\x19\xcf\xc6\x7c\xc9\xf2\xf5\x6e\xfc\xee\xcc\x62\x02\x90\x29\xf2\xf5\xa8\x94\xf9\x33\x4a\x29\xf3\x99\x5b\x02\x55\xac\xdc\x00\x76\x66\x8f\x77\x0d\x7b\xdf\x05\xfa\x45\x82\x9a\x57\xba\xc9\x9d\xed\xef\xc8\xd2\xd9\xbe\xc9\xb5\xd5\xae\x08\xcf\x4a\xe3\x8b\xd2\x5c\xef\x55\x32\x67\xdd\x28\x7b\x30\x8c\xa4\xa0\xf6\xfb\x56\xf7\xca\xaa\x83\x09\x53\xb7\x9d\x4d\xad\x3d\x1e\x7b\x52\x67\xfb\x84\xda\x05\x4f\x62\x82\x60\x73\x4e\xa4\x8f\x6d\x52\xf5\x3e\x92\x43\x57\xd5\x36\xf2\x1c\x3d\x32\x32\x78\x4d\x4e\x74\xfc\x0e\x99\xd8\x72\xe1\xe4\xe4\x42\x32\x67\x64\x93\xb4\xae\x8a\xaf\xf6\x55\x9f\x87\x5c\xfb\xb2\xf8\x61\x5f\x35\x6d\x6d\x94\xff\xaf\x74\xed\xdf\xb6\xa6\xeb\x56\x1d\xac\x8b\xa9\xd5\x91\xc4\xa3\xf7\x2e\xa4\x0c\xd3\x2c\x7d\x35\x9a\x63\xde\x99\x39\x29\x63\xfa\x13\x71\x7d\x62\x14\xf1\x45\x3d\x12\x39\x8a\xf8\x96\xb1\xef\xcc\x79\xf6\xe9\x7b\x98\xff\x62\xdc\x57\x03\xe4\x79\xc8\x17\x16\x6d\x1c\xf6\xa5\x00\x69\xe6\xcd\xfd\x66\x7e\x47\xd3\x7c\xf2\xaf\x3a\x30\x0e\xc9\x75\x3f\x9a\x4f\x1e\x75\xc3\xc4\xb5\x1b\x0a\x74\x71\xa6\xbc\x7c\xf7\x6d\xca\xcb\x77\x89\xa7\xbc\x7c\xb7\x6c\xc2\x13\x38\x3f\x4a\xa0\xdb\x33\xe1\x49\x9c\x1f\x65\x81\x9b\x97\xb2\x40\xea\x2d\xf2\x5d\xe2\x67\xde\x0e\xe9\xc7\x0e\xe8\xc6\x4f\x78\x32\xdf\x55\x9b\xf0\x0a\xa4\x3c\xe0\xd6\x63\xc2\x03\xba\xdd\x4f\x3c\x46\x81\xee\xe5\x84\x87\x8b\x17\x46\x81\x6e\xfc\x33\x8f\x09\x9c\x5e\x26\x51\xf1\xc7\x58\x81\x8a\x2b\xc6\x91\xfe\x72\x89\x5a\x8f\xeb\x37\x20\x8a\x07\xdc\x42\x4d\x79\xa8\xf8\x63\xd0\x6d\xcb\x94\x87\x9b\x17\x81\x5c\x5f\x21\x90\xf6\x21\xfd\x95\xb8\xfa\xc2\xa4\xc0\xf9\x21\x91\xf1\x27\x91\xf1\x27\x71\xf9\xcb\x24\x70\x4b\xf6\xcc\x2b\x80\x5b\x8f\x09\x0f\xb9\x6e\x05\xae\xde\xb3\x02\xb8\xed\x9b\xf0\x24\x6e\x7d\x0b\x5c\xdd\x05\x6f\x79\x26\x3c\x64\x5c\x6d\x04\x52\x1e\x32\x7f\x37\x05\x2e\xfe\x36\x58\x7f\x0b\xdc\x3c\x23\xf7\x73\x86\xdc\xcf\xc1\xdb\xdc\x09\x4f\xe0\xe2\x74\x0b\xdc\x5e\x4f\x78\xc8\x79\x29\x91\xf5\xa5\x44\xda\x57\x22\xeb\x41\x89\xcc\xdf\x12\xb9\xcf\x20\xcf\x25\xac\x44\xc6\xd5\x0e\xb9\x6e\x3b\xe0\x36\x7c\xca\xc3\xcd\x33\xf2\x1c\xc1\x91\xfb\x39\xa7\x12\x35\x2f\x9c\xe2\xf6\x4b\xce\x60\xbd\xe0\x5b\x92\x3b\x5e\x65\x09\xed\xba\xea\x36\x88\xe7\x26\xcf\x3c\xa8\xd7\xd0\xae\x71\xcf\x57\xda\x75\x75\xf9\x2a\x0f\xd6\x8b\xea\x97\x3c\xd1\x60\x69\xd1\x72\x8c\xb4\x5f\xb4\x77\xd2\x50\xbe\x1a\x67\xbb\xd6\x9a\x21\xd7\xd8\x78\x22\x00\x1d\x94\xae\x62\x64\x18\x06\xd2\xc7\xa5\xaf\xb1\xae\x3d\x19\x12\x96\x5e\xb9\xf5\x64\xfe\x4a\xae\x77\x55\xdb\x19\xc4\x17\xf2\x9d\xf8\xee\x6e\xba\x77\xb5\x09\x96\x0c\x2a\x45\x87\xfd\x92\xed\xa3\xa9\x0f\xe6\xe5\x27\x9b\x4c\x4c\xd9\x7b\xee\xdb\x03\x40\x37\xce\x90\x51\xde\x47\x72\xf5\x7a\xc6\xb8\xbe\xc4\x04\x69\x4e\xbf\x7f\x96\xe7\xac\xd1\xae\xeb\x8c\x4e\x2e\x10\xdd\xb9\x63\xad\xbc\xbf\x4d\xc2\x82\x37\x3e\x18\xb2\x77\x2e\xf9\xd0\xda\xe4\x83\xa9\x5b\x3d\x15\xe7\x83\x39\xb5\x66\x98\x2d\x4f\x50\xf5\xdc\xbe\xa5\x37\x76\xa3\xcc\x40\x7a\x93\xd4\x75\x7a\xb4\xc9\x85\x53\x30\xde\x85\x14\xc9\x60\x22\x41\xf4\x78\xa2\x6e\x4c\xaf\x9e\x85\x2d\xb8\x17\x8d\x3e\x06\xb3\x10\x49\x77\x60\xdf\xa9\xd8\x24\xd5\x7d\xb6\xf6\xf0\x82\x77\x7b\x44\x9c\xfd\x72\x09\x6b\xf4\xcf\xce\x49\x54\xb6\xae\x1c\xd8\x60\x7a\xee\xb2\xac\xbd\x37\x18\xee\x8d\x03\x37\x18\xe3\x81\xfb\x6c\x01\x8e\x36\xd7\x9c\xbd\x23\x0b\xed\xd4\x3b\xb2\xd0\x9c\x8d\xfe\x62\x4d\xca\x1a\x72\x45\x55\x97\xeb\xcd\xdd\x70\x73\x0c\xce\x9b\x37\xcb\xfc\x47\x8f\x9a\xfd\x3f\xfa\xff\x85\x43\x6c\x54\x49\x4f\x15\xc7\x61\x9e\x05\xf1\x18\x4e\xe6\xf2\xb3\xaa\x2c\xab\x19\x55\x40\x55\x73\xc4\xb5\xeb\x7b\x65\xeb\xb7\x26\x3f\x70\xe5\xbd\x39\x93\x6a\x0c\xe6\x57\x61\x38\x01\xc1\xf4\x2e\x8d\xc5\xe7\x67\x70\xa8\x3f\xc7\x34\x59\x26\x1f\x43\x2e\x95\x93\x09\xa6\x76\xa4\xf5\xa7\x4d\x96\x11\x13\x01\xdf\x4d\x1f\xfb\xdb\x04\x6a\x44\x1a\x1e\x23\xb2\xc5\x3a\x12\x51\x2d\xd6\x63\x44\x76\x77\x71\x7a\x4f\x8c\x62\xfc\xc0\xd9\x36\xaa\x44\x1b\x77\xa5\x7c\xa9\xf3\x3a\x1a\x81\x14\x3f\x6e\x0c\xf3\xf6\xf9\x7d\x30\xa2\xc4\x21\xd5\xfc\x62\xe1\x65\x62\x0a\xe1\xfb\x1e\xff\x3d\x85\x67\x19\x0e\xa6\xf6\x1d\x1c\x2b\xf6\xbb\xc4\xbb\x53\xdf\xd2\x4c\x85\xb8\x90\x40\x6e\x41\x43\x6b\x19\x85\x52\x73\x24\x6c\xdf\x52\x4a\x10\xbf\x9e\xf7\x7e\x9e\x93\xfe\x13\x00\x00\xff\xff\xad\x7d\xca\x3d\x84\x32\x00\x00") func dataHostsSpyTxtBytes() ([]byte, error) { return bindataRead( _dataHostsSpyTxt, "data/hosts/spy.txt", ) } func dataHostsSpyTxt() (*asset, error) { bytes, err := dataHostsSpyTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/hosts/spy.txt", size: 12932, mode: os.FileMode(0666), modTime: time.Unix(1564840729, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0xa3, 0xd0, 0x45, 0x28, 0x65, 0x3b, 0x7e, 0xec, 0x42, 0x5a, 0x5, 0x6d, 0x62, 0x6e, 0x30, 0x36, 0x86, 0x79, 0xd5, 0xce, 0xf5, 0x27, 0x71, 0x36, 0xec, 0x6f, 0xc7, 0x6f, 0x9c, 0x59, 0xa2}} return a, nil } var _dataHostsSpy_v6Txt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x5a\x4d\x8f\xf3\xb8\x0d\xbe\xef\xaf\x08\xf0\x9e\xa3\x57\x5f\x4e\x9c\xe9\xad\xe8\xa1\x0b\x74\x81\x02\xdd\xa2\x40\x6f\xb2\xac\x24\xc6\xd8\x92\x56\x52\xe2\xc9\xfe\xfa\xc2\xc9\x4c\x62\x65\x28\x73\xa6\xb7\x84\x7c\xc4\x0f\x89\xa4\x4c\xda\x3f\x7e\xfc\x58\xfd\xa7\xb3\xad\x1b\xe3\xbf\xfc\xe5\xaf\xbd\xd3\xaf\x26\xac\xd6\xab\xbf\xbb\x98\xe2\xea\xd7\x7f\x9e\x37\xab\xe8\x2f\xab\x70\xea\x4d\xfc\x65\x02\xff\xa3\xd3\xc6\x46\xf3\xb2\xfa\xed\xd7\xdf\xaf\x84\x7f\xfb\x56\x25\xd3\xbe\xac\x38\x65\xbb\x35\xad\xd7\x54\xfc\xce\xaa\x17\x59\xbf\x50\xfa\x5f\xca\x5f\x28\xbd\xc2\xfe\xe6\xac\x4a\xe6\x65\x75\x4c\xc9\xc7\x97\x9f\x3f\xc7\x71\x24\x5e\xa5\x60\x9c\x25\xda\x0d\x3f\x75\x50\x7f\x5e\x06\xf5\xb6\xfa\xcb\x13\xe4\xe2\x55\x4f\x06\x73\x03\x8c\x37\x23\x7e\x73\xc1\xac\x3a\xbb\x77\x0f\x79\x87\x2e\x1d\x4f\xcd\x43\xd4\x7a\x50\x6f\x3f\x3f\x79\xf6\xcb\x2f\x2f\x2f\x2b\x45\x54\x1b\x19\x19\xe2\x55\xf3\x9d\xc2\xc9\x10\x55\x1b\x89\x35\x29\xa3\xcd\x50\x41\xb5\x19\x41\x8b\xfc\x6f\xea\xce\x5d\xba\x90\xf1\xa6\xf6\x4e\x6f\xad\x79\x3b\x3d\x04\xb7\xf6\x6d\xc6\xeb\x3f\xc3\x63\x26\xf5\x66\xeb\xdc\xb2\x67\xeb\xbb\xd6\x47\xa2\x52\x3b\xa4\x3b\xe9\x55\xad\x75\x6b\xd7\x36\x12\xd5\x26\xa3\x8f\xa4\x35\x57\x7a\xef\x8f\x8a\x24\xd3\x9b\xc1\xa4\x70\x21\x43\xa7\x83\x8b\x6e\xff\x58\xe8\x95\x66\xc4\xba\xd4\xed\x33\x3f\x88\x7a\x55\xad\x7d\x98\xe0\x3b\xa2\x5d\x48\xca\x2a\xa2\xba\x2b\x25\x76\x83\x3b\xaf\xc7\xce\x92\x68\x52\xea\xec\x21\x92\x56\x25\x95\xab\x78\x12\xd3\x7c\x3a\x89\x06\x38\x89\xe6\x79\xdf\x9b\xce\x1e\xae\xbb\xf4\x6c\x7d\xd3\x0b\x41\xd9\x5a\x11\xd6\x86\xf3\x13\x51\x43\xc4\x43\x4e\xb4\xbc\x59\x6b\x17\x28\x65\x64\xf2\xd0\x4f\x3f\x60\x00\xc7\x00\x02\x03\xc8\x22\x60\xb4\x91\x91\xd1\xc6\xe7\xc0\x68\xac\xf0\x88\x79\x22\xea\x23\xe5\x94\x32\x5a\x55\x75\x41\xc6\x03\xb2\xa1\x18\x64\xc3\x50\x29\x1b\xbe\x43\x21\xa2\xe4\xcf\x0c\x52\xe1\x90\x0d\x0a\xa9\x30\x8f\xd8\x96\x6f\x11\x08\xaf\x31\x29\x9c\x0a\xce\x31\xc8\x56\x22\xfb\xc2\xb9\xe0\xc8\xee\x72\x2e\xb0\x7d\xe1\x5c\x6c\x0a\xbb\x2b\xa3\x3e\x32\xca\x18\xa7\x35\x93\x38\xa4\x60\xcb\x03\xb2\x63\xa8\xa2\x1d\x13\x08\x84\x51\x56\xd8\x97\x07\x84\x51\x1c\x82\x9a\xcb\x38\x47\x6d\x91\xb4\x10\x0c\x0f\x48\x31\x03\x1e\x90\x2d\xc5\x76\x97\x6d\x71\x8f\xb6\xe8\x19\xb1\x1d\xc5\x6c\xe1\x8c\x61\x1e\x71\xc1\x0a\xe1\x3d\x87\x14\xc2\xfb\x01\x91\x1c\x0b\x06\xc1\x50\x73\x05\x43\x6d\x11\x9c\x2e\xda\x32\x45\x0b\xe3\xf0\xd6\x05\x37\x46\x13\x88\x39\x1b\x9b\xa0\xdb\x68\x0e\xf2\x9d\x37\x44\x85\x0e\x82\x44\x12\x4d\x38\x77\xf6\xb0\x8e\x97\x87\xf4\x0b\x74\xd7\x5c\xa0\xbb\xe6\x46\x34\x19\x51\xe7\x17\xb6\x9e\xdf\x6f\x5a\xe9\xa3\xb9\xda\x3b\xa8\x90\x9e\xdd\xd2\xad\x7d\x5a\xdb\x46\x46\x49\x4c\x96\xf4\xbd\x1d\x3f\x6e\xcd\x89\xca\xa9\x20\xbd\x83\xe8\xb2\x40\xdf\xc1\x74\x56\xa0\xf3\x1a\xa6\xcb\x82\xfc\x6a\x0b\xd3\x37\x55\x81\x5e\xd0\xbb\x2d\xf8\x55\x17\xe4\xd4\x05\xbd\x75\x41\xfe\x0e\x96\x2f\x28\x2c\x67\x4a\x29\x90\xce\x61\x7b\x04\x87\xe5\x6c\xb7\xa4\x3d\xc5\x67\x32\xa7\x94\x56\xd0\xf9\x72\x2a\xa7\x83\xd4\x17\x80\xc1\x58\x89\x51\x95\x18\x9b\x12\x63\x5b\x60\xf0\x92\x72\x5e\xd2\x21\x4a\x56\x89\xd2\x0a\x49\x4b\x0c\x51\x62\x94\x44\x55\x25\x51\x15\x2f\x31\x4a\x9e\x6f\x4a\x7e\x4c\x01\x0b\x32\xb6\x25\xab\xea\x92\xf2\xba\xb4\x62\x07\x33\x18\xa7\x60\xb4\x4d\x0c\x30\xdc\xa6\x2b\xb2\xb4\x82\x83\x89\xc1\x19\x17\x60\x66\x4c\x0c\xb0\x14\xf0\x52\x2d\x98\x18\x25\x1d\xd5\xa6\xc4\x28\xf9\x51\x95\x94\x4f\x07\x05\x33\x4a\xa2\xb6\x25\x51\x75\x49\x14\x5c\x2c\x38\x13\x70\x35\xe5\x4c\xb0\xd2\x0a\x0e\xeb\xd8\x81\x51\x25\x68\x0d\x93\x29\xdf\x42\xe5\xe2\x5a\xa5\x00\x7c\x4d\x5c\xf8\x44\xad\x24\x44\x95\x14\x8c\x3d\x49\xc1\xda\x31\x3d\x5e\xed\x83\xfa\x44\x86\x2b\xcd\xf4\x44\x01\x92\xc1\x04\x29\xd4\x18\xc9\x61\xd9\x12\xcc\x64\x59\x81\x3b\x28\x2b\x70\xbf\x0b\x59\x2f\x37\xb0\x10\xb8\x14\xc8\x2d\x2c\xa4\x06\xcb\x99\xac\xc1\x12\x2b\x6b\x58\xf6\x0e\x16\xb2\x03\x85\xd4\x8c\x43\xc1\x56\x33\xb0\x26\x4c\xfd\x01\x44\x16\xb0\x10\x01\xa6\x70\x2d\xc1\x7b\xb2\x96\x60\x3e\xd4\x70\xba\xd7\x1b\xd8\x12\xe8\x59\xe1\xc8\x16\x1b\xe6\x3b\xbf\xd0\xce\xeb\x23\xf0\x38\xf7\x4e\x34\x10\xf1\xf0\x99\xc8\xa1\xe5\xfc\x79\xb9\x1b\xbc\x4a\xe6\x4d\x1f\x95\x3d\x18\x46\x52\x50\xfb\x7d\xa7\x07\x65\xd5\xc1\x84\xbb\x3b\xce\xa6\xce\x9e\x4e\x03\x69\xa1\xe9\x87\x76\xc1\x93\x98\x0a\x1c\xf3\x96\xc8\x10\xbb\xa4\xda\x7d\x24\x87\xbe\x69\x6d\xe4\x00\x32\x32\x32\x7a\x4d\xce\x74\x7a\xcc\xfc\xd0\x7b\xe1\xe4\xec\x42\x32\x6f\xf8\x48\xa7\x6d\xaa\x6f\x0c\x80\xe6\xe8\xeb\xec\xe8\x4b\x2b\xbe\x61\xcb\xda\x28\xff\x5d\x0d\xfb\xa5\x01\x59\xdb\xa9\x83\x75\x31\x75\x3a\x92\x78\xf2\xde\x85\xf4\x19\x64\x9e\x9e\xee\xcd\xa9\x6c\x73\xc6\x2f\x58\x78\xc3\xac\xcf\x8c\x2e\x37\x33\x13\x86\x63\x98\x25\xe6\xbe\x37\x6f\xf3\x4e\xe4\x90\xfd\x31\xee\x1b\x47\x3b\x47\x7f\x6d\xe3\xa7\x15\x5f\x3d\xda\x63\x36\x35\x3c\x66\x73\xda\xe3\x2b\xff\x86\x9d\x13\x1a\x68\x1e\x8f\xaf\x7c\xea\x2f\xc5\x75\x94\x03\xf7\xba\x39\x04\x1c\x36\xe4\x10\x70\x7e\x95\x43\xc0\x31\x41\x06\x11\xa8\xb9\x35\xdc\x0e\x67\x10\x89\x9a\x5b\x57\xa8\xd3\x75\x85\x2b\xaa\xc0\xf9\xd5\x1c\xb2\xc3\xcd\xdd\xc1\xa3\xbf\x0c\x22\xc1\x49\x42\x06\xa9\x70\x29\xf0\xd4\x34\x83\xc0\xe3\xb6\x19\x84\x51\x78\x08\x93\x41\xd0\x93\x66\x14\x1e\xfd\xcd\x21\x4c\xa0\x8a\x98\xc4\xe2\x85\xb1\x0a\x0b\x06\xc6\x71\x8f\xb8\xc4\x76\xf7\xfa\xc4\x8f\x41\xe0\x99\x74\x0e\xc1\xe2\x85\x15\xc6\xb3\x39\x04\x75\x5a\xe0\x67\x24\x04\x6e\x0b\xee\x91\x44\x73\x9a\x49\x81\x9a\x2b\xf1\x78\x91\x78\xbc\x48\x34\x8f\x98\x84\xe7\xe3\x73\x48\x05\x4f\x4d\x33\x08\x7e\x00\x15\x5a\x31\x59\x05\x8f\xf3\x33\x88\x44\xcf\xa8\x42\x0b\x59\x69\x0e\x9c\x41\xf0\x60\xd8\x08\x5c\x0a\x9e\x47\x9b\x0a\x8d\x97\xcd\x17\x3c\xaa\xd0\xad\xc3\x6f\x35\x86\xdf\x6a\xa5\x57\x2e\x19\x44\xa0\x21\xb5\x85\x5f\x22\x65\x10\xdc\xe9\x1a\xcf\xe9\x1a\xb7\xa5\xc6\xb3\xb1\xc6\xf3\xa8\xc6\x4b\x33\x7e\x09\xb3\x1a\x0f\x86\x1d\x7e\x00\x3b\xf8\x55\x54\x0e\x41\xb7\x0e\xbf\x3e\x39\x7e\xab\x71\x2a\x31\xa7\x39\x45\x6f\x12\xce\x8a\x8a\x4a\xef\x57\xdf\x59\x0d\xc4\xeb\xd6\x4d\xbf\x59\x7e\xfb\x3a\x87\x14\xfa\xc9\x6e\x8d\xbe\xc3\xed\xd6\xcd\xe5\x1b\x90\xa2\x22\xac\xf5\x9d\x21\x8a\x32\xa2\xe5\x88\x8c\x3b\x62\x41\x06\xe6\x8d\x71\xb6\xef\xac\x19\x81\xbe\x75\xc6\x83\x3b\xe2\xbe\x61\x64\x1c\x47\x32\xc4\xa7\xa7\xfa\xbe\x3b\x1b\x12\x9e\x3e\xa5\x18\x48\xf6\xed\xc5\xe0\x9a\xae\x37\xcb\xdd\xd2\x3b\x66\xe1\xed\xd0\xe0\x5a\x13\x2c\x19\x55\x8a\xee\x0b\x4d\xce\x10\x4d\x7b\x30\x8f\x7f\x36\x99\x98\xa0\xf7\x4b\xb7\x6f\x46\xdc\xe4\xb4\x51\xde\x47\x72\x75\x69\xce\xbc\x7e\x94\x53\x42\x38\xbd\xf8\x9d\x87\xb3\x46\xbb\xbe\x37\x3a\xb9\x40\x74\xef\x4e\xad\xf2\xfe\xe6\x61\x6e\xaf\x0f\x86\xec\x9d\x4b\x3e\x74\x36\xf9\x60\xda\x4e\xdf\x85\xf8\x60\xce\x9d\x19\xe7\x5b\x1c\x54\x9b\x99\xf1\xf4\xe5\xc6\xb4\x3e\x90\xc1\x24\x75\xf5\x58\x1b\xe0\xd0\x83\x99\x9a\xea\x48\x46\x13\xc9\x72\x2f\x1e\xf5\xd1\x0c\x6a\x2e\x22\xb7\x3d\x1a\x7d\x0a\x26\x3f\xf4\x77\xda\xbe\x57\xf1\x98\x54\xff\xda\xd9\xc3\x83\xd5\xef\x97\xa3\xe1\x6e\xf4\x17\x6c\xfb\x68\x7d\xa3\xb2\x6d\xe3\x4a\x9d\xff\xbc\x43\x5e\x7b\x6f\x10\xd8\x8d\x5d\x9c\xde\xc4\x03\xf7\x50\xf5\x8a\x16\x98\x63\xbd\x13\x0d\x44\xcc\xe7\x58\xd1\x5f\xac\x49\x90\xbe\x2b\x43\xf5\xc0\x08\xe4\xc6\x32\xa7\xe0\xbc\x29\x1f\xd0\x1f\x03\xb6\x8d\x7f\x0c\xff\x27\x9b\xd8\xa8\x92\xbe\x6b\x8a\x63\x16\x97\xf1\x14\xce\xe6\xf2\x91\xb5\x9f\xe4\x4e\x32\x0b\x25\x67\x62\x69\x37\x0c\xca\xb6\x4b\x96\x3d\x58\xca\x7b\xf3\x46\x9a\x29\xd0\x66\x22\xd0\x65\xc1\x0c\x2e\x4d\x79\xfd\x71\x98\xea\xcf\x29\x70\x3f\xe1\x4e\x01\xc8\xa1\x64\x82\x69\x1d\xe9\xfc\x79\x03\x31\x63\x22\xa5\x8f\xd5\x4e\xc3\x6d\x4f\xf4\x72\x26\x9c\x22\x3e\x8d\x9a\x30\xd8\x34\xea\x14\xf1\xc9\x17\xaa\xe8\xcc\x28\x62\x2e\x6a\xc7\xa4\xe3\x2b\x86\x5c\xb9\x5f\x1d\x52\x4d\x5a\x71\xa1\x53\x05\xcd\xa6\x85\xef\x4b\x96\x0b\x07\x2e\xf7\x0e\xf8\x92\x24\xa4\xb2\x2c\x8e\x2f\xdf\xb3\x68\x9e\x5f\xa5\xc4\x7a\xa7\x4f\x95\x6e\x21\x0b\xde\x51\x4b\x08\xd3\x2c\x8f\x54\xf1\x0a\x3d\x76\x96\xd1\x42\x8a\x4c\xbc\xed\x12\xb7\x2e\xb1\xae\x0f\x23\x1f\x57\xfc\xff\x02\x00\x00\xff\xff\x55\x28\xed\x9f\x5e\x2b\x00\x00") func dataHostsSpy_v6TxtBytes() ([]byte, error) { return bindataRead( _dataHostsSpy_v6Txt, "data/hosts/spy_v6.txt", ) } func dataHostsSpy_v6Txt() (*asset, error) { bytes, err := dataHostsSpy_v6TxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/hosts/spy_v6.txt", size: 11102, mode: os.FileMode(0666), modTime: time.Unix(1564840735, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x4e, 0x6a, 0xf9, 0xf4, 0xfe, 0x66, 0xa5, 0x64, 0xe7, 0xe1, 0x12, 0xb7, 0x7, 0x32, 0x6d, 0x35, 0xf2, 0x78, 0xa0, 0xa8, 0x35, 0x21, 0xe7, 0x88, 0x42, 0x6, 0x99, 0xa4, 0xb4, 0x59, 0x8d, 0x9f}} return a, nil } var _dataHostsUpdateTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x9b\xcd\x72\xdb\xca\xd1\x86\xf7\xbe\x0a\x56\x79\x2d\xb8\xbb\x67\xf0\xa7\x6f\xf7\x55\x16\x49\x55\xce\x2a\x27\x95\xaa\xec\x06\xc0\x40\x66\x99\x22\x58\x04\x64\x1e\xe5\xea\x53\x43\xd9\x12\x8e\x23\x0d\x1e\xda\x3b\xf3\x61\xcf\x4c\xf7\xdb\x3f\x18\xc2\x9f\x3f\x7f\xde\xfd\x6b\x7f\x1c\xa6\xcb\xfc\x8f\xd3\xf3\xff\x1f\xa6\xfe\x5b\x3c\xef\xee\x76\x7f\x9d\xe6\x65\xde\x3d\x9d\x86\xb0\xc4\xdd\xf9\xe9\x10\xe7\x4f\x09\xfd\xfb\xbe\x8f\xc7\x39\xde\xef\x7e\xfb\xdb\xef\xd7\x7f\xf8\xe7\x95\x18\xee\x77\x26\xda\xde\x49\x7b\x27\xfa\xbb\xc9\xbd\x95\xf7\x22\xff\x16\xbb\x17\xb9\x62\x7f\x99\x8e\x61\x89\xf7\xbb\xaf\xcb\x72\x9a\xef\xbf\x7c\xb9\x5c\x2e\xc5\x29\x2c\xe7\x38\x1d\x8b\x7e\x7a\xfc\xd2\x9f\xc3\x7f\x9e\x1f\xc3\x1f\xbb\xff\xfb\x05\x79\x3e\x85\x43\xf1\x18\x5f\x80\xcb\xcb\x26\x7e\x9b\xce\x71\xb7\x3f\x8e\xd3\x9b\xbd\x87\xfd\xf2\xf5\xa9\x7b\x33\x75\xf7\x18\xfe\xf8\xf2\x3f\xe7\xfa\xf4\x49\x8a\xeb\xdf\x9d\x88\x88\x76\x77\x5a\x1c\x8a\xcb\x0b\xf5\x72\xd4\x64\xe1\x4f\x90\x77\x00\xaa\x14\x40\x81\x58\x1a\x8d\x40\x2d\x81\xe2\x36\xa4\x25\x81\x42\x09\xa0\xae\x07\xd0\xe0\x01\x14\x87\x6d\xc8\x04\xf8\xc9\x5c\x03\xa0\x0a\x84\xc5\x1a\xe0\x27\x6b\x46\x00\x05\x62\xa9\x27\x7b\x1a\x81\x9f\x5c\x0d\x94\xe9\xda\x0a\x40\x23\x08\xb0\x57\x21\x10\x08\x8b\x2f\x41\x80\x7d\x05\xf4\xe4\x5b\xb2\x5c\x00\xce\xf4\x11\xc4\xce\x8f\xc0\xe3\x25\x91\x6f\xe9\xc1\x9e\xca\x06\xd4\x82\xca\x83\x00\x57\x03\x90\x6f\xdd\x01\x17\xd4\x11\x84\xa5\xd1\x00\xa0\xb1\xde\x86\xda\x0a\x04\xb8\x25\x7e\x6a\x49\xa5\x6b\x3b\xb2\x1c\xa9\xbe\xa1\x04\xcb\x85\x12\xc4\x2e\x54\x20\xef\xc2\x08\x3c\xde\x19\xd8\x53\xe7\x80\x32\xbb\x0a\x68\x9c\x41\x35\xf0\x78\xd7\x03\x17\x74\x3d\xd0\x78\x47\x12\xa1\x8b\x60\xb9\x5e\x40\xcd\xec\x15\x28\xb3\x37\x90\x08\xbd\x03\x6d\xa3\xef\xc8\xc6\x7b\x20\x95\xc1\xc0\xc6\x07\x0f\x96\x1b\x2a\xa0\xa7\x48\x54\x10\x49\x53\x1c\xc1\x9e\x54\x64\xdb\xe3\x2a\x20\x39\x55\x40\xe9\x51\xe9\xb6\x87\x51\x95\x61\x3b\x2c\x2a\x71\x5b\x05\xaa\xba\xad\x4c\xd5\x9a\x58\x22\x7b\xd2\x11\x58\x32\x20\x5f\x35\x07\x96\x73\x2d\x08\xb0\x07\x3d\x58\x7d\xbb\x5d\x0b\xb4\x02\xe3\x9a\xd6\xdd\xf6\x5c\xa0\x75\xbf\x5d\x7d\xb5\x06\x13\x86\x36\x1e\xe8\xa9\x29\xb7\xb3\x45\x9b\x96\x2c\xd7\x6f\xb7\x7c\x6d\x3d\x48\x84\xb6\xda\xee\x9c\xda\x82\x79\x5c\xdb\x00\x02\xdc\x0e\xdb\x55\x45\x83\x02\x15\x04\x50\xa2\x35\x38\xb0\xa7\x00\x9e\x39\x35\x34\x04\x6a\xc1\x72\x5d\x07\x44\xd7\x93\x6c\xe9\x07\x50\x55\x06\x01\x2a\x18\x88\xc7\x07\xa2\xa7\xa1\x06\x05\x63\xe8\xc1\xe9\xa2\x00\x8f\x47\x01\xce\x8c\x60\x2e\xd0\x28\xc0\x05\x91\x88\x2e\x92\x5a\x10\x1b\x50\x0b\x62\x4b\x36\x4e\xca\xe1\x68\x04\xf2\xc0\x05\x63\x4d\x20\xd0\x5e\x4d\x74\x5b\x05\x26\x60\x62\x35\x09\xdb\x61\x31\x95\xed\xd2\x63\x0a\xa4\x62\x2a\xdb\xe5\xd0\xb4\x01\x1b\xd7\xb0\xdd\x39\x4d\x07\x02\x8d\xdb\x61\x31\x03\xb1\x33\x23\xce\xb4\x7e\xbb\x4b\x99\x0d\x40\x05\x16\xb7\x67\x3a\xb3\x08\x2c\xb9\x12\xc4\xce\x35\xdb\x9d\xd3\x1c\xe8\x77\xe6\x5a\x62\x09\x4c\x18\xe6\xc0\x13\x90\xf9\x16\xb8\xa0\x04\x77\x3d\x56\x96\x20\xc0\x25\xc9\xbb\x12\x5c\x4f\x58\x19\xb7\x3b\x82\x95\xe0\x22\xd6\xaa\x06\x04\xb8\x0a\x40\x99\xd5\xe6\xf5\x69\x38\x9f\xc3\xb3\x8a\xde\x9d\xce\xd3\x50\x0c\x53\x31\xcc\xa7\xe2\xf1\x54\x3c\xee\xfb\xf3\x34\x4f\xe3\xf2\x1e\x6d\x37\xd1\xee\x26\xda\xdf\x40\xdb\x4d\xfb\xb6\x9b\xf6\x6d\x37\xed\xdb\x6e\xda\xb7\xbf\x69\xdf\xfe\xa6\x7d\xfb\x9b\xf6\xed\x6f\xdc\x77\x79\x13\x5d\xdd\x44\xd7\x37\xd1\x0d\xa4\x9f\x8a\x61\xba\x1c\x0f\x53\x18\x72\x59\xf0\x54\x7c\xf7\x04\xec\x1e\x12\x18\x8a\xe1\x50\x5c\xe6\x0f\x96\x7c\x61\xe2\x63\x9e\x51\x62\x48\x89\x25\x23\x96\x8c\x58\x72\xc4\x92\x23\x96\x3c\xb1\xe4\x89\xa5\x92\x58\x2a\x81\xa5\x83\x9d\x8a\xcb\x71\xfe\x19\xdc\xf7\x3f\x3c\x4e\xcb\x7e\x7c\x5e\x33\x45\xf8\x16\x86\xf4\x49\x5c\x56\xf8\xd4\x15\xf3\xd1\x9f\xce\xc3\xbc\x9c\xc5\x85\x62\x5e\xa6\x73\x52\xca\x39\xbe\x7e\x77\xfd\x85\xfe\xb0\x8f\xc7\xe5\xc3\xe5\xfb\xe5\x30\xe4\x8a\xf4\xd0\xb9\xcb\x71\x36\xd1\xf4\xe7\x43\x2b\x43\x57\xe6\x3e\xbb\x1b\xe6\x53\x3f\x1c\x8b\xe5\xf0\x94\xbc\x39\xc4\xc3\xfe\x7b\x3c\x3f\x7f\x9c\x3a\x43\x57\x7e\xec\xb1\xd7\x0f\x99\xc7\x86\xae\x9c\xfb\xaf\x2a\xaa\x22\x6a\x96\x33\xbb\xe2\x6a\xc4\x35\x2e\xeb\x93\x15\x97\xf5\xcf\x2b\xd7\x2a\x5b\xb7\x35\x68\xcf\x1a\xc6\x39\xc4\x25\xcf\x30\x8e\xf9\x59\xc5\x3c\xe3\x98\x9f\x55\x1c\xb4\xe7\xe1\xfe\x3c\xb3\x07\x75\xa5\x6a\x0e\x72\x28\xbe\xaa\x2c\xbe\xaa\xd6\x32\xce\xc1\xfd\x79\xb6\x3f\x13\xb6\xae\x19\x8b\xaf\xc1\xf3\x1a\xd4\x8b\x39\x94\x6f\xea\x58\x5e\xaa\x83\x7a\x76\x30\x1e\x0e\xc6\xc3\x41\xdd\x3b\x98\xe7\x5e\xd9\xfe\x3c\x3c\xaf\xb7\x0a\x72\xcc\xcf\xde\x09\xe3\xa0\x4e\xcb\x7c\x6f\x5b\x71\xcc\x2f\x25\x8c\x6f\xc9\xfa\x82\x96\x1e\xee\xcf\x33\xbd\x54\xc2\x74\x50\x29\xe4\xe0\x79\x2b\x98\x97\x15\xd4\x7d\xe5\x99\x0e\x6a\x18\xdf\x1a\xd6\xf1\xda\xb1\xf3\xd6\x50\x7f\x8d\xb2\xf3\x36\xc6\xce\xdb\xc0\x7c\x6b\x60\x3d\x85\xf3\x8b\x36\xb0\x9e\x36\xb0\xaf\xb6\xc2\xe2\xd1\x0a\x5b\xb7\x55\xe6\xbf\x56\xe1\xfe\xa0\xee\x5b\xa8\x97\x96\xe5\xb9\x89\xa2\x78\x98\xb0\xbe\x65\xc2\xea\x9a\x09\x9b\x5f\x4c\xd8\xfc\x62\xe2\x50\x7c\x4d\x50\x3d\x48\x03\x1b\xd1\x73\xe2\xc8\x79\xaf\x83\x0e\xe3\x50\x7e\x5c\x1b\x1c\xe2\x4c\xd8\xba\x26\x24\xcf\x55\x0c\x9e\xc3\x50\xdc\x54\x0c\xc5\x2d\x8d\xf7\xcc\x9e\x43\x7a\x56\x71\x48\x7f\x89\xa3\xf6\x98\x5e\x1c\xea\x5b\xe9\xf1\x83\x72\xf0\x1c\xd0\x7f\x5e\x98\x3d\x0f\xf3\x83\xcd\x7f\xe9\x31\x0a\xda\x83\xf9\xe1\xd1\x7c\x9a\x1e\xcb\x98\xfe\x4a\xf4\xbc\xaa\x52\xa2\xbe\x90\x38\xb6\xbf\x12\xcd\xb1\x2a\x25\xac\x6b\x6c\x0e\x53\xa9\xd0\x73\x54\xe2\x98\xff\x2a\x34\xdf\x27\x8e\xd5\xa1\x0a\x3d\xa7\xa8\xd4\xc2\xf4\x52\xa3\xb9\x49\xa5\x86\xe7\xa8\x51\x3f\x57\xa9\xd1\xdc\xa9\xd2\x40\x5d\x35\xca\xfc\xd7\xc0\xf8\x36\x30\xbe\x0d\xac\x93\x6c\x4e\x4c\x1c\xf3\x1f\xbb\x37\x53\x78\x6f\xa6\xd2\xc2\x7a\xd5\x42\xff\xb5\xb0\xcf\x90\xf9\xcf\x49\xa3\x0d\xe8\xbf\x89\x6b\x81\x9e\x9d\x34\x26\xe0\x79\x26\x71\x1b\x77\xb6\xaf\x9c\x03\x7d\x21\x71\x1e\xcc\x1b\x2f\x1c\xf2\x8b\x55\x94\x83\xe7\xa8\xa1\xbd\x5a\xb7\xf3\x23\x71\x0d\x3a\x6f\x2b\x0a\xe6\x97\xc4\x19\xa8\x07\x89\xf3\x48\x2f\x89\x63\xeb\x96\x48\x57\x89\x63\xf6\xc8\xfd\x41\xe2\xa8\xff\x58\x7e\xb4\x69\x65\xc2\x29\xcb\x8f\xc4\x11\x1d\xb4\xa9\x73\x41\x0e\xf9\x45\x0d\xae\xeb\xe0\x39\x1c\x8b\xaf\x42\x5d\xa1\xfb\xb0\xc4\xb1\xfc\x6d\xb5\x02\xcf\xa1\x89\xab\x99\xfe\xb4\x81\xf6\x5a\x18\x8f\x96\x9d\xd7\x84\xe5\xaf\x41\x1d\x18\x79\x0e\x4d\x1c\xb9\x47\xbf\x72\x70\x7f\x25\xb1\xa7\xd7\x17\xa6\x19\x07\xfa\x6a\xe2\xc8\x3d\x7f\xe2\x90\x9e\xaf\x1c\xd0\xb3\x8a\x78\x92\x6f\x2a\xe8\x39\xe0\x85\x63\xe7\x40\x7d\x4b\x45\x50\x3f\xba\x5e\x85\x80\xfc\xb8\xfe\xee\x02\xf4\x97\x38\xb8\x2e\xf4\xb3\x7a\x76\x5e\xf5\x2c\xbe\x8a\xfa\xd6\xf5\x9e\x1a\xc5\x4d\x61\x3c\x94\x3c\x7f\x38\x78\xaf\xec\xe0\xfd\xae\xbb\xde\x63\xa2\xbc\x44\xf7\x93\x4e\xc5\x84\xd9\x33\x65\x3a\x30\x03\xf7\x0c\x2f\x1c\x5b\xd7\xb1\xb8\x99\x07\xf7\x61\x57\x0e\xda\x2b\xc1\xf3\x56\xe2\x50\x7f\x4b\x1c\x5c\xb7\xc6\x1c\xd2\x95\x35\x79\x9d\x5e\x8e\xb3\x0e\x19\xa0\xba\x1a\xb2\x34\xc0\x66\x1d\xbc\xe6\x72\x0e\x59\x71\x59\x41\xad\xb9\x5c\x20\x56\x5c\xf6\x81\xf6\x8d\xcb\x0b\x74\xcd\xb1\x75\xf3\x85\x74\xcd\x31\xbf\xe4\x1b\xf4\x9a\xcb\x09\x60\xcd\x31\xbf\xb8\xac\x50\xd6\x1c\xf3\x4b\xfe\x81\x71\xc5\xc1\x73\xe4\x1b\xfe\x1b\x97\x4f\xf0\x35\xc7\xfc\x52\x42\xdd\xe7\x07\x83\x35\x07\xd7\x85\xe7\x2d\xb3\x85\x7e\xcd\x31\xfd\x55\x70\xdd\x0a\xda\xcb\x5f\x70\xad\x39\xa6\x83\xfc\x0f\x7e\x6b\x8e\xe9\x39\xff\xc3\xe0\x9a\x63\x7a\xce\xff\x80\xb8\xe6\xd0\x79\xd3\x08\x0b\x39\x74\x0e\x15\x76\x0e\xcd\x0f\x06\x2b\x0e\x9e\x43\xe1\x39\xf2\x03\xec\x1b\x97\xff\x01\x6c\xcd\x51\x7b\xec\xbc\xb0\x4e\xaa\x83\xf1\x80\x75\x52\x1d\xdd\x1f\xab\x07\x0a\xeb\x9f\x96\x30\x6e\x25\x3c\x6f\x09\xcf\x5b\xb1\x3c\xd7\x0a\xee\xaf\x62\x7d\x4b\xab\xdc\x39\xf6\xf3\xe9\x10\x9e\xfb\xb0\x84\xc3\xf4\x90\x79\x39\x35\x8e\xfb\xe3\x7e\xd9\x4f\xc7\x97\xf7\x65\x3f\x7a\xed\x97\xbd\xe9\xfa\xf3\xc5\xef\x8d\x8f\x7f\x6c\xf8\xbd\x37\x74\x67\xf2\xf6\x78\x0c\x4f\xb3\x5d\xc2\xd2\x87\x4e\xb4\xb8\xbe\x45\xfc\xe1\x2b\xc3\xf9\xb7\x99\xc7\x68\xc5\x8f\x05\x6e\x03\xde\x7b\x39\x37\xb1\xb9\x95\xfa\xf3\xd6\x5a\xee\xcd\xc9\xef\xbd\x8d\x5f\x1c\xe7\xb0\xf4\xbf\xac\xe9\x40\x60\xc6\xe8\xfa\x33\xe1\x1e\x8a\x61\x2e\x3a\x25\x41\x18\x1f\xe0\xbb\xfe\x0f\x71\x62\xff\xc7\xe0\x21\x4e\xdf\xe3\x99\xb1\xf3\xb7\xe7\xe1\xbc\xff\x1e\x3f\x4c\x80\x9f\xc0\xfc\x7c\xec\x8b\xd3\x74\xd8\xf7\xfb\x38\x17\xc9\x01\x7f\xf2\xdf\x7c\x98\xf3\x41\x99\x0f\xf3\x56\xdc\xe6\xd3\x74\x77\xde\x1f\x1f\x8a\xc7\x39\x0e\x0f\xbf\xd8\x5f\xc2\x32\x6f\xaa\x2c\x4b\xbd\x27\xb5\x1f\x5f\xd0\x8f\xf5\xf6\x6a\xf2\x43\x02\xbf\xc0\x9e\xec\x14\xcb\x39\x8c\xe3\xbe\x9f\xbf\x86\x53\x3a\x6a\x36\x38\x4c\x17\x99\x4f\x2e\x97\x8c\x81\xff\x06\x00\x00\xff\xff\xc5\x65\x8c\x00\x13\x4d\x00\x00") func dataHostsUpdateTxtBytes() ([]byte, error) { return bindataRead( _dataHostsUpdateTxt, "data/hosts/update.txt", ) } func dataHostsUpdateTxt() (*asset, error) { bytes, err := dataHostsUpdateTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/hosts/update.txt", size: 19731, mode: os.FileMode(0666), modTime: time.Unix(1567362343, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa3, 0x7c, 0x9, 0x9, 0xf0, 0xaf, 0xfb, 0x34, 0x2d, 0x46, 0x34, 0x86, 0x51, 0xf5, 0xb5, 0xd7, 0xe1, 0xbd, 0x6a, 0x19, 0xc6, 0xae, 0x45, 0x2b, 0xb3, 0xbe, 0xe2, 0xa, 0x75, 0x6b, 0xf3, 0x8b}} return a, nil } var _dataHostsUpdate_v6Txt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x5a\xcf\x6f\xe3\xba\x11\xbe\xef\x5f\x61\x60\xcf\xd1\xce\x0c\x49\x49\x4c\x6f\x45\x0f\x7d\x40\x1f\x50\xa0\xaf\x28\xd0\x1b\x25\x52\x59\x63\x1d\xcb\x90\x94\xf8\xb9\x7f\x7d\x41\x7b\x93\x08\x59\x73\x3e\x5d\x3d\x1f\x87\xf3\xe3\xe3\xcc\x88\xe6\xd7\xaf\x5f\x77\xff\xd9\x1f\xe3\x78\x9e\xff\x75\xba\xfc\xf5\x30\xf6\x3f\xd2\xb4\x7b\xd8\xfd\x7d\x9c\x97\x79\xf7\xdb\x3f\x5f\xeb\xdd\xcb\x29\x86\x25\xed\xa6\x97\x43\x9a\xbf\x64\xfc\x3f\xf6\x7d\x3a\xce\xe9\x71\xf7\xfb\x6f\x7f\x5c\x7f\xf8\xf7\x15\x11\x1f\x77\x42\xec\x1f\xc8\x3f\x10\xff\x21\xf4\x28\xee\x91\xe8\xbf\x24\x8f\x44\x57\xd8\xdf\xc6\x63\x58\xd2\xe3\xee\xfb\xb2\x9c\xe6\xc7\x6f\xdf\xce\xe7\x73\x75\x0a\xcb\x94\xc6\x63\xd5\x8f\xcf\xdf\xfa\x29\xfc\xef\xf2\x1c\xfe\xdc\xfd\xe5\x13\xe4\x72\x0a\x87\xea\x39\xdd\x00\xe7\x9b\x11\xbf\x8f\x53\xda\xed\x8f\xc3\xf8\xa1\xef\x69\xbf\x7c\x7f\xe9\x3e\x54\x3d\x3c\x87\x3f\xbf\xfd\xe2\xdc\x97\x2f\x8f\x8f\x3b\x22\x22\xee\x1e\xb8\x3a\x54\xe7\x1b\xe0\xe6\x65\x5e\xfc\x26\xb7\x46\x97\xd7\xac\xcb\x03\x58\x3f\x08\x90\x7b\x20\x4f\xaa\x9c\x1d\x90\x07\xa7\xcb\xbb\x5e\x97\x47\xab\xcb\x53\x54\xe5\x42\xba\xff\x62\x5a\x5d\x5e\xeb\xf1\x95\x56\xf7\x5f\xda\x41\x97\x07\xb0\xbe\x07\xfb\x0f\xba\xff\xa6\xd1\xf9\x63\x7c\xad\xcb\x07\x3d\x3f\x96\x09\xc8\xf5\xf8\x5a\xa7\xe7\xc7\xd6\x7a\xfe\xad\x07\xfa\x83\x1e\x1f\x9b\xf4\xf8\xdb\x41\x8f\x9f\x03\xfc\x72\x56\xdf\xdf\xb5\xfa\xf9\xab\xad\x9e\x9f\x3a\xea\xfc\x6a\x3a\xdd\xbf\x26\xe9\xf1\x6d\x39\xe8\xf2\xa1\x51\xe5\xbe\xd6\xf3\xe3\x81\xff\x1e\xd4\x0f\xdf\x01\xfd\xa0\x7e\x05\xa7\xeb\x0f\x4e\x8f\x7f\xa8\x75\xfe\x87\x41\x8f\x5f\x27\xfa\xfe\x9d\xd1\xf9\xd3\xd5\x3a\xff\xa0\xbc\xd1\xe3\xd7\xf5\xba\x7f\x5d\xaf\xf3\xaf\x03\xfc\xec\x92\xae\xbf\x27\xbd\xfe\xf4\xac\xf3\xa7\x17\x9d\x9f\xbd\xd1\xeb\x6b\xdf\x01\xfb\x7a\x3d\xbf\x51\x74\xfb\xa2\xd5\xf5\xc7\x5a\xcf\x7f\x02\xf9\x4b\xa0\x3f\x0c\xfa\xfe\x4c\xa4\xc6\x8f\x49\x3f\x1f\x4c\xfa\xf9\x66\xea\xd4\xf9\x88\x29\xaa\xf1\x65\x4a\x6a\xfe\x98\x59\xe5\x0f\x73\x03\xd6\x83\xfd\x79\xd0\xd7\x8b\xce\x2f\x16\xa3\xeb\x37\x5e\xcf\x8f\xd5\xfb\x0f\x5b\xaf\x9e\x3f\xae\xf5\xf9\x82\x9b\x4e\xed\x7f\xdc\xf4\x6a\xfd\xe2\x46\xef\x9f\xdc\x5a\x3d\xff\xad\x53\xf9\xcb\xad\x07\xfa\x7b\xb5\xbf\xb1\xb7\x3a\x3f\x7d\xad\xf6\x0f\xf6\xfa\xfc\xc7\x3e\xe8\xf9\xf1\x51\x3d\xbf\x1c\x58\xcf\x5f\xd0\xeb\x1b\x07\xa3\xef\x1f\xf4\xef\x0f\x0e\x2d\x90\x7b\x5d\x7f\xd7\xe9\xfc\xe8\x01\x7f\xfb\xa8\x9f\xdf\x48\x7a\xfe\x22\x88\x5f\x04\xf9\x8f\x8d\x7e\x3e\x63\xaf\xdb\x9f\x48\x8f\x5f\x22\x3d\x3e\x49\xef\x7f\x9c\x48\xf7\x2f\x01\x7e\x24\x70\xfe\x52\xab\x9f\xbf\xe4\x81\x7d\xa0\xbe\x0c\x02\xe4\x56\xf7\x6f\x68\x80\x5c\xef\x2f\x42\xac\xe6\x4f\x48\x9f\x9f\x84\x82\x1a\x5f\x61\x52\xcf\xb7\xb0\x9e\x5f\x61\x52\xeb\x8b\x70\xab\xdb\xc7\x41\xed\x1f\xc2\x11\xc8\x07\x35\xbe\x22\x7a\xfc\x45\x40\x7c\xa4\x57\xeb\xb7\x48\xd4\xf3\x27\x49\x9d\x3f\x44\x92\xbe\xde\x38\x3d\xfe\xa6\x55\xfb\x87\x18\xbd\xfe\x8b\xf1\x60\xbd\xde\x3f\xc5\xe8\xf3\xb3\x58\xaf\xfb\xe7\xf4\xef\x6f\x71\x4e\xcf\x8f\x03\xfc\x77\xfa\xf7\xa5\xb8\xa4\xd6\x4f\x71\xfa\xfd\x94\xd4\xad\x9e\x9f\x3a\xe8\xfc\xa9\xb5\xfb\xa5\x30\x4d\xe1\xc2\xc4\x0f\xa7\x69\x8c\x55\x1c\xab\x38\x9f\xaa\xe7\x53\xf5\xbc\xef\xa7\x71\x1e\x87\xe5\x13\x50\xb6\x02\xcd\x56\xa0\xdd\x06\x94\xad\x36\xca\x56\x1b\x65\xab\x8d\xb2\xd5\x46\xbb\xd5\x46\xbb\xd5\x46\xbb\xd5\x46\xbb\xdd\x46\xb7\x15\x58\x6f\x05\x36\x5b\x81\x2d\x06\xbe\x54\x71\x3c\x1f\x0f\x63\x88\x05\xc2\xbe\x54\xaf\x16\x60\xba\xa7\x8c\x09\x55\x3c\x54\xe7\xf9\xd7\x3d\x6e\xe2\xf4\x5c\x14\x33\x58\xce\x60\xbd\x80\xf5\x02\xd6\x1b\xb0\xde\x80\xf5\x16\xac\xb7\x60\xbd\x03\xeb\x9d\xbe\xfe\x20\xa7\xea\x7c\x9c\xdf\x72\xf3\xcb\xef\xc7\x71\xd9\x0f\x97\xb5\xb8\x0a\x3f\x42\xcc\x92\xb4\xdc\x90\x63\x57\xcd\x47\x7b\x9a\xe2\xbc\x4c\x64\x42\x35\x2f\xe3\x94\xd3\x3b\xa5\xf7\x65\x3f\xb1\xfd\x61\x9f\x8e\xcb\xbd\xfd\xfa\xe5\x10\x0b\x55\x2f\x76\xe6\x7c\x9c\x25\x7f\x1b\x33\xdf\x5b\x1b\x3b\x57\xf8\xf9\x21\xce\xa7\x3e\x1e\xab\xe5\xf0\x92\x03\x14\xd3\x61\xff\x9a\xa6\xcb\x5d\x32\xc7\xce\xdd\x8d\xc4\xfb\xef\x30\x12\xb1\x73\x73\xff\x9d\x89\x39\x7f\x28\x4b\x41\xd9\x0a\xd2\x20\x48\x6b\x4a\x0e\xaf\x20\x25\xe7\xdf\x21\x9e\xe1\x46\x5e\xb0\x16\x69\x21\xc4\x20\x48\x76\x1b\x42\x60\xe8\x98\xc4\x42\x08\x0c\x1d\x93\xc1\x5a\x2c\xb6\xc5\x42\x2d\x98\x0c\xcc\x62\x30\x04\xe5\x88\x19\xe6\x88\x59\x3c\x84\x18\x6c\x8b\x85\xb6\x08\xc1\x8d\x44\x60\x8e\x04\x7b\x24\x38\xd3\x62\xd0\x09\x60\x03\x0f\x09\x1b\xcc\x3a\x83\xa3\x6b\x70\x74\x0d\x26\xa6\xc1\x47\xcd\x32\xb4\xc5\x62\x8f\xac\xd4\x18\x02\x43\x67\x0d\x41\x08\xa6\x94\x2b\xd6\xff\x15\x04\x3a\xed\x70\x8e\x1c\x2c\xaa\xec\x2c\xb6\xc5\xc2\x4c\xd7\x04\xd3\x58\x33\x86\x60\x8f\x6a\x7c\x48\x6a\x4c\xcc\xda\xc2\x34\x36\x38\x47\x0d\x2e\x87\x8d\x81\x1e\x35\x98\x2f\x2d\x43\x8f\x5a\x81\x1e\xb5\xf8\x04\xb4\xb8\x4a\xe1\x3e\xcd\x2d\xae\x52\x2d\x6e\x36\x9e\x60\x74\x3d\xc1\x8d\x3c\xc3\xb8\x78\xc6\xb6\x60\x62\x7a\x9c\x69\x0f\x8f\x9a\x10\xa3\xe8\x0a\xc1\x02\x2f\x04\x8b\x87\x10\xec\xd3\x42\xb0\x4f\x0b\x19\x94\x23\x21\x74\x1a\xf3\xe8\x01\x58\x97\x21\xc0\xa3\x6b\x2f\x87\x10\xc4\xdd\x6b\x13\x40\x10\x21\xb8\x91\x10\x38\x6a\x4c\x82\xcd\x15\x94\x00\x26\x41\x09\xc8\x23\x26\xd4\x62\x10\xeb\x98\x0c\xe2\x4b\x86\x6c\xd0\x02\x33\x6d\x50\x81\xcf\xe3\xee\x06\x08\x36\x17\xc7\xc5\x12\xd4\x62\x31\x77\xe1\xfc\x92\xa7\x73\xac\x05\x73\xd7\xa2\x59\x2a\xcf\xf8\x90\x2f\x0e\x7d\xd9\x30\x39\x54\x54\x33\x04\xda\xe2\xd0\xb8\xc5\xe4\x70\xf1\x80\x63\x05\x53\x8d\xc6\xf3\x0c\x81\x71\xa9\xd1\x8c\x99\x21\xf0\xd8\xd7\x68\x24\x66\x6a\x08\x66\xba\x41\x03\x01\x53\x83\xcd\x6d\x50\x57\x63\x6a\xd0\xa0\xc4\xd4\x62\x32\xb4\x0c\xe3\xd2\xe2\x1c\xb5\x38\x47\x2d\x2e\x41\x70\xc4\xc9\x10\x18\x17\x78\xa1\xc1\xf8\x42\x83\xc9\xe3\xca\xe0\x71\x5c\x3c\x2e\xcd\x60\x7e\x31\xd4\x72\xab\xf7\xa3\x0c\xf1\x3a\xeb\x0c\xb5\x42\xfa\xd4\x9c\x21\xe5\xcb\xaf\x77\x88\xd1\x8b\x6a\x86\x58\xbd\xc3\xde\x20\xc8\x69\xa9\x37\x40\xb0\xb9\x0d\xd6\xd2\xb0\xca\xdd\x0c\x69\x91\x47\x9e\x58\xef\xd3\x19\x22\xfa\x69\xcc\x10\x8b\x32\x9d\x21\x70\x23\x87\xc8\x90\x21\x50\x0b\xf8\x6e\xcc\x90\x0d\x71\x81\xdc\xf5\x79\x2b\x00\x61\xc8\xdd\x0c\x01\x69\xf4\xb9\xc4\x63\x08\x72\x9a\x05\x6f\x64\xb0\xb9\x06\xe6\x88\x31\x19\xd0\x6d\x45\x86\xc0\x73\xe4\xb9\xd6\x3f\x5b\x32\xa4\x81\x7c\xe1\x16\x6b\xf1\x38\xba\x1e\x7a\x24\x04\xcf\x91\xe0\x34\x0a\xf8\x6c\xc9\x10\x70\xbd\x78\x85\x60\x5b\x1c\xd0\xc2\xd7\x27\x77\x10\xa2\x37\x9b\x0c\x01\x57\x9d\x19\x82\x58\x77\x85\xe8\xac\x63\x22\x0b\x4e\x00\x13\x1a\x43\x6f\x10\x68\x2e\x2a\xf0\x4c\x84\xaa\xf7\xf5\x4b\x57\xe7\xee\xf5\x22\x59\xe7\x4b\x86\xe0\x8d\x70\xe8\xd8\x42\x8f\xd8\xc2\x1c\x31\x2a\xf0\xd7\x2b\x3d\x94\x00\xc6\xd1\x65\x30\xef\x1a\x7c\x19\x67\xf0\x1d\x99\xb9\x5e\x17\xa1\x43\x82\xee\x82\x4c\xfe\xb4\x87\x5a\x84\x61\x1a\x45\xf4\x4f\xcb\x1b\x04\x6e\x64\x60\x02\xc4\xea\xb7\x15\x57\x08\xd6\xe2\xf4\x09\x3e\x43\x50\x0f\xc8\x10\xbc\x51\xb3\x05\x82\xc8\x20\x6d\x91\x52\xe7\xe3\xcc\xf1\xbe\xac\xbe\x2e\x97\x3c\x67\x95\x62\xb6\x86\x14\xbc\x5d\x41\x4a\x2c\x58\x43\x0a\x61\x5d\x41\x4a\x5f\x3d\x1f\x90\x22\x97\xd6\x10\xb8\x51\xb1\x3c\xad\x21\xd0\xe9\x62\xaf\x5a\x43\x0a\xf9\x5b\x43\xa0\xd3\xa6\x94\xe2\x35\x04\x3a\x5d\xfc\xd2\x58\x41\xb0\xb9\xc5\x8e\xf7\x01\x29\x9e\xb1\x35\x04\x3a\xed\x30\x31\x8b\x4d\x71\x0d\xc1\x1b\x61\x8f\x5c\xa9\x54\xae\x21\x90\x2f\x35\xde\xa8\xc6\x5a\x8a\x77\x10\x6b\x08\x4c\x63\xf1\x1f\x87\x35\x04\xb2\xae\xf8\xa7\xc4\x1a\x02\x59\x57\xfc\xdf\x62\x0d\x41\x1e\xe5\x49\x0b\x43\x90\xb9\x4c\xd0\x5c\x2e\x36\xc5\x15\x04\x9b\xcb\xd8\xdc\xe2\x9c\xf5\x01\x29\xde\xcf\xaf\x21\x1b\xb4\x40\x8f\x70\x09\x62\x83\xa3\x8b\x4b\x10\x9b\x0d\xb6\xc0\xd3\xc8\xb8\xbe\xb0\xc3\x09\x70\xd8\x23\x87\x3d\xaa\xe1\x51\xe3\x1a\xdb\x52\xc3\x02\xcf\x75\xc1\xdc\xfd\x7c\x3a\x84\x4b\x1f\x96\x70\x18\x9f\xee\xbf\xa3\x4a\xc3\xfe\xb8\x5f\xf6\xe3\xf1\xf6\x8c\xeb\xce\xa3\x33\xf8\x14\xeb\xed\xc1\x60\x59\xf2\xd3\xae\x4f\x2f\xc5\x66\xf0\xd6\x30\x85\x97\x59\xce\x61\xe9\x43\x47\x5c\x5d\x5f\xae\xdd\x7b\xa6\x56\x7c\x2d\x37\x24\xa9\x7e\x6a\xdc\x2c\xfb\xf4\x48\x2c\xc3\x0a\xaa\xfb\x49\x51\x6e\x3e\x42\x76\xef\x39\x66\x75\x9c\xc3\xd2\x7f\x6c\x62\xf4\x08\x0f\xc9\xf4\x13\x80\x3c\x55\x71\xae\x3a\x06\x21\x1d\x9e\xf0\x13\xcf\xa7\x34\xc2\xb7\xa4\x4f\x69\x7c\x4d\x13\x84\xcd\x3f\x2e\x71\xda\xbf\xa6\x7b\xe4\x7c\x93\xcd\x97\x63\x5f\x9d\xc6\xc3\xbe\xdf\xa7\xb9\xca\x2e\xbe\xc5\x65\x3e\xcc\xc5\x10\xcf\x87\x59\x49\xc0\x7c\x1a\x1f\xa6\xfd\xf1\xa9\x7a\x9e\x53\x7c\xfa\x50\xb8\x84\x65\xd6\x58\xa1\x02\x3e\x51\xe3\x27\x96\xef\xf2\xe3\x5d\xd1\x3d\xe1\x96\xf7\x8d\x79\x75\xb5\x4c\x61\x18\xf6\xfd\xfc\x3d\x9c\xb2\x33\xa5\x28\xc3\x8c\xde\xff\xf1\x7c\x56\x96\xfd\x3f\x00\x00\xff\xff\x88\x9f\x6e\x98\x54\x43\x00\x00") func dataHostsUpdate_v6TxtBytes() ([]byte, error) { return bindataRead( _dataHostsUpdate_v6Txt, "data/hosts/update_v6.txt", ) } func dataHostsUpdate_v6Txt() (*asset, error) { bytes, err := dataHostsUpdate_v6TxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/hosts/update_v6.txt", size: 17236, mode: os.FileMode(0666), modTime: time.Unix(1567362351, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa5, 0x21, 0x40, 0x3e, 0x55, 0xc2, 0x31, 0xb2, 0x7f, 0xb, 0xd0, 0x1e, 0xc8, 0x94, 0x9d, 0x73, 0x30, 0x2b, 0x2f, 0x7, 0xd0, 0xbc, 0x3f, 0x38, 0x1d, 0xa5, 0xa0, 0xbd, 0xf9, 0x40, 0x0, 0x7d}} return a, nil } var _dataNcsiNcsiTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x0a\xcf\xcc\x4b\xc9\x2f\x2f\x0e\x2e\xa8\x74\xca\xc9\x4f\xce\x4e\x2d\x02\x04\x00\x00\xff\xff\x76\x30\x32\x0e\x11\x00\x00\x00") func dataNcsiNcsiTxtBytes() ([]byte, error) { return bindataRead( _dataNcsiNcsiTxt, "data/ncsi/ncsi.txt", ) } func dataNcsiNcsiTxt() (*asset, error) { bytes, err := dataNcsiNcsiTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/ncsi/ncsi.txt", size: 17, mode: os.FileMode(0666), modTime: time.Unix(1518299054, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x40, 0xdb, 0x99, 0xee, 0xba, 0xe, 0x0, 0xac, 0xf9, 0xaa, 0x5f, 0x40, 0x73, 0xce, 0x8d, 0xb3, 0xdf, 0xb9, 0xb3, 0x68, 0xc9, 0x74, 0xbe, 0x4f, 0x52, 0xcd, 0x22, 0x94, 0xee, 0x46, 0x83, 0x73}} return a, nil } var _dataOpenwrtExtraDnsmasqConf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x59\x4d\x8f\xe3\x38\x0e\xbd\xf7\xaf\x08\xd0\x97\xdd\x83\x95\xd8\xa9\xaa\xfe\x00\xf6\xb2\xb7\x05\xb6\x31\xc0\x4c\x03\x7d\x66\x24\xda\xd6\x44\x1f\x6e\x51\x8e\x93\xfa\xf5\x03\xcb\x49\xaa\xe2\x58\xae\x58\xb7\x2a\xf3\x3d\x9a\x21\x9f\x44\x89\xfe\xfc\xf9\xf3\xea\x97\x34\xc2\x76\xf4\x57\x73\xfa\xaf\xb2\x7c\x8f\x6e\x95\xad\xfe\x68\xd0\xfc\xfa\xf3\xe7\xaa\xb6\xe4\x69\x85\x47\xef\x60\xe5\x5a\x85\xb4\xfa\xd7\x1a\x3d\x5f\x0b\x43\x1a\xe8\x37\xe3\xd6\x94\xff\xfe\xd4\x7b\xf9\xbf\xe4\x68\x08\xbf\xaf\x7e\xfc\xef\x67\x78\xf0\xc3\x3a\x5c\x49\x53\xda\xef\xab\xda\xfb\x86\xbe\xaf\xd7\x95\xf4\x75\xbb\x63\xdc\xea\x35\x77\xf0\x7a\xca\x34\x1c\xd7\x77\xaf\xff\xf4\x89\xd0\x1d\xd0\xfd\x67\x0d\xd9\x66\xb3\xc9\x19\x64\x9a\x50\x54\xc8\x0c\xfa\xf5\xd8\x28\x78\xdc\x5a\xcc\x51\xb7\xf3\xc6\x39\xbf\x4f\x73\xd4\xe7\x39\xe3\xcb\x9c\xf1\xcb\x9c\xf1\xeb\x9c\xf1\xdb\x8c\x31\xdf\xcc\x19\xe7\xb2\x9b\xc7\xf3\x37\xf9\x94\x7b\x79\x00\x2f\xad\xc9\x0e\x05\x23\x45\x4c\x4b\xee\x2c\xd9\xd2\x87\x92\x4f\x00\x67\x51\x7a\xdb\x40\xd3\x17\x91\xbc\x75\x50\x21\x53\xf2\x80\x23\x8c\xa1\x0e\x5d\xdc\x45\x23\xd9\x4e\x9a\xea\xfe\xa9\x35\x28\xdc\xbd\xbb\xa6\xc1\x63\xe6\x4a\xa6\xc9\xdc\x59\x88\xd1\xfe\xd4\x8c\x19\x8e\x4f\x80\xdf\x1e\x32\x43\xe0\xf9\x28\x4f\x8e\x18\x69\x70\x9e\xb8\x43\x34\xd1\xe0\x5b\x5f\xb3\xaa\x3c\x32\x4d\xef\x1e\xbe\x6e\x5f\xf2\xaf\xf9\x0b\x3b\x58\xa6\x09\xb9\x11\x23\xdf\xaf\xcf\x79\xb1\xdd\x3e\xc5\xec\x7d\x36\x4a\xeb\x76\x2d\x49\x83\x44\xb7\x6f\xdc\x29\xbb\x63\x1d\x82\xaf\xd1\xc5\xa2\xe2\xb3\xab\x8e\xe7\x51\x1e\x18\x71\xe2\xae\xa5\x9a\xac\x00\xb6\xbf\xab\x0a\x17\x7d\xc2\x8c\x47\xe3\x59\xe3\xac\x60\x5c\xd3\x7d\x6a\x7b\x94\x35\x68\xac\x1f\xbf\x19\x5b\xea\xc0\x73\xd8\x6d\x72\x16\x7e\x08\xb7\x0e\x59\x37\x6c\x2e\x23\x6c\x8d\x7c\x1f\x6a\x8d\x3c\x1a\x6f\x6d\x25\xc7\x25\xd6\xa9\x52\x73\x25\xd1\xf8\xcc\x96\xa5\xe4\xb8\x7d\x79\xce\x3c\xf4\x3f\x6a\x22\x71\x03\x90\x58\x05\x1e\x3b\x38\x31\x8d\x44\x68\x2a\x74\x13\xaa\x1f\xc0\xfd\xd6\x2b\x2b\xd6\x00\x51\x63\x9d\x1f\xf9\xb3\xb3\x2b\xf0\xcc\x0d\x71\x4c\xa8\xfa\x6c\xf6\x08\x3a\xee\xc2\xa9\xa8\xe9\x54\x30\x42\xef\xa5\xa9\x88\x09\xf0\x30\x4a\x14\xec\x41\x98\x51\x4d\x04\x1e\xd8\x41\x3a\xdf\x82\x42\x70\xbe\xbe\xb3\xf6\xf9\x0e\x4b\xe2\xb8\xb3\xc7\xfb\x9c\x08\x2d\x98\x46\x0f\xfd\xff\x92\x63\x34\xec\x79\xdc\x74\x68\xa6\xaf\x59\xe9\x0d\x27\x79\xeb\x0c\xb9\x61\xf3\x81\x63\xeb\x6c\x83\xef\x97\x7b\x16\xc4\x1d\x89\x0e\x0f\x76\x8f\xd9\x59\xb4\x97\x10\xa3\xa2\x29\x11\xc5\x0e\xf8\xfe\xcd\x5b\x56\xdb\x5a\xdf\xba\xbc\x82\x08\xc1\xf1\x3a\xf6\xe6\x2b\xec\xb2\x62\x6e\xad\xd2\x80\xe1\xc8\xae\x59\x0b\xab\x67\x62\x6f\x2d\xad\x15\x60\x84\x70\xd2\xec\x99\x97\x0a\xe3\x48\x97\x95\x8e\xc5\x77\xdc\x32\x5a\xc2\x6a\xc2\x5b\x35\xb1\x4c\x2a\x65\x77\xa0\x18\x81\xbe\xf7\x2e\xf3\xb7\xdf\x42\x96\x4b\x88\x8a\x59\x22\x3f\x28\x49\x3e\x6a\xd7\x55\x28\x69\xc6\x35\x65\xce\x67\x6f\xb5\x38\xeb\x49\x83\x7c\xc5\xd1\x36\xdc\x93\x28\xd3\x64\x3e\x00\x31\xf2\x3b\x16\x80\xa3\x97\x9a\x12\x1d\xf6\x15\x51\x96\x0f\x9d\x34\xfc\xfe\x5b\xbe\x21\x29\xd0\x9d\x7f\x67\x34\xfe\xe6\xf0\xc4\x94\xad\xa4\x99\x48\xa1\x0a\x87\xba\x3e\xdb\xba\x89\x39\xb8\x44\x90\x5d\x83\xca\x3a\x24\xdf\x12\xe3\xca\xb6\x02\x9a\xe6\x36\xac\xe8\xbb\xc2\xf3\xeb\x4b\xac\x51\xd2\x4c\x43\x08\xce\xeb\xf4\x65\xc2\x73\xdf\x21\x34\x85\x9d\xe2\xc6\xa8\x59\x6d\xbd\x06\xa9\x6e\x5d\x6a\x30\xfd\xd1\x42\xe0\x81\xa3\xf1\xf1\xbe\xa7\xa1\xa1\xe9\xb5\xa1\x51\x48\x70\x28\xa4\x43\x1e\x55\x89\x76\x76\xd8\xc3\x74\xe5\xd8\xd0\x0e\xc2\x91\xe2\x3e\x0d\x9a\xa0\x6f\xfa\x53\x86\xa9\x2d\xc8\xc0\xe1\x91\xc3\x84\xc1\xa3\xcf\xde\xaf\xde\xe8\xea\xb2\xdc\xd2\xbb\x86\x45\xc5\xf4\xde\x33\x20\x42\xb2\x23\x7e\xa6\x01\xa1\xe7\x50\x2b\xc7\xfd\xfb\x0c\x0f\x9d\x2d\xea\xd2\x5c\x00\x34\x3a\x16\x5d\x8e\x73\x5c\xb5\xbc\x5f\x8c\x3b\x53\x84\x63\xca\x07\x07\x81\x69\x5a\x91\x46\xdb\xa6\xd1\x9e\xd2\x68\xcf\x69\xb4\x97\x34\xda\x97\x34\xda\xd7\x34\xda\xb7\x24\x5a\xbe\x49\xa3\xa5\xa9\x24\x4f\x53\x49\x9e\xa6\x92\x3c\x4d\x25\x79\x5a\xb9\xf3\xb4\x72\xe7\x69\xe5\xce\xd3\xca\x5d\xa4\x95\xbb\x48\x2b\x77\x91\x56\xee\x22\xad\xdc\x45\x5a\xb9\x8b\xb4\x4d\xa1\x48\x53\x49\x91\xa6\x92\x22\x4d\x25\x45\x9a\x4a\xb6\x8b\x55\x22\x74\x52\xeb\x18\x68\x8b\x55\x32\xd0\x16\xab\x64\xa0\x2d\x56\xc9\x40\x5b\xac\x92\x81\xb6\x58\x25\x03\x6d\xb1\x4a\x06\xda\x62\x95\x0c\xb4\xc5\x2a\x09\xb4\xe5\x3d\x60\xa0\xa5\x95\x7b\x79\x0f\x18\x68\x69\xe5\xce\xd3\xca\xbd\xbc\x75\x0c\xb4\xb4\x72\x2f\x6f\x1d\x03\x2d\xad\xdc\xcb\x5b\xc7\x40\x4b\x53\xc9\xf2\x1e\x30\xd0\xd2\xca\xbd\xbc\x07\x0c\xb4\xb4\x72\x2f\xef\x01\x03\x2d\xad\xdc\xcb\x7b\x40\xa0\x3d\xd0\x03\x1a\x0f\xc6\x9a\x0f\x61\x7e\x62\x4e\x61\x5b\xaf\xac\xdd\xb3\xeb\x95\xe9\xd6\xdc\x78\x19\xe6\xd7\xd1\xfb\x77\xd3\x3a\x5e\x03\xe1\xcc\x0d\xfb\x77\x8b\xee\xf4\x36\x14\x75\xd1\x0b\x92\x2b\x36\xd4\xfd\x9d\x6f\x75\xf4\x1a\xeb\xb0\x92\xd4\x5f\x73\xb9\x68\x78\xf4\x0e\xe8\x64\x7f\x47\x94\x4c\xf6\x7f\x44\x30\x8f\x8d\x2a\x69\xc3\x0a\x2d\xcc\x6d\x1e\xfb\x3b\xe5\x79\xc4\x38\x31\x7c\xbc\xcc\xa9\xc6\x89\xbe\xcc\x31\x3e\x18\x50\x5f\x06\x8f\x19\x91\x8a\xcc\x0a\xaf\x90\x4e\x9a\x89\xf9\xe4\x3d\x70\x1e\x54\xf6\xd6\x0f\xa6\x2c\x54\x43\x5c\x02\xe4\xc1\x4b\x3e\x95\xa8\xe8\x87\x8f\x20\xa9\x4c\x6a\xa8\xe2\xa3\xce\x1b\x0c\x65\x73\x28\x0e\x1e\x94\xad\x1c\x1e\x2e\xe3\xa4\xf0\xf8\x77\x0b\x4a\xfa\xd3\xec\x0b\xfa\xfb\x7c\x29\x98\xa0\xe3\x8c\x82\xa9\x6d\xc2\x8c\x3a\x62\xf6\xac\x8d\x7f\xc4\xf1\x1b\xd6\x97\x12\xf6\x4c\x9c\x0c\x68\xc9\xc3\x5c\x91\x66\x86\xae\x6f\x8c\x0f\x91\x52\x61\xf6\xa0\xb0\xbc\xd4\x38\x3d\x01\xf2\xfb\x82\x35\xca\xdf\x4b\xb6\xad\xcb\x98\xb7\x56\x4e\x69\x7f\x26\x0d\xed\x63\x5f\x8d\x0e\xa0\xa4\x78\xe4\x23\xdc\x1b\x70\x16\x85\x8e\x7a\x48\x7d\xda\x39\x29\xc2\xa6\x50\xa3\x1b\x45\xdd\x31\x68\x1a\x87\xcd\x23\xf1\x75\xa0\x14\x46\x85\xd0\x09\x1e\xd5\x50\x6f\x03\x15\xa7\x4a\x93\x6f\x32\xdf\x8b\x6c\x62\x5c\xd5\x11\xb7\xc6\xcf\x0e\xbe\xa2\x90\xd8\xc8\x6a\x20\xe4\x0f\x38\x2d\xe6\x31\x5d\x17\xbe\x2f\x70\x6b\x0c\x72\xef\x91\x22\x80\xfb\xe9\x5f\x6f\xb9\x7e\x2d\x08\xdb\xe6\x8d\xf9\x38\xb7\xae\x8e\x5a\x8d\xe7\xbe\xff\x04\x00\x00\xff\xff\x0c\xff\x95\x67\x0e\x20\x00\x00") func dataOpenwrtExtraDnsmasqConfBytes() ([]byte, error) { return bindataRead( _dataOpenwrtExtraDnsmasqConf, "data/openwrt/extra/dnsmasq.conf", ) } func dataOpenwrtExtraDnsmasqConf() (*asset, error) { bytes, err := dataOpenwrtExtraDnsmasqConfBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/openwrt/extra/dnsmasq.conf", size: 8206, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb9, 0x4a, 0xe7, 0x97, 0x55, 0x88, 0xcb, 0x2c, 0xba, 0xc4, 0x41, 0xbd, 0xb1, 0xa4, 0x43, 0x4b, 0xa5, 0x60, 0x3, 0x22, 0x4a, 0x97, 0xda, 0x9f, 0xa6, 0xbd, 0x5b, 0xb0, 0xd8, 0xa4, 0x85, 0x4}} return a, nil } var _dataOpenwrtExtraFirewallUser = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x9b\xcf\x6f\x63\xb7\x11\xc7\xef\xfe\x2b\x1e\xe0\x4b\x7b\xd0\x98\x33\xfc\xbd\xb7\xb6\xde\x16\x06\x9a\x38\x50\x5c\xec\xd9\xb1\xb5\x8d\x5b\xc7\x12\x64\x19\x49\xfa\xd7\x17\x43\xbe\x27\xbd\x45\x51\xcc\x97\x07\xed\x02\xbb\x1f\x53\xc3\xe1\x70\x7e\x71\x7c\x7d\x7d\x3d\x7d\x79\x79\x7b\xde\xff\xfa\xfe\xe3\xe1\xf7\x3f\xbf\xee\x9f\xfe\xbd\x3b\x4e\x9b\xe9\xfe\xb0\x7b\xfb\xb2\x7d\x98\x5e\x0e\xef\xd3\xee\xb7\xd3\xf1\x71\x3a\x7e\xbc\xee\xde\xa7\x3f\xdc\xec\x4e\x4f\x37\x5f\x5f\x8e\xbb\x5f\x1f\x5f\x5f\xe9\xe3\x7d\x77\xfc\xe3\x95\x2e\xf2\xf7\x97\xa7\xdd\xdb\xfb\xee\xd3\xf4\xdd\xdd\x43\xfb\x87\xef\xf6\xc7\xdd\xf4\xf2\xf6\x75\xff\x69\xfa\xf9\x74\x3a\xbc\x7f\xba\xb9\xf9\xe7\xcb\xe9\xe7\x8f\x9f\xe8\x69\xff\xcb\xcd\xd3\xf1\xf1\x3f\xbf\x6f\x7e\x79\xfc\xed\xe6\x7f\xbe\xfd\xea\xea\x7a\xda\xbd\x7d\xdd\x1f\x9f\x76\xd3\x71\xff\x71\xda\x1d\xa7\xdb\xef\x7f\xbc\x7a\x39\x9c\x1e\x7f\x52\x11\x36\xa7\xe9\xed\xf1\x34\x6d\xee\xa6\x1f\xb6\x9f\xb7\xf7\xff\x78\xb8\xfb\xfe\x6f\xd3\xe6\x30\x9d\x9e\x0e\xd3\x66\xf3\x7c\xd8\x1f\x4f\x53\xf4\xd3\xe6\x5f\xd3\xf6\xf3\xed\xdd\xf6\xf3\x5f\x1e\xa6\xcd\xe6\xb4\xdf\xe8\x7f\xbc\x4f\xd1\xdb\x2b\x7d\x3c\x83\x2b\x5d\x5d\x77\xb5\xac\x96\xbc\x9b\xfe\x7a\xbf\xfd\xf2\xa7\xed\xad\xfe\xd8\xed\xf6\xfe\x87\x69\xf3\x3c\xb1\xa7\x14\x88\x4b\x22\x91\x08\xc0\x39\x91\x70\x21\xe6\x8c\xc2\x95\xb8\x32\x0e\x0b\x3b\x04\xce\xc4\x2c\xc4\x5e\x10\xb8\x90\xf8\x48\x2c\x09\x87\x25\x40\x1b\xac\x24\xbe\x52\xaa\x38\x5b\x10\x89\x8b\x23\x16\x8a\x01\x41\x99\x22\x7d\x63\x3a\xff\x97\x2c\xc4\x41\xd5\x50\x00\x98\x5d\x26\x3f\xc4\x0a\x24\xae\xb2\x91\x0a\x72\xc6\x33\x8a\x4a\x90\x88\x23\x72\xc0\x0b\x8b\xaf\x8b\xef\xac\x69\x19\x65\xf5\x16\xe1\x2c\x2e\x84\x30\x89\x43\x15\xac\xb0\x20\xe6\xab\x70\x10\x5c\x64\x65\x11\x53\x5f\x58\xc4\x82\x17\x16\xd5\x44\x90\x01\xb5\x05\x3f\x20\x70\xc2\xcf\x39\xe4\x01\xb6\x8e\x18\x9b\x8c\x58\x05\xfb\x11\x43\x96\x18\x29\xa3\xda\x68\x30\x7a\x7e\x0d\x36\xc5\x10\x4f\x35\x51\x14\xc0\xb3\x75\x54\x5c\xd1\x0f\x02\x67\x4a\x4c\xec\x4d\xff\xde\x59\xce\x85\xd8\xde\x5d\x87\xc5\x55\xaa\xd0\xc2\x95\xd8\x55\x0a\x90\x22\x3a\x9b\x50\x96\x93\x7e\x40\xb8\x39\x0b\x44\x62\x76\x1a\x93\x84\x38\x9b\x69\x42\xa3\x59\xdd\x31\x71\x45\x8e\xa4\xd3\xea\x0f\x4d\xef\x12\x1c\xa5\x4a\x9c\x13\xd9\x5b\x0c\x8e\xb2\x23\x47\x6c\xdb\x85\xa2\x41\xe9\x64\x9e\xb4\xa2\x59\xb3\x25\x92\x00\xad\x9b\x49\xbc\xa3\x60\xaa\x4d\xd9\x4a\xa1\x60\x3b\x2b\x5e\x25\x0e\x20\xca\x92\x29\x22\xca\x55\x36\x3a\x12\x8f\xe8\xa1\x44\x4d\x97\x20\x95\x95\x4a\xec\x23\x41\x1a\xab\xfa\xfd\xe4\x6e\xc4\xb4\xf8\x0e\xab\x6b\x43\xf6\xb6\xa0\x66\xb8\xbb\xb0\x62\xc6\xd1\xd5\xba\x90\x22\xce\x30\x72\x72\x0b\x6c\xe7\x4b\x0b\xac\x61\x61\x08\x86\x75\xac\x30\x62\xc3\x67\x18\xde\xa0\xc2\xa6\x0b\x9a\x61\xfd\x64\xf0\x00\xb5\x50\x81\x74\xc1\xad\xf8\xf0\x90\x6d\xb2\x9a\x3c\x24\x40\x26\x4e\x4c\x11\x91\x40\x1d\x60\x20\x33\xde\xce\x64\x2b\x7c\xd0\x65\x35\x75\x0c\xf0\xca\x95\x18\x72\x29\x4d\xe0\xa4\xc1\x11\x84\xb5\xa2\xc1\x61\x4f\x8c\xb2\x2c\x81\x3c\x62\xc4\x0b\xcc\x15\xa6\xd5\x32\x31\x39\x84\x3c\xbc\x32\x0b\x65\x01\x42\xff\xc2\x46\x24\xe6\xce\x70\x6d\x41\x1a\x85\x99\xec\xd4\xbf\xb1\x5e\xa3\x28\x64\x17\xdc\xf3\x20\x50\x86\x40\x31\x90\x08\xe2\x37\x15\x66\xfd\x1b\x64\x45\x02\x52\x06\x2d\x74\x60\xe2\x80\xad\x1d\xc9\x43\x95\x71\x83\xb3\x26\xa7\xec\x31\xdd\xe5\xe6\xdf\xec\xbc\xbb\xc1\xa5\xa5\xb1\x20\xca\xce\x13\xe2\x62\x3b\x9b\x50\xff\xa2\xd9\xa3\xe6\xf5\x11\x32\x23\x49\xc4\x60\xe0\x53\xb6\x12\x64\xf5\xd2\x2b\x21\xb6\x8b\x8a\x85\x0e\x42\x19\x13\x42\x0f\x24\x22\x7d\x85\xc8\xc4\x2e\xb6\x2a\x04\x28\x16\x94\xd6\xb0\xae\x37\xdb\x3c\x95\x19\x56\x5f\x64\xf7\xa4\xe2\xec\xb5\xf4\x63\x27\xd3\x4a\x6b\x42\x1d\xa9\x98\xca\x9b\xd9\x5a\x80\x6e\xd7\xcc\x76\xfd\x41\x32\x07\x26\x49\x48\x27\x62\x86\xbd\x00\xe9\xec\xcc\x72\x4a\xc4\x0e\xdb\x60\xd0\x62\x01\x49\xa1\x1a\x1d\x89\xc5\x03\x3e\x34\x4a\xcb\x06\x7c\x54\x5f\x03\xc2\x21\x01\x61\x6d\x66\x23\x92\x66\x5c\x58\xbb\x05\xb9\xb0\x32\x20\x70\x1c\xd9\x5d\x66\x24\x5a\x2a\x5c\x28\x25\xb2\xab\x48\x15\xd5\x55\x2a\x40\x76\x7f\x46\x81\x53\x3e\xa3\xb6\xb1\x75\x54\x73\x33\x54\x58\x65\x51\x69\x59\x70\x71\x95\x1d\x90\xd7\x8e\xd5\x2b\xd6\xf6\x6d\x17\x16\x39\x5f\x65\x73\x22\x3b\xdc\xac\x58\x74\x6f\xca\xa2\x7b\x53\x16\xdd\x5b\x06\xaf\xe6\xc2\x9a\x61\x6c\xc5\xda\x91\xe6\xcc\x06\xd8\x7c\x0b\xa1\xcb\x96\x82\x6f\x4d\x59\x74\x6b\xca\x8e\xc8\x60\x07\x8d\x0b\x0b\xfb\x86\x42\x1e\x76\x0e\x65\x48\xbd\x76\x32\x7f\xbe\x16\x5a\x07\x8d\xc0\xb8\x33\x71\x23\xde\xc4\x8d\xb8\x13\x37\xe2\x4f\xdc\x88\x43\x71\x23\x1e\x25\x8c\x68\x23\x8c\x68\x23\x8c\x68\x23\x8c\x68\x23\x8c\x68\x23\x8c\x69\x03\x73\xb0\x9a\x9f\xd7\x40\x8c\xb9\x4d\x9f\x5a\xb7\x12\xc8\xa6\x1b\x5d\x88\x43\xa1\x02\x59\xf4\x02\x43\xc7\x32\xc3\x40\x65\xa1\x74\x7b\x98\x02\x1a\x28\x2b\x96\xed\x12\xe0\x4c\x57\x62\xcc\x2b\xb6\x8e\xb7\x26\xf6\x90\xae\x63\x22\x71\x6a\xd4\x90\x17\x8d\x85\xc4\x17\xb2\x7b\x39\x0a\x27\xdf\x2b\x44\xe8\xbe\x24\xbd\x2b\x4c\x11\x12\x23\xa9\x45\x67\xe4\xad\x65\xa1\x23\x83\xfe\x51\xf3\x74\x76\xc0\x43\xc7\x0a\x16\xc6\xa4\x4e\xcd\xd9\x00\xd5\x96\xc2\xb9\xbd\x95\xdb\xaf\x81\x0d\x2e\xa4\xbe\x06\xbb\x2f\xa9\x92\x66\xbe\x50\xb2\xce\xd9\xb5\x8b\x8b\xc9\x9c\x79\xee\x57\x63\x4b\xfb\x96\xdc\x63\x9a\xce\x91\xd4\x23\x54\xe8\xbe\xe4\xd4\x3a\x2f\x20\x5c\x5a\x8b\xd4\xee\xbb\x9c\x61\x4f\xd8\x65\x51\xb8\x7a\xe4\x1d\xac\xd1\x7a\xc1\xf5\x2e\x22\x70\xf1\x5a\x4d\x82\xe9\x4c\x09\x54\x84\x18\x2a\x11\x15\x56\x73\xc2\x84\x16\x89\xbd\x2f\x00\xc1\x7a\x80\x9a\x4c\x20\xe1\x45\x61\xd1\x52\x1f\x51\x87\x78\x35\x6b\xcc\x48\x1b\x5b\x81\xde\xcb\xcc\xa6\x0a\x5e\x15\xf1\x1a\xe3\x2a\x49\x40\xf4\x2c\xbe\xb6\x06\x09\xb6\xbd\x26\x83\x5e\x46\x98\xd6\x9b\x88\x38\xc7\x33\x3d\xb0\x76\x02\xde\xce\x57\xf0\x88\x20\x79\x90\x16\x87\xf8\xc7\x46\xe7\x8c\x9a\x69\x87\xa1\xb0\xb5\xc0\x0c\xb9\xbc\x85\x16\xbb\x6f\xbb\xd0\x7a\x1d\xe1\xa5\x4b\xc0\x22\xb3\xc2\xe2\x20\xa9\x53\x20\x75\x08\x24\x76\x20\xba\xa0\xa6\x75\x5c\x50\xf3\x44\x2e\xa8\xa9\xb3\x86\x82\x8f\xb6\x8d\x8d\x48\x32\xbf\x90\x76\x0a\x7d\x26\xed\x79\x91\x0b\x6a\x4b\x1a\xa9\xb7\xa0\xc4\x4e\x9e\x3b\x2b\x92\x80\xf1\x24\x65\x75\xff\x19\x79\x46\x58\xc1\x76\x97\x64\x0d\x43\x22\x2f\xb0\xad\xe1\x15\x8c\x6e\xb0\x16\x24\x6d\x50\x38\xb6\xbe\xab\x5d\xfd\xcc\xac\x77\x40\xc3\xb3\xb3\x02\x5a\xa5\xc6\xf4\xa0\xf9\xa4\x03\x9a\x46\x67\x98\x81\x16\x48\x83\xb9\x4f\xc2\xda\x4d\x85\x46\x4b\xfb\x01\xbb\x0b\xd2\x60\xcd\x5c\x3c\x89\x9d\xbe\x37\x3a\xf4\xa7\x58\x6c\x8b\x41\x13\x61\x50\x77\x9d\xb5\x27\xdd\xce\x2c\x3b\x7b\x66\x4c\xe1\xd8\x46\x25\xed\x0c\xa3\xc1\x89\x2a\x03\x2d\x2c\x65\xdb\xc8\x18\x34\x6e\xd3\x69\x0d\x20\x5a\x99\x42\x52\xab\x69\xb4\x4a\x10\x83\x43\x9f\x29\xb2\x87\x2b\x67\x5a\x5a\x6b\x08\xc4\x63\x7b\x4d\x80\x66\x42\x59\x3d\x28\xb5\x2f\x00\xe6\x9f\x57\x34\x30\x42\x7a\xa1\x6d\x3f\xf6\x0d\x0d\x8c\x9c\x76\x3a\x31\x76\xd5\x7d\xe8\xd5\x55\x2e\xc0\xb4\xde\x99\x2e\x91\xec\x4c\xed\x42\x17\x64\x3e\xac\x3f\xd4\x25\x0a\x48\xae\xb1\xc0\xe2\x03\x34\x46\x9e\xfb\x93\x72\x9b\xae\x05\x26\xa3\x17\x3c\x00\x6d\xd2\x85\x6e\x73\xf5\xf0\xda\x12\x3c\xd0\xe9\xef\x0f\x98\xb1\x35\x0e\xec\x91\x2a\xf6\x45\xaf\x3c\x8b\x90\x9d\xfd\x6b\xde\x1a\x23\xc5\x84\xd9\x49\xa7\x5b\xbb\x7d\x80\x95\xa1\x95\x05\xf8\xad\x84\x35\x6d\x9b\xd4\x8a\x06\x94\xbd\xa6\x6d\x9b\x9a\x69\xa9\x40\x0f\x74\x81\xf5\x46\x00\xf6\xb7\xa6\xe1\x4d\xfa\x00\xc5\xd4\x35\x0d\x6f\xd2\x63\xbf\x2b\xb1\xa2\x71\x75\x37\x7a\x48\x12\x20\xa6\x29\x9d\x48\xff\x34\xd1\x54\x28\x79\x8d\xab\xf6\x2c\xdd\xc2\x3a\x01\x2a\x1c\xae\x2d\x6f\xe9\x83\x10\x80\x65\x37\xbc\xf6\x21\x12\x60\x70\xda\x05\xca\x55\x49\xe8\xfe\xb6\xe6\x6a\x6b\xe2\x32\x09\x30\x6a\xdd\x07\xfb\x33\x49\x34\xf7\x39\xb3\x9a\xed\x8f\xb0\xa8\x0c\x82\x8c\x37\xaf\x58\x7b\xc8\xba\xb3\xec\x90\x91\xaf\x05\xd6\xf8\x6b\x67\x95\x0b\x5d\x03\xbe\x3f\x85\xed\x61\xd2\x15\x6c\x27\x5d\x2b\xd8\x76\x08\x8b\xea\xc4\x53\x0d\xff\x0d\x00\x00\xff\xff\x00\x04\xdb\xd3\x69\x38\x00\x00") func dataOpenwrtExtraFirewallUserBytes() ([]byte, error) { return bindataRead( _dataOpenwrtExtraFirewallUser, "data/openwrt/extra/firewall.user", ) } func dataOpenwrtExtraFirewallUser() (*asset, error) { bytes, err := dataOpenwrtExtraFirewallUserBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/openwrt/extra/firewall.user", size: 14441, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xda, 0xd2, 0xce, 0xf3, 0xe1, 0x43, 0x99, 0x65, 0x56, 0x78, 0x1a, 0x59, 0xab, 0xeb, 0x9f, 0xe5, 0x90, 0xf7, 0xe7, 0x13, 0xae, 0xff, 0x94, 0x86, 0x8a, 0x1e, 0x23, 0x65, 0xbd, 0x40, 0x31, 0x90}} return a, nil } var _dataOpenwrtSpyDnsmasqConf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x5a\x4d\x8f\xea\x3a\xd2\xde\x9f\x5f\x81\x74\x36\xef\xbb\xc0\xed\xaf\x40\x38\xd2\x6c\x66\x37\xd2\x5c\x8d\x34\x73\xa5\xbb\x36\x8e\x21\x56\x27\xb6\x8f\x6d\xa0\xb9\xbf\x7e\x14\x9a\xd3\x4d\xc0\x2e\xaa\xe7\xee\x10\xcf\xe3\xfa\x72\x55\xc5\x29\xe7\xfb\xf7\xef\x8b\x3f\xac\xeb\xfc\x29\xfd\x27\x9c\xff\x3e\x78\xfd\x6a\xe2\x62\xb9\xf8\x57\x30\xee\x8f\x7f\xff\xbe\xe8\x7d\xca\x69\x91\xc2\x79\x11\x0f\x83\x49\x8b\xff\x7b\x31\x59\xbf\x74\x2e\x8d\x2a\xfd\x24\xda\xbb\xdd\xff\x7f\x9b\x64\xfc\xd3\x6a\xe3\x92\xf9\xb1\xf8\xed\x1f\xbf\x5f\xfe\xf8\xcd\x47\xb3\xb0\x6e\xe7\x7f\x2c\xfa\x9c\x43\xfa\xf1\xf2\xb2\xb7\xb9\x3f\x6c\x89\xf6\xe3\x8b\x8e\xea\xcf\xf3\x72\x54\x6f\x2f\x0f\xca\xbf\x7d\x4b\x26\x1e\x4d\xfc\xdb\x8b\x22\xaa\x4b\x8c\x8c\xc9\x5d\xd6\xcc\xff\xe7\x64\x4c\xaa\x4b\xc4\x99\x5c\x40\x1e\x56\x44\xd5\x15\xfe\xd6\xa2\xf4\x67\xb6\x47\x9b\xcf\xe4\xf4\x6e\xd9\x1d\xda\x0d\x35\xc0\x99\xb7\xc3\xbd\x3d\x9d\x7b\x7b\xe0\xa5\x82\xce\x77\x3f\x1f\xfd\x29\xfb\x6f\xbb\x90\x88\xca\xdd\x98\xef\x80\x57\xb5\xd4\x9d\x5b\xba\x44\x54\x97\x8d\xee\x49\x67\x6e\xd0\x21\xf4\x8a\x64\x33\x98\xd1\xe4\x78\x26\xa3\xd5\xd1\x27\xbf\xbb\x17\x12\x94\x66\xc4\xf9\x6c\x77\xb3\x18\x10\xf5\xaa\x3a\x77\x6f\x60\xb0\x44\xfb\x98\x95\x53\x44\xd9\x9b\xff\x93\x1d\xfd\x71\x79\xb2\x8e\x24\x93\xb3\x75\xfb\x44\x3a\x95\xd5\x5c\x69\x51\xe4\xb6\xb2\xeb\xdb\xea\xae\x6f\xcb\xbb\xbb\xb5\x6e\x7f\x89\x76\xd9\xcf\xed\x20\x04\x65\x4b\x45\x58\x17\x8f\x45\x48\xd7\xa1\x7d\x09\x72\x7c\xbb\xd4\x3e\x52\xca\xc8\x14\x97\x30\xfd\x80\x68\x1c\x47\x13\x38\x9a\x7c\x42\x3b\xb9\xc4\xc8\xc9\xa5\x72\xfa\x6e\x9d\x08\x28\xe3\x45\xd2\x3d\xe5\x94\x32\xda\x34\x2d\x28\xef\x93\xb8\xa2\x38\xe2\x8a\x21\x25\xae\xf8\x06\x49\x14\xb0\xcf\x37\xc4\x06\x4b\x5c\x21\x89\x0d\xce\x6b\xb6\xe6\x6b\x14\x91\xb7\x38\x89\x9c\x0a\xce\x71\xc4\xb5\x44\xc5\x91\x73\xc1\x51\x3b\xc3\xb9\xc0\xc5\x91\x73\xb1\x02\x77\x46\x26\xdd\x33\xca\x18\xa7\x2d\x93\x58\x22\x68\xe3\x27\x71\xc3\x90\xaa\x37\x4c\xa0\x88\x8c\x32\x30\x8e\x9f\x44\x46\xb1\x44\xa4\x33\x8c\x73\xa4\x8d\x92\x82\x69\xf6\x49\x7c\x52\x85\x9f\xc4\x35\xc5\xed\x0c\x5b\x63\xbd\x5e\x23\xf7\x9a\x6d\x28\xce\x46\xce\x18\xce\x6b\x2e\x18\x58\x5c\xb7\x44\xb0\xb8\x3e\x89\x92\xe3\xd2\x4c\x30\xa4\x33\x82\x21\x6d\x14\x9c\x22\x6c\x9c\xb2\x91\x71\x28\xe0\xd1\x9f\x92\x89\xc4\x1c\x8d\xcb\xa5\xe7\xf7\x23\x35\xd8\x60\x88\x8a\xb6\x4e\x4c\x64\xfa\x69\xdd\x7e\x99\xce\xf7\xfa\xce\xf5\x27\xf2\xb9\xfe\x44\x7e\x87\x4c\x01\xd2\xa5\x43\x92\x7e\x3c\x29\x68\xa5\x7b\x73\xf1\x6f\x54\x31\x97\x83\xa1\x3b\x57\x94\xd6\x25\x46\x49\xca\x8e\x0c\x83\x3b\xcd\xcf\x25\x13\xc6\xa9\x20\x83\xaf\xa3\x12\x44\x37\x10\xca\x40\x94\xb7\x10\x2a\x41\xbd\xcd\x1a\x42\x57\x0d\x88\x82\x56\xad\xc1\x68\xb4\xa0\xe4\x16\xb4\xaa\x05\xf5\x6e\x20\xbd\x82\x42\x92\xa7\xc6\x00\xa0\x1c\xb2\x59\x70\x48\xf2\x7a\x4d\xba\x43\x2a\x83\x9c\x52\xda\xd4\xf3\x8a\x53\x39\xa5\x8e\x3e\x57\x61\xc6\x60\xb8\x81\xe1\x15\x0c\xaf\x41\x98\xc3\xa6\x71\x58\xb7\x80\x2d\x17\xf0\x6a\x49\x61\x58\xc0\x30\x2c\xbc\x81\x85\x37\x1c\x86\xe1\xa8\xad\x60\xbf\xa7\xc2\x02\xe0\x35\x6c\x79\x0b\x9b\xd6\xc2\xab\x37\x10\xcc\x38\x05\x6a\x60\x82\x81\x22\x98\x0e\x30\xf0\x6a\x0e\x14\x36\x67\x5c\x00\x95\x3d\xc1\x40\x1b\xe4\x70\x1f\x9c\x60\x58\x77\xb3\x82\x61\xd8\xef\x06\x36\x6d\x4a\x07\x08\x86\x85\xaf\x61\xe1\x2d\x2c\x1c\x6a\x97\x9c\x09\xe8\xb9\xc4\x99\x60\xf0\x6a\x0e\xe9\xde\x00\x59\x2e\x28\xe5\xeb\x7a\x4f\x14\xb4\x05\xd6\x32\xa0\x74\x45\x4b\x7c\xac\x60\x92\x02\xb9\x2f\x29\xd0\x27\xa7\x03\xf7\x2e\xaa\x0a\x08\x75\xd8\xe9\xe4\x08\x80\x40\x29\x83\xbd\x55\x72\x48\xa7\x04\xba\x93\x6c\x80\xd0\xca\x06\xd8\x33\xb0\xab\xc9\x15\x24\x16\x6a\x78\x72\x0d\x89\x6d\x81\x26\x2f\x5b\xe0\xe1\x24\x5b\x48\xe7\x06\x12\xbb\x01\xc4\x36\xb2\x9e\x5f\x2d\xe3\xf5\x72\x68\x19\xd0\x1b\xa7\xf7\xdd\x3a\x28\x20\xb1\x02\x68\x5c\xad\x04\xce\x3b\xad\x04\x6a\xbb\x85\x1a\x5e\xbb\x82\xac\xad\x9f\x1a\x7b\x86\x18\x4b\x7d\xb0\xc0\x91\x9a\xee\xab\x2f\x11\x57\xa8\xf8\x12\xd1\x57\x27\x7e\x17\x88\xd7\x05\xf2\xb2\x40\x3f\x06\x95\xcd\x9b\xee\x95\xdb\x1b\x46\x72\x54\xbb\x9d\xd5\xa3\x72\x6a\x6f\xe2\x9d\xfb\xde\x65\xeb\x0e\x87\x91\x74\xf5\x49\xa6\xf6\x31\x90\x94\x41\xdc\xbc\x65\x32\x26\x9b\x55\xb7\x4b\x64\x3f\x6c\x3b\x97\x78\x95\x9f\x18\x39\x05\x4d\x8e\x74\x7a\xe9\x99\xdb\x73\xe6\xe4\xe8\x63\x36\x6f\xd8\x71\x6e\xb7\x6d\x96\x46\x85\x8f\x31\xf0\x65\x26\x8c\x5f\xfb\x97\xd7\x7d\x65\xcd\x17\x3d\xdb\x3d\x1f\xa6\x77\x56\xed\x9d\x4f\xd9\xea\x44\xd2\x21\x04\x1f\x73\x8d\x6a\x8a\x6f\xab\xe6\xb0\x3c\x32\x8a\x79\x05\x9f\x98\x1c\xc9\xbc\x7a\x5a\x89\x69\x81\x09\xb3\x9e\xab\xdc\x0d\xe6\xed\xf1\xbd\x7b\x5f\xf8\xcb\xf8\xff\x69\xcb\x6f\xd7\x7d\x65\xcd\xd7\xb6\xbc\x2f\xdc\x4b\xf4\x85\xfb\xa6\xfe\x95\x7f\xd9\x9a\x69\x4d\x75\x14\xd3\xbf\xf2\xa4\x7b\x26\x2e\x43\x5b\x68\xae\x34\x27\x02\xa3\xc1\x39\x11\x98\x69\xcf\x89\xc0\x20\x6f\x46\x14\x48\x67\x5a\x68\x00\x35\x23\x4a\xa4\x33\x6d\x83\x0c\x4f\xdb\x60\x55\x37\xc0\x4c\xfb\x96\xb8\xc1\x3a\xb3\x81\x2e\x11\x66\x44\x09\x4c\xfc\x66\xc4\x06\x2b\x11\xba\xb5\x99\x11\xa1\x01\xfd\x0d\x91\x51\x68\xc4\x3a\x23\x22\xb3\x87\x51\xe8\x12\xe1\x96\xc8\x04\x52\x35\x93\xb8\x7c\x64\xac\xc1\xa5\x19\xe3\x58\xaf\xb9\xc4\xed\xcc\xe5\x6d\x13\x47\x84\xee\xd3\xe6\x44\x5c\x3e\x32\xf0\xc2\x68\x4e\x44\x86\x47\x60\xf7\x5a\x08\xac\x8d\x58\xaf\x25\xb2\xf7\x30\x29\x90\xce\x48\x6c\x3e\x4a\x6c\x3e\x4a\x64\x5d\x33\x09\xdd\xf9\xdd\x12\x1b\xe8\xd6\x66\x46\xc4\x6e\x61\x83\x7c\x2a\xb0\x06\xba\xc0\x9c\x11\x25\x72\xaf\x1b\x64\x6b\x86\xef\xaa\x66\x44\x6c\x9a\xad\x04\x56\x22\xb6\xae\x57\x0d\x32\x1f\x57\x68\xaf\x1b\x64\xc0\xb1\x27\x00\x86\x3d\x01\xc0\x97\xd5\x33\xa2\x40\x26\xee\x1a\xba\xa2\x9f\x11\xb1\xe1\x69\xb1\xbd\xa7\xc5\xda\xd8\x62\x3b\x45\x8b\xad\xeb\x16\xfb\x40\xc2\x1e\x67\x58\x8b\x4d\xb3\x0d\x76\x0b\x37\xd0\xa5\xff\x9c\x88\x0c\x38\xf6\xf0\xc1\xb1\x27\x00\x4e\x25\x2e\x3c\x9c\x22\x9f\xae\x9c\x3d\x51\x0d\x7f\x47\x73\x25\x6c\xeb\x0c\xbb\xdc\x0e\x2b\xcc\xb7\x36\xb7\x44\x70\xae\x61\x97\xc8\xaf\x77\xec\x72\x7b\xfe\x32\xf1\x89\x6a\xdc\x80\xe6\x86\xf7\x44\x5e\x72\x1c\x25\xef\x83\xf7\x54\x1e\xce\x63\xe3\xdd\x60\x9d\x39\x55\xa7\x28\x37\x0c\x68\x62\x33\x6c\x19\x39\x9d\x4e\x64\x4c\xc5\xb7\xbc\xc1\x1e\x0d\x89\xc5\x8f\x00\x47\x52\xf8\x5c\x70\xf4\x5b\x3b\x18\xcc\x5b\xfd\x95\xf9\xf4\x06\x7e\xf4\x9d\x89\x8e\x9c\x54\x4e\x1e\xfd\x7a\x3d\x26\xd3\xed\xcd\xfd\x7f\x2e\x9b\x94\xeb\xf7\xf9\xef\x1f\x44\xfa\x29\x54\x46\x85\x90\xc8\xc5\xf9\x47\xca\xe5\xcb\x52\x98\xe7\x35\xe2\xcb\x45\xef\x8c\xf6\xc3\x60\x74\xf6\x91\xe8\xc1\x1f\x3a\x15\xc2\x7b\x2c\x4a\x3e\x85\x68\xc8\xce\xfb\x1c\xa2\x75\x39\x44\xd3\x59\x7d\x27\x30\x44\x73\xb4\xe6\xf4\xb8\x55\x51\x75\x05\x23\x8b\x5f\x21\x4e\x72\x23\x19\x4d\x56\x97\x38\x69\x53\x4d\xb0\x68\x82\x8f\x39\x91\x93\x49\x04\x33\x5b\x4a\xba\x37\xa3\xba\x15\x57\xf2\x32\x19\x7d\x88\xa6\x94\x5a\x57\x64\x37\xa8\xd4\x67\x35\xbc\x5a\xb7\xbf\x27\x0c\x3b\x4c\xe6\x7d\x38\x86\xb6\xfc\xd7\x80\x27\x29\xd7\x6d\x3d\x3c\x5d\xba\x9d\x06\x2d\x43\x30\x28\xf2\x3b\xe9\xc9\x9c\x33\xed\x79\xa8\xf7\xe9\xe4\xaa\xd3\xe2\x2b\x54\x1a\xee\x5e\xa1\xd2\xb4\x38\x85\xb3\x33\xb9\x6e\xcd\x05\x56\x43\x75\x40\xf8\x4e\x30\x87\xe8\x83\x79\xb6\xe9\x3f\x47\xdc\x46\xfc\x1c\xff\x12\x89\xb8\xa4\xb2\xbe\xd3\x9d\x4e\x85\xda\x48\x87\x78\x34\xe7\x5f\x5d\xa7\xa2\x69\xd2\x02\x36\xd7\x89\xa0\xfd\x38\x2a\xd7\x3d\xb7\xfb\x93\xa0\x42\x30\x6f\x64\x3b\x25\xf8\x83\x38\xa4\x88\x68\x46\x9f\xa7\xee\xf4\x2b\x59\xd4\x9f\x53\xf1\x54\xd8\x87\x58\xad\xf2\x6c\xa2\xe9\x3c\xb1\xe1\xb8\xaa\x53\x52\x26\xf0\x67\xe8\x87\xf1\x3d\x92\x1a\x53\x9f\x87\x84\x9d\x21\x4f\x4c\xdc\x0c\xf9\x90\xb0\x33\xe4\x23\xa3\x17\xce\xd7\x26\xad\x48\x83\x27\x1a\xde\x0e\x54\xb4\x90\x01\x98\x68\x58\xcd\xd3\x33\xa4\x30\xdb\xbf\x2e\xc7\x34\xc1\x4f\x4d\x5f\xa4\x23\x68\xa8\x5e\x89\xb8\x06\xb8\xd6\xf6\x63\xed\xc3\x45\x7f\x45\xa7\xce\xfe\xb4\x1e\xaf\xdc\xe7\x3c\xb3\xc5\x5c\x5c\x60\x9f\x57\x27\xeb\x18\x05\x4b\x76\x62\xac\x9f\x73\x5a\x98\x70\x39\x36\x7e\x1c\xb4\xfe\x1b\x00\x00\xff\xff\x3f\x14\xbc\xf8\x9b\x33\x00\x00") func dataOpenwrtSpyDnsmasqConfBytes() ([]byte, error) { return bindataRead( _dataOpenwrtSpyDnsmasqConf, "data/openwrt/spy/dnsmasq.conf", ) } func dataOpenwrtSpyDnsmasqConf() (*asset, error) { bytes, err := dataOpenwrtSpyDnsmasqConfBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/openwrt/spy/dnsmasq.conf", size: 13211, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa, 0x17, 0x14, 0xbd, 0xf9, 0x9c, 0x17, 0x78, 0x71, 0x4b, 0x36, 0x8, 0x8e, 0x89, 0x51, 0x2a, 0xdb, 0xa0, 0x37, 0x5c, 0xff, 0xc9, 0x15, 0x8, 0x16, 0x94, 0x62, 0xb5, 0xa5, 0x34, 0x54, 0x7a}} return a, nil } var _dataOpenwrtSpyFirewallUser = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x99\x4d\x4f\x23\x47\x10\x86\xef\xfc\x8a\x96\xb8\x24\x87\x29\x77\x55\x7f\x4c\x37\xb7\x24\x90\x08\x29\xbb\xac\xbc\x44\x9c\x59\x33\x64\x9d\xb0\xb6\x65\x1b\x6d\xc8\xaf\x8f\xaa\xc7\xc6\x23\xe5\x50\xaf\x0f\x08\x09\x1e\x9a\xfa\xee\xb7\xda\x97\x97\x97\xee\x61\xb9\x7a\x5a\x7f\xdf\x7d\xde\xbc\xfd\xfc\xb2\x5e\xfc\x3d\x6c\x5d\xe7\xee\x36\xc3\xea\x61\x7e\xef\x96\x9b\x9d\xdb\x6d\xde\xdc\xf6\xf5\x65\xd8\xb9\x1f\x66\xc3\x7e\x31\x7b\x5e\x6e\x87\xef\x8f\x2f\x2f\xf4\xba\x1b\xb6\x3f\x5e\xe8\x11\xbf\x2f\x17\xc3\x6a\x37\x5c\xb9\x0f\xb7\xf7\xed\x07\x1f\xd6\xdb\xc1\x2d\x57\xcf\xeb\x2b\xf7\x75\xbf\xdf\xec\xae\x66\xb3\x3f\x97\xfb\xaf\xaf\x5f\x68\xb1\xfe\x36\x5b\x6c\x1f\xff\x7d\xeb\xbe\x3d\xfe\x33\xfb\xdf\xff\xbe\xb8\xb8\x74\xc3\xea\x79\xbd\x5d\x0c\x6e\xbb\x7e\xdd\x0f\x5b\x77\xfd\xf1\xf3\xc5\x72\xb3\x7f\xfc\xa2\x26\x74\x7b\xb7\x7a\xdc\xbb\xee\xd6\x7d\x9a\xdf\xcc\xef\xfe\xb8\xbf\xfd\xf8\x9b\xeb\x36\x6e\xbf\xd8\xb8\xae\x7b\xda\xac\xb7\x7b\x97\x82\xeb\xfe\x72\xf3\x9b\xeb\xdb\xf9\xcd\x2f\xf7\xae\xeb\xf6\xeb\x4e\x7f\xb1\x73\x29\xd8\x27\xbd\x3e\x81\x27\x5d\x5c\x8e\x61\x99\x1c\x79\xeb\x7e\xbd\x9b\x3f\xfc\x34\xbf\xd6\x3f\xbb\x9e\xdf\x7d\x72\xdd\x93\xe3\x40\x39\x53\xca\x24\x31\x20\x6c\xa1\xc0\xc4\x15\x64\x8b\x50\x01\xc8\xbe\x10\x07\x4f\x22\x1e\x83\x25\x08\x89\x64\x14\x0e\xc4\x01\x31\xb8\x0a\x71\x8d\x24\x2c\x16\x2c\x9e\x62\xa4\x92\xc9\x0e\x9a\x04\xaa\x95\x62\x25\x16\x06\x58\xf6\x42\x91\x24\x21\xe7\x2a\x2b\x4c\x11\x42\x03\x71\x11\x62\x3b\x6a\xd1\x6b\xe6\x44\x04\x09\x84\xc2\x95\x38\x05\xca\x3d\xc0\xf6\x9e\xb8\x44\x2a\xa6\x77\x23\x2b\xe2\x49\xa2\x59\x41\x47\x98\x49\x62\x45\xe0\x9e\x44\x0a\x45\xc8\xe2\x91\x2d\x67\xb0\x15\x89\x9a\xb2\x41\x88\xbd\x59\x14\x0a\x57\x2a\x89\x58\x12\xc0\xd6\x31\x12\x48\x1c\x98\x13\x05\x12\x36\xbb\xee\xc0\x32\x57\xe2\x82\x18\xa1\xa4\x30\x93\x78\x33\xd3\x89\x89\xa3\xa7\xe8\x49\x82\x59\x9b\x0d\x66\xe2\x40\x9c\xcd\xb2\x6f\x70\x20\x66\x26\x33\x7b\x13\xb6\x98\x19\x49\x42\xcc\x91\x32\x45\xdb\xe0\x77\xd4\x36\x61\x44\x7b\x0a\x28\x1a\x84\x50\x03\x82\x00\x31\x78\x47\xcd\x8e\x3b\xa1\x62\xa7\xe1\xe0\x57\x04\x86\xe5\x84\x3d\xe7\x5c\xb3\x24\x8f\x6c\xa2\x1e\xf5\x4d\x59\xb3\x89\x4e\x2c\x27\xb3\x8b\x8e\x70\xa6\x00\x3b\x97\x29\xc0\xce\x65\xbc\x72\xfa\x9e\xec\x1b\x71\xc2\xc2\xf6\xf6\xc4\xb0\x11\xa5\x90\x7d\xe1\x4f\x58\x34\x73\xca\xa2\x99\x63\x9d\xed\x67\xb0\xe7\x9c\x6b\xcf\xd5\x09\x0c\xf7\x46\x83\xd1\x7c\x28\x9c\x60\xff\xb4\x9d\xd1\xe1\xd7\x60\xf3\xa2\x9b\xc2\xb0\x83\x3a\xab\xce\x82\xe1\x68\xa4\x42\x70\x9b\x36\x18\x76\x50\x61\xd8\xe6\x54\xa8\xc2\x71\x4e\x88\xa0\x98\xc0\xec\x21\x3a\x68\xf3\xa9\xd6\x85\xba\x55\x69\xce\x80\x6e\x53\x38\x25\xe2\x5e\xa5\x0d\x34\xb9\x92\x0a\xa1\x08\x8e\xae\xa4\x56\x17\xbd\xa6\x11\x3a\x47\x92\xe8\xc1\x49\x77\x80\x13\xd4\xe1\x0d\x56\x79\x03\xb9\xa8\x0a\xb9\x54\x30\x7a\xbd\xa7\x12\x88\x21\x33\xfa\x48\x2a\xd3\x31\x19\xd2\x17\x0a\x85\x38\x41\xa1\xd3\x8d\x2c\xf6\x1a\x11\x94\x4e\x8c\xec\x0b\x47\x5a\xbf\x50\xab\x45\x02\x38\x3d\x34\x70\xda\x06\xd0\xf8\x10\xa9\x14\x74\x77\x41\x8c\x96\xe0\x9b\x04\x2f\x48\x3c\x24\x64\x8a\xfa\x0d\x49\x62\x83\x03\x89\xdd\xb6\x39\x91\x3a\xe9\xbd\x2d\xe5\x4e\xa8\x69\xc2\x09\xb5\x9b\x6a\x72\xec\x39\xec\x19\x9e\xd9\x0f\x0b\x13\xd6\x9c\xfb\x07\x36\x33\xd9\xdb\x82\xb2\x89\xa4\x92\x04\xf3\xc2\x1c\xd9\x18\xc9\x6e\xa6\x13\x0a\x5a\x10\x23\xb1\xc7\x2d\x60\x0f\x65\x38\xb5\xa1\x62\xcb\xad\x91\x65\x5d\xb0\x40\xd7\x1a\x0b\x65\xf8\xc0\x42\x19\xd6\x2b\x24\x53\x05\xed\x95\x24\x80\x80\x3a\xb1\xf9\x0c\xb6\x3f\xc3\x86\x1e\x8c\x59\x63\xc1\x98\x29\x8b\x75\xc5\xc8\xf2\x39\x41\x43\xa6\x4e\x1e\xf7\xfe\xa8\xd2\xde\xf4\x8f\x7d\xa4\x76\x31\xf6\x80\x86\x6b\xb0\x56\x44\x4f\xd9\x7e\xcc\x3b\xc2\x15\x10\xa9\x47\x38\x7a\xbd\x3d\x40\x5a\x04\x11\x71\x13\x18\x88\xde\x91\x0e\xbd\xca\x00\x88\xd6\x36\x21\xae\xa6\xb2\x38\xc0\xa2\x17\x9e\xdd\x80\x8d\xce\xa4\x97\x34\x16\xbd\xac\x6a\xc1\x1e\x9b\xdc\x44\xa4\x27\xdd\xfd\x60\xd6\x03\xef\x69\x47\x58\x58\xa0\xb7\xe9\x86\x47\x0a\x89\xc4\x5e\x8f\x38\x30\x49\x0a\x94\x11\x43\xde\x59\xb6\x5f\xb3\x8e\xb0\xca\x4e\xe0\xe4\xd8\xf4\x5e\xf0\x50\x29\x4d\x69\xc0\x90\x09\x0d\xc4\xe3\x44\x03\xdd\x75\xa0\x9b\x22\x87\x69\x09\x09\xd0\x7c\xba\x0f\xa4\x4c\xaa\x6c\xed\x55\xed\x00\x57\x46\x8a\x6f\x64\xd9\x67\xe2\x62\x07\x64\x4a\xdb\xad\x38\xa5\xed\x2e\x3f\xd0\x1c\x90\xf5\xeb\x48\x0b\x13\x7e\xb4\x44\xa4\xb0\x0f\x70\xac\x67\xc4\x9a\x6b\x04\xae\xae\x29\x6c\x97\xea\x04\xb6\x13\x93\x0b\x65\x26\x89\xc4\xd1\x2e\xbd\x11\xe6\x98\xc9\x7e\x3b\x7f\x87\x2b\x01\x59\x39\xc0\x3d\x72\xe9\x37\x58\xd7\x93\x1e\x50\x3f\x0d\x0e\x4d\xe0\x66\xec\x64\x85\xdb\xc7\x5c\x26\x5d\xb9\xad\x1b\xba\xa1\xdb\x8b\xcc\x48\xf7\x24\x5c\x90\x55\x66\xc4\x2b\x25\x4f\x6c\x7f\xe6\x77\x82\x81\xce\x3d\xc2\x4d\xf6\xc3\x74\x04\x9e\x6f\x54\xa7\x64\x5d\x45\xb5\x40\xe2\x7f\x01\x00\x00\xff\xff\xca\xb0\x52\x03\x70\x1e\x00\x00") func dataOpenwrtSpyFirewallUserBytes() ([]byte, error) { return bindataRead( _dataOpenwrtSpyFirewallUser, "data/openwrt/spy/firewall.user", ) } func dataOpenwrtSpyFirewallUser() (*asset, error) { bytes, err := dataOpenwrtSpyFirewallUserBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/openwrt/spy/firewall.user", size: 7792, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf6, 0xd, 0x3e, 0x73, 0x25, 0xad, 0x9a, 0x71, 0x60, 0xf4, 0x0, 0xdd, 0x38, 0x27, 0x9c, 0xdf, 0x8b, 0xb8, 0x21, 0xa7, 0x90, 0xa6, 0x3f, 0xfa, 0x14, 0xc0, 0x2d, 0x11, 0xa, 0x6f, 0x28, 0xc6}} return a, nil } var _dataOpenwrtUpdateDnsmasqConf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x9b\x4d\x6f\xe4\xb8\x11\x86\xef\xfb\x2b\x1a\x98\x4b\x72\xb0\xcc\x2a\x52\x1f\x1c\x20\x97\xdc\x02\x64\x11\x20\x59\x60\xcf\x94\x48\x79\x1a\xd3\x96\x3a\x92\xec\x8e\xf3\xeb\x03\xb6\x67\x3c\x9a\x8d\x2d\x3d\xbd\xc7\xf5\x33\xc5\xfa\x78\x59\x2c\xd2\xf2\xa7\x4f\x9f\x0e\xbf\x1f\x87\x38\x5e\xe6\x7f\x9d\x5f\xfe\x7a\x1a\xbb\xaf\x69\x3a\xdc\x1d\xfe\x71\x4e\xc3\xef\xff\xfc\xed\xf0\x65\x9c\x97\xf9\xf0\x74\x8e\x61\x49\x87\xe9\xe9\x94\xe6\xc3\x9f\xee\xd3\xd2\xdd\xc7\x61\x7e\x0c\xf3\xbf\x8b\x6e\x1c\xfa\x3f\xff\x92\xcd\xfc\xfd\xd8\xa5\x61\x4e\x9f\x0f\xbf\xfe\xed\xb7\xeb\xff\xf8\x75\x9c\xd2\xe1\x38\xf4\xe3\xe7\xc3\x97\x65\x39\xcf\x9f\xef\xef\x1f\x8e\xcb\x97\xa7\xb6\xe8\xc6\xc7\xfb\x6e\x0a\xff\x7d\xb9\x7b\x0c\xff\xb9\xff\xbf\xf5\x7f\xf9\x65\x4e\xd3\x73\x9a\xfe\x72\x6f\x8c\x31\xd2\xde\x49\x71\x2a\x2e\xaf\xd4\xab\x2b\x57\x0b\x3f\x51\xce\x12\xaa\x12\x42\x05\x64\xab\x57\x44\x79\x44\x25\x40\x49\x89\xa8\x50\x12\xaa\xed\x08\x15\x1d\xa1\x52\x04\x94\x1a\x92\x2f\xb5\x0d\xa1\x2a\x52\x21\x6d\x48\xbe\xb4\xe9\x09\x15\x90\xad\x0e\xf9\xd5\x93\x7c\xd9\x9a\x68\xd5\xfa\x8a\x50\x3d\xa9\xb6\x13\x83\x28\x52\x21\x57\x92\x6a\xbb\x8a\xe8\xcb\x79\xb4\x62\x20\x59\x75\x89\xd4\xd1\xf5\x24\xf7\x25\x52\x74\xe9\x88\x5f\x65\x43\xfa\x44\xe5\x48\xb5\xab\x48\x14\x5d\xb7\x24\x13\x75\x22\x15\x6a\x24\x10\xaa\xaf\x01\xe5\x2b\x52\x6d\x8f\xf2\xe5\x51\x2f\xf4\x2d\x5a\x11\xf5\xe8\x50\x92\x15\x43\x49\xea\x18\x2a\xb2\x1f\x43\x4f\x72\xdf\x2a\xf1\xab\xb5\x44\xab\x6d\x45\x74\xdf\xd6\x24\xab\x6d\x47\x62\x6c\x3b\xa2\xe8\x16\xe9\xbe\x4d\x64\xc5\xce\x90\x8e\xd9\x09\x51\x61\xa7\x44\xf7\x9d\x25\x67\x47\xd7\x22\xef\x3b\xa2\x89\xa8\xc4\xfb\xe8\xc8\x8a\xb1\x22\xca\x49\x48\x13\x09\x9d\x8f\x3d\xf1\x4b\x8c\x01\xb9\x17\x43\xf6\xa3\x18\xd2\x73\xc4\xb4\x60\x5e\x15\x13\x41\x85\xc4\x24\xa0\x09\x11\x01\x5a\x15\xa9\x91\x2d\xe4\x97\xf4\xc4\x96\x12\x45\x8b\x5a\xb2\xa2\xf5\xa4\xda\x8e\x9c\xc8\xe2\x3c\xe8\x13\x52\x91\x59\x4e\xea\x16\x4c\x0a\x52\x77\xa0\xfb\x4a\x4d\xa6\x0e\x69\x1c\xd1\x57\x53\x82\x3d\x24\x8d\x47\x2b\x76\x60\x06\x10\xef\xc8\xee\xf0\x15\x38\x45\xc5\x93\xc9\x5d\x7c\x20\xd5\xf6\x11\xf4\x1c\x09\x42\x34\x11\x48\x27\x97\x60\x89\x5f\x81\xdc\x58\x25\x34\x88\xf2\x64\xc5\xb6\x25\x2a\xec\xd0\x1e\xea\x22\xe9\x39\xd1\x10\x4d\x44\x94\xfb\x88\xf4\x15\x6b\xd2\x4d\x62\x47\x62\x4c\x86\xe4\x3e\x19\x92\xd5\x44\xe6\x09\x49\x86\x64\x22\x21\x15\x26\xd4\x27\x52\x43\xfa\x44\xf2\xc8\x7b\xd4\x31\x7b\x45\x94\x23\x99\xe8\x6b\x44\x91\x13\x59\x8d\x00\x4d\xa8\x21\xb3\xaf\x9a\x00\x2a\xa4\x62\x40\x67\x52\x21\xca\x51\x31\xa0\x63\xaa\x34\xc4\x7b\x09\xe0\xac\x55\x89\x88\xea\x41\x85\x54\x49\x1d\x55\x51\x56\xb5\x03\x67\x9a\x6a\x24\x9a\xd0\x04\xe6\x42\xd5\x44\x6c\xd9\x92\xd4\xd1\x36\xe0\xac\x55\x4b\xce\x47\xb5\x1e\xd9\x22\xb3\x89\x5a\x72\xb7\x52\xe7\x49\x26\x4a\xf2\x82\xa4\x65\x49\xaa\x5d\xa2\xfd\x58\x92\xb7\x0e\x2d\x13\x38\x3b\xb4\x24\xef\xbe\x5a\x35\xa4\xda\x55\x20\x5a\xad\xf6\xdf\x6a\xc3\x34\x85\x17\x31\x72\x77\x9e\xc6\x58\xc4\xb1\x88\xf3\xb9\x78\x3c\x17\x8f\xc7\x6e\x1a\xe7\xb1\x5f\xde\xc5\xf5\x36\xdc\xde\x86\xbb\x5b\x70\xbd\xcd\x77\xbd\xcd\x77\xbd\xcd\x77\xbd\xcd\x77\x77\x9b\xef\xee\x36\xdf\xdd\x6d\xbe\xbb\x5b\x7d\x2f\x6f\xc3\xab\xdb\xf0\xfa\x36\xbc\xa1\xf8\x53\x11\xc7\xcb\x70\x1a\x43\xdc\xdc\x16\x4f\xc5\xb3\x43\x64\xfb\x90\xc9\x50\xc4\x53\x71\x99\x3f\x5a\xf5\x15\x4a\x8f\x3b\x90\x20\x53\x82\x6c\x29\xb2\xa5\xc8\x96\x45\xb6\x2c\xb2\xe5\x90\x2d\x87\x6c\x95\xc8\x56\x49\x6c\x9d\xf4\x5c\x5c\x86\xb9\x18\xc6\xe5\xd8\xbf\x7c\x2f\x78\x86\x8a\xf0\x35\xc4\xfc\x93\xb4\xbc\xc3\xaf\xc0\xf5\x4f\xc7\xb6\x98\x07\x77\x9e\xe2\xbc\x4c\xc6\x86\x62\x5e\xc6\x29\x0b\x67\x4a\x6f\xff\xe2\x27\x7b\xdd\xe9\x98\x86\xe5\x63\x8b\xdd\x72\x8a\x9b\x7d\x3c\xb6\xf6\x32\xcc\x6a\x24\xff\xf7\xb1\x9d\xd8\x96\x77\x71\x3e\x77\x71\x28\x96\xd3\x53\xce\x5c\x4c\xa7\xe3\x73\x9a\x5e\x36\xf6\x4c\x6c\xcb\x4d\x8b\x37\x65\xee\x8d\xff\xc8\xda\xdc\x7d\x11\x23\x62\x8c\xa8\x52\xb0\x66\x60\x63\xb7\x53\xb3\x02\xb7\x23\x7e\x03\xbd\xc0\xa5\xbd\x52\x8b\xda\x40\xd0\x32\x30\x27\x08\x82\x30\xe1\x62\xd4\x41\x10\x26\x5c\x8c\xa5\x16\x1d\xf5\xd1\x41\x8b\x54\x66\x22\x6a\x29\xc8\x6a\x2d\x02\x6b\x2d\xa2\x1e\x82\x96\xfa\xe8\xa0\x8f\x6a\xe0\xd2\xaa\xb0\xd6\x4a\xa3\x56\xaa\x1e\xb5\x6c\x17\x8a\x85\xdb\x55\x2c\x55\xb8\xa5\x95\xb1\xb4\x32\x96\x6e\x05\x4b\x1b\x80\x13\xe8\xa3\xa3\x51\x3b\xad\x28\x08\x13\xee\xac\x81\x20\x15\x6e\xb9\x73\x0e\xae\x40\x98\x9e\x92\xd6\xba\x84\xc7\x87\x94\x8e\xfa\xe8\xa0\x7a\x2a\x03\x45\x51\x09\x05\x69\xd4\x15\xdd\xae\x15\xdd\x0a\x95\x83\xa2\xa8\x69\xad\x6b\xda\xec\x6b\x0b\xa3\xae\xa9\x1e\x1b\x81\x51\x37\x0a\xa3\x6e\xe8\x2e\x6c\x68\xc7\xa5\x73\x8f\x34\xb4\xe3\x36\xf4\x18\xf6\x06\x56\xc6\x1b\xb8\xb4\x17\x98\x47\x2f\xd4\x47\xba\x15\x3c\x55\x8f\x87\x0d\x40\x8d\xb0\xca\xa8\x81\x47\x9c\x1a\xd8\xf6\xd4\xc0\xb9\x47\x0d\x9c\x7b\xd4\x58\x56\x6b\x35\xac\x53\xe4\x71\x0f\x29\x3c\x83\x28\xea\xeb\x84\x04\x41\xb6\x67\xae\x87\x21\x03\xd5\xc0\xa5\xd5\xa0\x06\x20\x46\x69\x30\xca\x4a\x28\x46\x59\x09\xf3\x55\x01\x5a\xb4\x4c\xe1\x62\x2c\xd3\x63\x06\xb1\x45\xa8\x1e\xcb\x8e\xb8\x7c\x9d\xc1\x20\x0d\x86\xe6\xd1\x19\x68\xd1\xd1\x3d\x03\xe7\xc7\x7c\x37\xa3\x16\xe9\x9e\x71\x6c\xc6\xcd\xb7\x3d\xa8\xc7\x92\xdd\x86\xc5\x94\xec\xf8\xc8\x20\xf4\xb1\x64\xc3\xb0\x98\x92\xb6\x3d\x38\xc4\x89\xa9\xd8\xe5\x2c\x83\x30\x8f\x15\xbb\x2b\x64\x10\x36\xa9\x8a\x5d\x7c\xc4\xd4\x06\xaa\xa7\x66\x23\x97\x98\x9a\x06\x53\xb3\x09\x40\x4c\xcd\x46\x57\x31\x0d\x95\x59\x23\x30\x8f\x0d\xad\x75\x43\x6b\xdd\xd0\x46\x0a\x07\xcd\x0c\xc2\x3c\xc2\x27\x3b\xa1\x4f\x76\x62\x3c\xed\x66\x9e\xe6\xd1\xd3\x03\x09\xcd\x8f\xd6\x34\xd2\x90\xf3\x3a\x83\x9e\x28\xdc\x9a\x46\x0d\xb9\x21\x65\x70\xef\xf9\xf8\x0d\xb4\xe4\xf8\xc8\xa0\x23\x53\xca\x2b\xc8\xd2\xa3\x15\x06\x69\x30\x35\xb5\x58\x0b\xd8\x33\x19\x6c\x58\xd4\xde\x08\x99\x7b\x32\xa8\xa4\x53\x64\xd0\x31\xf5\x64\x10\x2e\x5d\x32\x99\x65\x10\x5a\x44\xef\x14\x19\xc4\x79\x84\x7b\xc6\xe7\xc5\x11\x28\x70\xcf\x64\x10\x89\xc2\xe7\x43\x8e\x82\x2c\x3d\xa2\x74\x69\x4b\x83\xb1\xb0\xd6\x42\x65\xc6\x5e\xe2\x32\x08\xf7\xb5\x97\x8a\x5c\x72\x33\x58\x43\x3d\x4a\x43\x2d\x7a\x5a\x19\x0f\xa3\x56\x03\xf7\xb5\x52\x51\x28\xba\xe4\x66\x10\x3d\xee\x5f\x41\xea\x63\x89\x2c\xca\xf5\xb3\x72\x08\x92\x63\x38\x83\xe8\x17\x10\x19\x64\x0a\xbf\x82\x44\xe1\x62\x8c\x43\xbb\x50\x0c\xbb\x54\xbc\x82\x30\x18\x76\xc4\x89\x31\xec\xe4\xba\xbe\xbb\x90\x3d\x73\xfd\xd5\x10\xd1\x63\x06\xe9\xd2\x34\xe1\xe2\x60\xd4\xe2\x60\xad\x85\x1d\x71\xd7\x87\x73\x56\x42\xa1\x95\x11\x74\x9f\xb1\xf4\x99\xdb\xd2\xb7\x66\x7b\x7d\x4c\x65\xdb\x95\xbd\x91\x5a\x31\x6a\xa0\x45\x15\x28\x0a\x55\xf2\xa0\xf1\x0a\xc2\xa5\x2d\x2c\xa1\x3a\xf2\x12\x77\x05\xa9\xc5\x92\xdc\xe2\x32\xc8\xce\xc2\x0c\xd2\xa5\x6b\x0e\x32\x99\x69\xb3\x23\xdc\xcb\x30\x4b\xdc\x22\xaa\xab\x29\xcd\x53\xf0\x76\xa6\xd7\xe0\x66\x5e\x56\xe0\xb6\xbe\xd6\xe0\x66\x49\x56\xe0\xf6\x7d\xf9\x07\xb8\xa3\xd8\x35\x08\x97\xde\x69\xb5\x6b\x10\xa6\x67\xe7\x44\x5f\x83\x9b\x6a\x58\x83\x30\x3d\x76\x5b\x36\x6b\x10\xa6\x67\xe7\x2e\xba\x02\x69\x30\x3b\x33\xc2\x0f\x70\x67\xe7\xaf\x41\x98\x9e\x92\x6e\x85\x9d\x61\x62\x0d\xd2\xa5\x69\xd4\xe5\xf6\x71\xb0\x06\xa1\x1e\x2b\xba\x74\x45\x2d\xee\xbc\xac\xad\x41\x28\x8a\x9d\xdf\x51\xae\x41\xa8\xf0\x9d\x5f\x66\xae\x41\xa8\xf0\x9d\xdf\x7a\xae\x41\x16\x75\x9e\x83\x29\xc8\x82\x11\x03\x83\x91\x9d\x61\x62\x05\xd2\x60\x84\x06\xb3\x33\x05\xff\x00\x77\x7e\x5b\xb7\x06\xb1\x45\x18\x35\x6d\xa4\x62\x69\x65\x68\x23\x15\x8b\x7d\x84\x9d\x42\x68\x7f\x94\x92\x96\xb0\xa4\x51\x97\x34\xea\x0a\x36\x00\xa9\xa8\x8f\x15\x3c\xe2\xa4\xda\x0c\x26\xf5\xc7\xe1\xb8\x1c\xc7\xe1\xf5\xdb\xe0\x0f\xbf\x73\x8e\xc7\xf9\x7c\x0a\x2f\x5d\x58\xc2\x69\x7c\xd8\xfa\xe6\x97\x7d\x19\xfc\xfd\x03\xf9\xbd\x9f\x7f\xf3\xfa\xdd\x2f\x97\x67\xf4\x9d\x7d\x0a\x4f\xb3\x5e\xc2\xd2\x85\xd6\x48\x71\xfd\xc2\xfa\xe3\xcf\xa9\x77\xbe\xf6\xee\x93\x16\xdf\xd6\xb8\x91\x78\xf7\x93\xe6\x0c\x6f\x2e\xd6\x4d\xbb\xcb\xd9\x1f\xe9\x7e\xef\x0f\x18\x8a\x61\x0e\x4b\xf7\xc7\x65\x2d\xa9\x51\x9f\x6c\x37\x21\xf0\xa1\x88\x73\xd1\x0a\x2a\x47\xff\x40\xff\x40\xe2\x21\x8d\xf0\x6f\x33\x1e\xd2\xf8\x9c\x26\x08\xcf\x5f\x5f\xe2\x74\x7c\x4e\x1f\x6f\x8a\xef\xc4\xfc\x32\x74\xc5\x79\x3c\x1d\xbb\x63\x9a\x8b\x9c\x86\x9f\xf3\x38\x9f\xe6\x9d\xf2\xcc\xa7\x79\xb7\x84\xf3\x79\xbc\x9b\x8e\xc3\x43\xf1\x38\xa7\xf8\xf0\xc7\x25\x96\xb0\xcc\x7d\x92\x0d\x99\x7c\x43\xf6\x84\xb9\x89\xbd\xab\xce\xb7\x7f\xf1\xf1\xda\xfc\x4f\x01\xb2\xa5\x62\x99\x42\xdf\x1f\xbb\xf9\x4b\x38\xe7\x80\xb7\xeb\x04\x55\xb2\xf5\xa3\xcb\x65\xcb\xc4\xff\x02\x00\x00\xff\xff\x9f\x8d\xa5\xbc\x89\x4e\x00\x00") func dataOpenwrtUpdateDnsmasqConfBytes() ([]byte, error) { return bindataRead( _dataOpenwrtUpdateDnsmasqConf, "data/openwrt/update/dnsmasq.conf", ) } func dataOpenwrtUpdateDnsmasqConf() (*asset, error) { bytes, err := dataOpenwrtUpdateDnsmasqConfBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/openwrt/update/dnsmasq.conf", size: 20105, mode: os.FileMode(0666), modTime: time.Unix(1570576453, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xeb, 0x2b, 0x8c, 0x85, 0x4c, 0x6a, 0x56, 0x20, 0x13, 0x46, 0xfb, 0xc5, 0x59, 0xc2, 0x20, 0x32, 0xe0, 0x6f, 0x89, 0xe, 0x2a, 0x1, 0x9c, 0x3f, 0x1c, 0xde, 0x89, 0x97, 0x4d, 0x8f, 0x11, 0xa2}} return a, nil } var _dataOpenwrtUpdateFirewallUser = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x9a\xcf\x6e\x5b\xb7\x12\xc6\xf7\x7e\x0a\x02\xde\xdc\xbb\xd0\xe8\x0c\xff\x33\xbb\x7b\xeb\xb4\x30\xd0\xc4\x81\xe2\x22\x6b\x47\x56\x1a\xb5\x8e\x25\x48\x32\xd2\xf4\xe9\x8b\xe1\xd1\xd1\xa1\xd1\xc5\x7c\x04\xb4\x4a\x7e\x61\x86\x33\xdf\x0c\x67\xc8\x73\x7d\x7d\x6d\x3e\x6d\x9f\x1f\x77\xdf\x8f\x1f\xf7\x3f\xfe\xff\xb4\x5b\xff\xb9\x39\x98\x85\xb9\xdb\x6f\x9e\x3f\xad\xee\xcd\x76\x7f\x34\x2f\xfb\xc7\x87\xd3\xc6\x1c\x5e\x9e\x36\x47\xf3\x9f\xe5\xe6\xb4\x5e\x7e\xd9\x1e\x36\xdf\x1f\x9e\x9e\xe8\xe5\xb8\x39\xfc\xf7\x4a\x56\xf9\x75\xbb\xde\x3c\x1f\x37\x6f\xcc\xbb\xdb\xfb\xfa\x07\xef\x76\x87\x8d\xd9\x3e\x7f\xd9\xbd\x31\x5f\x4f\xa7\xfd\xf1\xcd\x72\xf9\xfb\xf6\xf4\xf5\xe5\x33\xad\x77\xdf\x96\xeb\xc3\xc3\xdf\x3f\x16\xdf\x1e\xfe\x5a\xfe\xeb\xbf\xbf\xba\xba\x36\x9b\xe7\x2f\xbb\xc3\x7a\x63\x0e\xbb\x97\xd3\xe6\x60\x6e\xde\x7f\xbc\xda\xee\x4f\x0f\x9f\xc5\x84\xc5\xc9\x3c\x3f\x9c\xcc\xe2\xd6\x7c\x58\xbd\x5d\xdd\xfd\x76\x7f\xfb\xfe\x17\xb3\xd8\x9b\xd3\x7a\x6f\x16\x8b\xc7\xfd\xee\x70\x32\xc1\x99\xc5\x1f\x66\xf5\xf6\xe6\x76\xf5\xf6\xa7\x7b\xb3\x58\x9c\x76\x0b\xf9\x8b\xa3\x09\x4e\x5f\xe9\xe5\x11\x5c\xe9\xea\x7a\x74\x4b\xb3\xe4\xad\xf9\xf9\x6e\xf5\xe9\x7f\xab\x1b\xf9\x67\x37\xab\xbb\x0f\x66\xf1\x68\xd8\x51\xcc\x94\x13\xf9\x04\xa3\x9c\x02\xc8\x66\x62\x5b\x30\xb6\x38\xe2\x01\x61\x93\x27\x4e\x85\x98\x11\x83\x53\x26\x8e\x99\xac\x1b\x40\x38\x25\x62\xef\x51\xb8\x10\x17\xc8\xe6\x4c\x9c\x07\x0a\xa8\x15\x79\xa0\x02\xb3\x9e\x60\x83\xb3\x27\xce\x11\x85\x23\xd9\x00\xaf\x9c\x28\x64\x8c\xb5\x6e\x20\x76\xc8\xc2\xd9\x11\xfb\x4c\x96\x91\x95\x27\xd8\x21\xe2\xac\x70\xa1\x0e\x34\x22\x72\xcb\xa1\x6a\x1e\xf1\x70\x8e\xc4\x56\xa4\x0c\x39\xe2\x0c\xe7\x1e\xb8\x30\x00\x17\x4b\x96\x99\xd8\x22\x72\xe3\x21\x91\xc7\x54\x7c\x46\x2d\x8c\x62\x52\x13\xd6\xfa\x48\x8c\xda\x20\x30\xb0\xb4\x1d\xc8\x45\x11\x1a\x45\x87\xb3\x49\xb5\xe2\xcc\x5a\x4b\x4e\xad\x13\x67\x36\x58\x62\xbd\x5c\xd9\x81\x3c\xcb\xcf\x22\xf6\x7a\x4b\xd6\x93\x5e\x8a\x2f\xa8\x1e\x63\x41\x3d\x25\xf1\x30\x8c\x7a\x35\xdf\x66\x14\xb2\x35\x90\xc0\x28\xc9\x49\xad\x23\x76\x20\xce\x41\x4e\x22\xb2\x83\x4e\x8b\xc6\x1c\x71\x2e\xc4\x56\xdf\x5b\x4b\xab\x25\xa2\xa5\x83\xbe\xc5\x96\x56\xed\xf6\x03\x45\x09\x5c\x26\x1e\xd4\xe8\x9d\xe1\xc0\xc4\x4e\x4d\xe7\x16\x86\x57\xb6\x64\x07\xd5\x1f\x13\xec\xc8\xea\xda\x98\x60\x4f\x0e\x5e\xd8\x53\x51\xdd\x3c\xb1\x01\x39\xf7\x05\x2e\x64\x39\x52\x52\x73\x74\x66\x81\x86\x69\x86\x6d\x50\x6b\xfc\x04\x67\x8a\x50\xf4\x84\x95\xb6\x06\xf2\x45\x21\x2b\xc9\x05\xf9\x58\x58\x29\x57\xe8\xf6\xac\x45\x1a\xc2\x09\x76\x40\x81\x9d\x59\x2e\x48\x8e\x48\x71\xb3\x9e\x3a\x50\x46\xc2\x31\xb1\x7a\x35\x9c\x61\xe0\x08\x9b\xe0\x48\x8c\xc8\x6d\x62\x33\x6c\x72\x94\xc3\xb4\x07\x46\x24\x74\x81\x61\x2f\x47\xb0\x00\x4c\xb0\x7e\x94\x4d\x70\xc1\x43\x5d\x08\x36\x41\xaa\x7d\x07\x0b\xc7\xae\x00\x7d\xe6\xcc\x5a\x38\xcc\x92\x21\x1d\x2c\xac\xcb\x42\xfa\xa1\xd7\xb0\xb0\x78\x0a\xd0\xd7\xcc\xac\xde\x59\x35\x6c\x87\x1f\xf4\xa9\xa3\x61\x3b\x64\xa6\x8f\x76\x0d\xdb\x61\x43\x4f\x56\x84\x0e\x4d\x42\x87\xcc\xc4\x76\xd8\xab\x8f\x5f\x0d\xdb\xa1\x07\xbd\x85\x6f\xd8\x8e\x1c\xd2\xc7\xba\x86\xed\xc8\x8b\xdc\x53\xcd\x3a\xec\xcd\x1d\x71\xcb\x1d\xfa\x65\x7d\x76\x6f\x0b\x65\x4f\xf5\xb3\x3d\x2b\xbb\x9e\x95\x7d\x87\xe3\xb0\x46\x30\x89\xda\x49\x9f\x3f\x2e\x28\xe8\x8a\xca\x02\x57\x1e\x0d\x0b\x25\x52\xa1\x18\x89\x0b\x24\xe2\xca\x5a\xa8\x55\x13\x36\x11\x63\x82\x97\xe4\x04\xa7\x99\xc2\x94\x9c\x34\xae\x20\x1b\xf4\x9b\x9f\x91\x94\x1f\xe2\x84\x52\xaf\x50\x88\x0b\xb2\xb3\x0a\x5b\xa0\xb4\x07\x4b\x1c\x99\x38\x20\x9d\x57\x85\x53\xed\x9b\xf5\x64\x6e\x60\xd6\xfb\xb4\x0b\xed\x88\x75\xad\x55\x5a\x2a\x0a\xb1\x53\x13\x69\x82\x1d\xa9\x7a\x9f\xd0\x44\x1e\xdb\x5f\x2d\x28\xa4\x77\x96\x02\x27\x49\x0d\x4a\xaa\x80\x2a\x9b\x89\x8b\x38\x0e\x8a\x49\x76\xe4\x21\xcd\x9f\x61\xe6\x4c\xac\x1f\x35\x95\xf6\xc4\xf5\xba\x08\x5b\x5b\xe8\x80\xcc\xda\x95\x4e\x14\x07\xe2\x01\x12\x47\xce\x94\x2c\x59\xbd\xc8\xca\xac\x5f\x27\x94\x81\x98\x11\xfd\xd7\x12\x2b\x75\x00\xf2\xc8\x44\x5b\xbd\x2d\xbd\xd0\x4c\xfa\x8d\x78\x03\xdb\x01\x11\xdf\x48\x5b\x71\x38\x4c\x23\x17\x74\x0d\xcc\x09\x37\xc4\xc3\xb1\x29\x35\x15\xa0\x3c\xb0\x6e\x18\x6f\x2c\x10\x89\x5c\x60\xfd\x2e\x6b\xa2\xa5\x9e\x06\xd8\x10\xeb\xa8\x40\x0e\x39\xc3\xac\x77\x94\x95\x16\xa7\x04\x2a\x90\xf7\x7c\xa6\x12\x81\x2b\xa7\xca\xca\xec\x44\x3c\xa8\xb2\x8e\x9e\x3c\xd9\x04\x74\xec\x31\x90\x24\xe3\x90\x01\x21\xcd\xac\x2e\x8c\x99\xd5\xc3\x31\xb3\xfa\x03\x56\xc3\xaa\x91\x9b\x59\xd6\xc7\x91\x16\x56\x0b\x41\x03\x67\x35\x59\x05\x0e\xc4\x2e\xd3\xb0\xd4\x6b\xcc\x99\x8e\x0e\x68\xf1\x1b\x56\x3d\xb0\x66\x56\x1f\x07\x1a\x16\x72\xf2\xc8\x62\xc1\x3b\xb3\xba\x84\x2f\x2c\xd0\xa2\x35\xb0\xfe\x28\xd5\xc2\x3d\x66\xe8\x57\x1c\x23\x6c\xbd\x45\xee\xde\xa4\x59\x66\x19\x1c\x3c\x52\xe0\x5e\xd1\x7a\xb0\x1b\x3a\xeb\xde\x6b\x68\xe0\x09\x79\xf0\xe4\x43\x7d\xf5\x06\x0e\x08\x66\x1e\xef\x70\x0b\x70\xd1\xd9\xc0\x5e\xb7\xa3\x59\x19\x78\x19\x9e\x69\xab\x17\x83\x57\x34\xf0\xc6\xc8\xf5\x91\xc1\x39\xe8\x9d\xf3\x02\xdb\xa1\x8f\xd6\xcd\x6e\xe8\x0e\xb3\x3d\xf6\xad\x43\x43\xf7\xad\x0d\xbc\x82\xcf\xb4\xc7\x77\xe9\x91\x11\xe7\x15\xdd\x67\x09\xf0\x95\xc6\x4c\x23\xcf\xd6\x0d\x0d\x7c\x45\xe0\x6b\x5b\x1a\x58\xfa\xea\x2e\x1a\xf8\xf2\x61\xa6\x91\x6f\x46\x2e\x34\xe4\xef\x86\xee\xb1\x1b\xb8\xce\xbf\xd0\x0e\xe8\x56\x1a\x18\x51\xf7\x19\xc6\x0e\xe9\x09\x67\x96\x8a\xdf\x45\xc3\x0e\x14\x3a\xc2\x86\x57\x1a\x90\xe0\x99\x8e\xa1\xc7\xdf\x23\x0e\x7b\xbc\xe2\xfa\x2b\xe3\x6b\x1c\x48\xfb\x44\xec\x64\x97\x40\xeb\xc7\x21\x8d\x4d\x97\xd4\x4d\x3d\x9c\x23\x6d\xfd\x40\xfa\x69\xd9\xc0\xc0\x93\x7c\x43\x03\xad\x49\xa5\x23\x25\xd9\xa9\x1e\x9d\x06\xc6\xac\x1e\x61\xe0\x68\x6d\x60\x3d\x8c\x0d\xdc\x63\x33\xa0\xa7\x11\x2e\x91\x80\xc3\x6c\x66\x51\x23\x4a\x44\x6e\x4c\x1b\x58\xef\xd2\xb8\x70\x1d\xff\xf2\x00\x3c\x80\xb4\xb0\x6e\xf3\x0c\x03\x45\xa1\x81\xf5\x54\x39\xc3\xec\x0a\x75\xc1\xac\x0f\x07\xaf\xd6\xc6\x3d\x32\xe2\x7a\xcc\x2b\xee\x29\xd5\x4b\xb0\x2e\x5a\xcf\xdb\x96\x06\xa3\x33\xd2\xfa\x81\x6a\x87\x44\x5e\x7a\x6e\x0f\x04\xbe\x81\x23\xff\x13\x00\x00\xff\xff\x44\xd1\x37\x23\xe1\x2c\x00\x00") func dataOpenwrtUpdateFirewallUserBytes() ([]byte, error) { return bindataRead( _dataOpenwrtUpdateFirewallUser, "data/openwrt/update/firewall.user", ) } func dataOpenwrtUpdateFirewallUser() (*asset, error) { bytes, err := dataOpenwrtUpdateFirewallUserBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/openwrt/update/firewall.user", size: 11489, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3a, 0x1, 0x2e, 0x15, 0x42, 0xf5, 0xb3, 0xf0, 0x35, 0x1d, 0xd7, 0x26, 0x4b, 0xd, 0xdd, 0x39, 0x2e, 0x47, 0x9b, 0xa6, 0x90, 0xb6, 0x4e, 0xfb, 0xca, 0x18, 0x4b, 0xd, 0x66, 0xb6, 0x4d, 0xc9}} return a, nil } var _dataP2pExtraTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x9b\x4d\x8f\x1e\xb7\x0d\x80\xef\xf9\x15\x0b\xe4\x4c\x5a\xa4\xbe\x7d\xec\xad\x40\x03\x04\x68\x81\x9e\x53\x77\xdb\x18\x4d\xec\xc0\x76\xd0\xa4\xbf\xbe\x90\x34\x1f\xa4\x23\x72\x0e\x9b\xe8\xb1\x9e\x77\x56\xe2\x2b\x51\xd2\xcc\xec\xb7\xdf\x7e\xfb\xf2\xf7\xf7\x1f\xfe\xf9\xf1\xbf\x9f\xff\xfa\xcb\xef\x7f\xfa\xe9\xe3\xbb\xff\xbc\x7e\x7a\x81\x97\xef\xf9\xfb\x97\xd7\xdf\xbe\x7c\xfa\xe1\xe5\xd3\xaf\x3f\xbd\x7e\xfe\x66\x78\x7f\x79\xff\xee\xf5\xc3\xe7\xd7\xb7\x2f\xdf\xfd\xf9\x6f\xf3\x1f\xbe\xfb\xf8\xe9\xf5\xe5\xfd\x87\x7f\x7d\x7c\xfb\xf2\xe3\x97\x2f\xbf\x7c\x7e\xfb\xe6\xcd\xbf\xdf\x7f\xf9\xf1\xd7\x7f\xe0\xbb\x8f\x3f\xbf\x79\xf7\xe9\x87\xff\xfd\x0e\x3f\xff\xf0\xdb\x9b\x3f\xfc\x82\x6f\xbe\xf9\xc3\x3f\xbd\xa5\x88\x25\x21\xb5\x82\xcc\x19\x14\xed\xed\x5a\x90\xa9\x21\x51\x05\x45\x8e\xdd\x91\x3a\x81\x22\xd7\x66\x0a\xa0\xc8\xb0\x2b\x12\x31\x52\x64\x50\x64\xd8\x0d\x39\x66\x24\x2e\xa0\xc8\xb5\x39\x55\x50\x64\xd8\x1d\x39\x76\x2c\x1d\x24\xb8\x6e\x63\x90\xb0\x77\x5b\x40\x62\xcc\x09\x44\xd9\x30\x09\x33\xe6\x08\x77\xd1\xf0\x1a\x52\x1a\xfd\x6e\xa0\x68\x6f\x53\xa8\x18\x4f\xf9\x02\xcf\xe5\xd5\xd8\x0b\x6c\x37\x63\x0b\x20\xca\xae\xd9\x84\xe9\xfc\xfe\x82\x94\x0b\x48\xf0\xdd\x26\x5d\xf7\xba\xa2\x5f\xc5\xef\xd7\x0c\x2b\x48\x70\xdc\x31\x73\x40\x82\xeb\x8a\x46\x2c\xb2\x6d\x26\xe4\x70\xc5\x77\x91\x6f\x73\x07\x45\xb6\x9d\x58\xb4\x7a\x82\xef\xb2\x74\x8d\x91\x7e\x56\x47\xe9\x1a\x63\xf8\xac\x4e\xd2\x75\x62\x91\x58\x46\x6e\x91\x63\x47\xd9\xe2\xe8\xb7\xb8\x88\xef\x7a\x82\xe3\x56\xe9\x56\xdf\xed\xaa\xc5\xfd\x61\xc4\xb1\x1e\x1a\xfc\x30\x36\x28\xaa\xf1\x7c\xa0\x33\x3a\x72\xc6\x7a\x85\x64\xd1\x83\x1d\x95\xed\x7c\x8f\xb3\x3e\x29\x7b\xd7\x12\x8e\xd8\x0b\x66\x1e\x29\x4e\x94\x4d\x93\x43\x1b\x3f\xa0\xc8\xb0\x2b\x16\x42\x8a\x15\x24\x98\x2e\xd5\x86\x54\x23\x28\x32\x6d\x0e\x1d\xfb\x79\xe5\x05\x86\xdb\x91\x42\xc7\x94\x40\x82\xeb\x16\xe9\x16\xc7\xa5\x32\x7e\x40\x91\x6d\xcf\x5c\x51\x41\xd1\xde\xa6\x30\x96\x24\x46\xaa\x19\x34\x5a\x3e\x8d\x94\x8c\xd4\x1b\x68\xf4\xfc\x91\x15\x09\x34\x6e\xfc\x14\xb0\x74\xa4\x5a\x90\x0a\x48\xd8\xbb\x35\x60\x40\x0a\x0d\x44\xd9\x30\xd3\x10\x4a\x04\x51\x36\xcc\x3a\x76\x4d\xc8\x69\x5d\xf5\x22\xdb\x8e\x01\x53\x06\x09\x86\xdb\x31\xb5\xa3\x63\x67\x79\x6f\xb6\x38\x1a\x99\xa6\x79\x96\x4d\x93\xb8\x62\x26\x90\x60\xbb\x39\x20\xc7\x08\x8a\x0c\x3b\x8f\x0d\xd3\x8a\xd8\x59\x36\xcc\x8e\x14\x33\xae\x80\x5d\xb0\x77\xfb\xf8\x8d\x18\xe0\x2a\x72\x36\xa2\xd5\xc3\xcc\x69\x04\xa2\xec\x9b\x5d\xaa\xbb\x95\xef\xae\xe6\x00\x12\xfc\xeb\xae\x18\xdc\xf4\x60\x17\x65\x1b\xdf\xdb\x59\xdf\x64\x43\x68\xbb\x7f\x3a\xeb\xc7\x9a\x70\xdb\x93\x1e\xec\xa4\xec\x5d\x6e\x91\xf5\x59\xd9\xde\xb7\x52\xe7\xfe\x5b\xd1\x83\x5d\x95\xbd\xcb\x44\x47\xfd\xf8\xa9\xd7\x17\xb9\xc8\x1e\x49\xd4\xee\xa1\x34\xca\x86\x49\xf3\x10\x12\xe7\xf8\xbc\xc0\x76\x1b\x76\xb8\x8b\x86\x57\x91\x0a\x61\x5e\xbf\xfe\x84\xbd\x3b\x52\x5e\x42\x86\xbb\x68\x7b\xf3\xec\x13\x40\x91\x63\x37\xe4\x74\x5d\x78\x91\x63\x77\xa4\x95\x53\x6e\x72\x5a\x5c\xc6\xba\x08\x8a\x6c\x7b\x9c\x6b\x6e\x7b\x91\x63\x47\xa4\x5b\x1e\xe0\x45\x24\x61\x4c\xa0\xc8\xb7\xa9\x2b\x9d\xba\xe7\x8f\x01\x79\x35\x65\x91\x65\x33\x46\x71\xf1\x93\x0c\x9b\x18\x2b\x8f\x9d\x80\x04\xc7\xcd\x73\x01\x56\x64\xdb\x7d\xae\xd1\xa0\xc8\xb1\x09\xb9\x83\x04\xcb\x8d\x63\x09\x5d\x23\xe4\x28\xdb\xe6\xd8\x0a\x9d\x6d\x38\xc9\xb2\x13\xe6\x84\xcc\x11\x14\xd9\x36\x8d\xff\x83\x04\xdb\x65\x4e\xf3\x90\xa4\xd1\xf1\x13\x21\xa5\xeb\xea\x07\x5a\x7e\xc6\xb8\x8e\xce\x8a\x2c\xbb\x8e\x7d\x2a\xc5\x23\x82\x27\xd9\xf6\x48\x70\x95\x41\x91\x65\xb7\xb9\xa7\x05\x51\xb6\x4d\x0a\x11\x2b\x48\xf0\xdc\x72\xa5\x9c\x1b\x0d\x7f\x6c\x24\xc7\x2e\x3f\xaf\xf1\x74\xa3\xe5\x17\xa4\x73\x49\xbc\xc0\x76\x3b\x66\xb8\x8b\x96\xb7\x0e\x47\x54\xd7\xdc\xba\xd1\xf1\x13\x63\x2d\xa0\xc8\xb1\x7b\x9e\x77\x20\x34\x6e\xfc\x4c\x48\x21\xcf\x83\xc9\x38\x4c\x68\x34\xfc\xb1\xcc\x8f\xd9\x5d\x41\x91\x6d\x8f\x94\x94\x2e\x7b\x91\x65\xd7\xf5\x43\x04\x1a\x0d\x7f\x6c\xb0\x33\xb6\x04\x12\x6c\xb7\x37\x2c\x1d\x24\xd8\xee\x0a\x5c\x05\x8d\x96\x4f\xc8\x65\xde\xbb\x50\x64\xdb\x91\xc7\x8e\x57\x82\xed\x52\x29\x48\x21\x81\x46\xcb\x4f\xe3\x08\x31\x37\x5a\x1a\x2d\x3f\x23\x8d\x4d\xec\xd1\xf2\x93\x76\x36\xcf\x6d\x42\xcc\x23\xeb\x80\x22\xdb\x4e\x65\x2c\x7d\x12\x6c\x37\xcf\xdd\x88\x04\xd7\x6d\x0c\x12\x1c\x97\x65\x8b\x17\x39\xb6\xea\x5f\x7e\xe8\x5f\xa5\xb9\x9e\x2a\x32\xec\x86\xa5\x60\x6f\x20\xca\x7b\x73\x9c\xa3\xdb\x38\x0c\x88\xb2\x67\x72\x00\x51\x76\x4d\x12\xe6\x76\xc4\xad\xda\xb1\x6b\x6b\x20\xc1\x77\xbb\x74\x9d\xb6\x12\x8b\xc6\x4e\xf0\x5d\x92\xae\xdf\x5e\x66\xe9\x1a\xa3\xe1\xac\x8e\xd2\xdd\xe6\xb9\xbb\x3a\x49\xd7\xf8\x6e\x47\x75\x2d\x18\xaf\xbe\x4d\xf0\x5d\x92\xae\xd3\xb7\x51\xcd\xd2\x75\xfa\x36\xaa\xa3\x74\x9d\xbe\xd5\x73\x66\x5e\xe0\xbb\x59\xba\xbb\x95\x4d\x54\x17\xe9\x6e\xd7\x9d\xab\x3a\xc9\x98\x25\x6f\xf4\x36\xbc\x2e\x3b\xca\xae\x79\xf7\x6c\x82\xef\x66\xe9\x3a\x3d\x1b\xd5\xb2\x09\x5e\xcf\x46\x75\x95\xee\x76\xe5\xb8\xab\x9b\x74\xbd\xbc\xd0\x30\x76\xe9\x7a\x99\xa1\x89\xe8\x4e\xf0\x5d\x19\xb3\xed\x4e\xff\x9a\x08\xe3\x70\x04\x8a\x1e\xec\xa6\x6c\x37\x9b\x04\x95\x4e\xc2\x43\x3e\x09\x2a\xa1\x84\x87\x8c\x12\x54\x4a\x09\x0f\x39\x25\xa8\xa4\x12\x1e\xb2\x4a\x50\x69\x25\x3c\xe4\x95\xa4\x62\x92\x1e\x62\x92\x54\x4c\xd2\x43\x4c\x92\x8a\x49\x7a\x88\x49\x52\x31\x49\x0f\x31\x49\x2a\x26\xe9\x21\x26\x49\xc5\x24\x3d\xc6\x44\x26\xdb\x64\x67\xdb\xb1\x61\xef\x09\xe9\xc8\xa1\x37\x1a\x7e\x2c\xf3\xae\xe6\xd8\x6f\x6b\xb4\xfc\x86\x94\x1a\xb6\x35\xc6\x2f\x7a\xb0\xbb\xb2\xad\x6f\xe8\xa8\x1f\xe7\x0f\x8d\x86\x3f\x9f\x6b\x25\x5c\x41\x3f\xc1\x77\xa9\x16\xd0\xe8\xf9\x1d\xe9\xc8\x96\x37\x1a\xfe\xbc\x49\x3e\xf6\xfb\x2b\xee\x37\xda\x3e\x87\x31\xb6\x33\x68\xb4\xfc\x86\x1c\x1b\xa6\xd5\xd9\x8b\x0c\xbb\xc4\x75\x8e\x5c\xf3\xe8\x22\xcb\x1e\xb3\x86\x30\xaf\xa6\x5c\x64\xdb\xcc\x75\x3e\xba\xd1\xe8\xf8\x99\xce\x14\x7a\x91\x65\x17\x24\x0a\x58\x0e\xfb\x24\xdf\x66\xca\xa0\xd1\xf1\x39\x60\xad\xa0\xc8\xb2\xeb\x7c\xfa\x4e\x2b\xe6\x17\x59\x76\xc3\x91\x7e\x8e\x89\x74\x91\x65\x77\x1c\x3b\xe2\xb5\xa9\xbf\xc9\xb0\x6b\x98\xd3\xf8\x68\xf7\x45\x96\x4d\xc7\x9d\xef\x75\xf1\x1b\x2d\x3f\xce\xad\xff\x11\xf3\x8b\x2c\x3b\xe3\xc8\x10\x7d\x4d\xa4\x8b\x2c\xbb\xcc\x9b\x36\xa7\x7d\x92\x65\xb7\x79\xaf\x35\xad\x49\x74\x91\x67\x47\x3c\xa6\xd0\x45\x8e\xdd\xe3\x7c\xcc\xa6\xd1\xf2\xc7\x74\x1f\xb3\x12\x14\x19\x76\x8b\xe3\xe0\x79\x6e\x82\x2e\xb2\xec\x84\x8d\x91\x78\x25\xba\x8b\x6c\x7b\x8c\xa7\xb3\xe5\x37\xee\x7d\xe6\xbc\xee\x26\x4c\xfd\x26\xc3\x1e\x5f\xdf\xd8\x78\xcc\xd5\xe8\x26\xdb\xe6\x14\x70\x9d\xeb\x6e\xb2\xec\x31\xb6\x8f\x61\x7b\x81\xe3\x8e\x9d\x2e\x48\xb0\xdd\xd2\xcf\xd9\x73\x93\x65\x8f\x45\xb0\x23\xa7\x0e\x1a\x2d\xbf\xcf\x5b\x2b\x47\x17\x0f\x70\xdc\x3c\x16\xcc\x00\x1a\x3d\x7f\x4c\xc8\x06\x1a\x1f\x7c\x79\x7d\x7a\xba\x7e\xc1\x7a\x37\x7e\x92\x6f\xab\xd6\x94\xa7\xd6\x54\xed\xd7\x67\x9f\x03\x83\x46\xc7\xaf\xf5\x1c\xb9\x17\xf9\x76\x69\xa0\xc8\xb7\x29\x04\xd0\xe8\xfb\xcc\xea\xf2\xbc\xbd\x3f\x7c\x0a\x63\x6a\xde\x97\x9f\xe4\xdb\x89\x41\x91\x6d\x73\x50\x6d\x3f\x70\xe3\x97\x84\x23\x41\x20\x13\x83\x28\xbb\x66\x12\xe6\x6e\xac\xdc\xb5\x45\x98\xbb\xef\xe5\xae\x6d\xc2\xdc\xc5\x6c\xd6\xce\xc7\xc5\x67\x69\xff\xb4\x78\xd6\xe6\x79\x28\xb8\x8b\x8e\xc7\x0c\x77\xd1\xf3\x72\x04\x51\x76\xcd\x24\xcc\x6d\x7c\x32\xae\x5b\x57\x1c\x09\x24\x98\x2e\x73\xc1\x11\x76\x01\x86\x3b\xba\x3b\xef\x82\x83\x22\xdf\x8e\x01\x14\x3d\xd8\xa4\x6c\xab\xd5\x67\x3d\x2b\x7b\x1b\x63\x51\x9f\x94\xed\xf4\xb2\xb7\xb9\xab\x50\x64\xd8\x79\xde\xb9\xe5\x08\x12\x6c\x37\x06\xcc\x01\x24\x98\x2e\xaf\x11\x79\x95\xf7\x63\x72\x2c\xee\x69\x6c\x34\x03\x46\x06\x45\x9e\x4d\x18\x33\x28\xb2\x6c\x5a\x2f\xe1\xa6\x00\x1a\x2d\x9f\xa7\x13\x2b\x28\xb2\xec\xb1\x91\x99\x5d\x03\x8d\x96\x9f\xd6\x33\xdf\xa3\xa7\x27\x39\xf6\xd8\xfc\x82\x04\xdf\x6d\xd2\xdd\xbe\x73\x77\x55\x53\x88\xa0\xc8\xb2\xf3\x7c\x59\xb3\x1e\x11\x39\xc9\xb2\x0b\x76\xc2\x78\xb4\xf9\x00\xc3\x9d\x6f\xaa\xad\x57\x7d\x34\x9a\xfe\x58\x39\xc6\x79\x36\xc2\x57\x6c\x7d\x82\x68\x3e\x5c\x5c\x5f\xcf\x45\xa6\x9d\xd6\x8b\x4c\x04\x1a\x1d\x9f\xe7\xad\xa6\xfb\x03\x07\x9b\x9f\xc8\xf3\x01\xc5\x7c\x5b\x55\xf3\xee\x13\x91\x46\x3e\xc5\x79\xd9\x0a\x1a\x9f\xfc\xae\xfd\xfd\x1b\xae\xb7\x10\x03\x68\x7c\xf2\x49\xfb\xfb\xb7\x62\x97\x50\x08\xef\xab\x17\xb2\xe6\x47\x4c\xeb\x40\x56\x1b\xf6\xd1\x5b\x89\x9e\xdf\x32\xd6\x00\x1a\x5d\x7f\x0e\x33\xf8\x8a\xb7\x9f\xa8\xf3\x0d\xc2\xf9\x78\x0b\x14\x39\x36\xc7\xb4\xde\x77\x97\x68\xfa\xeb\x31\x2b\xc5\x02\x5f\xb1\xfb\x89\x84\xb1\x83\x46\xc7\x9f\xef\xfe\xdf\xbf\x60\xa1\xe7\xa7\x88\x31\x80\x46\xcb\x8f\x79\xde\x86\x28\x11\x34\x6e\xfd\x36\xf2\x01\x31\x63\x1a\xcd\x17\xb4\xb3\x73\x1d\x4b\x47\x2e\x63\xf0\x5c\x65\x63\xec\xac\xfa\x79\x83\x1f\x24\xf8\x2e\x8f\xdc\xaa\xf0\xc9\x2f\xda\xdf\x46\x51\x0a\x4d\xfb\xdb\x51\x26\x84\x18\x40\xe3\x93\xcf\xda\xdf\x8e\xb3\x43\xe0\x8e\x23\xb1\x49\x72\xec\x31\x39\xe2\xdd\xdb\x85\x4f\x7e\xd3\xbe\xd7\xdb\x98\xd6\x9a\xac\xf0\xc9\x67\xed\x7b\xbd\x8d\xc7\x9f\x7d\x28\x7c\xf0\x45\xf4\x17\x3e\xf9\xac\xfd\xa7\xf6\xc4\xa4\x7d\x73\xb4\x15\x1c\xff\x05\x51\xde\x99\xa5\x61\x89\x63\x35\xae\x1d\x24\x38\x6e\xe0\x71\x4e\x52\xb4\xb3\xfb\xdc\xf3\xac\x37\x34\xc6\x90\xd7\x6c\x7e\xa2\xaf\xb7\x5c\x46\xf2\xd6\xbc\xf9\x04\x87\x84\xb5\x8f\x4a\x0c\x20\x60\x3f\xbf\xe7\x1d\xdd\x79\xf7\x98\x90\x53\x82\xaf\x78\xfb\x89\xf9\x37\x0a\xe3\x82\x0c\x12\x6c\x77\x1c\x1d\x2e\x77\x82\xef\x26\xe9\x3a\x6d\xe0\xf9\x96\xb6\x04\xdf\x6d\xd2\xdd\xbe\x2d\xbe\xaa\x29\xcc\x17\xd6\x14\x39\xf6\x58\xa9\x73\x06\x8d\x8e\xdf\x93\xe8\xe2\x22\xdf\xe6\x0c\x8a\x7c\x3b\x46\x50\xe4\xdb\x29\x80\x22\x27\x82\x1c\xb1\xdf\x5f\xcd\xa4\xff\x07\x00\x00\xff\xff\x6b\x1c\x66\x28\x81\x38\x00\x00") func dataP2pExtraTxtBytes() ([]byte, error) { return bindataRead( _dataP2pExtraTxt, "data/p2p/extra.txt", ) } func dataP2pExtraTxt() (*asset, error) { bytes, err := dataP2pExtraTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/p2p/extra.txt", size: 14465, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd8, 0x7d, 0xe5, 0x14, 0x48, 0xa3, 0x38, 0x9b, 0xe5, 0x40, 0xe6, 0x40, 0xa, 0x29, 0x43, 0xe5, 0x3c, 0x22, 0x97, 0xb8, 0x43, 0x55, 0xf6, 0x23, 0x66, 0xda, 0x74, 0x9a, 0x1b, 0x30, 0x8e, 0xb7}} return a, nil } var _dataP2pSpyTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x99\xcd\x6e\x1c\x39\x0e\x80\xef\x79\x8a\x06\x72\x26\x2d\x52\x3f\x25\xf9\xb8\xb7\x05\x36\x40\x80\x5d\x60\xcf\x59\xaf\x67\x62\x4c\x12\x07\x76\x82\x99\xcc\xd3\x0f\xa8\xea\xee\x22\x27\x22\xfb\x10\x44\x5f\xf3\xeb\x6a\xfd\x8b\x2a\xbf\x7d\xfb\xf6\xf4\xdf\xa7\x2f\xff\x7f\xfe\xfd\xf5\xdf\x5f\x7f\xfc\xe3\xd3\xf3\xc3\x6f\x8f\x2f\x27\x38\xbd\xe7\xf7\xa7\xd7\xaf\x3f\x4e\x2f\xdf\x3f\x3d\xbe\xbe\x11\xeb\x5f\x4f\x0f\x8f\x5f\x5e\x1f\xef\x4f\xef\xfe\xf9\x9f\xf9\xc1\xbb\xe7\x97\xc7\xd3\xd3\x97\x5f\x9e\xef\x4f\x1f\xbf\x7d\xfb\xfa\x7a\x7f\x77\xf7\xeb\xd3\xb7\x8f\xdf\xff\x87\x0f\xcf\x9f\xef\x1e\x5e\x3e\xfc\xf9\x03\x3e\x7f\xf8\xe3\xee\xa7\xc7\xbf\x79\xf3\xd3\x47\xf7\x94\xb1\x35\xac\x0d\xb9\x64\xd0\xe0\xb8\x1d\x33\x21\x8d\xdd\xbd\x80\xeb\x76\xc6\x0e\x47\x71\xed\x6d\x1d\x29\x27\x64\x4e\x60\xc8\xb5\x39\x33\x32\x37\x30\x14\xd8\x19\x29\x67\x30\xb4\xb6\x07\x23\x8d\x82\x4c\x0c\x86\x16\x36\x27\x2c\x05\x7b\xc3\x92\x41\x95\x57\x66\xc6\x31\xb0\x0c\x24\x26\xd0\xb0\x76\x29\x31\x16\xe4\x9a\x41\x83\xef\x32\x61\x01\x55\xf6\xcc\x8c\xd4\x19\x89\x1b\x58\x5c\xf8\x25\xc9\x80\x31\xf3\xec\x09\x43\x8e\x3d\x90\x6a\xc6\xb6\x81\x86\xb5\xbb\x25\xa4\x5e\xb0\x67\xd0\xe0\xba\xcc\x09\xb9\x74\x30\x14\xd8\x84\x5c\x06\x18\x72\xec\x0d\x99\x3b\x96\x59\xe7\x2b\x84\x6e\xd7\x6e\x8f\xdd\xc1\xa0\xc1\x77\x33\x23\x25\x02\x43\x8e\x3d\xb0\x57\x24\xae\xa0\x61\xed\x8e\xbd\xf5\xb3\x27\x2e\xe5\xb5\x49\x54\x31\x23\x53\x02\x0d\xbe\x4b\x34\x90\x7a\x05\x8b\x9e\x3f\x90\x89\x90\x53\x06\x8b\x0b\xbf\x12\x52\x49\x58\x12\x72\x6e\x60\xc8\xb3\x09\x29\x23\xb5\x02\x86\x3c\x3b\x23\x11\xe1\x06\x1a\x62\xb7\x13\x18\x5a\xd9\x8c\x44\x05\x1b\x96\x06\xaa\x1c\x9a\x9b\x32\x97\x35\xd8\xa3\x1b\xe6\xab\x29\x65\xdf\xcc\x8c\xd7\x5f\x97\x72\x68\x6e\xca\x8c\x9f\xd9\x95\xb9\x5a\x73\x47\x94\x0b\x68\x08\xda\x54\x64\xc3\xd4\x10\xbb\x45\xbb\x37\x9e\x5b\xb5\xbb\x9a\x91\x97\x70\xc5\xed\xda\xb4\x09\xb1\x3b\xb4\xbb\x5a\x45\x47\x98\x6a\x02\x43\x81\xdd\x30\x1f\xad\x13\x88\xdd\xaa\xdd\xa8\x75\x4d\x4f\x9b\x16\xce\x9b\x6d\xc3\x7c\x8c\x86\x40\xec\x16\xed\x46\xf5\xdd\x90\x54\x25\x26\xf9\x76\xef\xc8\xd7\x6e\x9b\x10\xbb\x5d\xbb\xc1\xd8\x49\x78\x68\x37\x18\x3b\x92\x1d\x1d\x34\xc4\xee\xd0\xee\x8d\xe7\x52\x02\x43\xb1\x7d\x2c\x8f\x9d\x6e\xd8\xc5\xd8\xc1\x98\x48\xbc\x9a\x26\xd6\xa8\x8d\xb2\x8e\x09\x0c\xdd\xb0\xd9\xd8\xab\x13\x4f\xc7\xb3\xb1\xa3\x56\xca\x36\x65\xec\xed\x96\x5d\x8c\x1d\xf5\x49\xed\x78\xac\xd8\x9d\x6e\xd8\x6c\xec\xa8\x95\x12\xcf\xc6\x8e\xea\x5d\x3b\x0e\x02\x43\x37\x6c\x53\x93\x65\x86\xa1\xe2\x94\x8c\x4e\xc9\xf3\xb3\xac\x3f\x49\x7a\xf7\xe5\x7b\x60\xe0\x53\x93\x74\xce\x90\x63\xd7\x8a\xb4\x49\x8a\xb3\xef\x66\x07\x7a\xbe\xa4\x44\xe5\xb2\xa1\x5d\xc9\xb3\xa5\xb2\x5d\xce\x6a\xb0\xe8\xf8\xad\x20\x97\x74\xd9\x02\xaf\x14\xdb\x75\x80\xa1\xc8\x96\x54\xa7\x82\x45\xcf\x97\x34\x6a\x5c\xfa\xf1\x4a\x8e\xbd\x25\xec\x19\x69\xaf\xca\x05\x3c\xb7\xa0\xe4\xee\xe7\xfc\xe4\x4a\x9e\xdd\x31\x77\xa4\xba\x77\xe1\x95\x7c\x9b\xca\x26\x3d\x01\x16\x03\xbf\xd2\xbc\x56\x58\x0c\x7c\xf9\xd7\xc0\x90\x6f\x33\xe7\xcb\xde\x72\x25\xc7\x96\x3e\x93\xe5\x70\xde\x5c\x0e\x5c\xfb\xcc\x03\xb3\x5c\x6d\x66\xd5\x0f\x72\xec\x9c\x66\x7e\xde\x67\xc7\x1c\xe4\xd9\x0d\x8b\xfc\x37\xc0\x50\x60\x67\xe4\x7d\x49\x1f\xb4\xb0\x5b\x45\x69\x5b\x4a\xb8\x81\x2a\x87\xe6\x50\xe6\xaa\x06\x47\x94\x08\x34\xc4\x4f\xd5\xee\x72\x6f\x53\x61\xd6\x6e\xdc\xae\x91\xb5\xbb\x1a\x3b\x15\x2e\xda\x5d\x9d\x0b\xe7\x70\x23\x6c\x57\x77\x82\xe3\x56\xe4\x81\x9c\x3b\x68\x70\xdd\x52\xb0\x12\xa8\x72\x68\x16\x65\xfa\xbf\x5f\x0a\x52\xea\xa0\x21\x76\x87\x76\xbd\xf1\xad\x73\x47\xe1\x04\x1a\x5c\x97\xe4\xde\x75\x69\xd8\x0e\xb1\xcb\xda\xf5\xc6\xf7\x1c\xce\xda\xf5\xc6\x57\xce\x91\x86\xe3\x52\xdf\x1d\xfc\x31\xab\x2c\x69\x96\x86\xd0\x6d\xda\x6d\xb1\xbb\x25\xd0\x10\xbb\xa4\x5d\xbf\xcf\x66\x98\xb5\xeb\xf7\x99\x84\x87\xae\xaf\xbb\x26\xf6\x30\x0d\x5d\x61\xba\xd1\x6b\xb2\xe7\x18\x5a\xd9\x6d\x7f\x29\x50\x24\xed\x27\xb0\xb8\x7a\xef\x96\x0a\xce\xa3\x71\x93\x3c\xcf\x90\x67\xcb\x4c\xd8\xb0\x35\x30\x14\xd9\x43\xb2\x59\x43\x81\x5d\x92\x9c\x1c\x60\xd1\xf7\x99\x67\xa6\x67\x28\xb6\xa5\x1b\x2d\x06\x7e\xde\x24\x1f\x00\x8b\x9e\x2f\xeb\x04\x69\x54\x30\xe4\xdb\x2c\x47\x1e\x31\x58\xf4\xfc\x86\x72\x58\x9f\x3b\xf2\x0c\xbe\x9b\xbb\xec\xa2\x1a\x1c\x97\x29\xa1\x5c\x13\x41\x43\xe4\x26\xec\x4a\x4e\xeb\x77\x71\x97\x38\x13\xef\x2f\xb7\x2d\xbb\xdf\x28\x98\x2b\x72\x29\x60\x71\xf9\xc6\x98\x90\x6b\xc6\x36\xab\xa3\x20\x74\x29\x65\x30\x14\xd8\x92\x8f\x1e\x8f\x9e\xb4\xb4\xcb\xcc\x02\x73\xda\x67\x96\xc1\x5b\x7e\xb6\xfe\xba\x36\x4a\x28\xd6\x5f\xf7\xcb\x21\xc8\xb2\x33\x18\xf8\x33\x69\x3f\xfc\x1d\x03\x9f\x73\x95\xd4\xd0\xe2\xca\xaf\x1b\xd6\x86\x92\xfa\xd6\x04\x86\x7c\x7b\xd0\x9c\x91\x0a\x7c\x97\x52\x43\xea\x05\x2c\xde\xf2\xab\xf5\x97\xab\x54\x0b\xc3\xfa\xcb\x3d\xe0\x2c\x50\x9e\x37\x38\x8b\x81\xcf\x84\xea\xf1\x93\x22\xbb\xcc\x09\xaf\x29\xb0\xcb\xd0\xdd\x7e\xc6\xc0\x1f\x45\x0e\x3b\x43\x37\xec\x6c\xec\xe5\x0c\x56\xf1\x62\xec\xe5\x28\xb5\x8e\x8d\x90\x0b\x52\x21\x30\xe4\xdb\x54\x1a\x72\x05\x43\x91\x3d\x50\x06\x48\x53\x60\x6f\x33\x59\x30\xe4\xd9\x72\x95\x91\xa3\x16\x0c\x79\x76\x9e\xb9\x70\x3b\x3f\xfb\x42\x91\x3d\xff\x84\x06\x16\x57\xfe\xa0\x79\x35\x91\x3b\x7e\x4f\x60\xd1\xf5\x37\x64\xea\xf3\x1e\xf4\x37\x76\xbf\x31\xb0\x26\xa4\x0e\x86\x62\x5b\x96\xb5\xa6\xc8\x9e\x77\x05\xb0\x18\xf9\x05\x2b\x83\xa1\x85\x2d\xc9\x4d\x93\x7b\xac\xcc\x91\x02\x16\xff\x0a\x00\x00\xff\xff\xa7\x2d\xe1\x05\x19\x1e\x00\x00") func dataP2pSpyTxtBytes() ([]byte, error) { return bindataRead( _dataP2pSpyTxt, "data/p2p/spy.txt", ) } func dataP2pSpyTxt() (*asset, error) { bytes, err := dataP2pSpyTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/p2p/spy.txt", size: 7705, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x13, 0x39, 0xe8, 0x71, 0x78, 0x30, 0x6c, 0x43, 0x4a, 0xd1, 0x80, 0x67, 0x60, 0x1, 0x2, 0x76, 0xe6, 0x23, 0xc2, 0x83, 0xd, 0xba, 0x8f, 0xb2, 0x22, 0xcb, 0x7e, 0x6e, 0x13, 0x4d, 0x10, 0xff}} return a, nil } var _dataP2pUpdateTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x9a\x4f\x6f\x1c\xb7\x0e\xc0\xef\xf9\x14\x0b\xe4\x4c\x5a\xa4\xfe\xfb\xf8\x6e\x0f\x78\x01\x02\xbc\x02\x3d\xa7\x8e\xdb\x18\x4d\xe2\xc0\x76\xd0\xa6\x9f\xbe\x90\x66\x76\x86\x74\x24\x0a\xc8\x41\x3f\xf3\xb7\x0a\x57\xe2\x68\xa4\x99\x7d\xfb\xf6\xed\xe5\xd7\x87\xaf\x1f\x1f\xff\x7a\xfe\xff\xb7\x1f\xff\xf9\xfc\x78\xf7\xe7\xfd\xd3\x05\x2e\xef\xf9\xfd\xe5\xfb\xb7\x8f\x1f\x5e\xee\x2f\x4f\xdf\x3f\xdf\x3f\xbf\x69\xe2\xff\x1e\xee\xee\xbf\x3e\xdf\xdf\x5e\xde\xfd\xf7\x97\xfe\x87\x77\x8f\x4f\xf7\x97\x87\xaf\xbf\x3f\xde\x5e\x3e\xbd\xbc\x7c\x7b\xbe\xbd\xb9\xf9\xe3\xe1\xe5\xd3\xf7\xdf\xf0\xee\xf1\xcb\xcd\xdd\xd3\x87\x7f\x7e\xc0\x97\x0f\x7f\xdf\xfc\xf4\x3f\xbc\x79\xf3\xd3\x9f\x6e\xc9\x63\x2a\x58\x32\x86\x0c\xa2\x6d\x99\x94\x23\x48\x98\xbb\x05\x89\x2b\x48\x98\xba\xd5\x23\xb9\xab\xbb\xc1\xd8\xcd\x01\x29\x57\x24\xea\xf9\x9e\x34\xb1\x0b\x52\x2a\xc8\xde\x81\xa2\xb9\x9d\x33\x52\x08\xa0\xc8\xb0\x2b\x52\xad\xa0\x68\x6e\x17\x87\xf1\x48\xa4\x83\xe9\x56\xe9\x56\xcb\x0d\x78\xa6\xdc\xc1\x74\xa9\x24\x50\x64\xd8\x09\x39\x9e\x5d\x77\x32\xec\x8c\xb1\x80\x84\xa9\xcb\xde\x21\xf9\x6b\xcf\x3b\x8d\xed\xe2\x91\x42\x41\xa6\xde\xf5\x49\xb6\xed\x23\x28\x32\xec\x8a\xa7\x5b\xd1\x36\x53\x06\x09\x13\x37\xf6\x72\xef\xa3\x7c\x6d\x4f\xcc\x84\xc4\xad\x86\xfb\x48\x9c\x64\xdb\x45\xd9\x65\x61\x57\x02\x45\x63\xbb\x32\x32\x11\x12\xf7\xa2\x3b\x69\x6c\x93\xcb\x18\xf6\x62\xbe\xb6\x4d\x93\x85\xc9\x96\xb9\x97\xdb\x01\x73\x97\x43\x42\x3a\x32\xd8\xc8\xb6\x45\xdf\x3b\x0e\x7c\x76\xe8\x53\xab\x2f\x4c\x1e\x24\x98\x6e\x76\x20\x61\xee\x32\xa3\xaf\x20\x61\xee\x46\x46\xf2\x47\xc7\x1b\x8d\xed\x40\xed\x1f\xf7\x84\xaf\xed\x89\xc9\xc8\x01\xb9\xa7\x70\x6d\x5b\x66\x74\x20\xda\x13\x33\x60\x6e\x43\x0a\xa2\x6d\x99\x21\x82\x68\x9b\x66\x15\xe6\x2c\xcf\x88\x2d\x0e\x67\xd3\xf0\x28\x17\x10\xed\xb1\x49\x25\xb6\x1b\x10\xb2\xeb\xb2\xc0\x91\xdf\x0a\xca\x23\x95\x8a\xc4\x11\x34\xae\xfc\xa4\xfd\xd1\x2a\x21\x85\x98\x41\xe3\xca\x2f\xda\x1f\xe5\x1f\x1c\xa6\x36\x61\x05\xc9\x05\x50\x34\xb7\x23\x21\x79\x06\x45\x0b\x3b\x28\xdb\xea\x9b\x91\x5d\x02\x45\x86\xed\x91\x43\x05\x45\x86\x1d\xd0\x9f\x5d\x37\x30\xdd\x9a\x41\x82\xe1\xc6\xbe\x0f\x50\x34\xb1\x2b\x32\x25\xcc\x1e\x24\x98\x6e\xdb\x44\x29\x32\x6d\x8e\x04\x8a\x0c\xbb\x60\x62\x90\x60\xb8\x6d\x6f\x93\x41\xd1\xdc\x6e\x97\x58\x02\x09\x86\xdb\x16\xab\xe3\x1b\x6e\x64\xd8\xdc\x37\x8a\x8a\x0c\xdb\xa3\xe8\xda\x8f\x57\xdb\x33\x4c\xb5\x80\xa2\xb1\xdd\x16\x38\x0e\xd8\xdd\x6b\xdb\x34\x89\x40\x82\xed\x86\x08\x8a\x4c\xbb\xdd\xd2\x14\x19\x76\x42\xf2\x20\xc1\x76\x0b\x81\x22\xd3\xe6\x6d\xba\x4f\x5a\xd8\x59\xd9\x93\x4a\x3a\xe2\x45\xd9\xd6\x58\xa7\xeb\x6a\x70\x92\x6d\x47\x07\x8a\x0c\xbb\x8a\x19\xaf\xe6\x8c\x57\xac\xc2\xb4\x32\x68\xab\x3e\x48\xb0\x5d\x2f\x5d\x6b\xfe\x6a\xdb\x7e\x4a\x30\x5d\x26\x90\x60\xbb\x32\x5f\xb6\xf3\xe5\x20\x5d\xab\x36\x2b\xb2\xcc\x77\x78\x27\x14\xe1\x2c\x5d\xab\x7a\x2a\xb2\x9c\x8a\xd9\xda\xb9\x87\xbd\x03\x09\xb6\x2b\xc7\x61\x76\xf7\xbb\x86\xa3\x74\xad\x2b\xba\xa2\x97\x45\xe6\xed\x2a\x0b\x72\x7c\x87\xa7\x3e\x11\x96\x39\x98\xab\x4a\xc5\x28\xc7\x61\x71\x4d\x44\x59\x93\xd1\xae\xc9\x24\xc7\x6c\x76\xb7\xb9\x86\x65\xbe\xc9\xce\x37\xc9\x7a\x18\x9e\xca\x44\x58\xd6\x43\xb2\xeb\x21\xcb\x71\x18\xee\xea\x45\x58\x5e\x43\xd9\xbe\x86\xb2\x9c\xb7\xe1\x69\x4f\x84\xe5\x75\x91\xed\xeb\xa2\xc8\x7c\xcb\x62\x2d\x93\xf9\x9a\xab\x7b\xc5\x22\xe7\xad\xd8\xf3\x56\xd4\x22\x69\xd7\x2f\x91\x94\x69\x78\xa6\x97\x8b\xa3\x5a\xfe\x86\x27\x1c\x19\x57\x7d\xf3\xa2\x6f\xaf\x97\xd6\x45\xdf\x41\x0e\x1e\x05\x7b\xf4\xf6\x9d\xe1\x49\x13\xbb\x95\x39\xe6\x2d\xeb\xbd\x6d\x99\xd7\xe1\xb8\x82\xe5\xf2\xbe\x02\x5d\xc1\x76\xb3\x74\x67\x57\x53\xc5\x94\x90\x6a\x00\x09\x96\xcb\xdb\xb6\xed\x80\xb9\x9b\x91\xf6\xaa\xbf\xc2\xd4\xcd\xae\x9f\x72\x24\x8c\xdd\x4a\x98\x7d\xdb\xb8\x82\x84\xb9\x1b\x31\xc2\xd9\x9c\x7a\xed\x5f\x00\xd1\x9e\x9a\xd4\x4e\x92\x35\x81\x22\xc3\xe6\x7d\x75\x3f\x60\xe0\x46\x46\x4a\x84\x14\xfb\xfe\x4b\xd1\xcc\xce\x7d\xd3\x5c\x18\x14\xd9\x36\x85\x0c\x1a\x2d\xdf\x23\xf9\x08\x1a\x67\x7e\x5b\x4d\x90\x3c\x81\x22\xc3\xf6\xe8\x41\xb4\x0d\x33\x63\x60\x90\x30\x77\x89\x3d\x86\x02\x8a\x26\x76\x6e\x97\x04\xe6\x0a\x12\x66\x6e\x41\xaa\x6d\xb8\xb6\xa9\x39\x71\xe2\x17\x8f\x61\x2b\x7d\x45\x73\x9b\xa8\x20\x65\x02\x8d\x33\x3f\x20\xf5\x47\x48\x7b\xf7\x07\x5a\x7e\xec\x47\x71\x8d\x33\x3f\x63\x72\x48\x6e\x2b\x95\x83\x66\x76\xc1\xcc\xc8\x7e\x9b\xcd\x83\xc6\xf6\x76\x5a\x71\x48\x14\x40\xe3\xcc\xaf\x48\x6d\x31\xd8\xc6\x46\xa0\xed\x33\x07\xd0\x68\xf9\x84\x25\x81\x22\xdb\x66\xc7\xa0\xd1\xf2\xb9\x0d\x37\x68\xb4\xfc\xfe\x4c\x4f\x91\x6d\x53\x66\xd0\xb8\xe8\x7d\x9b\x2a\x81\x96\x1f\xf7\x4b\xe4\xa4\x89\xed\xdd\xf6\x50\xa3\x57\xcd\x49\x0b\x3b\x6a\x7d\xf8\x1c\xec\x2a\xb4\x85\x36\x56\xd0\x68\xf9\x1e\x2b\x83\x22\xdb\xa6\x94\x41\xe3\xcc\x6f\xe3\x11\xb1\x6e\x03\x79\xd0\xc4\x0e\x05\x6b\xc2\xed\x6a\x3d\x60\xe6\xb6\xd3\x15\x92\xdb\xca\xfd\xa0\x81\x9d\x02\x06\xe4\xdc\x76\xf8\x67\x73\xe4\x45\x6c\x17\xa6\x2b\xad\xac\x24\x98\xae\xf7\x20\xc1\x74\xa3\xec\x77\x38\x23\x67\xb8\x3a\x90\x60\xbb\x2c\xdd\xd1\xdc\x9d\x61\x8a\x32\x61\x1a\x9e\x5e\x64\x3c\x28\x7b\xb4\x3a\x88\x78\x89\xa0\x68\x62\x47\x24\x5f\x70\xfb\x82\x5b\x9b\x87\x57\xfa\x1e\x4f\xbe\x9d\x08\x24\xd8\x6e\x91\xee\xe8\xae\x76\x86\x8b\x03\x09\xb6\xcb\xd2\x9d\x8d\xf2\x16\xae\xb2\xdf\xe9\xec\xed\x61\x92\xee\xb0\x82\x8f\x70\xdb\xcc\x29\xb2\x6d\x96\x69\xf0\xf0\xcd\x96\x8c\x93\xb2\x17\x99\x30\x2b\x7b\x3e\x1e\x1c\xb8\x3f\xb3\x53\x34\xb2\x13\x12\xb5\xa3\x45\xe8\xab\x9d\xc6\x95\x5f\xb4\x3f\x9c\x75\x21\x94\x0a\x1a\x17\x7e\x9b\x4f\x85\x03\x9f\x5c\xc0\x10\xfb\x0b\xf4\x76\xe7\xd0\x38\xf2\x89\xb6\x67\xbf\xed\x18\x08\x8a\x6c\x3b\x38\x50\xb4\xe8\xdb\x07\xd0\x68\xfb\x1c\x3d\x68\x5c\xf9\x41\xfb\xe3\xf7\x97\xd4\xdf\x54\x78\xbf\xbd\x41\x15\x64\xdb\xec\x94\xce\x6e\xe9\x7b\xed\x0f\xb3\x17\x42\x7f\x3f\x2a\xd1\xf2\xc3\xfe\xb3\x0a\x89\x2b\x3f\x68\x7f\xd9\x7f\xd6\xfe\xf8\x7d\xfb\x29\x04\x0f\x1a\x57\x7e\xd2\xfe\xf8\x2d\xbd\x10\x74\x3e\x93\xdf\xc9\x08\xa1\x6a\x7f\xfc\xdb\x90\x53\xe8\xaf\xc9\x25\xae\xfc\xa8\xfd\xf1\x6f\x17\x42\xdf\xcd\x46\x6a\xbb\x72\xd0\xb8\xf2\x8b\xf6\xc7\xbf\xb9\x38\x85\xfe\x8b\x15\x89\xb6\xbf\x8d\xbf\xc4\x95\x9f\xb5\xbf\xc8\x9f\x43\xd1\xbe\x99\xbf\xc7\xfe\x63\x25\x41\xb6\xed\x1d\x28\xb2\xec\x76\x83\x17\x60\xcf\x14\x51\xbb\x39\x80\xc6\x95\x9f\xb4\x6f\x8d\x64\x13\x92\x03\x8d\x2b\x9f\xb5\x3f\xae\xcc\x5d\x48\x51\x0d\xfd\xce\xcb\x4f\xd4\x57\x9f\xb0\xc6\xbf\x1b\x91\xe0\x15\x2f\x3f\xe1\x5f\x7d\x62\xbc\x42\x64\x24\xdf\xbe\x64\xdb\x4c\x2a\x1a\xd9\x31\x6f\x1b\xb7\xb6\xc0\x06\xd0\x38\xf7\x39\x38\x2c\x15\x14\xd9\x36\x71\x02\x8d\xb6\xdf\x36\x3c\x1a\x67\x7e\xc2\xdc\xbe\x63\x01\x45\x0b\xbb\x2a\x7b\x9a\xfb\x16\x0f\x0e\x14\x2d\x6c\x52\xf6\x70\x56\x45\x5c\xe5\x3d\xae\x33\x11\x57\x79\x8f\x6b\x6c\x8b\xd7\x84\x31\x80\x04\xdb\x2d\xd2\x35\xb2\xa8\xa9\x3f\xba\x55\x64\xdb\x31\x83\xa2\x91\x5d\xa9\x1f\x29\x4b\x5b\x8c\x40\xd1\xc2\x2e\xca\x1e\xe6\x7d\xc6\xdb\xb2\x21\x69\x61\xb3\xb2\x87\x57\xcf\x1e\x27\x5f\xf1\xb4\x3b\x2d\x6c\x2a\xda\xa7\xe1\x29\x44\xf5\x28\x46\x66\xe7\xe5\x27\xc2\xab\x4f\x0c\x6b\xa0\x1b\x01\x73\x7f\x0c\x07\x1a\x57\x7e\xd2\xfe\xf0\x9a\x96\x42\xd1\xfe\x7c\xbe\x36\xa1\x3a\xd0\x38\xf0\xd9\x65\x0c\x6d\x43\x1f\x5a\x35\x28\xb2\xed\x44\xa0\xe8\xdf\x00\x00\x00\xff\xff\x46\x51\x34\xf1\xd8\x2c\x00\x00") func dataP2pUpdateTxtBytes() ([]byte, error) { return bindataRead( _dataP2pUpdateTxt, "data/p2p/update.txt", ) } func dataP2pUpdateTxt() (*asset, error) { bytes, err := dataP2pUpdateTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/p2p/update.txt", size: 11480, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x86, 0xc1, 0xf5, 0xb9, 0xc7, 0x4e, 0x3b, 0x4f, 0x36, 0xcc, 0xfb, 0xf, 0x4b, 0x11, 0x47, 0x17, 0xdb, 0xa6, 0x73, 0x5f, 0xf9, 0x1, 0x1f, 0x7d, 0xca, 0x78, 0x46, 0xa2, 0xde, 0x71, 0x63}} return a, nil } var _dataProxifierExtraDomainsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x98\xdd\xb2\x9b\x38\x0c\xc7\xef\xfb\x28\x9d\xc1\x13\x38\x6d\x77\x77\xfa\x34\x8a\x2c\xc0\x1b\x7f\x50\xcb\x84\x9c\x7d\xfa\x1d\x30\x04\x82\xc9\x19\x7c\x17\xa4\xbf\x85\xec\x9f\xad\x20\x7f\x17\x95\x91\x56\x58\x0a\xbf\xbf\x7d\x17\x50\x18\x26\xd9\xd0\xf3\xb9\xeb\xe8\x51\xf8\x5a\x18\xb6\x02\x9d\x19\x6d\x12\x77\x22\xed\x10\x82\x72\x56\x68\x75\x7f\x1a\x0d\x31\x93\x6d\xc8\x47\xeb\x3c\xf6\x75\xa0\xe1\x3a\xa0\xb3\x96\x30\x04\xe2\xb0\x8a\xea\x60\x91\xd5\xf2\xcc\xe4\xef\x0a\x89\x63\x36\xe2\xaa\x6c\x93\xb8\xd8\xa1\x02\x2d\x8c\x42\xef\xd8\xd5\xcf\x58\x6c\xc0\x07\x46\x4f\x64\x53\x67\x50\x9a\x0e\x82\xde\x95\x0f\x3d\x68\x02\x1f\xda\x25\xd5\xbb\x1b\x73\x47\x2b\x17\xc3\x40\x10\x5a\xf2\x69\xd0\xc7\xd5\x3d\xd6\x29\xbf\x2e\x28\x60\x50\xf7\x69\xad\x8a\x7b\x25\x58\xf3\x7e\xf8\x2a\x38\xf4\x9a\x8f\x0e\xba\xcb\xa5\x12\x1c\x9c\x87\x86\x36\x6b\x0b\x96\x07\xf2\xe9\x90\x4e\x6d\xe6\x36\x3e\x39\x4b\xd2\xaf\xc3\x12\xc0\xd0\x75\x2c\xf8\xf6\xd9\x2d\x0a\x8f\x1b\xe7\xfa\x20\x2c\x43\xc0\x79\x5e\x7d\x68\x45\x53\x3f\x84\xe1\xdf\xdf\xc6\xd7\xd5\xce\x5f\x7b\x56\x96\x98\xe3\x40\x2c\xf7\x99\x21\x58\xf9\x89\xbe\xe7\x96\x9d\x04\x71\x7b\x26\x89\x72\x8c\x6f\x03\xd9\x20\x3a\xef\xa4\x40\xc3\x6b\x06\xa3\xd7\x59\xb2\x2e\xcc\x6b\x8a\xd4\xf3\x00\x01\xe1\x7a\x29\xc5\x55\xbb\xab\x40\xe7\x49\x0c\xca\x4a\x37\xf0\xac\x69\x09\x6f\xd3\x54\x09\x93\x3c\x5a\xa7\x90\xce\x58\xb7\x33\x46\xad\xc8\x8e\x9b\xb7\x56\x8d\xe8\x80\xb9\x73\x3e\xcc\x2e\x77\x88\x76\xd6\x4e\x9b\x61\xb3\xbc\xb3\x39\x10\x98\x74\x88\x4f\x76\x34\x7e\x56\x82\x29\x04\x65\x1b\x16\x12\x02\xec\x52\x84\x1b\x48\x3b\xcf\x5a\x1a\x29\x0c\x05\x78\x1e\x92\x5d\xac\xaf\xfd\x2f\xa1\xa8\xf7\xae\xa3\xed\x69\x2a\x26\x34\xbb\x88\x35\x91\xbc\x02\xde\x56\x7b\xd1\xba\xd6\xec\x9c\x4c\xe0\xb1\x7d\x3b\x76\x21\x17\xad\x49\xd6\xcd\x66\x3f\x37\x9b\x03\xd0\x68\x77\x05\x2d\x18\xcc\xba\x59\x14\xe1\x5d\x2b\x0e\xfb\x18\xca\x34\x53\xfe\x05\x1a\x2e\x7c\x28\xd6\x74\xe7\x89\x1b\x50\xff\xd1\x7c\xd6\x47\x31\x17\x86\xed\x1b\xa7\xe0\x70\x15\x93\x60\x0e\x6e\x59\x49\xf2\xf3\xaa\x26\xaf\xee\xee\x3f\x84\x76\x8d\xb2\x9b\xdc\xb5\x42\xb2\x3c\x4e\xcb\x74\xfb\x01\x4b\x75\x2d\x94\xad\xc9\x93\x45\x2a\x06\xe2\xd0\xb3\x40\xed\x7a\x09\x5d\x17\x33\x49\x62\x4e\xcf\xcf\x60\xce\x6a\x65\x5f\x5d\x0c\x33\xe3\x5f\x9b\x08\xe3\xf9\x32\x3c\x1d\xe8\xc9\x68\x44\xeb\x82\x01\xa5\xe3\x50\x03\x76\xac\x3b\x92\xee\x48\x36\xa4\xf5\xcf\x40\xc7\xaf\x04\x0d\x49\x05\x9e\xa4\xf2\x84\x09\x08\xe3\x9d\xa4\x71\x99\x4c\xe3\x85\xab\x6b\x85\x34\xd5\x9f\x75\x1a\x86\x61\x2c\x2c\x5b\xc3\xf6\xdf\xc1\xd2\x23\x14\xdb\x3f\x88\x64\xbf\xc4\xa8\xd3\xb4\x4e\x39\xa6\x13\xca\xbd\x5a\xea\xcb\x2c\x9b\xce\x7b\x12\xc2\x2e\x0e\x9e\x8b\xdf\x52\x5d\x51\xf7\x38\xee\xb0\xab\xad\x2e\x97\xf7\x85\xe9\x58\x5e\xe5\xc9\x3f\xf2\xe4\x3f\xf2\xe4\x3f\xf3\xe4\xbf\xf2\xe4\x7f\xe5\xc9\xff\xce\x93\xff\x93\x25\x2f\x2f\x79\xf2\x3c\xaa\x65\x1e\xd5\x32\x8f\x6a\x99\x47\xb5\xcc\xc3\x54\xe6\x61\x2a\xf3\x30\x95\x79\x98\xaa\x3c\x4c\x55\x1e\xa6\x2a\x0f\x53\x95\x87\xa9\xca\xc3\x54\xe5\x1d\xbe\x2a\x8f\x6a\x95\x47\xb5\xca\xa3\x5a\xe5\x51\xfd\x38\x4d\x55\x9a\xac\x92\x1a\xe5\xa7\xa9\x46\xf9\x69\xaa\x51\x7e\x9a\x6a\x94\x9f\xa6\x1a\xe5\xa7\xa9\x46\xf9\x69\xaa\x51\x7e\x9a\x6a\x94\x9f\xa6\x3a\xc9\xcf\xd7\xc8\x28\xcf\xc3\x74\xbe\x46\x46\x79\x1e\xa6\x32\x0f\xd3\xf9\x92\x1a\xe5\x79\x98\xce\x97\xd4\x28\xcf\xc3\x74\xbe\xa4\x46\x79\x1e\xd5\xf3\x35\x32\xca\xf3\x30\x9d\xaf\x91\x51\x9e\x87\xe9\x7c\x8d\x8c\xf2\x3c\x4c\xe7\x6b\xe4\x24\xff\xa2\x46\x76\x01\xac\xb3\x6f\xdd\x61\xd3\xe0\xbb\x3e\x68\xe7\x6e\xf3\xe7\xf6\xc7\xaf\x9f\xd1\xdc\x05\x35\x5d\x2b\x24\x1d\x4b\xd7\x7b\x6c\x81\xe9\xa0\x37\xf9\xd3\x93\xff\x5c\x9b\x74\x9f\x7c\x20\xfb\xea\xc2\xc3\xbf\xe5\x87\x49\x1a\x05\x4f\x8d\xe2\xb1\x81\x40\xd9\x61\xf2\xd1\xee\xd5\xf8\x31\xaf\x84\x1a\x7f\xec\x7c\x5c\x8d\x9d\xc5\xd4\x35\x6f\xfa\xe8\xa5\xa9\x5c\x66\xb9\x34\xc9\xc5\xa0\xec\x41\xa3\xbc\x0a\x8e\x9d\xf5\x68\x7d\xd3\xc2\x71\x0b\xe9\x2a\xa5\x37\x32\xd3\x62\x16\xca\x40\x93\xb6\xde\x2f\x3e\x2e\x8e\xbc\x08\x01\xb4\x6b\x3c\xdd\x97\xeb\xb5\xc9\xfc\xa7\x07\xad\xc2\xe7\x61\xc0\xb1\x73\xa9\xa5\x90\xfc\x38\x60\xc5\x7d\x37\xdd\x51\xec\xcc\x41\xf4\xe9\xad\x51\x50\x86\x5e\xbb\xb8\x70\xab\x44\xa7\xc3\xba\xbe\x7d\x5b\xef\x47\xf5\x6a\x0b\xe4\x20\xec\x1d\xb4\x92\x5f\x5d\x7f\xad\x82\x43\x2f\x79\x1e\x5d\xed\xe7\xd5\x2b\x39\xed\x8f\x96\xfc\xfc\xba\x01\xb4\xa6\x64\x76\x83\xc4\x64\x21\x46\x1b\xe8\x54\xca\xe8\x6c\x38\x6c\x21\xdf\xba\xf6\xbd\x62\x14\x96\x5f\x04\xa9\x8e\x7d\xc3\xb0\x2c\xf7\xbc\x8f\x27\xf3\xe3\x88\xcd\xc3\xe8\xfd\xfd\xc1\xff\x01\x00\x00\xff\xff\x59\x14\x97\x63\xc4\x15\x00\x00") func dataProxifierExtraDomainsTxtBytes() ([]byte, error) { return bindataRead( _dataProxifierExtraDomainsTxt, "data/proxifier/extra/domains.txt", ) } func dataProxifierExtraDomainsTxt() (*asset, error) { bytes, err := dataProxifierExtraDomainsTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/proxifier/extra/domains.txt", size: 5572, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x39, 0xe1, 0xa7, 0x77, 0x5e, 0x6, 0x89, 0x8d, 0x9c, 0xa1, 0x9e, 0x48, 0xfc, 0x6, 0x63, 0xd, 0xe3, 0x68, 0x6b, 0x1e, 0x80, 0x26, 0x4b, 0xc9, 0xc1, 0x18, 0x8e, 0x74, 0x54, 0x2a, 0x57, 0xc6}} return a, nil } var _dataProxifierExtraIpsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x98\x5d\xb2\xe5\xac\x0a\x86\xef\x7b\x2e\x1f\x25\x88\xa8\xb5\xe7\x3f\xaf\x53\x2f\xa8\x81\x75\x2e\x56\x77\x9e\xa8\x18\x91\xdf\xcd\x9d\x4c\x89\x97\x91\xc8\xf8\xfb\xc7\x9d\xa6\x91\xf0\x22\xe6\xf9\xe1\x26\xde\x9c\x51\xb8\x05\x4e\x62\x16\xe2\x2e\x81\x8b\xa4\x0f\x62\xb1\x8c\xa2\x47\xd4\x26\xe9\x9b\x6c\x67\x5a\xb1\x72\x35\x62\xa1\xa1\x01\x4c\x83\x46\x8f\xe7\x45\xac\x10\xb9\x1c\xb9\x4d\xea\x3f\x24\x67\x19\x68\xd0\x6a\x19\xbe\x79\x46\x3c\xac\x50\x1e\xcb\x32\x7c\xd7\x8f\xa0\x8b\x4c\x79\xaa\x30\x49\x6b\x05\x65\x3f\x54\xc9\x4b\x41\x52\xa8\x17\xd2\x4c\x79\x13\xed\x65\xa1\xe5\xaf\xd3\x59\x68\xd7\x83\xc8\xfa\x39\x58\x3d\xa8\x8c\x41\x53\x2a\xf6\x8a\xfa\xf7\x4f\x3a\x6d\xa3\x21\x7e\x23\x01\xd2\x16\x7e\x81\x93\x8c\x89\xfb\xbc\xc4\x73\x11\xcf\x7e\x51\xda\xa6\x7d\x06\x37\x71\xdb\xa4\x9a\xc9\x3e\x62\xc3\xef\xa1\x2b\x37\x56\x72\x83\x7d\x08\xf1\x1c\x87\x19\xd7\x49\xbc\x57\x62\xdc\x14\xff\xfd\xd3\x46\xb6\x89\xa7\x11\x84\x69\xa3\xd9\xa8\x11\xe3\x7b\x01\x0a\xb6\x1e\x30\x61\xf7\x24\xba\x1e\xf6\x46\x3a\x82\x36\xe9\xba\x32\x56\xc7\x4a\x7d\xc0\x32\x69\xf0\xa3\xd1\x48\x7a\xc8\x5c\x03\x86\x7f\x36\x58\x9b\xb8\x0f\x3a\xf2\x37\x66\x51\xfb\xef\x3d\xca\x18\x77\x00\x97\xc3\x05\x76\x26\x69\x65\xec\x88\x7f\x68\x05\x57\x9a\x0c\x33\xf8\x41\xad\x38\x2a\x5a\xc5\xf9\x10\xbf\xf9\x3e\x0a\x41\xe2\xc8\x65\x0f\x0b\x7d\x3d\x5a\x74\xa6\x4d\x62\x63\x1a\x31\x0f\x97\xa4\x24\xef\xd9\x03\xc7\x37\x04\xd7\xd2\x34\xba\x89\x8f\xba\x7d\xa1\xc1\xb0\x1e\x22\x5e\x64\xec\xc4\x2b\x09\x56\xea\x5a\x90\x77\x62\x9c\xeb\xce\x16\xea\x69\x94\x85\xa6\xb8\x81\x5e\x1a\x61\x73\x07\xb7\x9b\xe1\x87\x4c\xb2\x0f\x75\xd8\x98\x3d\x80\xe5\xbf\x99\x4a\x43\x49\xa4\x3f\x64\xfc\xff\x48\x44\x23\x8c\x5c\x56\x26\xd6\x3b\x3e\xa8\x9f\x88\xe7\x38\xe1\x80\xdc\xed\x21\xee\x65\xde\x9d\x96\x3b\xe3\x03\x6e\x9d\x66\x22\xfb\x34\x0e\xef\x82\xa7\x8f\x73\x00\x31\xe2\x67\x48\xa0\x4d\xe7\xdc\x12\x91\x84\xa7\x7e\xac\x42\xd3\x3e\xdc\x23\xa2\xeb\x60\xe2\x36\x3c\x3e\x78\x08\x00\xc3\x20\xa1\xc5\xf9\x10\xfa\xd7\x8b\x33\x7e\x70\x5c\x30\x9c\x77\xd0\xd2\x47\x7b\x79\xc6\x38\x14\xbb\x9d\xb5\xca\x24\x16\x11\xf7\x60\x17\x77\xca\x43\x6c\x46\xdc\xae\x28\x45\x08\x08\x67\x70\x46\x52\xe9\x7e\x7f\x43\xdc\x52\x91\xb9\x10\x85\x0f\xaa\xb9\x11\x1d\x1a\x61\xc6\x1f\x21\x71\x5d\x92\xb2\x70\x54\x39\x93\xc3\xbe\x80\x8b\xcc\x08\x31\x0b\x4b\xda\xa6\xe5\x5e\xfe\x40\x5a\x06\x7e\x00\x4f\x59\x85\x76\xa6\xb4\x0c\x54\xd6\x89\x14\xea\x85\xf4\xd1\x34\xea\xad\x10\x17\x92\x42\xbd\x50\x95\x32\x0a\x59\x26\x4d\xc7\x5b\x64\x19\x92\x10\xd0\x28\x54\x67\xce\x42\xab\xd0\xce\x54\xb7\x53\x4d\x47\x47\xf4\xa8\xb8\x2a\xee\x82\x45\xc1\xad\x6a\xb8\x55\x15\xb7\xaa\x63\xad\x92\xb5\x4a\xd6\x2a\x59\xab\x64\xad\x92\xf5\x57\xf2\xbd\x3e\x78\xf1\x56\xe2\x7b\x65\xc8\x16\xbd\x85\xbf\x3a\xa3\x84\x5a\xb4\x66\xc5\x5d\xd0\xe3\x00\xd8\x8b\x16\x0f\xd3\x89\x78\x5a\x62\xe4\xb4\x23\xdb\x73\x30\x1c\x9c\x1f\x4b\xc3\xa1\xcf\x0d\x0e\x94\x80\x8b\xf4\x88\xb3\x1e\x31\xea\xe8\x04\xa5\xe7\x66\x1a\xe3\xa1\xc8\x8c\xca\xe2\xf2\xe0\x77\x73\xf0\x66\x6e\x5e\x30\x24\x14\x1e\x1f\x0b\x72\xf8\xc1\xe9\xb5\x23\xdf\x9d\x91\x5d\x3e\x9d\xd8\x26\xf8\xe5\x71\x69\x9e\xcd\x55\x78\xd7\x4e\x3e\x39\xf7\x0e\x77\x77\xf2\xbb\xf3\x1c\x04\xfd\xee\xa3\x13\x24\x3f\x51\x7a\xb8\x3c\xe9\x29\x27\xec\x74\x15\x02\xdc\x3d\xea\x1c\x67\x28\x13\x3a\x0b\x44\x22\x6b\xfa\x4c\x7e\x29\x2d\x94\x8d\xfb\x21\x0e\x72\x17\xa3\x74\xf1\x78\x7a\x10\x1f\x05\x53\xee\x0f\x05\x01\x54\x0f\xe2\xd8\xf7\x88\x4e\x9b\xa6\x3d\x42\xc9\x74\xd4\x21\x48\x38\x7b\x93\xe8\x3e\xbc\x3d\x48\xeb\x47\x03\xf6\xd5\x12\x43\x63\xab\x72\x19\x37\x9a\x5a\xb0\x4e\x9f\xff\xc7\xd2\xe4\xe3\x39\xbf\x43\x06\xda\x2a\xc8\xad\x15\x16\x49\xe3\x50\x5b\x2b\xa8\x9f\x6c\x69\x67\xb5\x29\x41\xbd\x24\x30\x99\x0f\x34\x83\x65\x58\x07\xbc\xa4\xbb\x4f\x5e\xd1\x39\x8c\xf0\xfd\xfb\x2c\x92\x9e\x51\x4a\x7f\x80\x2d\x06\x45\x7e\x10\x78\x71\x90\x20\x25\x9f\x31\xc8\x9a\x51\x05\x24\x44\xc8\xce\xc8\x15\xa5\xe2\x27\x6a\xaf\xb0\x5e\xe0\xf0\xb4\x88\xd0\x72\xa8\x37\xcf\x74\x41\x12\x87\x7b\xcf\x7e\x3c\x58\xa8\xc2\xf3\x9a\x27\x86\x87\xec\x81\xdb\x91\xa3\x6b\x44\x08\x76\x16\x7f\x85\xd8\xed\x08\x8b\xcf\xc2\x34\x0a\x3a\xf9\x70\x79\x78\x4b\xb4\x32\x71\xeb\x07\x87\x37\x68\xf3\x0a\x36\xd4\x64\xfd\xac\xf4\x36\xe5\x94\xf0\xc1\x30\x0e\xc4\xbc\xb3\x1a\x9f\xec\xd1\xeb\xa2\x46\x47\xc0\x1f\x8b\x27\x87\xf7\x62\x78\x5d\x70\x7a\x3e\xc6\x45\x92\x4f\x9a\x3f\xbc\x2b\xf7\x9f\xf9\x9d\x3f\x36\xa6\xf6\x5f\x82\xd0\x0a\xaa\xd2\xe9\x45\xae\x77\x4f\x8f\xd1\x5d\xb4\xcc\x2b\xba\x97\x28\xa2\x8c\x34\x6c\xfd\xa2\x74\x3d\x2d\xf6\x8c\x62\xd1\xfb\x4e\xcb\x2f\xd4\xd3\xe6\x65\xef\xdf\xd3\xb8\x68\xa7\x7e\x05\xa2\x99\x1f\xec\xbd\x0d\xf2\xc6\x66\x6f\xca\x10\x25\xe0\xb1\x63\xd0\x30\x9c\xe5\x3d\xc7\x51\x02\xbd\x06\x28\x24\x7e\xc3\x99\xed\x87\x57\x65\xff\x8e\xcc\xf2\xb1\x6c\x4f\x9e\x17\xa1\x9e\x6e\x3f\xbc\x2a\x6b\xfb\xe1\x24\xae\xdf\x3f\x39\x24\xce\xdb\x3b\xff\xcc\xef\xf7\x38\x46\xf8\xf7\xef\x1f\x62\x35\x32\xde\x22\xb4\x4d\x97\x9a\x78\xf8\x41\xe2\x93\x3e\xa3\x56\xf6\x93\xfb\x8b\x1d\x55\xb9\x77\xcc\x4d\xd1\x83\xf2\x9e\xd4\xfe\x4b\xe0\x5a\xf5\x2c\xeb\x19\x99\x49\xbc\xa3\x8e\xbf\x0d\x60\x58\x1e\x21\x82\x54\xd2\x42\x56\x68\x3d\x42\x9b\x04\x1b\xbe\x08\xb3\x8d\x5d\x83\x51\x6e\x68\x41\xa9\xa3\xf0\xb0\x84\x50\xf5\xdd\x08\xdd\xbd\xfe\xfd\x2f\x00\x00\xff\xff\x04\x90\x84\xaf\x79\x12\x00\x00") func dataProxifierExtraIpsTxtBytes() ([]byte, error) { return bindataRead( _dataProxifierExtraIpsTxt, "data/proxifier/extra/ips.txt", ) } func dataProxifierExtraIpsTxt() (*asset, error) { bytes, err := dataProxifierExtraIpsTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/proxifier/extra/ips.txt", size: 4729, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x44, 0x5, 0xa1, 0x71, 0x44, 0xb, 0x5, 0xaa, 0x5c, 0x82, 0x2d, 0xfe, 0x95, 0xad, 0x59, 0xb6, 0xbc, 0x5f, 0xf8, 0x95, 0xfc, 0x15, 0x54, 0x2c, 0xe2, 0xfc, 0xe9, 0x61, 0x44, 0x8, 0xbb, 0x59}} return a, nil } var _dataProxifierSpyDomainsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x5a\xed\xb2\xea\x2a\x0c\xfd\x7f\x1e\xe5\xcc\xc8\xf0\x55\x5b\xe7\x3c\x0d\x52\xd4\xce\x6e\xa1\x03\xa8\xdb\xfb\xf4\x77\xba\xd5\x6d\xbb\xbb\x24\xe7\xde\x7f\xba\xb2\x08\x49\x48\x0a\xa1\xfd\xcd\x4c\xeb\x3f\x13\xb3\x61\xf8\xf3\x6b\xfa\x93\x7e\xb3\x21\x99\x36\x31\xef\xf2\x0c\xf1\xdf\x8c\xdc\x0e\xf9\xf9\xe7\xd8\xef\x5b\x9f\x24\x1b\x3a\x1b\x43\x0a\x87\x6f\xc1\x90\x5c\x7b\x74\x4f\x1d\xd1\xb4\x73\x15\x71\x52\x3f\xfb\x9f\x5d\xef\x06\x97\xe3\x6d\xad\x27\x47\x73\x38\x74\x76\x30\xde\x1c\x5d\x7c\xea\xbb\x84\x98\xdd\xe7\x6f\xd6\x9a\x6c\xd6\x63\xee\x52\x28\x34\x56\xbd\x26\x36\x36\x77\x97\x2e\xdf\xd8\xb5\xf3\x6d\xb8\x3e\x62\x60\xda\xfe\x27\xe0\xdd\xe7\xf9\x11\x8f\x59\xb0\x16\x4e\x98\x36\x89\x79\xdc\x1e\xff\x9f\xd2\x0f\xb3\xb1\xad\xdf\xf8\xc4\x4c\x9b\x9d\x3d\xb1\xd6\xfd\xf9\x65\x46\x63\x05\xf3\x21\x77\x87\x85\x0d\xcc\x7c\x98\xd6\x3f\x15\x8d\x1d\xb3\x21\x66\xe3\x0d\x33\xdd\x9f\x5f\x26\x75\x43\xb8\x6c\xae\x9d\x67\xc9\xe5\xdc\xf9\x63\x02\x9e\x2e\x54\xec\x3b\x7f\xfc\x32\x76\x19\x8b\x7d\xaf\x14\x17\x1b\xc3\x44\x1b\x2f\x0b\xc8\xae\xa1\xe3\x1c\xf2\x72\xbf\xb1\x21\x72\x2e\xd8\x64\xde\x38\xfd\x40\x62\x59\x16\xab\xb2\x58\xbf\x11\x5f\x7d\x12\xec\xea\xd3\x72\x95\xf6\x5e\x8d\x45\xa3\x54\xb2\x27\x2e\x39\x17\xbc\xaa\x1a\x38\xfe\x45\xd8\xf2\x32\x61\x2b\x08\x0d\x5b\xb9\x23\x08\x0a\xfb\x30\x23\x54\x14\x61\x4b\x10\xaa\xb2\x17\xa2\x96\x75\x91\x20\x9b\xb2\x06\xc9\x95\x94\x65\x42\xad\x8b\x71\x90\x52\xc9\x62\x24\xa5\x54\xe5\x38\x48\xa9\xb6\x30\x92\x3a\xd9\x93\xe0\x42\x48\xde\x08\x4d\x11\xa0\x0d\x2f\xc2\x4e\x10\x53\xec\x84\x2a\x12\x04\x17\x30\x0e\x2f\x82\xe0\x14\x81\x30\x52\x48\x49\xd8\xa0\x39\x5c\xee\x17\xe1\x4d\x56\xbf\x08\x35\x2f\x47\x52\xd4\x94\x17\x35\xb1\x16\x62\xc7\xcb\x36\x48\x21\xca\x5e\x48\x25\x60\xd2\xce\x09\x30\x69\x5f\x04\x2d\xcb\xcb\xad\x04\x61\xa4\x12\x84\x0d\x4a\xf2\x82\x0d\x53\x36\x08\x89\x02\x15\xc3\x35\xb9\xc8\xdc\xc5\xf9\x8c\x1e\xfb\x2f\xca\xd8\x8d\x8e\x99\xd8\xad\x09\x89\x25\x17\x2f\x9d\x3f\x6e\xd2\xed\xa9\xf7\xb6\xde\x09\x6e\xeb\x9d\xe0\x0e\xb9\x19\x64\x5f\x5b\x9c\x35\xf6\xe4\xbe\x4c\x1a\x4c\xcc\x4b\xbb\x6d\x9b\x04\x67\x29\x7b\xd6\xf7\xfe\x7a\xdf\x94\x26\x4c\x72\xc5\xfa\xb0\x46\x35\x44\x77\x08\x15\x10\x95\x0d\x42\x35\xd4\x5b\xd5\x08\xdd\x56\x10\x85\xb3\xd5\xd0\x8b\x06\x6a\x68\xe0\x6c\x0d\xd4\xbb\x43\x7a\x15\x47\x1a\xa6\xa4\x07\xa8\x44\x36\x28\x89\x34\xd4\x35\x6b\xcf\x69\x09\x4a\xce\x79\xb5\x5e\x37\xc9\xf5\xb4\x44\xf6\xb6\x82\x85\xc0\x70\x85\xe1\x2d\x86\x6b\x08\x4b\x3c\xa5\xc4\xba\x15\xb6\x44\x61\xb6\xe6\x18\x56\x18\xc6\x4a\x2a\xac\xa4\x92\x18\xc6\x5e\x6e\xb1\xdd\x53\xe2\x01\xb8\xc6\x96\x34\x78\xca\x06\xb3\x77\x08\x16\x92\x83\xdc\x99\x60\x90\x3c\xd3\xe6\x83\xd9\x12\x24\xb6\x14\x52\x81\xcc\x9e\x60\x50\xb6\x12\xd7\xed\x04\x63\xdd\xd5\x16\xc3\xd8\xee\x0a\x4f\x39\x2d\x03\x82\xb1\x92\x1a\x2b\x69\xb0\x12\x54\xd6\x52\x28\xf4\x7c\x93\x42\x09\xcc\x96\x48\xf7\x0e\x64\x89\xe2\x5c\xd6\xeb\x1a\x56\xbc\x01\x5c\x01\x52\x58\x35\x2c\xc4\x1f\x98\xe6\x20\x67\x34\x07\xf5\x3c\x1d\x3a\x0e\xd1\xfc\x00\x51\xe5\x4f\xbb\x2e\x00\x41\x2a\xc3\x9a\xd7\x12\xe9\xd4\xa0\xca\x74\x05\x5c\xd7\x15\x88\x1d\xac\x46\xbd\x45\xc3\x51\x81\xea\x1a\x0d\x6f\xc0\x43\x45\x37\xe0\xe1\xa6\x1b\xa4\x73\x87\x86\xef\xc0\xf0\x4a\xaf\xd7\xad\x11\x72\x9d\x36\x8d\x00\xb5\x3b\x9d\x89\xd7\xa0\x42\xc3\x15\x28\xb8\x46\x83\xfd\xa8\xd1\x20\x97\x1b\x54\x98\xcd\x16\xcd\xbe\xde\x7d\x4f\xa2\xd0\xf2\x7d\x4b\x61\x1b\x6a\x4f\xab\x03\xce\x03\x72\x6b\xe8\xf8\x13\x92\xeb\x81\x72\x39\x30\xf8\xdc\xf9\xf3\x79\x60\xed\xba\xf3\xb6\x21\x8e\x2c\xe5\x35\x3e\x35\xb6\xa3\x65\x17\x6e\x5b\x7f\x77\xb1\xdd\x57\x1b\x67\xc6\xef\x5e\xff\xab\xf1\x27\xfa\xfd\x76\x5f\xfd\x6f\x3e\xc9\xed\xcc\xd1\x87\x94\x3b\x9b\x58\x3a\x8f\x63\x88\xf9\xa7\x17\xee\xbc\xb9\x08\x5e\x3a\xa4\x4e\x0c\x59\x66\xbc\x17\x1d\x7a\xf7\xf9\x3a\x76\x1e\x67\x3f\x5d\xf8\x4f\x6e\xcf\xf9\x14\xf7\x34\xbb\xcc\x39\xc9\xd9\xef\x0f\xf9\xf7\x3a\x3e\xc0\x99\xff\xf4\x21\xa7\x33\xbf\xfa\x6a\x96\x51\xdf\xb1\x24\x80\x16\x6f\x49\x00\x77\x02\x4b\x02\x68\xd0\x16\x04\x45\x18\xd9\xa0\xc6\x64\x41\xd0\x84\x91\x4d\x45\xb8\xd9\x54\xd4\x14\x15\xb8\x13\x98\x13\x76\x94\x91\x3b\x74\x79\xb2\x20\x68\xd0\xc1\x2d\x08\x15\xa5\x01\xdd\x32\x2d\x08\xe8\xe2\x62\x46\x10\x1c\xb5\xba\x0b\x02\xb1\x9a\x82\xa3\xcb\x93\x39\x41\x28\x62\x0a\xa1\xcb\xf9\x20\x44\x55\x5e\xee\xa9\xe9\x27\x08\xba\x1c\xc9\xaf\x93\x5e\x99\x80\xee\xeb\x96\x84\x72\x3e\x08\x78\x91\xb5\x24\x10\x6e\x2a\x6a\x2d\x94\xa2\x6c\xa0\xbc\xd0\x44\x6d\x0a\xad\x08\x23\x35\x95\x0f\x9a\xca\x07\x4d\xd4\x85\xd0\xe8\xce\x70\x4e\xa8\xd0\x2d\xd3\x82\x40\x85\xba\x22\x9e\x72\xa2\x42\x17\x9b\x0b\x82\x26\xd6\xa2\x22\x1e\x41\xf8\xae\x6c\x41\xa0\x96\x7b\xab\x28\x0d\x54\x5d\x6c\x2b\x22\x1f\xb6\xa4\x17\x15\x11\x28\x6a\xc7\x11\xd4\x8e\x83\x2f\x99\x17\x04\x45\x24\x4c\x8d\xae\xca\x17\x04\xca\xcd\x86\xaa\xcd\x86\xb2\xa1\xa1\x2a\xab\xa1\xea\xa2\xa1\x1e\xa4\xd4\xb6\x28\x1a\x6a\xb9\x77\x54\xa8\x77\xe8\xb2\x7d\x49\x20\x02\x45\x6d\x6a\x92\xda\x71\x24\xd7\x65\x37\x25\x27\x9e\xf6\x52\xbc\x99\x02\xbf\x17\x7a\x08\xf6\x6b\x49\xb7\xd9\xf7\xdb\xd2\x3b\xa3\x39\x01\xf6\x10\xdd\x86\x78\xeb\xd4\x6d\xf6\xb7\xbf\x26\xbc\x99\xa2\xdc\xe4\xcc\xe4\x6f\xc6\x27\x2f\x8b\xe3\xbf\xe5\x6f\xc7\x97\x3d\x70\xc1\xf7\x9d\x77\xd7\x55\x37\xd3\xef\x05\xbb\x5e\xaf\x6c\x48\x8b\x63\xf0\x10\xf6\x5d\xef\x4a\x87\xff\x07\xe3\xed\x15\xf6\x10\x5a\x17\x3d\xbb\x9a\x9c\x02\x79\xca\x9f\xbf\x88\x1e\x92\xcf\x2e\xe5\xf5\x05\xf8\xfd\x05\x6f\x38\x1c\x3a\xeb\xcc\x38\x26\xd6\x77\x17\x37\x13\xc5\x73\xef\xde\xc8\x83\x77\x36\xf4\xbd\xb3\x39\x44\x66\xfb\x70\x6e\xcd\x38\xde\xcd\x9e\x9b\x31\x46\xc7\x0e\x21\xe4\x31\x76\x3e\x8f\xd1\xb5\x9d\x7d\x78\x33\x46\x77\xe9\xdc\xf5\xd5\x53\x44\xd3\xce\xf4\x2f\x5e\x9d\x4f\xe3\x22\x1b\x5c\x36\x5f\x2e\x58\xb7\x0a\x7a\xb2\x27\x37\x98\x39\x3c\xb7\x22\x39\x7b\x9e\x0c\xe9\x4d\x3a\x65\xd3\x7f\x74\xfe\xf8\x18\xe6\xfa\x43\x69\x49\xbe\xfb\xaa\x64\x7c\xbb\x0f\xf8\xe5\xfa\xbc\xf9\xda\x8c\xa3\xc3\xa4\xa3\x1c\xd7\xb5\x98\xfc\xaa\x1b\x7f\x40\x6e\x0d\xcd\xbb\xf1\x34\xde\xbc\xcb\xab\x0f\x10\xee\xb0\xe9\x57\xcd\xe9\x5d\xe0\xce\x31\x8c\xee\x5d\x90\xd2\x75\x16\xff\x74\x8e\x17\x77\x7b\x26\xdb\x0f\x6d\xaf\x0f\x17\xcc\x38\xba\x4f\xb6\x9f\x02\xfa\xa5\xe4\xed\x27\x0d\x2f\x41\x74\x43\xc8\x53\x3a\x3d\x43\x61\xfe\x99\x16\xe7\x07\xeb\x1c\x57\x6b\x9c\x5d\x74\x6d\x60\xdd\x78\xd9\xae\x45\x29\x33\xfc\x5d\xc3\x79\xb8\xfb\x60\x4b\xeb\x7c\x4e\x54\xef\x3e\x31\xca\xbd\x3b\xa1\xe0\x22\x78\xd1\x04\x4a\xfb\xd7\xc7\x1d\xc5\x3c\x7c\x50\xa6\x2c\xfc\x3b\x5a\x41\x0c\x45\x8f\x64\x78\x25\x09\xce\x8e\x6b\xe7\x05\x87\xcb\x34\x49\xea\xf7\xb2\x06\x09\xfe\x0d\x00\x00\xff\xff\x1b\xd3\xf3\x9b\xa9\x23\x00\x00") func dataProxifierSpyDomainsTxtBytes() ([]byte, error) { return bindataRead( _dataProxifierSpyDomainsTxt, "data/proxifier/spy/domains.txt", ) } func dataProxifierSpyDomainsTxt() (*asset, error) { bytes, err := dataProxifierSpyDomainsTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/proxifier/spy/domains.txt", size: 9129, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x0, 0x6b, 0xd5, 0x31, 0xb0, 0x5c, 0xa2, 0x86, 0x43, 0x6, 0xa8, 0xc3, 0x30, 0xb6, 0xa0, 0x3d, 0xee, 0xe6, 0x35, 0x30, 0x64, 0x67, 0x3d, 0x85, 0x49, 0xec, 0x84, 0x47, 0xf3, 0x6d, 0xc5, 0x9d}} return a, nil } var _dataProxifierSpyIpsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\xd6\x4d\x92\xed\x20\x08\x05\xe0\xf9\x5d\xcc\x29\x0f\xe0\x5f\x65\xff\xfb\xea\x02\x8d\x91\x1e\xbc\x7a\xfd\xdd\x18\x4d\x10\x30\x54\xb4\x86\xda\x20\xa6\xcf\xcf\x35\xa0\x04\xe7\xd1\x10\x8c\xf8\xbb\x0f\x50\x0b\x44\xca\x4b\x51\x81\x48\xfb\xa8\xa0\xae\x1b\xa7\x80\xd3\x20\x94\xe7\x27\x05\x66\x18\x0d\xbe\x84\x28\xe6\x84\x4d\x50\x18\x62\x11\x18\xa4\xea\x91\x10\xb6\xa1\xe0\x10\xd0\xd7\xb0\xe2\x4f\x23\x22\x6b\x52\xe7\x04\xab\xa2\xf5\x50\x2f\xe0\x30\x0c\x7d\x25\x52\x20\x36\x3e\x12\x62\x73\xb1\x43\x64\xc0\xfa\xad\x91\x34\xe5\x48\x05\x2c\x5c\x9c\x18\x15\x94\x1a\x9a\x6b\xd6\x35\x27\x59\xa1\x10\x96\x23\x72\x82\xa3\x6e\x4f\x08\x09\x29\xfa\xfc\x2a\x41\x2b\xb0\x02\xd1\xb6\x49\x50\xc1\x66\x9b\x0a\x92\xe8\x49\x83\xcf\xaf\x0a\x48\x43\x83\xb5\x1b\xfd\xa0\x43\x3f\xa8\xa0\xdd\x48\x57\xc6\x0d\xb1\x6f\x06\x8b\x8d\xba\x94\xaf\xd5\x4f\x15\x7d\x24\xcd\x5b\xac\xe5\x63\x83\x5a\x52\x4d\xba\x5e\xa0\x43\x35\xc9\x6e\xf1\x1a\x3a\x06\xa4\x24\x8d\xa4\xef\x69\xe8\xfb\x9b\x94\xaf\xb1\x24\x5e\xef\x1f\xb4\xc4\x7a\xcd\xe4\xa1\x63\xa6\x64\x6a\x62\xff\xc7\x6b\xe6\x3a\x70\x05\x2c\x28\x99\x9a\x38\x99\x99\x07\xb3\x6c\xab\x07\xc9\x2b\xb1\x7f\x66\x8b\x3a\x71\xd6\x0a\x76\x4f\xf0\xbd\x1f\xd5\x13\xde\xce\x86\x54\xbf\x7b\x78\xfa\x2d\x37\x83\x58\x39\x3b\xb4\x59\xe7\x45\x4f\xf2\x3d\x99\x57\xe8\x98\x67\xad\x5e\x30\x14\xdc\x83\xbb\xc1\x8b\xf9\x4d\xe4\x3e\xa0\x03\xac\x3c\xa4\x75\x9f\xfd\x73\xe5\xaa\xfd\xd7\xfe\xef\xbb\x5b\x44\x4f\xb4\x7d\x19\x0f\xc4\x0e\xb7\xc8\x84\x7a\xb7\x58\x37\x8b\x96\x28\xe3\x51\x36\x1b\xcc\xff\x9b\x1f\x15\xe2\x01\x6c\x15\x3e\x5d\x29\x5e\x3a\x1f\xe6\x0d\x0f\xcd\x75\x29\x2b\xcd\xe1\x4d\xf5\x92\x1d\x35\xa2\x6d\x55\xc8\x84\xe8\x78\x65\x86\xca\x1b\x76\x81\x65\x24\xcd\x57\xfe\xfe\x5e\x1a\x4b\xf4\xd6\xc2\x24\x49\xd2\xa3\xde\x30\xcf\x7d\x52\x25\x4a\xe1\x53\x4b\xea\x69\x64\x67\x92\xdc\x9a\xe9\x3e\xe6\x25\x56\xa4\xdb\xea\x97\xe6\x25\xce\xe7\xc7\x62\x88\x54\xea\x51\x33\x41\x7f\xd2\x8e\xd6\x2e\xce\x28\xbf\x97\xde\x51\xe5\x1b\xed\x7d\xbc\x66\xc6\x5a\xaf\xb5\x7b\x8a\x6e\x7b\x28\xc0\x59\x0f\xc5\x13\x88\xef\xf0\x06\x4f\x3e\x1e\xe9\x88\x2d\x63\x94\x56\x81\xf7\xa6\x4b\x25\x4e\x93\x97\x42\xd9\xe7\x6b\xfc\x60\xd0\x0a\xf1\xa6\x42\xa5\x9f\x7c\x68\x6b\xf8\x11\x8b\x7e\xf4\x72\x8b\xab\x16\x15\xe4\x47\x70\xbc\xc4\x6d\xfd\x67\xcb\x8e\x18\x6d\x47\x55\x5f\x16\xad\x51\x45\x5e\xf9\xb5\x79\x87\x17\x6f\x43\x9b\x93\xeb\xc5\x96\x58\x9a\x1f\xb2\xff\x5c\xff\x79\x7e\xa6\xae\xc6\xf3\x5a\x88\xfb\xb2\xd8\x7a\xf1\x4d\x9b\x69\x6d\xff\x80\xf0\x34\xba\xa9\x99\xfe\x28\x6d\xa0\xf9\xd1\xee\x87\xe8\x21\xad\xc1\x4f\xe9\xc3\x89\x78\x8e\xcd\xbe\xd2\x35\xe8\xed\xa2\x47\x0d\x04\x35\x8a\xb3\xf1\x62\x7c\xda\x3c\x3f\x4e\x46\x73\xf0\x9e\xe9\xad\x63\xb9\x43\x38\x56\xf3\x58\x3f\x4c\x54\xff\x14\x49\x8c\x18\xbe\x8c\xf2\xbf\x6c\xd1\xe8\x3d\xd3\x9b\x37\x34\x7f\x70\x7b\xfe\x02\x00\x00\xff\xff\x76\x6c\x56\x34\x99\x09\x00\x00") func dataProxifierSpyIpsTxtBytes() ([]byte, error) { return bindataRead( _dataProxifierSpyIpsTxt, "data/proxifier/spy/ips.txt", ) } func dataProxifierSpyIpsTxt() (*asset, error) { bytes, err := dataProxifierSpyIpsTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/proxifier/spy/ips.txt", size: 2457, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x3e, 0x77, 0x2a, 0xe1, 0x9b, 0x4e, 0x4b, 0x35, 0x82, 0x61, 0x45, 0x67, 0x39, 0x23, 0x35, 0x65, 0x7d, 0x86, 0x6d, 0x96, 0x92, 0xd5, 0x79, 0x36, 0x60, 0x42, 0x36, 0x86, 0x69, 0x80, 0x41}} return a, nil } var _dataProxifierUpdateDomainsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x9a\xdb\x6e\xa4\xbc\x12\x46\xef\xe7\x51\x46\xda\xa8\xaa\xcc\x51\xf3\x34\x04\xe8\x0c\x9a\x0e\xb4\x80\x49\xab\xdf\x7e\xcb\x64\x92\x58\x09\xd4\xfa\xfb\x12\x56\xdb\x75\xf8\x5c\x2e\x5b\xfc\xcc\xfa\xe1\x3a\xbe\x0e\xcb\x23\xeb\xd7\x5b\xf6\x72\xcb\x5e\xc6\x6e\x99\xd7\xf9\xb2\x65\xdd\xfc\x92\x4d\x6b\xbb\x75\xd9\x34\x6c\xbf\x7e\x24\xe8\x57\x2c\xbe\x7c\x59\x87\xfe\x79\x78\x47\xff\xde\xfa\x76\x1b\xbe\x53\xf7\x71\xea\xe7\xfb\xfa\xef\xf5\xfb\xc3\xf5\x2b\xd8\x2e\x4b\xfb\xf8\xf9\xbf\xdb\x32\xf7\x59\x3f\x1f\x9a\xf6\xeb\xc7\xd3\xd5\x6e\xd9\x7d\x5a\xb3\x69\xde\xc6\xcb\xe3\x7d\xec\xdd\xee\xf6\x4f\xdb\xc7\x37\xd1\x9a\x0f\x2e\x01\xe2\xd3\xf9\x29\x5b\xa7\xfc\xb6\xf4\xeb\xb6\x48\x68\xb3\x75\x9b\x97\x68\xd3\x32\x7c\x90\xfb\xff\xbb\xeb\x38\x4c\xdb\xf7\x11\xfa\xa7\x70\x9f\x56\x13\x8d\xbf\xa3\xd7\xc5\xe1\xc3\xff\x64\xf3\x07\xf7\xf5\xdf\x6b\xf7\x5b\x45\x55\x44\xcd\x08\xa8\x7c\xa0\x0e\xc7\x56\x27\xc0\xb1\x07\x1f\x40\xa3\x30\x45\x63\x34\x82\xd5\x00\x04\x1f\x88\x8e\x02\x00\x81\x52\xb1\x1c\x00\x08\x94\x4a\xa0\x11\x72\xb2\x21\x87\x11\x28\xdd\xaa\x16\x08\xf0\x73\xa1\x0a\xb9\x50\xb5\x06\x80\x40\x36\xe4\x60\x83\x09\x4c\x61\x06\xb9\x30\xf2\xc2\x28\x9b\x16\x7c\x55\x6b\x00\xd9\x6b\x20\x45\x05\x8a\x64\xa0\x48\x06\x92\x5c\xa0\x85\x93\x2b\xd8\x90\x93\x17\xb9\x95\x04\x40\xa0\xf2\x20\x00\x90\x60\x8a\x93\xd2\x9b\x00\xe0\x66\x41\xb9\x28\xa0\x0c\x6a\x91\x93\x0d\x39\x64\xb3\x14\x48\x56\xa9\x04\x90\x17\x25\xc9\xbe\x24\xc9\x95\x39\x24\xab\xa2\x5c\x54\x54\xc4\xaa\x00\x5e\x54\xa4\x87\x5a\xc1\x8b\xda\xc0\x8b\x9a\x54\x5d\x53\x85\xa1\x7d\x53\x6b\xaa\x30\x35\x6d\x07\x8d\x40\x24\x1b\x81\x29\x1a\x85\x38\x34\x4a\x36\x90\xe4\x1a\xca\x66\x03\x0b\xc7\x44\xfd\x48\x9a\x40\x29\x36\x81\xe5\x6f\x02\xfb\xa6\x09\xec\x9b\x26\xc1\xcf\x85\x89\xbf\xb2\xe2\xf6\xef\x2a\x2a\x02\xae\x17\xfb\xce\x0a\x80\xaf\xc9\xbd\x58\xfb\x80\x09\x4c\x61\xe2\x2e\x1c\x15\x23\x23\xcd\x0f\xb5\x8a\xf9\xa1\x8e\xad\x1c\x8c\x10\x7c\x45\xa9\x04\x5f\x0f\x11\xc0\x11\x20\x9b\xc1\x2f\xc5\xb1\x9d\x44\x80\x8c\xa4\x38\xe4\x02\x23\xe4\xa4\x49\xe8\x1f\x62\xcf\x4b\x23\x90\x26\x73\xbf\x87\x89\x5d\x33\xe8\xa1\xf0\x4f\x07\x2a\x85\x5f\x06\x23\x00\x36\x14\x7e\x93\xa3\x52\xd0\xf2\x87\xcd\x5d\xa5\xf4\x9b\xde\x08\x40\x1c\x4a\xbf\x97\x8b\x00\x2c\xde\xd2\x6f\x38\x55\x2a\x81\x6c\x56\xfe\xd6\xac\x52\x91\x91\x95\xbf\xe3\xa8\x54\x7e\x8b\xa2\x52\x53\xba\x6b\x85\x38\xd4\x94\x8b\x9a\x72\x51\x53\x01\x81\x06\x23\x02\x10\x07\x38\xda\x2b\x1d\xed\x55\x1a\x5a\xdd\x0d\xc5\xa1\xa1\x42\xea\xf6\x0f\x41\x6a\xad\xbd\xfd\x22\x02\x8d\xa7\xa8\x20\xb5\x89\xd7\x91\x46\xe0\xec\xe6\xe6\x03\x08\x5e\x19\x8c\x40\xee\xed\x7a\x6f\x80\xef\xa6\x95\x08\x90\x91\x15\x8d\x50\xa9\xa3\xc9\x08\xd4\xbe\x17\x8d\xa8\xb7\x6f\x46\xc0\xbc\x95\x15\x81\xdc\xcf\x66\x04\x60\x8a\xc2\x4f\x77\x04\x60\x04\xf7\x9c\x15\x01\x8c\x03\x68\xb2\x89\x93\xb8\x80\x82\x26\x23\xe0\x26\xab\x89\xc5\x98\x00\xdf\x4d\x35\x9a\x22\x90\x91\x01\x72\xa1\x94\x6e\xff\xe4\x1e\x01\x58\x17\x8d\x96\x5e\xf3\x1f\x81\x0a\xf4\xa0\x35\x8d\xd0\x50\x24\x1b\xf0\xc2\x04\xd6\x85\x51\xb2\xcc\x6d\xfe\x23\xe0\x5e\x9a\xed\x00\xd9\x50\xb8\x23\xa8\x88\xba\x81\xda\x6f\x9b\xbd\x38\xa8\x88\x7b\x71\x17\x01\x5f\x51\x3b\xe0\x29\x4a\x45\x72\x57\xd5\x2a\x7e\xb3\xf7\x06\x80\x91\x7e\x29\x56\x11\xbf\xd2\xee\xe7\x41\x4f\x93\xfb\x15\xa8\xa7\x87\x08\xd0\x14\x14\x28\xcd\xc1\x0b\xcd\x21\x17\xea\x97\xe2\xfd\xc2\xca\x0f\xb5\x52\x24\xd5\xed\x27\x03\x5d\x37\x05\xba\x0b\x0a\xfb\x25\x89\x2f\x7b\xff\x0e\x24\xc4\x23\x2f\x8c\x60\x0a\xc9\x32\xf3\x0e\x62\x6f\x00\x4c\x11\x20\xd4\x96\x7b\x27\xf7\x1d\xa0\x11\x0a\xaf\x2b\x8e\x80\x5f\xab\x23\x40\x53\x54\x0c\xf8\xe9\xb6\xfa\x44\x30\xf7\x69\xd5\xfe\xe8\x4d\xb9\xff\xd5\x62\x77\x73\x1c\xa1\x14\x38\xf4\x2f\x01\x8e\xf3\x9c\x02\x87\x21\x4c\x80\xe3\x73\xc3\x27\x70\xa2\x94\x14\x80\x29\x4e\x4a\x4b\x0a\x80\x9b\x27\x3b\x49\x0a\x1c\x66\x29\x05\xc0\xcd\x70\x9c\xc6\x14\x00\x37\x4f\x7a\xf6\x04\x20\x23\x4f\xf6\xa2\x4f\xe0\x64\xc5\xa4\x00\xb8\x59\x90\xe4\x4e\x36\xab\x14\xa0\x29\xc8\x8b\xe2\xb8\xbc\xa5\x00\xe8\xa1\xa4\x29\x4a\x1a\xe1\xe4\x44\x9e\x02\x90\xac\x93\xbb\xf0\x14\x00\x45\x9d\x5c\x96\xa7\x00\x28\xea\xe4\x36\x3d\x05\x7c\x2f\x62\x7f\x43\x80\x6f\xa4\x0a\x18\xa9\x27\x9b\x55\x02\x90\x91\x4a\x46\x9e\x74\x37\x9f\xc0\xc9\x2d\x72\x0a\xe0\x08\xe0\x05\x15\x10\x0d\x14\x49\x2a\x20\x1a\xd0\x06\x58\x59\x4a\xf5\x41\x0b\x0a\x75\x41\x5e\x14\xe4\x45\x09\x0b\x47\x4b\xb2\xa1\x84\x52\xac\xe5\xa1\x91\xc3\x65\x9c\xc6\x6d\x9c\xa7\xb7\xef\x80\xbe\x7d\xfe\xd3\x8f\xeb\xed\xda\x3e\xba\x76\x6b\xaf\xf3\xf3\xc1\xa7\x3f\xfd\x7c\x9f\xae\x73\xdb\x7f\x7d\x3e\xb4\x7f\x57\xbb\xb7\x5b\xd7\x3e\x89\x66\xfb\x27\x3e\xdf\xbf\xe7\x79\x1e\x66\xf8\xb2\xe8\x79\x98\x5f\x87\x05\xa0\xf5\xcf\xa3\x5f\xc6\xd7\xe1\xbb\x7f\xef\x6f\xd6\xc7\xd4\x65\xb7\xf9\x3a\x76\xe3\xb0\x66\xd7\xc8\xee\x06\x6c\xeb\x65\xc8\xb6\xa5\xbd\x5c\xc6\x6e\xfd\xdd\xde\xc6\xe9\xf9\x64\x8e\x7f\xc3\x26\x9f\x4b\xfd\x3f\x00\x00\xff\xff\xd8\xc6\xdc\x56\xb1\x25\x00\x00") func dataProxifierUpdateDomainsTxtBytes() ([]byte, error) { return bindataRead( _dataProxifierUpdateDomainsTxt, "data/proxifier/update/domains.txt", ) } func dataProxifierUpdateDomainsTxt() (*asset, error) { bytes, err := dataProxifierUpdateDomainsTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/proxifier/update/domains.txt", size: 9649, mode: os.FileMode(0666), modTime: time.Unix(1570576453, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x8f, 0x7b, 0xc6, 0x3d, 0x16, 0xaa, 0xf4, 0x9c, 0x61, 0x81, 0x43, 0x99, 0x52, 0x77, 0xb6, 0xe3, 0xb9, 0xcf, 0x95, 0xab, 0x9d, 0xd6, 0xc3, 0x78, 0x6b, 0xff, 0x7f, 0xdb, 0xb1, 0x8d, 0xb7, 0x39}} return a, nil } var _dataProxifierUpdateIpsTxt = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x5c\xd7\x49\x8e\xe5\x20\x0c\x00\xd0\x7d\xdd\xa5\x2d\x3c\xe0\x41\xff\xfe\xf7\x6a\x19\x12\xb0\x23\xd5\xa2\x5e\x08\xc1\x66\xfe\xc8\xa0\x0e\x6e\x20\xf6\xfb\x3b\x40\x9b\x47\x0e\x48\xf1\x2a\x18\x70\x6c\x99\x00\x5a\x00\xe2\xae\x68\x0e\xa8\x0e\xc4\xe3\xd0\x0c\x50\xe4\x32\x00\x23\x0e\x7d\xc0\x1c\x55\x51\x24\x50\x2a\xba\x00\xba\x5e\x2a\xd0\x2c\xa5\x06\xd3\x5f\x11\x0f\x40\xde\x85\xce\x80\xe2\x40\xe8\x8d\x3c\x2f\x03\x1a\x74\xa7\xe2\x73\x65\xbd\x5b\x74\x05\xa4\x4c\x55\x1a\xbd\x33\x70\x31\x08\x08\x11\x90\x76\x2a\x38\x0c\xe4\xcd\xf2\x01\x15\xbc\x69\xa4\x48\x14\x70\x34\xae\x62\x1a\xc0\x9a\x49\x80\x72\x95\x8d\x23\x22\xe0\x38\x9a\x04\xc8\xbb\x50\x30\xff\x68\xd7\x13\x02\x12\xa0\x28\x98\xcf\x6b\x02\x96\x2d\x16\xc8\xac\x78\xea\x4c\x48\xde\xff\xd1\x7c\x01\x7d\xe6\xac\x00\x1a\xe9\x8c\x9f\x01\x3d\x00\x69\x7e\xac\xdd\xd3\x3e\xf6\xdf\x9f\x0c\xd0\x0c\xc6\x01\x87\x1c\x4e\x04\x64\xea\x2c\xa5\x04\x34\xf4\x92\x81\x32\xe6\x97\x02\xac\x55\x61\x57\x73\xcf\xc9\x64\x00\xa1\x82\x71\xd5\x9a\xfa\x97\x34\xf1\xd2\x41\xe9\x2a\x27\xb7\x1d\x66\x17\xe9\x55\x0e\xc2\xfd\x10\xd1\x5e\x44\x2f\x19\xb8\x09\x63\xf7\x43\x0e\x0a\x09\x34\x20\x36\xe5\x38\x5d\xae\x09\xf3\x52\x01\xb9\xc9\xb1\x92\x9e\xf8\x0e\xad\xd3\x3b\xa3\x31\x27\xce\xcb\xa8\x01\x06\x44\x05\x52\x13\x37\x69\x15\x61\x53\xab\x47\xd2\xd4\xeb\x59\x53\x6b\x9d\x5b\x94\xdc\xbe\xc9\xb3\xa9\xa5\x20\xad\x3d\x69\x6f\xf6\xcc\x67\xcb\x48\x5b\x0b\xda\xea\x69\x8b\x53\x5b\x9c\xd6\xbe\x69\xad\x27\xac\xc5\x62\x2d\x77\xef\xa3\xd0\xea\x79\x8b\xc5\x5b\x7e\x88\x9d\xd4\xc7\x85\x7a\x29\xf7\x52\x69\xcd\xbc\x8b\xc7\x32\x5f\x30\x2f\x38\x9f\x5d\xa2\xb7\xc3\x1f\xd9\x91\x02\x86\x14\xd1\xb8\x9f\xcc\x93\x48\x5f\xd9\x38\x3b\x44\x20\x18\xe7\xa2\x3b\x9a\x30\xdf\xff\xf3\x4f\x5e\x60\xee\x4f\xa1\x97\xb4\x86\x37\x37\x49\x45\xc0\xb9\xd7\xc1\xa2\xad\x95\x99\x1d\x57\x88\xb9\x2e\x8e\x19\x30\xf3\x58\xce\x3e\x06\x64\xbc\x64\xe0\x0b\x03\xa1\x23\x24\x86\x5c\x51\x49\xcb\xf4\xc1\xe2\x91\x03\x46\x36\xf3\x44\xe1\x0c\xf2\x64\xfd\x10\x31\xcf\xce\xa7\x99\x3c\x0a\xd7\x06\xaf\xc5\x73\xef\x7e\xcb\x06\x3a\xf2\x00\x79\xe8\x60\x04\xc4\x3b\xae\xbd\x27\x0c\x40\x94\xc7\x01\x98\xbd\xfa\x7c\xfd\x35\x51\x2d\x47\x70\x6d\xa4\x41\xc5\x94\x01\x14\xef\x23\xa6\x10\x8d\x7a\xf1\x89\x26\x56\x67\x3c\x3d\x91\x27\xf7\xda\x71\xad\x73\x16\xe7\x58\xce\xf2\x3a\xe5\x89\xdb\x88\xfa\xbe\x9e\x0d\x4c\x88\xa7\x2d\x71\x08\x85\xa7\xd7\x48\x72\x4f\x01\x1c\xf8\xfb\x53\xc9\x73\xd8\xd6\xba\xd6\x09\xd9\x69\xc3\x57\x0a\x57\x19\xf0\xd5\x6c\x65\xd1\xea\x65\x34\x57\x38\xb9\x53\x1a\x7d\x6e\x4e\x40\x76\x18\xff\xee\xff\x34\x6f\x91\xf2\x5a\xf5\x45\x5e\xe5\xa3\x89\xaa\xa2\x95\xe5\x15\xe5\x6a\xad\x9d\x42\x1a\x9d\xfd\x65\x3a\xdf\xa5\xbc\x39\xac\x44\x14\x30\x0f\x3d\x91\x3d\x46\xcd\xde\xed\xd1\xbd\x6e\x7a\x43\xf2\x16\x91\x97\xc4\x35\x23\x10\x71\x1f\x94\xb1\xce\xb8\x42\x19\xbd\x74\x5d\xef\xae\x69\xf2\xc7\xeb\x52\x85\xeb\x1e\xc0\xfc\x5c\xbf\x0e\x69\x7c\xcd\xdd\xad\xba\xbc\x17\xda\xe2\x6f\xb9\x75\x0b\x7f\xac\x1f\x7f\xdf\x8f\xee\x7d\x43\x2c\x5e\x57\x54\x59\x2b\x33\xef\x3d\x6e\x1f\x7b\xf7\xbe\x46\x1f\x3f\xed\x17\xdb\xc7\xb5\x3e\xc3\xbe\xeb\x1f\x72\xfd\x5a\xce\xd2\x82\x16\x1a\x62\xce\x8f\x8f\xb5\x5b\xc7\xc7\x54\x9c\xc7\x42\x8d\x65\x3f\x88\xcf\x83\x89\xdf\x07\xab\xbb\x2d\x37\x66\x50\x5a\x2b\x10\xa7\xed\x95\x94\xa3\x2b\xc7\x24\x03\x72\x26\x16\xae\x1b\x69\xf1\x5a\x06\xcb\x9a\x27\x1c\xe6\xbd\xa0\x32\x1a\xa5\xbf\x9c\x27\x63\x65\xaf\x2b\xb7\x6e\x28\x4c\x69\xf2\xaa\x75\x70\x16\xe6\xea\xc2\xc0\xb5\xa7\xe5\x8f\x26\xee\xf4\xc6\xd5\xc5\x85\x74\x89\x1c\xf0\x21\xfa\xb7\xbc\x7e\x7d\x3f\x90\xf7\x81\xe4\x59\x82\xce\x1f\xeb\xc7\xde\x1d\xeb\x37\x86\x41\xfe\xbc\x41\x59\xe1\x16\x2a\xfe\xfe\x07\x00\x00\xff\xff\x35\xdd\x90\x6c\x82\x0e\x00\x00") func dataProxifierUpdateIpsTxtBytes() ([]byte, error) { return bindataRead( _dataProxifierUpdateIpsTxt, "data/proxifier/update/ips.txt", ) } func dataProxifierUpdateIpsTxt() (*asset, error) { bytes, err := dataProxifierUpdateIpsTxtBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/proxifier/update/ips.txt", size: 3714, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x83, 0xa3, 0xaa, 0x55, 0xd1, 0x4d, 0xa9, 0xa, 0xa3, 0xb0, 0x83, 0x4d, 0xb7, 0x5b, 0x20, 0xc2, 0xbd, 0xf8, 0xd2, 0xdc, 0x72, 0x38, 0xa3, 0x69, 0xec, 0x76, 0x4f, 0xcd, 0x75, 0x5f, 0x71, 0xd7}} return a, nil } var _dataSimplewallExtraBlocklistXml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x9d\x4d\x6f\x24\xb7\x11\x86\xcf\xd9\x5f\x31\xd1\x35\x51\x89\x55\xfc\x16\x76\xd7\x40\x6e\x01\x62\xe4\xe0\x00\x3e\x1a\xb2\x34\x89\x85\x48\x3b\x0b\x49\x8e\xd7\xf9\xf5\x41\xb3\xbf\x8a\xd5\x5c\x5f\x82\xd7\x07\xd9\x9a\x67\x47\xf3\x4c\x37\x8b\x64\x91\xcd\x6e\xbe\xff\xe3\xf5\xf5\xe9\xfb\xc7\x4f\x0f\x97\x5f\x5e\xbf\xfb\xfc\xeb\x5f\x9e\x2e\xf7\xff\x3e\xbf\x9c\xae\x4f\xaf\x8f\xcf\x9f\x9f\xce\xbf\xdc\x3d\x3d\x9d\xce\x5f\xde\x5e\xee\x4e\x2f\x3f\x3f\x9d\x5f\x4f\xd7\xd7\x1f\xdf\xb5\xbf\xf9\xdb\xe3\xfd\xf9\xd3\xeb\xf9\xf6\xf4\xed\x5f\xff\xb1\xd3\xef\x2e\x3f\xbf\xdc\x9f\x6f\x4f\x3f\xbd\xbd\x7d\x7e\xbd\xbd\xb9\xf9\xd7\xe3\xdb\x4f\x3f\xff\x48\xf7\x97\xe7\x9b\xfb\x97\xbb\xff\xfe\x7a\xfd\x7c\xf7\xe5\x66\xa0\xdb\x3e\xf5\xee\xf5\xed\xfa\xdb\xcb\xc3\xe3\x3f\x1f\xcf\x0f\xb7\xa7\xef\xcf\x0f\x7f\x3e\xb9\x7a\xfa\xfb\xfd\xdb\x49\x1c\xd7\x93\xe3\x5b\xf6\xb7\xbe\x9e\xfe\xe4\xc4\xb9\xf6\x77\xef\xde\x7f\xf3\xe5\xf9\xe9\xf4\x9f\xf3\xcb\xeb\xe3\xe5\xd3\x87\x2b\x26\x77\xf5\xcd\xc7\x77\xef\x5f\x2e\x97\xb7\x8f\xef\xfe\xf0\xfe\xf1\xed\xfc\x7c\xfa\x74\xf7\x7c\xfe\x70\xd5\x0e\xe4\x07\xf6\x94\x02\x71\x49\x24\x12\xaf\xda\x71\x7d\xb8\x32\xf0\xe1\xf1\xe5\xc3\x95\xbb\x3a\x7d\x7e\xb9\xbc\x5d\xee\x2f\x4f\xed\xc5\xa6\x70\x57\xa7\xc7\xd7\x1f\x7e\x9c\xbe\xfc\x87\x2b\x6e\x2f\xce\x9f\xee\x7e\x7c\x3a\x3f\xb4\x97\x37\x5f\xd3\xe6\x44\xc2\x85\x98\xb3\xd2\x6a\x08\xd4\x56\xe2\xca\x56\xbb\x40\xa8\x56\xd8\x1d\xb5\x0d\x82\xb4\x99\x98\x85\xd8\x8b\xd6\x2a\x08\xd2\x16\x12\x1f\x89\x25\x69\xad\x82\x50\xad\x84\x7c\xd4\x36\x08\xd2\x56\x12\x5f\x29\x55\x6d\xdd\x19\x54\x5a\xe4\x28\x2d\xb0\x72\x2d\x8e\x58\x28\x06\xe5\xdc\x11\x48\xc9\x14\x29\x7a\x6d\x5c\x09\x48\x58\x88\xc3\x14\xa6\x45\x3b\x15\xc4\x68\xd9\x65\xf2\xc6\xaa\x18\x52\x2a\x5d\x81\x2a\x86\x93\x46\x2a\xce\x38\x67\x04\x55\xda\x73\x3b\x23\x9c\x32\x11\xc7\x64\x9c\x0b\xc3\x4a\xed\x81\x2e\x0c\x29\x3d\x06\x51\x42\x07\x51\xab\x97\x46\xba\x30\xa0\x74\xca\x4e\xac\x74\x66\x50\xe9\xf1\xfc\xae\x10\xa7\x15\x26\x71\xb6\x9e\xae\x10\xab\x95\x3a\xd0\x0a\xac\x37\x9d\x0c\x41\x8e\x25\xbb\x30\xac\x54\x06\x52\x58\x17\xbe\x0a\xfc\x40\x0a\xeb\x53\x57\x81\x0d\xe1\x85\x41\xa5\xc7\x8a\xb3\x42\xa0\xd6\x0f\x4a\xd5\xa3\x4b\x35\x1d\x9b\xc3\x85\x01\xa5\x79\x20\xcd\x68\x69\x1d\x95\x6a\x85\xf7\x37\x32\x6c\x86\x05\xde\x0e\xb3\x1f\xf5\xaf\x1b\x05\xb6\xc4\x31\x52\xb6\x81\xbc\x42\xb0\xd6\x36\x50\x2b\x04\x6b\xed\x59\x5e\x21\x40\x2b\x9e\x6a\xa2\x28\x6a\x78\xd3\x21\x98\x52\x5c\x99\x7e\x7a\xe9\x06\x41\xda\x4c\x89\x89\x7d\xd6\xd6\x9d\xc1\xa4\x9c\x0b\x71\xf6\xbd\x75\x83\x30\xad\xb8\x4a\xd5\x1c\xeb\xca\x40\xd2\x4a\xec\x2a\x85\xa0\xa5\x3b\x83\x4a\xd3\x40\x9a\xa0\x52\x4e\xd3\x8f\xb1\xae\x10\xa7\x6d\xc9\x6f\x36\xda\x15\x62\xb4\xec\x1c\xb1\x08\x71\x8e\xca\xdb\x51\x94\x98\xa7\xb1\x2a\x71\x2d\x9d\x58\x51\xa4\x78\x1a\x53\xf1\x41\xbc\x50\x80\x38\x38\x4a\x95\x38\x27\xda\xe3\xaa\x67\x18\x69\x76\xe4\x88\xf7\xd6\xb8\x43\x20\x65\x98\x14\xc9\x6b\xe5\x86\x40\xca\x4c\x22\x91\x24\x74\xc7\xa9\x20\x4e\xeb\x1d\x85\x68\xac\x0b\x03\x49\x2b\x85\xd2\x47\xd1\x8e\x30\xca\xe2\xa7\x12\x0c\x5a\xb9\x23\x98\x92\x25\x53\xe4\xde\xb9\x32\x9c\x34\x3a\x12\xef\x8d\x75\x85\x20\x6d\xa4\x5c\xfa\x0a\xb3\x23\x90\xb2\x12\xfb\x48\x5d\x7d\x51\x0c\x23\xad\xd3\x59\x24\x77\xbd\xfd\x2a\x51\xd7\x9c\xf1\x3f\xc3\xbe\xca\x34\xc0\xe1\x5e\xbf\x20\xac\xb2\x0e\x9c\x98\x99\xa7\x5d\x20\xee\x28\x15\xcc\x2c\x9b\x3a\xaa\x2e\xa2\x35\x04\x6b\xd3\x48\x0b\x6b\xa9\x56\x43\x19\x9c\x63\x06\x5d\x74\x58\x0d\x99\xf8\x58\xb4\x0b\x04\x6b\xc3\x48\x8b\x49\xca\xb5\x21\x8e\xb4\xd8\x66\x22\xeb\x2b\xcd\x06\x82\xb5\x79\xa4\xc5\x8c\x05\x16\xc3\xf4\x93\x6d\x13\xb5\x42\x5c\xb7\xc0\x85\x4c\x1c\x2f\x08\xa4\xe4\xb6\x3a\xc2\xeb\xee\x4f\x31\x9c\xb4\x50\x35\xca\x46\x40\xc2\x4c\x9c\x98\x62\x77\x66\x77\x86\x91\x4e\x03\xa9\x40\xa2\x94\x1b\xc1\x09\xdb\x7a\x13\x67\x9c\x2b\x04\x6a\x0b\x49\xb0\x87\xba\x42\xa0\xb6\x12\x77\xc9\xb8\x86\xc0\x52\x4d\xc4\xb9\xd8\x82\x5d\x20\x4e\x5b\xdc\x40\xbb\x42\xa0\xd6\x13\x1f\xac\x33\x43\xc6\x71\x20\x1f\x0e\x71\x3c\x43\xac\x96\xeb\xc8\xdb\x28\x50\x3c\x75\x68\xf6\x2c\xaf\x10\xa5\x15\xf2\xc7\xc3\xdd\x21\x48\xcb\x42\x59\xd4\xfc\x69\xcf\x80\xd2\xa8\xe7\xf6\x0c\xc4\x69\x6b\x9b\x40\x34\xda\x15\x02\xb5\x4c\x52\xad\x75\x66\x28\xa9\x27\xd7\xcf\xc6\xec\x08\xa7\xac\x99\xc4\x9c\xde\x1d\xa2\xb4\x81\x62\x20\x11\xdf\x69\x77\x88\xd3\xf2\xf4\x7f\x63\x5d\x18\x4e\x2a\x12\xf4\xfa\x14\x4b\x81\xe2\xc0\xc4\xc1\x1e\xef\x46\x51\xe2\x48\xbe\x5b\x21\x68\x20\x4a\x9b\xa9\xa6\x69\xac\xdc\x69\x77\x88\xd3\x4e\xa3\x9a\x2c\x46\xbb\x42\x94\xb6\xb4\x4b\x92\x9d\x74\x45\x38\x25\x3b\x4f\xd9\x38\x17\x86\x94\x26\x9b\x93\x6b\x0a\x12\x0b\x93\xb0\x27\x8e\x5d\x27\xa0\x29\x4a\x9c\x88\xcd\xd4\x93\x62\x38\x69\xa5\x68\x94\x8d\xa0\x84\xf3\x82\x14\xce\x5d\x1a\xa3\x29\x50\x1c\x84\x72\xb2\xde\x05\x02\xb5\x35\xea\x75\xb6\x96\x02\xc4\x91\x89\x5d\x6c\x2b\x26\xd4\xd2\x02\x4b\x41\x62\x9f\x88\xa7\xe4\x30\x6b\xaf\x82\x38\xed\x94\xf5\x07\xab\x5d\x21\x4a\x9b\xe7\x9f\xfd\x52\xb0\xa5\x20\x71\x70\x94\x22\x95\xa0\xb5\x3b\xc3\x49\x6b\x51\x37\x92\xf4\x0c\x27\x9d\x2b\x4c\x36\xda\x8d\xa2\xc4\x4c\x92\xf4\x52\x5f\x03\x71\x5a\x2f\xea\xba\x65\xcf\x70\x52\x4e\x89\xd8\x05\xa3\xdd\x28\x4a\x1c\x88\xa7\x16\x69\xbf\x0a\x61\x29\x4a\x1c\x89\xc5\x93\x29\xdd\x1d\x22\xb4\xd2\x66\x4f\x7d\x9c\xf2\xf1\x4d\xdb\x43\x9c\x36\x24\x35\x33\xd4\x33\x9c\x34\xea\xd9\xe3\x9e\x41\xa5\xfb\x7d\x67\x3d\x03\x4a\x65\x50\xaa\x2b\x04\x6a\x47\xc1\x14\xe1\xc1\x94\x59\x4f\x80\x19\x08\xd2\x16\x4a\x89\xf6\xc5\x5e\x1d\xc2\x28\xd9\x55\x2a\xea\x82\x7b\x87\x90\x4a\x71\x07\x25\xaa\x29\xdc\x3e\x9f\x8f\x4a\x50\x7f\x33\x7f\x3e\x8b\x9a\xb9\xed\x19\x56\x6a\x8b\x73\x61\x50\xe9\xa1\x40\x17\x86\x95\xda\x22\x5d\x18\x56\x2a\x03\x29\xac\xe5\x5d\x05\x7e\x20\x05\x8d\x71\x76\x41\x18\x48\x61\xcd\xdf\x24\xc8\x89\xbc\x0d\xa4\x85\x61\xa5\x36\x90\x16\x86\x95\xda\x40\x5a\x18\x56\x6a\x03\x69\x61\x58\xa9\x0d\xa4\x8c\x4c\xcb\x56\x41\x1c\x48\x31\x13\x3f\x4a\x90\x06\x52\xd0\x24\xc8\x26\x08\x83\x2a\x13\xb0\xbd\x69\x21\x7b\xa0\x33\x82\x2a\x0f\x61\xb4\x30\xac\xd4\x86\xd1\xc2\xb0\xd2\xc1\xd9\xc5\x86\xd1\x24\xc8\x03\x29\x68\xf6\x61\x17\xd8\x0c\x69\x61\x58\xe9\x21\xe1\x9d\x19\x54\x7a\xa8\xa5\x0b\xc3\x4a\x07\x55\x06\x74\x35\x7d\xcb\x11\x1c\xb1\x8d\xa4\x15\x82\xb5\xc7\x6c\xdb\xc1\xd3\x6d\x37\xca\xb7\x1d\x3c\xe1\x76\xa3\x8c\xdb\xc1\x53\x6e\x37\xca\xb9\x1d\x3c\xe9\x76\xa3\xac\xdb\xc1\xd3\x6e\x37\xca\xbb\x1d\x3c\xf1\x0e\xa3\x48\x0e\xf0\x48\x0e\xa3\x48\x0e\xf0\x48\x0e\xa3\x48\x0e\xf0\x48\x0e\xa3\x48\x0e\xf0\x48\x0e\xa3\x48\x0e\xf0\x48\x0e\xa3\x48\x0e\xbf\x43\x24\x0f\xc6\x90\x01\x39\x88\x64\x4f\x5c\x03\x71\x3f\xa2\xd3\x14\x24\xf6\xa9\xdd\xd5\xa6\x2e\xfc\x5a\x8a\x12\x17\xe2\x50\xa8\x74\x7d\xae\x82\x60\x6d\x1d\x69\x71\x4d\xc6\x62\x50\xcb\x17\x2c\x05\x89\xdb\x93\x68\xd4\xb2\xed\x9e\x61\xa5\x9c\xd3\x40\xcb\xa0\xcb\xfa\x9b\xa2\x12\xf7\x43\x2e\x4d\x41\xe2\x76\x67\x73\x22\x8e\x5d\xfd\xd5\x14\x27\x16\x37\x75\xb2\xd1\x88\x37\x8a\x12\x17\x12\x5f\x28\x74\x91\xa5\x20\x48\x9b\xfc\xbc\xb2\xaa\xcb\x34\x14\x44\x69\xa7\x84\x82\x29\x76\x67\x59\x41\x9c\x56\x24\xeb\x87\x6e\x58\x0a\x14\x47\x36\xe3\x30\x05\x51\xda\x44\xcc\x4e\x3d\x17\xc2\x40\xac\x56\x38\x0e\xbc\x8d\x02\xc5\xe2\x28\x67\xeb\x5d\x20\x4a\x9b\xdb\x93\x29\xb9\xab\xbb\x0a\xa2\xb4\x85\xa6\xc4\xbc\x4f\x35\x14\x44\x69\x2b\x65\x26\xee\xae\x77\x6b\x08\xd2\x66\xd7\x92\xb7\xbe\x6c\x15\x44\x69\x79\xb9\x09\xb8\x3b\x5c\x4d\x51\x62\xdf\xae\xab\xf7\x75\x57\x41\x94\x36\xd2\x94\xa9\xd6\x2e\xd5\x50\x10\xa5\x4d\x6d\xc5\xb8\xd1\xee\x10\xa5\x2d\xed\x2e\xbf\xd0\xa5\x19\x0a\x22\xb5\x9e\xfa\x24\x43\x41\xa0\xb6\x7a\xfd\xc4\x1e\x4b\x51\xe2\x29\x5b\x9c\x52\xa8\xce\xbb\x43\x90\xb6\x78\x62\x17\xcc\x34\xba\x82\x28\x6d\xa0\x22\xc4\xd2\x8d\x4d\x14\xc4\x69\xa7\xd6\xdf\x94\xae\xa6\x18\xb1\x48\x9c\x97\xa0\x6a\xaf\x86\x20\xed\xd4\x22\xb9\xa9\x3c\xb5\x56\x41\x9c\x56\x82\xa3\x6e\x55\x90\x86\x28\xed\xd4\xc9\xf6\xbd\x9f\x62\x40\x69\xa5\x6e\xd8\xa9\x18\x4e\x9a\xaa\xc9\x2f\x34\x44\x69\x3d\x71\xad\x24\xa1\x76\x5e\x45\x51\xe2\xda\x56\x51\xf7\xf1\xb4\x31\xa0\x34\xba\x29\x81\xb2\xda\x95\x22\xc5\x53\xf6\x54\x0e\xe2\x85\x82\xc5\x83\x23\x66\xfc\x11\x27\xca\x87\x02\x5e\x20\x56\x3b\x3a\xd1\x09\x7f\xa2\xf3\x50\x9c\x7f\x0f\xb1\x38\x19\x88\x1b\x05\x8a\x73\x36\x1d\xa0\x82\x58\x6d\x3a\x9c\xe7\x05\x62\xb5\xec\x0e\x15\x69\xa5\x58\xb1\xc8\xe8\x80\x05\x74\xef\xe5\xaa\x98\xf2\xa8\xc3\x01\x2f\x10\xab\x0d\x87\x70\x5e\x20\x4e\x2b\x6e\x54\xbe\x1b\x05\x88\x53\xa0\x29\x51\x25\xd9\x27\x51\x3a\x04\x55\x86\xa3\x12\xd3\x2e\xef\x9f\x9f\x8e\x4a\x4c\x43\xb1\x7f\x7e\x39\x2a\x31\x55\xa6\x7d\x7e\x7b\x42\xdd\xfa\x9b\x7a\x7e\xdd\x57\xfe\x11\xf5\x35\xa2\xbe\x8a\xae\x09\x50\x28\x62\x85\xa0\xeb\xba\xdb\xc7\xef\x4f\xae\xee\x10\x54\x19\x8e\x4a\x50\xa5\x89\x34\xdf\x03\x21\xfb\xd5\xdc\x9e\xc1\xa4\x22\x49\xed\x96\xd0\x33\x90\x74\x8a\xce\xac\x1f\x2f\x60\x20\x56\xbb\x2f\xbb\x36\x10\xac\xe5\x91\x16\x57\xb2\xab\x41\x46\x5a\x50\x5d\x55\x86\x30\xd2\x42\x43\xaa\x16\x3d\xa5\x6b\x20\x48\x1b\xdb\xbd\x8d\xfb\x82\x93\x9e\xe1\xa4\xde\xa9\x7b\xf1\x7a\x06\x93\xca\xdc\xa3\x6d\xbf\xeb\x0e\xef\xeb\x6f\x00\x7c\x1d\x76\x81\x82\x23\x61\xa7\x6e\x2c\x30\x10\xa9\x65\xb5\x52\xda\x40\x94\x96\xe7\x4d\x23\xf7\x85\xb5\x96\xa2\xc4\xd2\x2c\xfb\x7a\x69\x03\x51\x5a\x4f\xe2\xba\x08\xb3\x14\x25\x0e\xf3\xd3\xe4\xfa\xb0\xda\x21\x50\x5b\xd4\x02\xb2\x9e\x61\xa5\x65\x20\x05\x6d\xa9\xb3\x09\xd8\xf9\xa3\xb5\x41\x94\x36\xb6\x9d\xd3\x72\x1f\xc7\x3b\x44\x69\x13\x55\x56\x37\x73\xf4\x0c\x24\x6d\xbb\xab\x74\x4f\x85\xb7\x14\x26\xae\x53\x2d\x21\xf6\xbe\x37\x2b\x8c\x52\x33\xb7\xa7\x44\x75\xed\x85\x82\x30\x6d\x98\x77\x16\xe0\xde\xbb\x53\xa0\x58\xda\x92\xff\x83\x79\xc3\x30\x75\x6c\x0f\x1b\xd0\xdb\xf5\x59\x8c\x50\x7b\x9e\x06\x7c\xd4\x8e\x50\x6d\xba\xdb\x53\xb4\xb8\x0e\xc5\xa8\xbd\x02\x77\x85\x77\x23\x31\x68\xd0\xd2\x29\x78\x28\x46\x6d\x54\x38\x2b\x12\x93\xbb\x56\x2f\x74\x1e\xf0\x5b\x6f\x81\x7c\xa5\x30\xaf\xc0\xc9\x45\x6d\xb2\x64\x29\x52\x5c\x22\x65\x77\x10\x2f\x14\x2a\x2e\x7a\x0f\x95\x03\x86\xa8\x73\xdb\x59\x29\xe8\x79\x68\x03\x81\x5a\xf1\xa1\xdb\xe4\xba\xa7\x30\xf1\xfc\xe0\x32\xf5\xd4\xc3\x03\x86\xaa\x83\xba\x47\xd0\x52\xa0\xb8\xed\xcf\x7e\x38\xe4\x95\x22\xc5\xc1\x93\x77\x07\xf1\x42\x51\x62\x1f\xdb\x3a\xd8\xe4\x3b\xb1\xa2\x10\x71\x99\x52\x4d\x16\xa1\xa0\x8a\xb8\x83\x08\x6d\xcc\x14\x23\xc5\x34\xb5\xd0\xdb\xef\xba\x0d\xff\xfa\x1b\x70\x5f\xa7\xdd\x2c\x6e\xbe\xc1\xc2\xb0\x52\x51\xc3\x3a\x43\xd1\xe2\x34\x14\x83\xaa\x97\x56\x94\xa1\x18\xd4\x69\x28\x85\xaa\xd7\x86\xa2\xc5\x32\x14\x83\xba\x8d\x45\x21\x55\xdd\xd8\x67\x20\x50\x3b\x25\x02\xfe\x10\x5a\x2b\x45\x8b\x0f\xa1\xb5\x52\xb0\x38\x1c\x42\x6b\xa5\x68\xf1\x21\xb4\x56\x8a\x14\x47\x7d\x79\xc6\x52\xb0\xf8\x58\x8b\x57\x8a\x16\x1f\x4f\x75\x84\x5d\x2c\xe9\x14\x87\x2e\x62\xa5\x28\x71\xa2\xe9\xbf\x9d\x75\x45\x08\x65\x2a\x94\x3c\x71\xa1\x7d\x3b\xa1\x9e\x01\xa5\x4e\xd4\xf2\x12\x03\x11\xda\xda\xe6\xc6\xe7\x87\xf3\xaa\x2e\xd8\x62\x98\xba\xce\xcf\xb7\x56\xa3\x55\x8b\x01\x6a\x71\x81\x72\x9d\x3e\x9e\xdc\xb5\x7a\xa1\xd2\xbe\xdf\x7c\x0b\xe8\x2b\xb5\xa7\x36\x06\x26\x51\x7b\x15\x5b\x0c\x51\xb7\xfd\xf0\xa7\x63\x93\xdd\xab\x19\x4e\x2a\x89\xd8\x4a\x17\x86\x95\x86\x81\x14\x7a\x7a\x45\xef\x9f\xdb\x33\xac\xb4\x0c\xa4\xa0\x2d\x8a\x67\x01\x3b\xbd\x95\x89\x81\x40\x6d\xf4\xc4\xba\x02\xf7\x14\x28\xae\xe1\x18\x4f\x2b\xc4\x6a\xe5\x70\xb8\x0b\xc4\x6a\xf7\x4b\x26\x06\x62\xb5\x7b\x56\x6b\x20\xb0\x02\x89\x57\x37\x96\x18\xf8\xff\x6a\xdf\xdf\xbc\x5c\x2e\x6f\x1f\xff\x17\x00\x00\xff\xff\x94\xb6\xa3\x28\x5e\x93\x00\x00") func dataSimplewallExtraBlocklistXmlBytes() ([]byte, error) { return bindataRead( _dataSimplewallExtraBlocklistXml, "data/simplewall/extra/blocklist.xml", ) } func dataSimplewallExtraBlocklistXml() (*asset, error) { bytes, err := dataSimplewallExtraBlocklistXmlBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/simplewall/extra/blocklist.xml", size: 37726, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaf, 0x28, 0xb8, 0x63, 0xed, 0x95, 0x8a, 0x77, 0xe7, 0xd4, 0xff, 0x2d, 0x83, 0x16, 0x3c, 0x92, 0xbe, 0xe4, 0xa8, 0xf5, 0x71, 0x99, 0x8f, 0x58, 0xff, 0x79, 0x6e, 0x6a, 0xc8, 0x15, 0x46, 0xee}} return a, nil } var _dataSimplewallSpyBlocklistXml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\xdc\x4f\x6f\xdb\x46\x1a\xc7\xf1\xf3\xfa\x55\x70\x75\xdd\xf5\xe3\x79\x9e\xf9\x6f\xd8\x09\xb0\xb7\x05\x1a\xf4\x90\x02\x39\x06\x8e\xad\x36\x42\x65\xcb\x90\x94\x26\xee\xab\x2f\x48\x51\x9c\x67\x86\xec\xa9\xfa\x1d\x8a\xc2\x5f\xc0\xf3\x89\xa8\xe1\x68\x24\x52\xbe\xfb\xf7\xf5\x75\xf7\x69\xf3\xf2\xb4\xfb\x7e\xf8\xf8\xfa\xf6\xbf\xed\xee\xf1\xf7\xf5\xbe\xbb\xee\x0e\x9b\xe7\xd7\xed\xfa\xfb\xc3\x76\xdb\x1d\x5e\xdf\xba\xfd\xb7\xed\xfa\xd0\x5d\x5f\xbf\xbb\x1a\x7e\xe3\xa7\xcd\xe3\xfa\xe5\xb0\xbe\xed\x3e\xfc\xff\x97\x52\x3f\xee\xbe\xed\x1f\xd7\xb7\xdd\xd7\xe3\xf1\xf5\x70\x7b\x73\xf3\xdb\xe6\xf8\xf5\xdb\x17\x7a\xdc\x3d\xdf\x3c\xee\x1f\xfe\x7c\xbb\x7e\x7e\xf8\x71\xb3\x80\x4d\xa3\x3e\x1c\x8e\xd7\x1f\x76\x4f\x9b\x5f\x37\xeb\xa7\xdb\xee\xd3\xfa\xe9\xbf\x9d\xc9\xdd\xcf\x8f\xc7\x4e\x0c\xe7\xce\xf0\x2d\xdb\x5b\x9b\xbb\xff\x18\x31\x66\xf8\xbd\xab\xbb\xf7\x3f\x9e\xb7\xdd\x1f\xeb\xfd\x61\xb3\x7b\xb9\x5f\x31\x99\xd5\xfb\x77\x57\x77\xfb\xdd\xee\xf8\xee\xea\x5f\x77\x9b\xe3\xfa\xb9\x7b\x79\x78\x5e\xdf\xaf\x0e\xaf\x6f\x9f\xd9\x52\x08\xe4\x03\x89\xb3\xab\xe1\x41\xdd\xaf\xea\xf6\xb4\xd9\xdf\xaf\xcc\xaa\x7b\xdd\xef\x8e\xbb\xc7\xdd\x76\xf8\x61\x1a\xde\xac\xba\xcd\xe1\xf3\x97\xfe\x1f\x7e\xbf\xe2\xe1\x87\xf5\xcb\xc3\x97\xed\xfa\x69\xf8\xf1\xe6\x6f\xc8\x44\x96\x89\x73\x45\x96\x06\x22\x93\x50\xaa\xc1\x53\x41\x70\x31\x11\x5b\x43\x22\x46\x89\x3a\x82\x50\xb1\x42\x22\xa1\x46\xa7\x08\x43\x2d\xb1\xb5\x2d\x3a\x46\x04\x9a\x85\x38\x3b\x12\x16\x85\xea\x78\x71\x54\x0c\x39\x47\x29\x50\x39\x4f\xaa\x74\x79\xd0\x52\xce\xe4\x32\xb1\xf0\x24\x56\x0d\x41\xb2\x11\x72\x24\xde\x2a\x52\x35\x14\x29\x4c\xae\x11\x4f\x09\x03\x5a\xe2\x24\xc4\xe5\x3c\x69\xeb\xc5\x59\x67\xfa\xf5\x46\x44\xf4\x9c\x6d\x22\x04\xcd\xc4\xde\x52\x88\xda\x2c\x0d\x41\x46\x43\x9c\x1c\x25\xab\x48\xd5\x40\xa4\x88\x21\x71\xa9\x36\xa7\x08\x43\x99\xc4\xe5\x16\x1d\x23\x04\x8d\x24\x92\xc8\xe9\xe7\x53\x35\x20\x99\x16\xc8\x84\x25\xb3\xcc\xc9\x0c\x3a\x51\xfa\xe1\xad\x10\x1b\x6e\xcc\x73\x84\xa0\x99\x92\x27\x16\xaf\xcd\xd2\x10\x64\x3e\x4d\x50\x3d\x67\x4b\x42\x80\xcc\x9e\x2c\x09\x1b\x25\xaa\x86\x22\x99\x33\x71\xf2\x0d\x3a\x55\x0c\x9b\x49\x98\x49\x8c\xad\x58\x55\x2f\xce\x7a\x26\x76\x86\x9c\x21\xb1\xd3\xab\x59\x13\x31\x28\x13\x5b\xe2\xe0\x2a\xb4\x44\x0c\x6a\x89\x99\x29\x56\xe6\xd4\x90\x64\xe2\x05\x33\x21\x96\x05\x2f\xc4\xec\x28\x90\x2b\xcf\xa7\x4e\x40\x30\xce\x41\xc8\x61\x3d\x8d\x1e\xc9\xb6\xe0\x29\xa1\x40\x2b\xd4\x1e\xd2\x53\x02\x82\xed\x23\x3c\x25\x20\x98\xe6\x20\x62\xff\x53\x46\x17\x37\x17\x05\xb2\x00\x8c\x73\xc4\xa9\xb7\x60\x75\x43\x92\xed\xa3\x1c\x1b\x92\xf4\x0b\x24\xe2\xa5\xeb\x3c\xbc\xa7\xd8\xce\x9e\xb1\x21\xc9\xbc\x40\x22\xb6\x22\x65\x78\xf6\x66\x6e\x0e\x11\x86\x06\xb2\xb3\x09\x74\x6a\x48\x72\x36\x81\x4e\x0d\x49\xce\x56\xf4\x00\x5d\xd2\x63\x24\x3b\x5b\x0c\x4e\x0d\x49\xce\x9e\xcb\x88\x7d\x2e\x23\xf1\xfc\xc8\x8e\x11\x85\xa6\x44\xd2\x9e\x27\x63\x43\x92\xed\x0a\x34\x36\x24\xd9\xae\x40\x63\x43\x91\xdc\xbf\x71\x6e\xc8\xb1\x21\xc9\xf6\x51\x8e\x0d\x49\x72\x3b\x7f\xce\x11\x89\xce\x36\x07\xe7\x08\x45\xdb\x15\xe1\x1c\x91\xa8\x5f\x9a\x45\x1e\x39\x8d\xfa\xad\x1d\xb7\xe8\x18\xa1\xa8\x2c\xa1\x88\x4f\x82\xf4\xf8\xb3\x89\x34\x46\x24\x1a\x97\xd0\x88\x46\x67\xb3\x77\x8c\x30\xd4\x27\x9a\x6d\xc2\xce\x11\x8a\xce\x26\xd2\x18\xa1\xe8\xec\x39\x1d\x23\x12\xcd\xb3\xf3\x74\x8c\x50\x74\xe9\xf0\x42\x3e\xb1\x55\xe3\xb3\x59\x52\x87\x0a\x61\x6d\xbf\x09\x72\x24\x5c\xed\xc8\x74\x85\xb1\x1c\xd4\x65\x95\x26\x42\x50\xef\x89\xa3\x10\x9b\xea\xad\x84\xae\x18\x36\x92\x58\xd7\xbc\x9b\x50\x11\x83\xf6\xcf\x60\x22\xe6\xea\xcc\xd1\x15\xc2\x06\x47\xe2\x4c\xf3\x36\x46\x45\x24\xea\xf3\x02\xea\x51\xbb\xc2\x61\x7c\x26\xa9\x27\x93\xae\x18\x36\x13\xa7\xdc\x9c\x38\x2a\x42\xd0\x68\x28\x59\xe2\xea\xf8\x96\x86\x21\x1d\x89\x90\xd4\x1f\x1b\xab\x88\x41\x13\xd9\x44\xec\xab\x73\x46\x45\x14\xca\x2e\xf6\x93\xb5\x51\xa7\x0a\x63\x3d\xeb\x0b\xf8\x6d\x85\xb1\xfd\x7f\xa1\x55\xc7\x88\x42\x45\x6c\xb3\x07\x56\x11\x82\xf6\x67\x47\xff\xf2\x5d\x6f\x82\x75\x45\xb0\x22\x99\x6c\x26\xae\xf6\x86\x3a\x42\x50\x6b\x86\xcb\xbc\x49\x4f\x61\x1d\x31\x68\x20\xd7\xff\x2f\x57\x68\x89\x30\xd4\x92\x54\xbb\x34\x1d\x2f\x8e\x06\x4f\xfd\xbc\x31\xa6\x5c\x7d\xa9\x12\x10\xcc\x73\x10\x71\x58\xcb\xe8\x65\xb3\x52\x37\xe4\x63\x5c\x20\x21\x6f\x2c\xd4\xf0\xb2\x40\x62\xa7\x4e\xb9\x37\xb5\x6e\x48\xd2\x2d\x90\x88\x77\xe1\xe3\xf0\x81\x29\xb4\xe4\xd8\x20\xa4\x27\xc9\x24\x36\x69\xb2\x34\x10\xe9\x1c\x79\xae\xc5\x31\x01\x41\x37\x07\x71\x07\xd5\x39\x62\x93\x66\xe2\xd0\x90\x64\x5e\x20\x51\x8b\x9d\x1f\x76\xce\xe5\x7a\x44\xdd\x40\x24\xb3\x6d\xd6\xd7\xd2\x90\xa4\x2c\x90\xa8\xc5\x6e\x1c\xde\x2e\x90\xa8\xc5\xce\x13\xc7\x40\xb9\x79\x2e\xcf\x0d\xb5\xf2\x78\x51\x57\x06\xea\x06\x24\xc3\x02\x19\xb0\x64\x34\x73\x32\x62\x0f\x6c\xe4\x05\x12\x77\x92\x0c\xc3\xcb\x02\x89\x3b\x49\xfa\xe1\xf3\xc2\x73\x09\xdb\x11\x9c\x86\xe7\xf6\x2c\x99\x22\x10\x55\x3b\xf5\x26\x5e\x1e\x0d\xa7\x3b\x32\x5d\x24\xb6\x65\x12\x35\xf5\xf2\x5f\x20\x31\x8e\x86\x8f\x9c\xa2\xba\xde\xd2\x44\x0c\xda\x2f\xab\x91\x42\xa8\xd0\x12\x71\x68\x56\x17\xee\x9a\x08\x43\x9d\x21\x11\xdb\xaa\xe7\x8a\x62\x45\xf4\x15\x97\x26\x22\x51\x75\xde\xb4\x15\xc6\xda\x48\x1c\x72\xcb\x9e\x2b\x86\xed\xb7\x07\xc4\xd9\x57\x6a\x89\x28\x54\xd8\x11\xb3\x34\xea\x54\x31\x6c\x20\x26\xe1\xfa\xcc\x99\x1a\x8a\xb4\x49\xbd\x2f\xab\x1b\x84\x14\x36\xe4\x28\x46\x4d\x96\x86\x23\x8d\xfa\x4e\x49\x13\x61\xa8\xb0\x54\x5f\x75\x6d\x33\x08\x76\x64\x3d\x89\x73\xb5\x5b\x2a\xe0\x3b\x92\x4c\xe2\x2d\x05\x7d\x8c\xab\x06\x24\xd9\xd8\xb9\xc9\x90\xef\x3f\x9c\xc7\x77\x46\x5d\x2d\x6c\x22\x00\x75\xc3\xd5\x1c\x6b\xaa\x45\xbf\xa9\x58\xd6\x2e\xb2\x98\x43\xac\x00\xb7\xc8\x62\x66\x70\x01\xd4\xde\xa5\xa9\x30\x76\xb8\xf6\x3b\x63\xcf\x15\xc6\x8a\xf5\xea\x4a\x4f\x5b\x2f\xcf\xfa\x48\x3e\x50\x74\x24\xe5\x7e\x9c\x26\xa2\xd0\xcc\xfa\x35\xa7\x6a\x28\x92\x4d\x20\x4e\xae\x41\xa7\x8a\x65\xfd\x22\x0b\xd9\x31\x69\x20\x2f\xb2\x90\xdd\xe1\x08\xb0\xd5\x37\xc7\xb4\x15\xc6\x0a\xd3\xfc\xc1\x8e\x11\x87\x3a\xfd\x02\x5b\x47\x18\xea\xf2\xc2\xe9\x3a\x55\x18\x9b\x9d\xfa\xd8\xa5\x89\x50\xd4\x2e\xa1\x90\x97\x3a\x35\xfe\x6c\x95\x18\xe3\xe5\xd1\x90\x28\x30\x89\x23\x76\xe5\x05\xa7\x8e\x28\x94\x5d\xa0\xf2\xed\xe3\x26\xe2\xd0\x4c\x6a\x7d\xa8\x23\x0c\x8d\xfa\x73\xca\x26\x62\x50\x21\x4e\x51\x7d\xb6\xde\x44\x0c\x6a\x87\xcb\x86\xa1\x7e\xa4\x25\xe2\xd0\xe1\x2f\xbe\xcc\xd4\xb1\x5e\x9e\xcd\x3c\xdc\x44\xc0\xde\x53\xb9\x87\xa2\xad\x20\x36\x92\x70\xd2\xb7\x51\xcc\x32\x08\xce\xe4\x0d\x71\xaa\xd9\x29\x22\x51\xb5\x53\xab\x23\x0e\x1d\x2e\x80\xcf\xd4\xb1\xe2\x58\xa7\x6e\x12\x6f\xe2\xc5\x51\x31\x91\x42\x22\x0e\xfd\x82\x5b\xfe\x00\x4e\x53\xff\x29\x7b\x77\x33\xfc\xf1\xaf\xbf\x02\x00\x00\xff\xff\x40\x3d\xbc\x41\xda\x4c\x00\x00") func dataSimplewallSpyBlocklistXmlBytes() ([]byte, error) { return bindataRead( _dataSimplewallSpyBlocklistXml, "data/simplewall/spy/blocklist.xml", ) } func dataSimplewallSpyBlocklistXml() (*asset, error) { bytes, err := dataSimplewallSpyBlocklistXmlBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/simplewall/spy/blocklist.xml", size: 19674, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xcf, 0xc0, 0xcd, 0xba, 0xad, 0xe, 0x5f, 0xe7, 0xa3, 0xf, 0x93, 0xc, 0xb4, 0xef, 0x1c, 0xbb, 0x1b, 0x7b, 0xee, 0xa6, 0x59, 0xa7, 0xf1, 0xfe, 0x94, 0xe7, 0x23, 0x92, 0x36, 0xea, 0x14, 0x6f}} return a, nil } var _dataSimplewallUpdateBlocklistXml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\xdd\xcb\x6e\x24\xb7\x15\x06\xe0\x75\xe6\x29\x2a\xda\x26\x3a\xe2\xe1\x9d\x82\x34\x06\xb2\x0b\x10\x23\x0b\x07\xf0\xd2\xd0\x48\x9d\xb8\x11\x49\x2d\x48\x3d\xb1\x27\x4f\x1f\xd4\xad\x79\x48\x9e\x24\x1b\xff\xc0\x2c\xa6\x7f\xcc\xe8\x6b\x16\xab\x78\x29\x56\x51\x77\xbf\xbf\xbe\x9e\x7e\x3c\xbe\x3e\x9d\x7e\xf9\xf8\xe1\xed\xdb\x9f\x9e\x4f\x8f\xff\x3c\xbc\x4f\xd7\xd3\xc7\xf1\xe5\xed\xf9\xf0\xcb\xc3\xf3\xf3\xf4\xf5\xed\xe9\xe1\x7c\x98\xde\xbf\x3e\x1f\x3e\xa6\xeb\xeb\xcf\x9f\x96\xff\xf4\x97\xe3\xe3\xe1\xf5\xe3\x70\x3b\x7d\xff\xe7\xbf\xd5\xf4\x87\xd3\xd7\xf7\xc7\xc3\xed\xf4\xf3\xf9\xfc\xf6\x71\x7b\x73\xf3\x8f\xe3\xf9\xe7\xaf\x5f\xe8\xf1\xf4\x72\xf3\xf8\xfe\xf0\xef\x6f\xd7\x2f\x0f\xbf\xde\x28\xde\xe5\xa7\x3e\x7c\x9c\xaf\xbf\x3f\x3d\x1d\xff\x7e\x3c\x3c\xdd\x4e\x3f\x1e\x9e\xfe\x38\x99\x32\xfd\xf5\xf1\x3c\x59\xc3\x65\x32\x7c\xcb\xee\xd6\x95\xe9\x0f\xc6\x1a\xb3\xfc\xbf\x4f\x77\xdf\xfd\xfa\xf2\x3c\xfd\xeb\xf0\xfe\x71\x3c\xbd\xde\x5f\x31\x99\xab\xef\x3e\x7f\xba\x7b\x3f\x9d\xce\x9f\x3f\xfd\xee\xee\x78\x3e\xbc\x4c\xaf\x0f\x2f\x87\xfb\xab\xb5\x24\x3f\xb1\xa3\x98\x29\x27\xf2\xe9\x6a\x29\xd6\xfd\x55\x13\x3d\x1d\xdf\xef\xaf\xcc\xd5\xf4\xf6\x7e\x3a\x9f\x1e\x4f\xcf\xcb\x87\xcb\xcf\x37\x57\xd3\xf1\xe3\xa7\x2f\xf3\x37\xbf\xbf\xe2\xe5\xc3\xe1\xf5\xe1\xcb\xf3\xe1\x69\xf9\x78\xf3\x7f\x4c\x4e\x61\x40\x97\x0c\xa8\x66\x62\x5b\x3a\x75\xcb\x70\x6a\x71\xc4\xa6\x53\xf7\x0c\xa4\x26\x4f\x9c\x0a\x31\xcb\x7a\x95\x21\xca\xcd\xc4\x31\x93\x75\x46\xba\x22\x04\xba\x29\x11\x7b\xdf\xb9\x7b\x88\x74\x0b\x71\x29\xbd\xbb\x85\x40\x37\x1b\x0a\xfd\x61\xde\x32\xac\x5a\x14\xb5\x80\x55\x4f\x43\xd5\x6e\x19\x56\xe5\x1c\x47\x76\x09\x91\x6e\x24\x1b\x86\xe2\x6e\x21\xd2\x4d\x14\x72\xcf\xae\x19\x4e\xb5\xce\x10\xbb\xae\xb4\x97\x10\xe4\x66\x47\xec\x33\x59\x96\xc5\x95\x21\xd8\x75\x41\x71\x1d\xae\xef\x5b\x88\x42\x83\xba\x44\x58\x33\xa6\x11\x8d\xb8\x1e\x28\x87\xa5\x47\x97\x57\x6d\x8d\x50\x66\x24\xb6\x73\xe7\x2a\xcf\x62\x19\x82\xdd\xac\xb9\x19\xef\x16\x56\xdc\x39\x04\xb9\xc5\x92\x65\x26\xb6\xb2\x03\x92\x21\xc8\x65\x93\xc8\xb7\x9d\x6d\x8d\xb0\xa6\x1d\x4d\x0b\x36\xdb\xae\x47\x64\x40\xd5\xfa\x48\xdc\x1f\xdf\x3d\x04\xbb\x63\x79\x2f\x29\x42\xb6\x86\x5c\x9c\x3b\x19\x8a\x6e\x77\xdb\x0c\xab\x26\x33\xaa\x09\x74\x94\x37\xc1\x5a\x72\xa5\x53\xb7\x0c\xa8\x06\x4b\xec\xfa\xc2\xee\x21\xc8\xf5\x3c\xff\xb1\xb2\x62\x6b\x84\x32\x2d\x59\x4f\x56\x1e\xe0\x1a\x41\xcd\x60\x06\x13\xd5\x22\xce\x80\xa7\x34\x5f\x9b\xd2\xbc\x44\x50\xd3\x87\xc1\xf4\xa0\x71\x53\x05\xca\x68\x02\xeb\x33\xd0\x4c\x48\x72\x4f\x90\x22\xa7\xdc\x93\x4b\x04\x32\x39\x07\x62\x53\xc8\x1a\xc9\x36\x29\x44\x9e\x7b\x15\x47\x9c\x0b\xb1\xad\xa7\x52\x97\xc2\xe5\xa8\xca\xa0\x51\xb1\x34\x42\xd2\xe4\x80\x3a\xb7\xa4\x91\x55\x19\x54\xcf\xde\x50\x9c\x5b\xa3\x4c\x6c\x2e\xad\x54\x17\x02\xdd\xc0\xc4\xce\x76\xee\x1e\xa2\xdd\xbe\xbc\x7b\x88\x74\x2d\x59\x13\x7b\x77\x0b\x91\xae\x23\x5b\x5b\xe7\x2e\x44\xba\x9e\xdc\x50\xdc\x35\xc3\xaa\x25\x8d\x6a\x01\x5d\xbd\xbb\x10\xe4\x3d\xd5\x2e\x44\xb9\x85\x2c\x47\x4a\x4e\xb2\x35\xc3\xaa\x62\x59\xa2\x0b\xb1\xae\x0d\x3c\xba\x4b\x88\x74\x33\x45\xdb\xb3\x6b\x86\x54\x0b\x71\x7b\x2a\x8b\x10\xe8\xce\x23\x9b\xd8\xb1\x5b\x86\x54\xe7\x39\x47\x7f\x4e\xed\x21\xd2\xb5\x72\xb1\xab\x0b\x91\xae\xa3\xb1\xb8\x0e\x36\xc7\xac\x02\x97\x3c\xb2\x4b\x08\x72\xe7\x19\x8f\xf5\x24\xd5\x1a\x61\x4d\xe6\x11\x65\x5c\x5b\xb1\x0b\x75\xfe\xd5\x85\x58\x57\xdc\x18\xea\x42\xa4\x1b\x89\x5d\xcf\xae\x19\x58\xcd\x43\xe5\x6e\x21\xd6\xb5\x4d\xe3\x28\x43\xb4\x9b\x34\x17\xd7\x17\x5c\x88\xe1\xca\xdd\x42\xb4\x5b\x34\x17\xd7\x3e\xee\x44\xbd\x4b\xd4\x85\x48\xb7\x8c\xed\x63\x41\xb7\x8f\x85\x86\x23\xbc\x44\x58\x93\xed\x88\x32\x6e\x24\xb5\x0b\x43\x1b\x55\xe0\x6d\x54\x11\xcb\x7a\x6d\x86\x55\xed\xd0\x30\xae\x19\x58\x55\xea\xd5\xc2\xeb\xd5\x0e\x5d\x5e\x81\xdd\x5f\x15\x82\x52\xaf\xa8\x3b\x53\x42\x18\x3a\x80\x35\x03\xab\x4a\x23\x01\x9c\xe7\x6d\x82\x1b\x1a\xe1\x35\x03\xab\xca\x39\x0c\xbc\x1b\xb5\x0b\xc3\x70\x71\xcd\xc0\xaa\xd2\xe1\x38\x78\x8f\xe3\x95\xeb\x15\xf5\x54\x94\x10\x94\x23\x8c\x1e\x8f\x17\x1a\x07\x12\x05\xb6\xde\x24\x04\xa5\xa7\x0b\xf0\x9e\x2e\x2a\x57\x0e\xf0\xfe\xc8\x2e\x28\xf5\x1a\xe1\xf5\x1a\x95\x76\x18\xf5\x84\x90\x10\x94\x76\x38\xc2\xdb\xe1\xa4\x9c\xc3\xa8\xd5\x77\x21\x28\x23\x98\x04\x1f\xc1\x24\xa5\x6d\x42\x3d\x0d\x25\x04\x65\x2c\x91\xe0\x63\x89\xac\xd4\x6b\xc6\xcf\x71\x94\x7a\x45\xcf\xd8\x0b\x65\xa5\x6d\xca\xf0\xb6\x29\x6b\x13\x3a\x78\xff\xca\xac\xb0\x8c\x7a\x42\x54\xce\xe0\xb4\x09\x16\xea\x29\x12\x49\x68\xe5\xb5\xf8\xf2\x3a\x75\x42\x89\x2f\xaf\x57\x2e\xa1\x25\x04\xbb\x45\xe9\x7e\x90\xab\x5b\x69\xee\xc9\x29\x35\xb5\x7b\x89\xa0\x66\x77\x2a\xd7\x0c\xaa\xda\x76\x16\x50\x33\xb0\x9a\x14\x15\x38\x96\x29\x14\x23\x71\xf1\x9d\xba\x65\x50\xd5\x36\xcb\x3c\x22\x03\xaa\x89\xb8\xed\xdf\x6b\x86\x53\x93\x91\x4f\x92\xb4\x19\x48\x2d\x4c\xc9\x91\x65\x79\x84\x45\x06\x54\x03\x85\xce\x0c\xa8\x77\x04\xd6\x9f\x3f\xff\xf1\x2d\xb9\x45\x38\x93\xad\x21\x2e\xb1\x55\x2f\x21\xd2\xb5\xed\x8c\x5d\x64\x08\x35\x58\xe2\xc8\xc4\x41\xae\xb2\x74\x21\xcc\x4d\xcb\xba\x6f\x1d\x2c\x76\x21\xd8\xe5\xba\xbc\xd3\xa7\x50\xd9\x11\xd7\x9e\xa7\x4f\x61\xf2\x3c\x00\x27\x76\xdc\xc0\x35\x44\xba\x8e\x5c\xaf\x2e\x11\xd2\x4c\xe4\x6d\x8f\xae\x19\x50\x65\xeb\xa8\xae\xdd\x75\x21\xca\x4d\xf3\xf8\x81\x52\x91\x6c\xcd\x60\x6a\x26\x2e\xf3\xd5\xd2\x34\x1a\x32\x45\xc9\xd9\x91\x6f\x3a\xf9\x2e\x04\xba\xcc\x99\x38\x71\x07\x5f\x52\x98\xec\x89\x97\xb7\x12\xda\x22\x8b\x14\x2a\x07\xf9\x10\x65\x9f\xc2\xe4\x44\xd1\x10\x9b\xa6\x89\x16\x21\xcc\xcd\x94\x2c\x59\xd7\xb4\x58\x22\x04\xb9\xeb\x03\x1c\x86\x98\xbd\x80\x9b\x14\x26\x17\xe2\x79\xac\xda\x9c\xd7\x4d\x0a\x96\xad\xf5\x8a\x6c\x51\x6b\x8a\x17\x83\x29\xc7\x01\x5e\x43\xb0\x6b\x8d\x55\xe0\x25\x85\xca\x76\xbe\x6e\x07\x79\x4b\xa1\xb2\x7c\xfb\xa8\x0b\xc1\x2e\xa7\xf1\x58\x6f\x29\xba\xc4\x4d\x23\xd2\xa4\x50\x39\xb4\x83\x01\x19\xa2\x5c\x67\xd6\xa7\x91\x65\x6b\x2d\x43\xb4\x1b\x54\x18\xf5\xfe\xc8\x6e\xcc\xb3\xc1\x50\x7a\x79\x4f\xa1\xb2\xa3\x62\x07\x78\x0d\xc1\x2e\xc7\xe1\x58\xef\x29\x4c\x9e\x4f\xe2\x40\xa5\xb9\x9c\x44\x88\x72\x7d\xa6\x12\xa9\x19\x75\x89\x0c\xa6\x16\xb2\x9e\xd8\x34\xdd\xb1\x08\x11\x6e\xf4\xe4\xc9\x26\xb1\x7e\x2e\x13\x88\x18\x68\x1e\x59\x99\x2c\x3a\x86\x36\xc3\xaa\xb5\x6d\x6e\x33\xac\x1a\x94\xb2\xa2\xda\x8a\x2a\xd4\xdd\x78\xda\x0c\xac\x5a\x45\x05\xb5\x4f\x55\xe0\xa0\x54\x2c\xa3\x9e\xc6\x90\x84\xd7\x5c\xd0\x18\x56\x10\x39\x28\x6e\x06\x8d\xe7\x66\x22\x10\xbb\x4c\xe6\xba\xfe\xdd\x86\xe6\x3b\xfc\x97\x7f\x00\xfc\x3e\xd1\x89\x35\xfd\x36\x03\xab\x59\x51\x41\xf7\x7a\xaa\x90\xcd\xa8\xa2\x9e\x24\x10\x82\x55\x54\xe0\xf5\xbc\x0a\x45\x29\x2b\xb2\xed\xda\x04\x56\x54\x54\xdf\x7b\x11\xc4\x62\x4e\x17\x82\x5d\xab\x1c\x64\x8b\xda\x2d\x47\x12\xca\x61\xb6\xa8\xe7\xa6\x25\xa1\x9c\xca\x16\xf5\xe4\xf4\x4a\x58\x6f\xe5\xdb\x42\x5d\x08\x71\x23\x31\x17\x62\xef\xe5\xfc\xa8\x4f\xe1\x72\x56\x65\x54\x1b\x29\x8c\x5c\x34\x39\xa3\xae\x26\x61\x88\x36\xab\x4b\x11\x32\x1b\x4f\x3e\x2c\xfb\x58\x8a\x3b\x0e\x7d\x0a\x91\x99\xd7\x17\x46\x8b\x78\xed\xaf\x0b\xc1\xae\x37\x8a\xeb\x51\x47\x5a\x14\x4d\x6c\x47\xd8\xa5\x60\xd9\xd6\x01\x6e\x9f\xc2\x65\xad\xcc\xc0\x7d\xbf\x78\xd9\x34\xc1\xb9\x66\x5f\xb5\x26\x04\xbb\xd6\x68\xf0\x92\xc2\x65\xa7\xca\xa8\x5a\x16\x86\xdc\xeb\xac\x4d\xa1\xb2\x6f\xb7\x04\x6e\x53\xb8\x3c\x96\x79\x4b\xe1\x72\x52\x65\xd8\xee\x97\xd5\xf0\xe3\x19\xb6\xa5\x70\x39\xaa\x32\x6c\xf7\x4d\x61\xa8\x47\x1b\xb7\x8f\xb9\x30\x8a\x2a\xc3\xf6\x7f\xae\x86\xdc\x20\xb2\x4d\xe1\x72\x50\x65\xd8\x7e\xb2\x7e\x59\x38\x0c\x4c\x9c\x45\x3d\xb7\x29\x5c\xce\xaa\x0c\xdb\x2f\xb8\x1a\x72\xcf\xed\x36\x05\xcb\xcd\xf5\xdc\xa6\x70\x59\xab\x67\xe0\xf5\x2c\x0c\xad\x9e\x61\xef\xe8\x5f\x0c\x47\xf2\x97\x13\x34\x21\xd8\x75\xe3\xe9\xe5\x60\xef\x87\x5e\x88\x4c\xe6\x5a\x7c\x68\x9a\x94\xff\xf1\x4f\x90\xdf\x89\x79\x9e\xbb\xf7\x5f\x63\x4f\xe1\xf2\x70\xad\xed\x29\x5a\x8e\xc3\x09\xb0\xa7\x70\xd9\xaa\x32\xac\x07\xdb\x8c\x18\xb4\xcb\xfc\x12\xe3\xed\xe1\x4a\xbf\xc4\x70\x3b\xb0\x6a\xa3\x76\xfd\x6a\x11\xa7\xdb\xb0\x91\x69\x22\x76\xf3\xf9\x24\x96\xac\xba\x10\xe2\x86\xb4\xae\x8f\xcc\xf3\xba\x3a\xff\xe8\x52\xa0\x6c\xbd\xa1\x7a\x93\xac\x0b\xc1\xae\xd8\x6b\xb4\x4f\xc1\xb2\xb8\xd9\xdd\xa7\x30\x39\x52\x9a\x4f\xa7\xdc\xc0\x35\x44\xbb\x45\x73\x91\x75\xbc\x12\xde\x28\x2e\xec\xde\x9c\x20\x58\x73\x51\x2d\x97\x20\xb4\xfa\x85\xf5\x14\x82\xd0\xea\x17\xd6\x4b\xac\x44\x89\x14\x7c\xc7\x6e\x19\x58\xed\x0f\xf2\x96\x61\x55\xf1\x82\x62\x17\x82\xdd\xba\x70\xd3\x85\x10\xb7\xf0\xf2\x5c\x55\x36\x62\x4b\x8b\x2e\x44\xbb\x59\x73\x51\xf5\x5b\x09\x31\xb8\x6d\x43\xb4\x6b\x35\x17\x35\xe2\xd8\x08\x76\x85\x06\x77\x0b\xd1\x2e\x67\x55\x66\xd4\x93\x04\x4d\xf1\xc6\xb3\xfa\x12\xe3\x6d\xaf\xdb\xa8\x16\x73\x41\x3c\xa5\xe5\x1d\x95\x96\xae\x29\x5c\x8e\xaa\x8c\x1a\xe5\x49\x23\xab\x32\xb4\x25\x59\x8d\x62\x34\x19\x75\x1f\xce\x9a\x44\x3e\x12\xb3\x17\x6d\x67\x17\x82\xdd\xc8\x8a\x1b\x7f\x83\xf1\xd6\xdd\xcd\xf2\x7b\x49\xff\x13\x00\x00\xff\xff\x36\x6c\x84\xa3\x78\x75\x00\x00") func dataSimplewallUpdateBlocklistXmlBytes() ([]byte, error) { return bindataRead( _dataSimplewallUpdateBlocklistXml, "data/simplewall/update/blocklist.xml", ) } func dataSimplewallUpdateBlocklistXml() (*asset, error) { bytes, err := dataSimplewallUpdateBlocklistXmlBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "data/simplewall/update/blocklist.xml", size: 30072, mode: os.FileMode(0666), modTime: time.Unix(1570576452, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb6, 0xf8, 0xad, 0x3e, 0xaa, 0xc4, 0x68, 0x6, 0xdb, 0xfb, 0xfa, 0x5e, 0xba, 0xb1, 0xf8, 0xea, 0x9e, 0xdc, 0x1f, 0xb2, 0xde, 0xa2, 0x81, 0x64, 0x9e, 0xab, 0x1f, 0xf5, 0x38, 0x0, 0xf1, 0xd}} return a, nil } var _appConf = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x92\x4b\x6b\xe3\x30\x10\xc7\xef\xf9\x14\x83\x60\x2f\xa1\x91\x1b\x37\xee\x76\x7d\x6d\xf6\x50\xd8\x6e\x03\x61\xc9\xa1\xf4\xa0\xc8\x63\x47\xd4\xd6\x08\x49\xce\x83\x25\xdf\x7d\x91\x92\xf8\x01\x3d\x2c\xc2\xa0\xf9\xcd\xcc\x7f\x1e\xf2\xdf\x09\x00\xdb\xa3\x75\x8a\x34\xcb\x81\x2d\x78\xba\xe0\xf7\xec\x2e\xe0\x02\xb7\x6d\xc5\x72\x28\x45\xed\x30\x92\xd6\xe1\xcf\x66\x8b\x45\x81\xc5\x52\x78\xc1\x72\xf0\xb6\xbd\xb8\x8c\xa5\xa3\x2a\x15\x5a\x96\x43\x10\x05\x60\x35\x55\x2b\xe1\x77\x41\xf6\x39\x4f\xfe\x38\xb4\x2e\x79\x6f\x1d\x5a\x2d\x1a\xfc\x48\x96\x24\xdb\x06\xb5\x77\xc9\xea\x96\x9b\xfc\xa2\x8a\xfb\xa3\x67\x13\x80\x73\x94\x75\x27\xd7\xc4\xce\xae\x9a\xb8\xf7\xc7\x81\xe8\xe6\xe5\xf7\xf2\x6d\xb3\x4e\xdc\xc9\x79\x6c\x1e\xd2\xe4\xa0\x34\xee\x7d\xd0\x71\xc9\xab\x92\x96\x1c\x95\x7e\xb6\x51\xba\xa0\x83\x9b\xad\xa3\xda\xb7\xc5\x9b\x41\x2b\xbc\x22\x2d\x6a\x1e\x14\xfb\x7a\x07\x65\xd1\xed\x84\xfd\xec\x4b\x1a\x29\x8c\xfe\xcf\x49\x36\xb7\xf4\x44\x0a\xc3\x2f\x99\x71\x99\x00\x4c\x0a\xe3\x5b\x8b\x9d\x30\x00\x53\xda\xa3\x2d\x85\x0c\x70\x7e\x77\xa3\xa5\xaa\x7d\xdc\x23\xd3\xe4\x41\x58\x03\x42\x17\x60\xc8\x7a\x08\x20\x7b\x88\x76\xb8\x2a\xd9\x98\x91\xf1\xd8\x59\x5b\x4b\xa2\x90\xc2\xc5\x5d\x02\x9c\xbb\x09\xf1\x28\xeb\xb6\xe8\xdb\x60\xca\x38\x96\xc3\xfb\xad\xfa\x3d\x8f\x87\x75\xed\xcc\xd3\xef\x11\xcd\x07\xe8\x47\xca\xe7\x8f\x4f\x01\xcf\xfa\x7b\x9a\x65\x7d\xc8\x13\x8f\x67\x0c\x16\x7c\xd1\x83\x34\xcb\xf8\xe0\xbb\xf4\xf9\x71\x5d\xd6\x8e\x9c\x1f\xb5\xf5\x7a\x7a\xa6\xc6\xb4\x61\x31\x9d\x42\x4d\x52\xd4\x21\xf2\x0b\xc4\xe3\xad\xa0\x46\x28\xdd\xbb\xa7\x17\xdc\x83\x13\xb5\xf6\x65\xbd\xe2\x92\x9a\x61\xd4\x97\xb8\xfb\x37\x38\xd9\x6a\x18\x3d\x76\x8c\xe6\x20\x5b\x8d\xc6\x98\x86\xd7\xde\x12\x7d\x4e\xaf\x71\xe1\x5d\x26\xe7\xc9\xbf\x00\x00\x00\xff\xff\xdd\x4e\x63\xff\x88\x03\x00\x00") func appConfBytes() ([]byte, error) { return bindataRead( _appConf, "app.conf", ) } func appConf() (*asset, error) { bytes, err := appConfBytes() if err != nil { return nil, err } info := bindataFileInfo{name: "app.conf", size: 904, mode: os.FileMode(0666), modTime: time.Unix(1570578627, 0)} a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6f, 0x4e, 0x96, 0xb7, 0x9b, 0xa1, 0x4a, 0xdf, 0x34, 0xc1, 0xcb, 0x5b, 0xcb, 0x72, 0x33, 0xeb, 0xdf, 0x5b, 0xb9, 0x35, 0xdd, 0xc8, 0xd0, 0xcf, 0x7b, 0x20, 0x11, 0x8c, 0x3c, 0x2d, 0x8d, 0x92}} return a, nil } // Asset loads and returns the asset for the given name. // It returns an error if the asset could not be found or // could not be loaded. func Asset(name string) ([]byte, error) { canonicalName := strings.Replace(name, "\\", "/", -1) if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err) } return a.bytes, nil } return nil, fmt.Errorf("Asset %s not found", name) } // AssetString returns the asset contents as a string (instead of a []byte). func AssetString(name string) (string, error) { data, err := Asset(name) return string(data), err } // MustAsset is like Asset but panics when Asset would return an error. // It simplifies safe initialization of global variables. func MustAsset(name string) []byte { a, err := Asset(name) if err != nil { panic("asset: Asset(" + name + "): " + err.Error()) } return a } // MustAssetString is like AssetString but panics when Asset would return an // error. It simplifies safe initialization of global variables. func MustAssetString(name string) string { return string(MustAsset(name)) } // AssetInfo loads and returns the asset info for the given name. // It returns an error if the asset could not be found or // could not be loaded. func AssetInfo(name string) (os.FileInfo, error) { canonicalName := strings.Replace(name, "\\", "/", -1) if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err) } return a.info, nil } return nil, fmt.Errorf("AssetInfo %s not found", name) } // AssetDigest returns the digest of the file with the given name. It returns an // error if the asset could not be found or the digest could not be loaded. func AssetDigest(name string) ([sha256.Size]byte, error) { canonicalName := strings.Replace(name, "\\", "/", -1) if f, ok := _bindata[canonicalName]; ok { a, err := f() if err != nil { return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s can't read by error: %v", name, err) } return a.digest, nil } return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s not found", name) } // Digests returns a map of all known files and their checksums. func Digests() (map[string][sha256.Size]byte, error) { mp := make(map[string][sha256.Size]byte, len(_bindata)) for name := range _bindata { a, err := _bindata[name]() if err != nil { return nil, err } mp[name] = a.digest } return mp, nil } // AssetNames returns the names of the assets. func AssetNames() []string { names := make([]string, 0, len(_bindata)) for name := range _bindata { names = append(names, name) } return names } // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ "app/settings.json": appSettingsJson, "data/dnscrypt/extra.txt": dataDnscryptExtraTxt, "data/dnscrypt/spy.txt": dataDnscryptSpyTxt, "data/dnscrypt/update.txt": dataDnscryptUpdateTxt, "data/firewall/extra.txt": dataFirewallExtraTxt, "data/firewall/spy.txt": dataFirewallSpyTxt, "data/firewall/update.txt": dataFirewallUpdateTxt, "data/hosts/extra.txt": dataHostsExtraTxt, "data/hosts/extra_v6.txt": dataHostsExtra_v6Txt, "data/hosts/spy.txt": dataHostsSpyTxt, "data/hosts/spy_v6.txt": dataHostsSpy_v6Txt, "data/hosts/update.txt": dataHostsUpdateTxt, "data/hosts/update_v6.txt": dataHostsUpdate_v6Txt, "data/ncsi/ncsi.txt": dataNcsiNcsiTxt, "data/openwrt/extra/dnsmasq.conf": dataOpenwrtExtraDnsmasqConf, "data/openwrt/extra/firewall.user": dataOpenwrtExtraFirewallUser, "data/openwrt/spy/dnsmasq.conf": dataOpenwrtSpyDnsmasqConf, "data/openwrt/spy/firewall.user": dataOpenwrtSpyFirewallUser, "data/openwrt/update/dnsmasq.conf": dataOpenwrtUpdateDnsmasqConf, "data/openwrt/update/firewall.user": dataOpenwrtUpdateFirewallUser, "data/p2p/extra.txt": dataP2pExtraTxt, "data/p2p/spy.txt": dataP2pSpyTxt, "data/p2p/update.txt": dataP2pUpdateTxt, "data/proxifier/extra/domains.txt": dataProxifierExtraDomainsTxt, "data/proxifier/extra/ips.txt": dataProxifierExtraIpsTxt, "data/proxifier/spy/domains.txt": dataProxifierSpyDomainsTxt, "data/proxifier/spy/ips.txt": dataProxifierSpyIpsTxt, "data/proxifier/update/domains.txt": dataProxifierUpdateDomainsTxt, "data/proxifier/update/ips.txt": dataProxifierUpdateIpsTxt, "data/simplewall/extra/blocklist.xml": dataSimplewallExtraBlocklistXml, "data/simplewall/spy/blocklist.xml": dataSimplewallSpyBlocklistXml, "data/simplewall/update/blocklist.xml": dataSimplewallUpdateBlocklistXml, "app.conf": appConf, } // AssetDir returns the file names below a certain // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: // data/ // foo.txt // img/ // a.png // b.png // then AssetDir("data") would return []string{"foo.txt", "img"}, // AssetDir("data/img") would return []string{"a.png", "b.png"}, // AssetDir("foo.txt") and AssetDir("notexist") would return an error, and // AssetDir("") will return []string{"data"}. func AssetDir(name string) ([]string, error) { node := _bintree if len(name) != 0 { canonicalName := strings.Replace(name, "\\", "/", -1) pathList := strings.Split(canonicalName, "/") for _, p := range pathList { node = node.Children[p] if node == nil { return nil, fmt.Errorf("Asset %s not found", name) } } } if node.Func != nil { return nil, fmt.Errorf("Asset %s not found", name) } rv := make([]string, 0, len(node.Children)) for childName := range node.Children { rv = append(rv, childName) } return rv, nil } type bintree struct { Func func() (*asset, error) Children map[string]*bintree } var _bintree = &bintree{nil, map[string]*bintree{ "app": &bintree{nil, map[string]*bintree{ "settings.json": &bintree{appSettingsJson, map[string]*bintree{}}, }}, "app.conf": &bintree{appConf, map[string]*bintree{}}, "data": &bintree{nil, map[string]*bintree{ "dnscrypt": &bintree{nil, map[string]*bintree{ "extra.txt": &bintree{dataDnscryptExtraTxt, map[string]*bintree{}}, "spy.txt": &bintree{dataDnscryptSpyTxt, map[string]*bintree{}}, "update.txt": &bintree{dataDnscryptUpdateTxt, map[string]*bintree{}}, }}, "firewall": &bintree{nil, map[string]*bintree{ "extra.txt": &bintree{dataFirewallExtraTxt, map[string]*bintree{}}, "spy.txt": &bintree{dataFirewallSpyTxt, map[string]*bintree{}}, "update.txt": &bintree{dataFirewallUpdateTxt, map[string]*bintree{}}, }}, "hosts": &bintree{nil, map[string]*bintree{ "extra.txt": &bintree{dataHostsExtraTxt, map[string]*bintree{}}, "extra_v6.txt": &bintree{dataHostsExtra_v6Txt, map[string]*bintree{}}, "spy.txt": &bintree{dataHostsSpyTxt, map[string]*bintree{}}, "spy_v6.txt": &bintree{dataHostsSpy_v6Txt, map[string]*bintree{}}, "update.txt": &bintree{dataHostsUpdateTxt, map[string]*bintree{}}, "update_v6.txt": &bintree{dataHostsUpdate_v6Txt, map[string]*bintree{}}, }}, "ncsi": &bintree{nil, map[string]*bintree{ "ncsi.txt": &bintree{dataNcsiNcsiTxt, map[string]*bintree{}}, }}, "openwrt": &bintree{nil, map[string]*bintree{ "extra": &bintree{nil, map[string]*bintree{ "dnsmasq.conf": &bintree{dataOpenwrtExtraDnsmasqConf, map[string]*bintree{}}, "firewall.user": &bintree{dataOpenwrtExtraFirewallUser, map[string]*bintree{}}, }}, "spy": &bintree{nil, map[string]*bintree{ "dnsmasq.conf": &bintree{dataOpenwrtSpyDnsmasqConf, map[string]*bintree{}}, "firewall.user": &bintree{dataOpenwrtSpyFirewallUser, map[string]*bintree{}}, }}, "update": &bintree{nil, map[string]*bintree{ "dnsmasq.conf": &bintree{dataOpenwrtUpdateDnsmasqConf, map[string]*bintree{}}, "firewall.user": &bintree{dataOpenwrtUpdateFirewallUser, map[string]*bintree{}}, }}, }}, "p2p": &bintree{nil, map[string]*bintree{ "extra.txt": &bintree{dataP2pExtraTxt, map[string]*bintree{}}, "spy.txt": &bintree{dataP2pSpyTxt, map[string]*bintree{}}, "update.txt": &bintree{dataP2pUpdateTxt, map[string]*bintree{}}, }}, "proxifier": &bintree{nil, map[string]*bintree{ "extra": &bintree{nil, map[string]*bintree{ "domains.txt": &bintree{dataProxifierExtraDomainsTxt, map[string]*bintree{}}, "ips.txt": &bintree{dataProxifierExtraIpsTxt, map[string]*bintree{}}, }}, "spy": &bintree{nil, map[string]*bintree{ "domains.txt": &bintree{dataProxifierSpyDomainsTxt, map[string]*bintree{}}, "ips.txt": &bintree{dataProxifierSpyIpsTxt, map[string]*bintree{}}, }}, "update": &bintree{nil, map[string]*bintree{ "domains.txt": &bintree{dataProxifierUpdateDomainsTxt, map[string]*bintree{}}, "ips.txt": &bintree{dataProxifierUpdateIpsTxt, map[string]*bintree{}}, }}, }}, "simplewall": &bintree{nil, map[string]*bintree{ "extra": &bintree{nil, map[string]*bintree{ "blocklist.xml": &bintree{dataSimplewallExtraBlocklistXml, map[string]*bintree{}}, }}, "spy": &bintree{nil, map[string]*bintree{ "blocklist.xml": &bintree{dataSimplewallSpyBlocklistXml, map[string]*bintree{}}, }}, "update": &bintree{nil, map[string]*bintree{ "blocklist.xml": &bintree{dataSimplewallUpdateBlocklistXml, map[string]*bintree{}}, }}, }}, }}, }} // RestoreAsset restores an asset under the given directory. func RestoreAsset(dir, name string) error { data, err := Asset(name) if err != nil { return err } info, err := AssetInfo(name) if err != nil { return err } err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755)) if err != nil { return err } err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode()) if err != nil { return err } return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime()) } // RestoreAssets restores an asset under the given directory recursively. func RestoreAssets(dir, name string) error { children, err := AssetDir(name) // File if err != nil { return RestoreAsset(dir, name) } // Dir for _, child := range children { err = RestoreAssets(dir, filepath.Join(name, child)) if err != nil { return err } } return nil } func _filePath(dir, name string) string { canonicalName := strings.Replace(name, "\\", "/", -1) return filepath.Join(append([]string{dir}, strings.Split(canonicalName, "/")...)...) }
218.205937
11,157
0.741041
4ef77cb8295f8f1e90370c72d417ed17e70c0bd2
537
hpp
C++
engine/generators/crypts/include/ICryptLayoutStrategy.hpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
null
null
null
engine/generators/crypts/include/ICryptLayoutStrategy.hpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
null
null
null
engine/generators/crypts/include/ICryptLayoutStrategy.hpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
null
null
null
#pragma once #include <tuple> #include "common.hpp" #include "Directions.hpp" #include "Map.hpp" // Interface for defining crypt layout strategies. These operate on a // given map and crypt boundary, producing the characteristic look of the // crypt: pillars, rooms, a central vault, etc. class ICryptLayoutStrategy { public: virtual void create_layout(MapPtr map, const std::tuple<Coordinate, Coordinate, Coordinate>& stair_loc_and_room_boundary) = 0; }; using ICryptLayoutStrategyPtr = std::shared_ptr<ICryptLayoutStrategy>;
29.833333
130
0.772812
93b9856a68ddc9cd556620db44aa858dc3f585b0
4,864
cs
C#
Platforms/Anf.Desktop/Services/TitleService.cs
Cricle/Anf
7eec885019e9de974baf4b8286ff40448ea86a24
[ "BSD-3-Clause" ]
null
null
null
Platforms/Anf.Desktop/Services/TitleService.cs
Cricle/Anf
7eec885019e9de974baf4b8286ff40448ea86a24
[ "BSD-3-Clause" ]
64
2021-05-26T11:16:13.000Z
2022-03-30T13:10:53.000Z
Platforms/Anf.Desktop/Services/TitleService.cs
Cricle/Anf
7eec885019e9de974baf4b8286ff40448ea86a24
[ "BSD-3-Clause" ]
1
2021-07-20T04:52:10.000Z
2021-07-20T04:52:10.000Z
using Avalonia; using Avalonia.Controls; using Avalonia.Data; using Avalonia.Layout; using Anf.Desktop.Views; using Anf.Services; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Avalonia.Media; using Avalonia.Interactivity; using Avalonia.Controls.Primitives; using Anf.Desktop.Converters; using Avalonia.Themes.Fluent; using Microsoft.Toolkit.Mvvm.ComponentModel; namespace Anf.Desktop.Services { internal class TitleService : ObservableObject { public const double FontSizeFactor = 0.45d; public TitleService() { var tbx = new TextBlock { MaxWidth = 280, TextTrimming = TextTrimming.WordEllipsis }; TitleControl = tbx; tbx.Bind(TextBlock.TextProperty,new Binding(nameof(Title)) { Source = this }); tbx.Bind(ToolTip.TipProperty, new Binding(nameof(Title)) { Source = this }); LeftControls = new SilentObservableCollection<IControl>(); } private void OnFavoriteButtonClick(object sender, RoutedEventArgs e) { var navSer = AppEngine.GetRequiredService<MainNavigationService>(); navSer.Navigate<BookshelfView>(); } public void CreateControls() { GoBackButton = CreateIconButton<Button>("\xE72B"); GoBackButton.Click += OnGoBackButtonClick; FavoriteButton = CreateIconButton<Button>("\xE8F1"); FavoriteButton.Click += OnFavoriteButtonClick; var v = new SettingsControlView(); LeftControls.AddRange(new IControl[] { GoBackButton, FavoriteButton,v }); } private TButton CreateIconButton<TButton>(string text) where TButton:Button,new() { var btn = new TButton { Background = null, HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Content = new TextBlock { Classes = new Classes("segoblock"), Text = text } }; btn.IsVisible = true; btn.Bind(Button.FontSizeProperty, new Binding(nameof(AdviseFontSize)) { Source = this }); return btn; } private void OnGoBackButtonClick(object sender, RoutedEventArgs e) { var navSer = AppEngine.GetRequiredService<MainNavigationService>(); navSer.GoBack(); } private void BackButton_Click(object sender, RoutedEventArgs e) { var navSer = AppEngine.GetRequiredService<MainNavigationService>(); navSer.GoBack(); } private string title; private IDisposable binder; private IControl titleControl; private double adviseFontSize; private double offsceneHeight; private bool titleVisible=true; private MainWindow window; public MainWindow Window { get { return window; } private set => SetProperty(ref window, value); } public bool TitleVisible { get { return titleVisible; } set => SetProperty(ref titleVisible, value); } public double OffsceneHeight { get { return offsceneHeight; } private set => SetProperty(ref offsceneHeight, value); } public double AdviseFontSize { get { return adviseFontSize; } private set => SetProperty(ref adviseFontSize, value); } public IControl TitleControl { get { return titleControl; } set => SetProperty(ref titleControl, value); } public string Title { get => title; set { SetProperty(ref title, value); } } public Button GoBackButton { get; private set; } public Button FavoriteButton { get; private set; } public SilentObservableCollection<IControl> LeftControls { get; } public void UnBind() { binder?.Dispose(); } public void Bind(MainWindow window) { UnBind(); Window = window; binder= window.BindDecorationMargin(RaiseMargin); } private void RaiseMargin(Thickness x) { OffsceneHeight = (x.Bottom + x.Top); AdviseFontSize = OffsceneHeight * FontSizeFactor; } } }
31.584416
102
0.566201
af0a6ba9f92fc120ac6d49e520ef2dc9c523705d
3,645
py
Python
vmman.py
UCSD-E4E/vmman-mangrove
92f4b18d711c2ea7a910f9718e5d7fffeffd1b8a
[ "MIT" ]
1
2021-11-28T09:51:54.000Z
2021-11-28T09:51:54.000Z
vmman.py
UCSD-E4E/vmman-mangrove
92f4b18d711c2ea7a910f9718e5d7fffeffd1b8a
[ "MIT" ]
null
null
null
vmman.py
UCSD-E4E/vmman-mangrove
92f4b18d711c2ea7a910f9718e5d7fffeffd1b8a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import docker import argparse import configparser import json import time from tabulate import tabulate import sys class DockerAutomation(): @staticmethod def start_container(container_ind, client): print(config["ids"][container_ind]) container = client.containers.get(config["ids"][container_ind]) if container.attrs["State"]["Running"]: print("Docker container {} with ID {} already running, getting VNC URL".format(container_ind, container.attrs["Config"]["Hostname"])) output = container.exec_run("curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url") url = json.loads(output.output)["tunnels"][0]["public_url"] print("URL for VNC access is: {}".format(url)) else: print("Starting Docker container {} with ID {}, getting VNC URL".format(container_ind, container.attrs["Config"]["Hostname"])) container.start() container.exec_run("ngrok http 80", stdout=False, stream=True ) time.sleep(5) output = container.exec_run("curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url") url = json.loads(output.output)["tunnels"][0]["public_url"] print("NOTE: This url will only last for the current session, do not save this url or use it after you have stopped your container") print("URL for VNC access is: {}".format(url)) @staticmethod def stop_container(container_ind, client): container = client.containers.get(config["ids"][container_ind]) if container.attrs["State"]["Running"]: print("Stopping container {} with ID {}".format(container_ind, container.attrs["Config"]["Hostname"])) container.stop() else: print("Docker container {} with ID {} is not running".format(container_ind, container.attrs["Config"]["Hostname"])) @staticmethod def list_container(client): table_list = [["#","ID", "Name", "Status", "Image"]] for id in config["ids"]: container = client.containers.get(config["ids"][id]) row = [id, container.short_id, container.name, container.status, container.image.tags[0]] table_list.append(row) print(tabulate(table_list)) if __name__ == "__main__": config = configparser.ConfigParser() config.read("/home/container_ids") parser = argparse.ArgumentParser(description='Start given docker containers, and give url for novnc.') parser.add_argument('-start', help='Starts the given docker container and gives url for novnc', nargs=1, default= None) parser.add_argument('-stop', help='Stops the given docker container', nargs=1, default= None) parser.add_argument('-list', help='Lists all docker VMs and their current state', action='store_true') args = parser.parse_args() client = docker.from_env() if len(sys.argv)==1: # display help message when no args are passed. print("Please enter a valid id for a docker VM") parser.print_help() sys.exit(1) if args.start != None: assert args.start[0] in config["ids"], "ID not in container config file" DockerAutomation.start_container(args.start[0], client) elif args.stop != None: assert args.stop[0] in config["ids"], "ID not in container config file" DockerAutomation.stop_container(args.stop[0], client) elif args.list == True: DockerAutomation.list_container(client)
40.955056
145
0.634294
b0b7aedc8f2a2fd907e432c691267c6324862b96
2,724
kt
Kotlin
app/src/main/kotlin/com/github/diamondminer88/app/MainActivity.kt
DiamondMiner88/zip-android
fdb94c94307769f028e96ab680a9e8cf89bd193d
[ "Apache-2.0" ]
null
null
null
app/src/main/kotlin/com/github/diamondminer88/app/MainActivity.kt
DiamondMiner88/zip-android
fdb94c94307769f028e96ab680a9e8cf89bd193d
[ "Apache-2.0" ]
null
null
null
app/src/main/kotlin/com/github/diamondminer88/app/MainActivity.kt
DiamondMiner88/zip-android
fdb94c94307769f028e96ab680a9e8cf89bd193d
[ "Apache-2.0" ]
null
null
null
package com.github.diamondminer88.app import android.Manifest import android.content.pm.PackageManager import android.os.Bundle import android.os.Environment import android.util.Log import androidx.appcompat.app.AppCompatActivity import androidx.core.app.ActivityCompat import com.github.diamondminer88.zip.ZipReader import com.github.diamondminer88.zip.ZipWriter import java.io.File import kotlin.system.measureNanoTime const val TAG = "zip-android" class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) if (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) return requestPermissions() val baseDir = File(Environment.getExternalStorageDirectory(), "/zip-android") val zipFile = File(baseDir, "testzip.zip") baseDir.mkdir() zipFile.createNewFile() zipFile.writeBytes(resources.openRawResource(R.raw.testzip).readBytes()) ZipReader(zipFile).use { zip -> Log.i(TAG, "Entry count: ${zip.entryCount}") Log.i(TAG, "Entries: ${zip.entryNames.joinToString()}") zip.forEach { Log.i(TAG, "Entry: ${it.name} Size: ${it.size} Modified: ${it.lastModified} " + "JNI time: ${measureNanoTime { it.size }}ns") if (!it.isDir) { Log.i(TAG, "Content: ${it.read().decodeToString()}") } } } ZipWriter(zipFile, true).use { zip -> zip.setComment("a comment".toByteArray()) zip.deleteEntries("abc.txt") val text = "hot garbage".toByteArray() zip.writeEntry("compressed.txt", text) zip.writeEntryUncompressed("uncompressed.txt", text) zip.writeAligned("aligned.txt", 4, text) zip.writeUncompressedAligned("uncompressedaligned.txt", 4, text) } ZipReader(zipFile).use { zip -> Log.i(TAG, "Modified zip comment: ${zip.comment}") Log.i(TAG, "Modified zip entries: ${zip.entryNames.joinToString()}") val content = zip.openEntry("compressed.txt")?.read()?.decodeToString() Log.i(TAG, "Created entry content: $content") } } private fun requestPermissions() { val requestId = 1 val storagePerms = arrayOf( Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE ) ActivityCompat.requestPermissions( this, storagePerms, requestId ) } }
35.376623
113
0.629222
cc6dc1d7d7e1677143ef33fe81a63c63328e2d8d
68
asm
Assembly
data/maps/headers/CinnabarGym.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
1
2022-02-15T00:19:44.000Z
2022-02-15T00:19:44.000Z
data/maps/headers/CinnabarGym.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
data/maps/headers/CinnabarGym.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
map_header CinnabarGym, CINNABAR_GYM, FACILITY, 0 end_map_header
17
50
0.823529
1b3844e2f06326913dbbb5d53245de2799631351
1,071
rb
Ruby
homehero-backend/app/controllers/listings_controller.rb
sandienunez/dc-listings
93f3a0066eab87fe085d0c8f921aa227c12d0a7b
[ "MIT" ]
null
null
null
homehero-backend/app/controllers/listings_controller.rb
sandienunez/dc-listings
93f3a0066eab87fe085d0c8f921aa227c12d0a7b
[ "MIT" ]
null
null
null
homehero-backend/app/controllers/listings_controller.rb
sandienunez/dc-listings
93f3a0066eab87fe085d0c8f921aa227c12d0a7b
[ "MIT" ]
1
2020-11-14T23:39:53.000Z
2020-11-14T23:39:53.000Z
class ListingsController < ApplicationController def index listings = Listing.all.reverse render json: listings #response #JSON you get back in your fetch comes from this line end def show listing = Listing.find(params[:id]) render json: listing end def create listing = Listing.new(listing_params) # binding.pry if listing.save render json: listing, status: :accepted else render json: {errors: listing.errors.full_messages} end end def update if listing.update(listing_params) render json: listing else render json: {errors: listing.errors.full_messages} end end def destroy listing = Listing.find(params[:id]) # binding.pry listing.destroy end private def listing_params params.require(:listing).permit(:ad_name, :business_name, :home_service_id,:ad_message, :updated_at, :business_site_url) end end
24.906977
128
0.602241
a44dd966fc720190f36ec77ac814d1ef43af738e
4,131
php
PHP
application/views/dashboard_backup/cms/contenido/ver.php
Qonvolicional/negocioverde
ee3cc291230ef8396da7ae22599ee109a6e75e4d
[ "MIT" ]
null
null
null
application/views/dashboard_backup/cms/contenido/ver.php
Qonvolicional/negocioverde
ee3cc291230ef8396da7ae22599ee109a6e75e4d
[ "MIT" ]
null
null
null
application/views/dashboard_backup/cms/contenido/ver.php
Qonvolicional/negocioverde
ee3cc291230ef8396da7ae22599ee109a6e75e4d
[ "MIT" ]
null
null
null
<div class="content-wrapper"> <section class="content-header"> <h1> Contenidos <small>Ver | Editar </small> </h1> <ol class="breadcrumb"> <li><a href="<?php echo base_url(); ?>dashboard"><i class="fa fa-dashboard"></i> Administración</a></li> <li><a href="<?php echo base_url(); ?>dashboard"><i class="fa fa-dashboard"></i> Contenido</a></li> <li class="active">Modificar</li> </ol> </section> <section class="content"> <div class="box"> <div class="box box-success col-sm-4"> <div class="box-header with-border"> <h3 class="box-title"></h3> </div> <?php switch ($acc) { case 'eliminar': $url = base_url().'cms/contenido/eliminar/'.$id; $btn = "Eliminar Registro"; $class ="danger"; break; case 'editar': $url = $btn = "Guardar Cambios"; $class="success"; break; } foreach ($registro as $r) { ?> <form role="form" method="post" action="<?php echo base_url().'cms/contenido/editar/'.$id; ?>" enctype="multipart/form-data"> <div class="box-body"> <div class="row"> <div class="col-sm"> <div class="<?php echo $this->session->flashdata('alert_data'); ?>"><strong><?php echo $this->session->flashdata('mensaje'); ?></strong></div> </div> </div> <div class="row"> <div class="form-group"> <label for="titulo">Título de la Publicación</label> <input type="hidden" name="url" id="url" value="<?php echo base_url(); ?>"> <input type="text" class="form-control" id="titulo" name="titulo" placeholder="Ingrese el Nombre del Menu" value="<?php echo $r->titulo; ?>" required="required"> </div> </div> <div class="row"> <div class="form-group"> <label for="contenido">Cuerpo de la Publicación</label> <textarea class="editor form-control" id="contenido" name="contenido" placeholder="Ingrese el contenido" required="required"><?php echo $r->cuerpo; ?></textarea> </div> </div> <div class="row"> <div class="form-group"> <label for="categoria">Categoria del Contenido </label> <select multiple class="form-control" name="categoria" id="categoria" required="required"> <?php foreach ($categorias as $categoria) { if ($r->id_categoria == $categoria->id){ $opc = "selected"; }else{$opc ="";} echo "<option value='$categoria->id' $opc>$categoria->nombre_categoria</option>"; } ?> </select> </div> </div> <div class="row"> <div class="form-group"> <label for="imagen">Imagen de la Publicación</label> <input type="file" name="imagen" id="imagen" class="form-control"> </div> </div> </div> <div class="box-footer pull-right"> <a href="<?php echo base_url(); ?>cms/contenido" name="btn-atras" id="btn-atras" class="btn btn-warning" style="margin-right: 5px;"><span class="fa fa-backward"> Cancelar</span></a> <button type="submit" class="btn btn-<?php echo $class;?> pull-right"><i class="fa fa-save"></i> Guardar Cambios</button> </div> </form> <?php } ?> </div> </div> </section> </div>
38.25
193
0.448802
0a72be0e40dc49b541f19f6ea4da1243288bf101
167
cs
C#
tests/AutoMoqSlim.Tests/Models/ClassWithoutPublicConstructor.cs
sgtHoloToaster/AutoMoqSlim
477a0f661825320e7b09153f815b516d04a005cc
[ "MIT" ]
1
2021-11-13T11:04:38.000Z
2021-11-13T11:04:38.000Z
tests/AutoMoqSlim.Tests/Models/ClassWithoutPublicConstructor.cs
sgtHoloToaster/AutoMoqSlim
477a0f661825320e7b09153f815b516d04a005cc
[ "MIT" ]
3
2021-09-17T16:44:39.000Z
2021-09-20T13:32:53.000Z
tests/AutoMoqSlim.Tests/Models/ClassWithoutPublicConstructor.cs
sgtHoloToaster/AutoMoqSlim
477a0f661825320e7b09153f815b516d04a005cc
[ "MIT" ]
null
null
null
namespace AutoMoqSlim.Tests.Models { public class ClassWithoutPublicConstructor { private ClassWithoutPublicConstructor() { } } }
16.7
47
0.640719
31d4142a8e904c1893f47d44d817dd2138fb3380
654
rb
Ruby
spec/features/admin/admin_browse_spam_logs_spec.rb
abdullatif1992/gitlabhq
2de002b3db1bc199755f8be212fa8804fcb80905
[ "MIT" ]
30
2015-07-30T16:13:17.000Z
2020-01-15T23:47:44.000Z
spec/features/admin/admin_browse_spam_logs_spec.rb
abdullatif1992/gitlabhq
2de002b3db1bc199755f8be212fa8804fcb80905
[ "MIT" ]
11
2020-04-30T14:31:37.000Z
2022-03-02T07:17:53.000Z
spec/features/admin/admin_browse_spam_logs_spec.rb
abdullatif1992/gitlabhq
2de002b3db1bc199755f8be212fa8804fcb80905
[ "MIT" ]
26
2016-04-10T07:25:46.000Z
2019-07-05T07:47:01.000Z
require 'spec_helper' describe 'Admin browse spam logs' do let!(:spam_log) { create(:spam_log, description: 'abcde ' * 20) } before do sign_in(create(:admin)) end scenario 'Browse spam logs' do visit admin_spam_logs_path expect(page).to have_content('Spam Logs') expect(page).to have_content(spam_log.source_ip) expect(page).to have_content(spam_log.noteable_type) expect(page).to have_content('N') expect(page).to have_content(spam_log.title) expect(page).to have_content("#{spam_log.description[0...97]}...") expect(page).to have_link('Remove user') expect(page).to have_link('Block user') end end
28.434783
70
0.704893
46bd44c678fbbf817cf8e08baabdaee2acf3929f
523
py
Python
app.py
zhaokevinma/flask_project
29d9e3e0827d62d0d944e8dfb2d0c2c6471f4951
[ "MIT" ]
null
null
null
app.py
zhaokevinma/flask_project
29d9e3e0827d62d0d944e8dfb2d0c2c6471f4951
[ "MIT" ]
null
null
null
app.py
zhaokevinma/flask_project
29d9e3e0827d62d0d944e8dfb2d0c2c6471f4951
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request import requests app = Flask(__name__) @app.route("/") def index(): return render_template('index.html') @app.route("/result") def result(): resp = requests.get("http://api.open-notify.org/astros.json") resp_json = resp.json() people = resp_json['people'] res = [] for p in people: name = p['name'] res.append(name) return render_template('result.html', res = res) if __name__ == '__main__': app.run()
23.772727
66
0.615679
bb1e8c0b18cb914e5232e8733532b7b866b00ab4
494
cs
C#
Assets/Toolkits/Input/SavedInputRebindings.cs
wdmatthews/time-stranded
dba13fdc1d22267d4f6cd0acb3eca1b5cf3af556
[ "CC0-1.0" ]
null
null
null
Assets/Toolkits/Input/SavedInputRebindings.cs
wdmatthews/time-stranded
dba13fdc1d22267d4f6cd0acb3eca1b5cf3af556
[ "CC0-1.0" ]
null
null
null
Assets/Toolkits/Input/SavedInputRebindings.cs
wdmatthews/time-stranded
dba13fdc1d22267d4f6cd0acb3eca1b5cf3af556
[ "CC0-1.0" ]
null
null
null
using System.Collections.Generic; using UnityEngine; namespace Toolkits.Input { /// <summary> /// A serializable class to store input rebindings. /// </summary> [System.Serializable] public class SavedInputRebindings { /// <summary> /// The list of saved input rebindings. /// </summary> [Tooltip("The list of saved input rebindings.")] public List<SavedInputRebinding> InputRebindings = new List<SavedInputRebinding>(); } }
26
91
0.645749