commit a6071a407373ce3185814654a6cf0158c91cdb9b Author: Mike Phares Date: Mon Jun 3 07:04:29 2024 -0700 2024-06-03 diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..cf34b68 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,255 @@ +[*.md] +end_of_line = crlf +file_header_template = unset +indent_size = 2 +indent_style = space +insert_final_newline = false +root = true +tab_width = 2 +[*.cs] +csharp_indent_block_contents = true +csharp_indent_braces = false +csharp_indent_case_contents = true +csharp_indent_case_contents_when_block = true +csharp_indent_labels = one_less_than_current +csharp_indent_switch_labels = true +csharp_new_line_before_catch = true +csharp_new_line_before_else = true +csharp_new_line_before_finally = true +csharp_new_line_before_members_in_anonymous_types = true +csharp_new_line_before_members_in_object_initializers = true +csharp_new_line_before_open_brace = all +csharp_new_line_between_query_expression_clauses = true +csharp_prefer_braces = false +csharp_prefer_qualified_reference = true:error +csharp_prefer_simple_default_expression = true:warning +csharp_prefer_simple_using_statement = true:warning +csharp_prefer_static_local_function = true:warning +csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async +csharp_preserve_single_line_blocks = true +csharp_preserve_single_line_statements = false +csharp_space_after_cast = false +csharp_space_after_colon_in_inheritance_clause = true +csharp_space_after_comma = true +csharp_space_after_dot = false +csharp_space_after_keywords_in_control_flow_statements = true +csharp_space_after_semicolon_in_for_statement = true +csharp_space_around_binary_operators = before_and_after +csharp_space_around_declaration_statements = false +csharp_space_before_colon_in_inheritance_clause = true +csharp_space_before_comma = false +csharp_space_before_dot = false +csharp_space_before_open_square_brackets = false +csharp_space_before_semicolon_in_for_statement = false +csharp_space_between_empty_square_brackets = false +csharp_space_between_method_call_empty_parameter_list_parentheses = false +csharp_space_between_method_call_name_and_opening_parenthesis = false +csharp_space_between_method_call_parameter_list_parentheses = false +csharp_space_between_method_declaration_empty_parameter_list_parentheses = false +csharp_space_between_method_declaration_name_and_open_parenthesis = false +csharp_space_between_method_declaration_parameter_list_parentheses = false +csharp_space_between_parentheses = false +csharp_space_between_square_brackets = false +csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true +csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true +csharp_style_allow_embedded_statements_on_same_line_experimental = true +csharp_style_conditional_delegate_call = true +csharp_style_deconstructed_variable_declaration = false +csharp_style_expression_bodied_accessors = when_on_single_line:warning +csharp_style_expression_bodied_constructors = when_on_single_line:warning +csharp_style_expression_bodied_indexers = when_on_single_line:warning +csharp_style_expression_bodied_lambdas = when_on_single_line:warning +csharp_style_expression_bodied_local_functions = when_on_single_line:warning +csharp_style_expression_bodied_methods = when_on_single_line:warning +csharp_style_expression_bodied_operators = when_on_single_line:warning +csharp_style_expression_bodied_properties = when_on_single_line:warning +csharp_style_implicit_object_creation_when_type_is_apparent = true:warning +csharp_style_inlined_variable_declaration = false +csharp_style_namespace_declarations = file_scoped:warning +csharp_style_pattern_local_over_anonymous_function = true:warning +csharp_style_pattern_matching_over_as_with_null_check = true:warning +csharp_style_pattern_matching_over_is_with_cast_check = true:warning +csharp_style_prefer_index_operator = true:warning +csharp_style_prefer_not_pattern = true:warning +csharp_style_prefer_null_check_over_type_check = true +csharp_style_prefer_pattern_matching = true:warning +csharp_style_prefer_range_operator = true:warning +csharp_style_prefer_switch_expression = true:warning +csharp_style_throw_expression = true +csharp_style_unused_value_assignment_preference = discard_variable:warning +csharp_style_unused_value_expression_statement_preference = discard_variable:warning +csharp_style_var_elsewhere = false:warning +csharp_style_var_for_built_in_types = false:warning +csharp_style_var_when_type_is_apparent = false:warning +csharp_using_directive_placement = outside_namespace +dotnet_code_quality_unused_parameters = all +dotnet_code_quality_unused_parameters = non_public # IDE0060: Remove unused parameter +dotnet_code_quality.CAXXXX.api_surface = private, internal +dotnet_diagnostic.CA1825.severity = warning # CA1823: Avoid zero-length array allocations +dotnet_diagnostic.CA1829.severity = warning # CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1834.severity = warning # CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.IDE0001.severity = warning # IDE0001: Simplify name +dotnet_diagnostic.IDE0004.severity = warning # IDE0004: Cast is redundant. +dotnet_diagnostic.IDE0002.severity = warning # Simplify (member access) - System.Version.Equals("1", "2"); Version.Equals("1", "2"); +dotnet_diagnostic.IDE0005.severity = warning # Using directive is unnecessary +dotnet_diagnostic.IDE0031.severity = warning # Use null propagation (IDE0031) +dotnet_diagnostic.IDE0047.severity = warning # IDE0047: Parentheses can be removed +dotnet_diagnostic.IDE0049.severity = warning # Use language keywords instead of framework type names for type references (IDE0049) +dotnet_diagnostic.IDE0060.severity = warning # IDE0060: Remove unused parameter +dotnet_naming_rule.abstract_method_should_be_pascal_case.severity = warning +dotnet_naming_rule.abstract_method_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.abstract_method_should_be_pascal_case.symbols = abstract_method +dotnet_naming_rule.class_should_be_pascal_case.severity = warning +dotnet_naming_rule.class_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.class_should_be_pascal_case.symbols = class +dotnet_naming_rule.delegate_should_be_pascal_case.severity = warning +dotnet_naming_rule.delegate_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.delegate_should_be_pascal_case.symbols = delegate +dotnet_naming_rule.enum_should_be_pascal_case.severity = warning +dotnet_naming_rule.enum_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.enum_should_be_pascal_case.symbols = enum +dotnet_naming_rule.event_should_be_pascal_case.severity = warning +dotnet_naming_rule.event_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.event_should_be_pascal_case.symbols = event +dotnet_naming_rule.interface_should_be_begins_with_i.severity = warning +dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i +dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface +dotnet_naming_rule.method_should_be_pascal_case.severity = warning +dotnet_naming_rule.method_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.method_should_be_pascal_case.symbols = method +dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = warning +dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members +dotnet_naming_rule.private_method_should_be_pascal_case.severity = warning +dotnet_naming_rule.private_method_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.private_method_should_be_pascal_case.symbols = private_method +dotnet_naming_rule.private_or_internal_field_should_be_private_of_internal_field.severity = warning +dotnet_naming_rule.private_or_internal_field_should_be_private_of_internal_field.style = private_of_internal_field +dotnet_naming_rule.private_or_internal_field_should_be_private_of_internal_field.symbols = private_or_internal_field +dotnet_naming_rule.private_or_internal_static_field_should_be_private_of_internal_field.severity = warning +dotnet_naming_rule.private_or_internal_static_field_should_be_private_of_internal_field.style = private_of_internal_field +dotnet_naming_rule.private_or_internal_static_field_should_be_private_of_internal_field.symbols = private_or_internal_static_field +dotnet_naming_rule.property_should_be_pascal_case.severity = warning +dotnet_naming_rule.property_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.property_should_be_pascal_case.symbols = property +dotnet_naming_rule.public_or_protected_field_should_be_private_of_internal_field.severity = warning +dotnet_naming_rule.public_or_protected_field_should_be_private_of_internal_field.style = private_of_internal_field +dotnet_naming_rule.public_or_protected_field_should_be_private_of_internal_field.symbols = public_or_protected_field +dotnet_naming_rule.static_field_should_be_pascal_case.severity = warning +dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field +dotnet_naming_rule.static_method_should_be_pascal_case.severity = warning +dotnet_naming_rule.static_method_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.static_method_should_be_pascal_case.symbols = static_method +dotnet_naming_rule.struct_should_be_pascal_case.severity = warning +dotnet_naming_rule.struct_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.struct_should_be_pascal_case.symbols = struct +dotnet_naming_rule.types_should_be_pascal_case.severity = warning +dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.types_should_be_pascal_case.symbols = types +dotnet_naming_style.begins_with_i.capitalization = pascal_case +dotnet_naming_style.begins_with_i.required_prefix = I +dotnet_naming_style.begins_with_i.required_suffix = +dotnet_naming_style.begins_with_i.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.private_of_internal_field.capitalization = pascal_case +dotnet_naming_style.private_of_internal_field.required_prefix = _ +dotnet_naming_style.private_of_internal_field.required_suffix = +dotnet_naming_style.private_of_internal_field.word_separator = +dotnet_naming_symbols.abstract_method.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.abstract_method.applicable_kinds = method +dotnet_naming_symbols.abstract_method.required_modifiers = abstract +dotnet_naming_symbols.class.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.class.applicable_kinds = class +dotnet_naming_symbols.class.required_modifiers = +dotnet_naming_symbols.delegate.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.delegate.applicable_kinds = delegate +dotnet_naming_symbols.delegate.required_modifiers = +dotnet_naming_symbols.enum.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.enum.applicable_kinds = enum +dotnet_naming_symbols.enum.required_modifiers = +dotnet_naming_symbols.event.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.event.applicable_kinds = event +dotnet_naming_symbols.event.required_modifiers = +dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.interface.applicable_kinds = interface +dotnet_naming_symbols.interface.required_modifiers = +dotnet_naming_symbols.method.applicable_accessibilities = public +dotnet_naming_symbols.method.applicable_kinds = method +dotnet_naming_symbols.method.required_modifiers = +dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method +dotnet_naming_symbols.non_field_members.required_modifiers = +dotnet_naming_symbols.private_method.applicable_accessibilities = private +dotnet_naming_symbols.private_method.applicable_kinds = method +dotnet_naming_symbols.private_method.required_modifiers = +dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected +dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field +dotnet_naming_symbols.private_or_internal_field.required_modifiers = +dotnet_naming_symbols.private_or_internal_static_field.applicable_accessibilities = internal, private, private_protected +dotnet_naming_symbols.private_or_internal_static_field.applicable_kinds = field +dotnet_naming_symbols.private_or_internal_static_field.required_modifiers = static +dotnet_naming_symbols.property.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.property.applicable_kinds = property +dotnet_naming_symbols.property.required_modifiers = +dotnet_naming_symbols.public_or_protected_field.applicable_accessibilities = public, protected +dotnet_naming_symbols.public_or_protected_field.applicable_kinds = field +dotnet_naming_symbols.public_or_protected_field.required_modifiers = +dotnet_naming_symbols.static_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.static_field.applicable_kinds = field +dotnet_naming_symbols.static_field.required_modifiers = static +dotnet_naming_symbols.static_method.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.static_method.applicable_kinds = method +dotnet_naming_symbols.static_method.required_modifiers = static +dotnet_naming_symbols.struct.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.struct.applicable_kinds = struct +dotnet_naming_symbols.struct.required_modifiers = +dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum +dotnet_naming_symbols.types.required_modifiers = +dotnet_remove_unnecessary_suppression_exclusions = 0 +dotnet_separate_import_directive_groups = false +dotnet_sort_system_directives_first = false +dotnet_style_allow_multiple_blank_lines_experimental = false:warning +dotnet_style_allow_statement_immediately_after_block_experimental = true +dotnet_style_coalesce_expression = true +dotnet_style_collection_initializer = true:warning +dotnet_style_explicit_tuple_names = true:warning +dotnet_style_namespace_match_folder = true +dotnet_style_null_propagation = true:warning +dotnet_style_object_initializer = true:warning +dotnet_style_operator_placement_when_wrapping = beginning_of_line +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity +dotnet_style_parentheses_in_other_operators = never_if_unnecessary +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity +dotnet_style_predefined_type_for_locals_parameters_members = true +dotnet_style_predefined_type_for_member_access = true:warning +dotnet_style_prefer_auto_properties = true:warning +dotnet_style_prefer_compound_assignment = true:warning +dotnet_style_prefer_conditional_expression_over_assignment = false +dotnet_style_prefer_conditional_expression_over_return = false +dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning +dotnet_style_prefer_inferred_tuple_names = true:warning +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning +dotnet_style_prefer_simplified_boolean_expressions = true:warning +dotnet_style_prefer_simplified_interpolation = true +dotnet_style_qualification_for_event = false:error +dotnet_style_qualification_for_field = false +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_property = false:error +dotnet_style_readonly_field = true:warning +dotnet_style_require_accessibility_modifiers = for_non_interface_members +end_of_line = crlf +file_header_template = unset +indent_size = 4 +indent_style = space +insert_final_newline = false +root = true +tab_width = 4 +# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822 +# https://github.com/dotnet/aspnetcore/blob/main/.editorconfig +# https://github.com/dotnet/project-system/blob/main/.editorconfig \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07f632f --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +.Applications +.Barcode-Host-Tasks +.DevOps +.Fab +.kanbn +.stfolder +.stignore +.port +.vscode/Helper/** +.vscode/extensions/** + +node_modules + +*.xls +*.xlsx + +*sync-con-flict-2024* +sync.ffs_db diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..ff73823 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,14 @@ +# to exclude Obsidian workspace settings (including plugin and hotkey configurations) +.obsidian/* +!.obsidian/hotkeys.json +!.obsidian/app.json +!.obsidian/community-plugins.json +!.obsidian/core-plugins.json +!.obsidian/graph.json +!.obsidian/appearance.json + +**/.vscode/* + +*.json + +*.zip \ No newline at end of file diff --git a/.vscode/mklink.md b/.vscode/mklink.md new file mode 100644 index 0000000..381c96a --- /dev/null +++ b/.vscode/mklink.md @@ -0,0 +1,39 @@ +--- +type: "note" +created: "2024-01-14T02:18:08.120Z" +updated: "2024-01-22T18:30:18.823Z" +--- + +# mklink + +```bash +# https://stackoverflow.com/questions/10188485/windows-symbolic-link-target +dir +``` + +```bash Mon Jan 15 2024 17:36:31 GMT-0700 (Mountain Standard Time) +mklink /J "D:\5-Other-Small\Notes\Infineon\.Applications" "L:\DevOps\Mesa_FI\FI-Operations\Applications" +mklink /J "D:\5-Other-Small\Notes\Infineon\.Barcode-Host-Tasks" "D:\5-Other-Small\Kanban\Barcode-Host\tasks" +mklink /J "D:\5-Other-Small\Notes\Infineon\.DevOps" "L:\DevOps\Mesa_FI\FI-Operations\DevOps" +mklink /J "D:\5-Other-Small\Notes\Infineon\.Fab" "L:\DevOps\Mesa_FI\FI-Operations\Fab" +mklink /J "D:\5-Other-Small\Notes\Infineon\.port" "D:\5-Other-Small\Notes\EC-Documentation\port" +``` + +```bash Sat Jan 06 2024 09:09:50 GMT-0700 (Mountain Standard Time) +git init L:/Git/Notes-Infineon +mklink /J "L:\Git\Notes-Infineon\.Infineon" "D:\5-Other-Small\Notes\Infineon" +mklink /J "D:\5-Other-Small\Notes\Infineon\.git" "L:\Git\Notes-Infineon\.git" +``` + +```bash Sat Jan 06 2024 09:09:50 GMT-0700 (Mountain Standard Time) +git init L:/Git/Notes-Infineon +mklink /J "L:\Git\Notes-Infineon\.Infineon" "D:\Documents\Notes\Infineon" +mklink /J "D:\Documents\Notes\Infineon\.git" "L:\Git\Notes-Infineon\.git" +code "L:\Git\Notes-Infineon\.Infineon" +codium "L:\Git\Notes-Infineon\.Infineon" +code-insiders "L:\Git\Notes-Infineon\.Infineon" +``` + +```bash +mklink /J .kanbn "D:\5-Other-Small\Kanban\Infineon" +``` diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..aae336b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,64 @@ +{ + "files.eol": "\n", + "[markdown]": { + "editor.wordWrap": "off" + }, + "cSpell.words": [ + "Beelink", + "Hynix", + "Infineon", + "Kanban", + "mikepharesjr", + "Nexcloud", + "Nextcloud", + "nmap", + "Omni", + "PDSF", + "Syncthing", + "Tibco" + ], + "files.exclude": { + "**/node_modules": true + }, + "files.watcherExclude": { + "**/node_modules": true + }, + "foam.files.ignore": [ + ".foam/**/*", + ".stfolder/**/*", + ".UserSecrets/**/*", + "**/_layouts/**/*", + "**/_site/**/*", + "**/.vscode/**/*", + "**/node_modules/**/*" + ], + "kanbn.showBurndownButton": false, + "kanbn.showSprintButton": false, + "foam.links.hover.enable": false, + "foam.placeholders.exclude": [".kanbn/Archive/**/*"], + "foam.orphans.exclude": [ + ".Applications/**/*", + ".DevOps/**/*", + ".Fab/**/*", + ".journal/**/*" + ], + "foam.graph.style": { + "background": "#202020", + "node": { + "topic": "#bc2a3c", + "kanbn": "#ff7b00", + "basic-note": "#773b93", + "daily-note": "#ff9d00", + "note": "#f2cb1d", + "placeholder": "#ff9d00", + "tag": "#0494c1", + "bug": "#bc2a3c", + "epic": "#ff7b00", + "feature": "#773b93", + "issue": "#ff9d00", + "task": "#f2cb1d", + "test-case": "#ff9d00", + "user-story": "#0494c1" + } + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..82a8af1 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "File-Folder-Helper AOT s M Infineon _-Review", + "type": "shell", + "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/Git/Notes-Infineon/.Infineon -s 'L:/Git/Notes-Infineon/.Infineon/_-Review' -d 'L:/Git/Notes-Infineon/.Infineon/.vscode/Helper'", + "problemMatcher": [] + }, + { + "label": "Kanbn Console", + "type": "npm", + "script": "kanbn.board", + "problemMatcher": [] + }, + { + "label": "Kanbn Write Boad", + "type": "shell", + "command": "& kanbn board -j | L:/Git/kanbn2md/kanbn2md.exe >.kanbn/board.md", + "problemMatcher": [] + }, + { + "label": "Kanbn Write json", + "type": "npm", + "script": "kanbn.board.json", + "problemMatcher": [] + } + ] +} \ No newline at end of file diff --git a/1;1/2023-05-18.md b/1;1/2023-05-18.md new file mode 100644 index 0000000..846df05 --- /dev/null +++ b/1;1/2023-05-18.md @@ -0,0 +1,9 @@ +--- +type: "basic-note" +created: "2024-01-06T01:25:36.241Z" +updated: "2024-01-06T01:25:36.241Z" +--- + +# 2023 05 18 + +[Keyence Corporation of America](../CI-CD/Azure-DevOps/Phares/Tasks/keyence-corporation-of-america---quotation-12710033.md) diff --git a/1;1/2023-09-22.md b/1;1/2023-09-22.md new file mode 100644 index 0000000..92207b7 --- /dev/null +++ b/1;1/2023-09-22.md @@ -0,0 +1,17 @@ +--- +assigned: "" +progress: 0 +tags: + - '1:1' +type: "note" +created: "2024-01-06T01:25:36.338Z" +updated: "2024-01-06T01:25:36.338Z" +--- + +# 2023-09-22 1:1 with Marti + +- [ ] Chuck M. microware os9 shell can't execute +https://www.roug.org/retrocomputing/os/os9/os9guide.pdf +- [ ] nPort migration +- [ ] RCM HTR AMS reactor migration to 1 from 154 +- [ ] WaferCounter started on Win11 finished Win10 today diff --git a/1;1/2023-09-28.md b/1;1/2023-09-28.md new file mode 100644 index 0000000..a252188 --- /dev/null +++ b/1;1/2023-09-28.md @@ -0,0 +1,15 @@ +--- +assigned: "" +progress: 0 +tags: + - '1:1' +type: "note" +created: "2024-01-06T01:25:36.338Z" +updated: "2024-01-06T01:25:36.338Z" +--- + +# 2023-09-28 1:1 with Marti + +- [ ] EAF Stealth +- [ ] Dev Terminal Server +- [ ] Artifactory diff --git a/1;1/2023-10-19.md b/1;1/2023-10-19.md new file mode 100644 index 0000000..3e34b75 --- /dev/null +++ b/1;1/2023-10-19.md @@ -0,0 +1,16 @@ +--- +assigned: "" +progress: 0 +tags: + - '1:1' +type: "note" +created: "2024-01-06T01:25:36.338Z" +updated: "2024-01-06T01:25:36.338Z" +--- + +# 2023-10-19 1:1 with Marti + +- [ ] IQS DMC / DCS (EDA Data Collection / Data Processing) ownership +- [ ] Steve Carnie, ___ then ASM Reactor file property help +- [ ] Use of ~~DEV~~ Test / Staging servers/instance for ~~development~~ test / stage +- [ ] Stealth date diff --git a/1;1/2024-01-16.md b/1;1/2024-01-16.md new file mode 100644 index 0000000..35b50e4 --- /dev/null +++ b/1;1/2024-01-16.md @@ -0,0 +1,13 @@ +--- +type: "basic-note" +created: "2024-01-16T23:21:30.810Z" +updated: "2024-01-16T23:26:13.160Z" +--- + +# 2024-01-16 + +- [ ] IT/OS Supplied PC Types +- [ ] Temperature & Humidity +- [ ] Wafer Counter +- [ ] SECS/GEM success +- [ ] Inficon diff --git a/1;1/2024-01-24.md b/1;1/2024-01-24.md new file mode 100644 index 0000000..dd81d40 --- /dev/null +++ b/1;1/2024-01-24.md @@ -0,0 +1,24 @@ +--- +type: "basic-note" +created: "2024-01-24T16:28:03.164Z" +updated: "2024-01-31T13:33:39.767Z" +--- + +# 2024-01-24 + +- [ ] Temperature & Humidity +- [ ] TFS Build 1m 50s => 6m 16s +- [ ] TIBCO diagram for SAP + +- [ ] IT/OS Supplied PC Types +- [ ] Wafer Counter +- [ ] SECS/GEM success +- [ ] Inficon + +- Actively working on HgCV Unload Res 9 Pts. + - Waiting on OI Dev to review Thickness Only 5, 9 and 14 point data via API +- Last week I confirmed EAF listen to the wafer counter events and write a file with raw data. + - Now waiting on OI Dev availability +- I would like to request this item be canceled because Javier is getting a quote to add additional sensors as collect only to existing facilities system +- Data for both R39 and R41 PCRC runs are saved to file-share as PDSF. + - Waiting for Chad to review diff --git a/1;1/2024-05-14.md b/1;1/2024-05-14.md new file mode 100644 index 0000000..054ab7d --- /dev/null +++ b/1;1/2024-05-14.md @@ -0,0 +1,12 @@ +--- +type: "basic-note" +--- + +# 2024-01-24 + +- [x] [UWM @ LEO](../.kanbn/tasks/uwm-leo.md) + - All EC (Sealth) +- [x] FabGuard + - Sent e-mail +- [x] PTO + - Friday diff --git a/CEP/bio-rad-stratus-4.md b/CEP/bio-rad-stratus-4.md new file mode 100644 index 0000000..a2a9daa --- /dev/null +++ b/CEP/bio-rad-stratus-4.md @@ -0,0 +1,14 @@ +--- +type: "cep" +description: "" +created: "2024-01-06T01:25:36.239Z" +updated: "2024-01-06T01:25:36.239Z" +--- + +# BioRad Stratus 4 + +## Account(s) + +[eccleanroom](../account/eccleanroom.md) + +### MET08THFTIRSTRATUS diff --git a/CEP/cde6.md b/CEP/cde6.md new file mode 100644 index 0000000..72327c2 --- /dev/null +++ b/CEP/cde6.md @@ -0,0 +1,73 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.236Z" +updated: "2024-01-06T01:25:36.236Z" +--- + +# CDE6 + +[EAF](../EAF/eaf.md) + +10.95.154.9 +10.95.154.14 +10.95.154.34 +00:01:29:A1:F1:45 + +``` +Microsoft Windows [Version 6.1.7601] +Copyright (c) 2009 Microsoft Corporation. All rights reserved. + +C:\Users\ResMap>ipconfig /all + +Windows IP Configuration + + Host Name . . . . . . . . . . . . : frederic-PC + Primary Dns Suffix . . . . . . . : + Node Type . . . . . . . . . . . . : Hybrid + IP Routing Enabled. . . . . . . . : No + WINS Proxy Enabled. . . . . . . . : No + DNS Suffix Search List. . . . . . : na.ec.local + +Ethernet adapter EAF: + + Connection-specific DNS Suffix . : na.ec.local + Description . . . . . . . . . . . : Intel(R) Ethernet Connection I217-LM + Physical Address. . . . . . . . . : 00-01-29-A1-F1-45 + DHCP Enabled. . . . . . . . . . . : Yes + Autoconfiguration Enabled . . . . : Yes + Link-local IPv6 Address . . . . . : fe80::1582:21ed:d0b8:8f80%23(Preferred) + IPv4 Address. . . . . . . . . . . : 10.95.154.14(Preferred) + Subnet Mask . . . . . . . . . . . : 255.255.254.0 + Lease Obtained. . . . . . . . . . : Wednesday, June 28, 2023 1:19:32 PM + Lease Expires . . . . . . . . . . : Thursday, June 29, 2023 1:19:31 PM + Default Gateway . . . . . . . . . : 10.95.154.1 + DHCP Server . . . . . . . . . . . : 10.95.176.21 + DHCPv6 IAID . . . . . . . . . . . : 620757289 + DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-27-D3-05-B9-00-D8-61-4C-CD-B5 + + DNS Servers . . . . . . . . . . . : 10.95.128.11 + 10.64.152.171 + 10.64.152.172 + 10.72.128.11 + NetBIOS over Tcpip. . . . . . . . : Enabled + +Tunnel adapter isatap.na.ec.local: + + Media State . . . . . . . . . . . : Media disconnected + Connection-specific DNS Suffix . : na.ec.local + Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 + Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 + DHCP Enabled. . . . . . . . . . . : No + Autoconfiguration Enabled . . . . : Yes + +Tunnel adapter Teredo Tunneling Pseudo-Interface: + + Media State . . . . . . . . . . . : Media disconnected + Connection-specific DNS Suffix . : + Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface + Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 + DHCP Enabled. . . . . . . . . . . : No + Autoconfiguration Enabled . . . . : Yes + +C:\Users\ResMap> +``` diff --git a/CEP/custom-endpoint-integration.md b/CEP/custom-endpoint-integration.md new file mode 100644 index 0000000..fd9554f --- /dev/null +++ b/CEP/custom-endpoint-integration.md @@ -0,0 +1,37 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.237Z" +updated: "2024-01-06T01:25:36.237Z" +--- + +# Custom Endpoint Integration + +[EAF](../EAF/eaf.md) + +## Device data for this Custom Endpoint (CEP) are stored in our database. + +- Owner and deputy will see this device in “My IT” (http://goto.infineon.com/myit/CustomEndpoint) from tomorrow on. +- The owner can modify some data and transfer device to other owner/deputy. +- This is part of the owner’s responsible according to “Rule A.7 IT Assets and Service” (http://goto.infineon.com/corpReg) and Information Security Rules (http://goto.infineon.com/IS -> Rules & Regulations -> IT-Instructions -> Minimum Requirements) + +## Integration Tools for Windows systems: “CEPI Webpage“ ( http://cepi.ifxcep.net -> Downloads ) + +- For sites where Network Access Control is activated: +- The device is activated for a standard network area. +- Replication time: 15 min. -> Please unplug/plug LAN cable or restart device after that time. + +## What is not covered within this request: + +- LAN Port activation +- FIX IP Address +- Internet Access + +- [cepi-na.infineon.com](http://cepi-na.infineon.com/#searchresults) +- [Service-Shop](https://smptools.infineon.com/smptinyurl/orderable/?name%253DORD-Network_Integration_of_Custom_Endpoint%2520%25281%2529) +- [Integrate-Equipment-to-IFX-network](https://wiki.intra.infineon.com/Integrate_Equipment_to_IFX_network) +- ping ntp01.auc.infineon.com + + +- [ ] [LAN Port](https://smptools.infineon.com/smptinyurl/orderable/?name=ORD-LAN%20Port%20%281%29) +- [ ] [Fixed IP Address](https://smptools.infineon.com/smptinyurl/orderable/?name=ORD-Fixed%20IP%20Address%20%281%29) +- [ ] [Network Integration of Custom Endpoint](https://smptools.infineon.com/smptinyurl/orderable/?name=ORD-Network_Integration_of_Custom_Endpoint%20%281%29) diff --git a/CEP/filmsence.md b/CEP/filmsence.md new file mode 100644 index 0000000..c89c118 --- /dev/null +++ b/CEP/filmsence.md @@ -0,0 +1,44 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.234Z" +updated: "2024-01-06T01:25:36.234Z" +--- + +# FilmSence + +[EAF](../EAF/eaf.md) + +``` +ipconfig /all + +Windows IP Configuration + + Host Name . . . . . . . . . . . . : MESL1CLEANROOM33 + Primary Dns Suffix . . . . . . . : + Node Type . . . . . . . . . . . . : Hybrid + IP Routing Enabled. . . . . . . . : No + WINS Proxy Enabled. . . . . . . . : No + DNS Suffix Search List. . . . . . : na.ec.local + +Ethernet adapter Ethernet: + + Connection-specific DNS Suffix . : na.ec.local + Description . . . . . . . . . . . : Intel(R) Ethernet Connection (6) I219-LM + Physical Address. . . . . . . . . : F8-0D-AC-D1-E1-74 + DHCP Enabled. . . . . . . . . . . : Yes + Autoconfiguration Enabled . . . . : Yes + Link-local IPv6 Address . . . . . : fe80::68e0:3e17:12b:56ef%5(Preferred) + IPv4 Address. . . . . . . . . . . : 10.95.154.35(Preferred) + Subnet Mask . . . . . . . . . . . : 255.255.254.0 + Lease Obtained. . . . . . . . . . : Wednesday, June 28, 2023 1:33:18 PM + Lease Expires . . . . . . . . . . : Wednesday, June 28, 2023 2:03:18 PM + Default Gateway . . . . . . . . . : 10.95.154.1 + DHCP Server . . . . . . . . . . . : 10.95.176.21 + DHCPv6 IAID . . . . . . . . . . . : 100142508 + DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2C-26-41-D7-F8-0D-AC-D1-E1-74 + DNS Servers . . . . . . . . . . . : 10.95.128.11 + 10.64.152.171 + 10.64.152.172 + 10.72.128.11 + NetBIOS over Tcpip. . . . . . . . : Enabled +``` diff --git a/CEP/mesd1biorad4.md b/CEP/mesd1biorad4.md new file mode 100644 index 0000000..2a6699b --- /dev/null +++ b/CEP/mesd1biorad4.md @@ -0,0 +1,18 @@ +--- +type: "cep" +description: "" +tags: ["Deprecated"] +Number of CPU Cores: "" +Total Physical Memory (MB): "" +Total HD Capacity (GB): "" +Owner: "" +Populated by Mike: "" +IP: "10.95.154.10" +created: "2024-01-06T01:25:36.231Z" +updated: "2024-01-06T01:25:36.231Z" +--- + +# mesd1biorad4 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity1.md b/CEP/mesd1unity1.md new file mode 100644 index 0000000..47a39ce --- /dev/null +++ b/CEP/mesd1unity1.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "Stratus" +tags: ["Deprecated"] +IP: "10.95.192.11" +created: "2024-01-06T01:25:36.229Z" +updated: "2024-01-06T01:25:36.229Z" +--- + +# mesd1unity1 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity10.md b/CEP/mesd1unity10.md new file mode 100644 index 0000000..c7f7943 --- /dev/null +++ b/CEP/mesd1unity10.md @@ -0,0 +1,17 @@ +--- +type: "cep" +description: "" +Server Type: "mesd1unity10" +tags: ["Deprecated"] +IP: "10.##.###.##" +created: "2024-01-06T01:25:36.228Z" +updated: "2024-01-06T01:25:36.228Z" +--- + +# mesd1unity10 + +## Account(s) + +- [ ] [ecfisysadmin](../account/ecfisysadmin.md) + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity2.md b/CEP/mesd1unity2.md new file mode 100644 index 0000000..87dc684 --- /dev/null +++ b/CEP/mesd1unity2.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "" +tags: ["Deprecated"] +IP: "10.##.###.##" +created: "2024-01-06T01:25:36.228Z" +updated: "2024-01-06T01:25:36.228Z" +--- + +# mesd1unity2 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity3.md b/CEP/mesd1unity3.md new file mode 100644 index 0000000..0999d53 --- /dev/null +++ b/CEP/mesd1unity3.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "" +tags: ["Deprecated"] +IP: "10.##.###.##" +created: "2024-01-06T01:25:36.224Z" +updated: "2024-01-06T01:25:36.224Z" +--- + +# mesd1unity3 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity4.md b/CEP/mesd1unity4.md new file mode 100644 index 0000000..3655292 --- /dev/null +++ b/CEP/mesd1unity4.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "HgCV-#2" +tags: ["Deprecated"] +IP: "10.95.154.13" +created: "2024-01-06T01:25:36.224Z" +updated: "2024-01-06T01:25:36.224Z" +--- + +# mesd1unity4 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity5.md b/CEP/mesd1unity5.md new file mode 100644 index 0000000..885986f --- /dev/null +++ b/CEP/mesd1unity5.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "At-Desk" +tags: ["Deprecated"] +IP: "10.95.192.15" +created: "2024-01-06T01:25:36.221Z" +updated: "2024-01-06T01:25:36.221Z" +--- + +# mesd1unity5 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity6.md b/CEP/mesd1unity6.md new file mode 100644 index 0000000..d5355f9 --- /dev/null +++ b/CEP/mesd1unity6.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "" +tags: ["Deprecated"] +IP: "10.##.###.##" +created: "2024-01-06T01:25:36.212Z" +updated: "2024-01-06T01:25:36.212Z" +--- + +# mesd1unity6 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity7.md b/CEP/mesd1unity7.md new file mode 100644 index 0000000..66e7eec --- /dev/null +++ b/CEP/mesd1unity7.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "At-Desk" +tags: ["Deprecated"] +IP: "10.95.192.16" +created: "2024-01-06T01:25:36.215Z" +updated: "2024-01-06T01:25:36.215Z" +--- + +# mesd1unity7 + + +## Comment 2023-07-17 diff --git a/CEP/mesd1unity8.md b/CEP/mesd1unity8.md new file mode 100644 index 0000000..e94fa5a --- /dev/null +++ b/CEP/mesd1unity8.md @@ -0,0 +1,13 @@ +--- +type: "cep" +description: "On" +tags: ["Deprecated"] +IP: "10.95.192.28" +created: "2024-01-06T01:25:36.220Z" +updated: "2024-01-06T01:25:36.220Z" +--- + +# mesd1unity8 + + +## Comment 2023-07-17 diff --git a/CEP/physical-address.md b/CEP/physical-address.md new file mode 100644 index 0000000..5735781 --- /dev/null +++ b/CEP/physical-address.md @@ -0,0 +1,42 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.216Z" +updated: "2024-01-06T01:25:36.216Z" +--- + +# Physical Address + +| Status | Type | Title | Physical Address | URL | Notes | +| ----------- | -------- | -------------------------- | ----------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| | DameWare | SRP2100 | 00:10:5A:CB:C6:5B | 10.95.154.86 | | +| | Encoder | Reactor State PoC - R53 | 00:13:14:02:BD:67 | http://10.95.154.31/indexE.html | | +| | Encoder | Reactor State PoC - R55 | 00:13:14:02:B8:B7 | http://10.95.154.32/indexE.html | | +| | HSMS | SPV (SPV FAaST 230) | C4:00:AD:23:90:F5 | tcp://10.95.154.20:5004 | INC000004541671 Resolution details for: SR: Fixed IP Address [Mesa]-ORD1659112INFINEONEPI230Old10.95.33.44 | +| | http | FilmSense | F8:0D:AC:D1:E1:74 | | | +| | nginx | CDE4-EQPT | 00:D8:61:01:BC:66 | http://10.95.154.27 | | +| | nginx | CDE5-EQPT | 00:01:29:6A:8F:AB | http://10.95.154.29 | | +| | nginx | CDE6-EQPT | 00:01:29:A1:F1:45 | http://10.95.154.14 | Currently on 10.95.154.14(Preferred) | +| | RCM | R47-PLC | 00:0E:8C:C9:C7:E5 | 10.95.1.195 | +| | RCM | R70-PLC | 28:63:36:64:11:11 | 10.95.1.191 | | +| | RCM | R72-PLC | 00:0E:8C:C9:C7:CD | 10.95.1.183 | | +| | RCM | R73-PLC | 00:0E:8C:AF:4D:A8 | 10.95.1.192 | | +| | RCM | R74-PLC | 00:0E:8C:C9:C9:5C | 10.95.1.180 | | +| | Share | BIORAD4 | 1C:6F:65:C3:51:DB | tcp://10.95.154.10:#### | | +| | Share | BIORAD5 | 00:30:48:43:DE:97 | tcp://10.95.154.11:#### | | +| | Share | SP101 | 00:10:6F:00:D7:4E | tcp://10.95.154.12:#### | | +| | Unity | BIORAD2 | 6C:0B:84:E3:94:11 | http://10.95.154.30:9400/admin | was mesd1unity5.ifxcep.net | +| | Unity | BIORAD3 | 6C:0B:84:E3:AD:7E | http://10.95.154.9:9400/admin | was [mesd1unity4.ifxcep.net](rdp://19.195.154.13) | +| Deprecated | | Candela 02 | 00:21:91:19:9F:DF | tcp://10.95.154.24:5000 | Production EAF connectivity Please reserve IP 10.95.154.24MESD1E1CAN02.ifxcep.netsa-us-mes-001-011.na.lanGi1/0/1 25WINDOWS XP SP300:21:91:19:9F:DF | +| Deprecated | | PLATO2 | 24:4B:FE:7C:AF:22 | tcp://10.95.154.23:5000 | 2/1/2021 11:56:13 AMmattesjeINC000005064856Order Details: ORD1858252 / BOO002390861 / ORD-Fixed IP Address (1) / Fixed IP Address [Mesa]infineon us | +| Deprecated | | R69 Server | | | PHSx61nB4VGUHSUVXZQ9 | +| Deprecated | | R69-HSMS | 44:39:C4:37:D6:5C | tcp://10.95.154.16:5000 | Old - 10.95.192.18(sa-us-mes-001-011.na.lan) Port Number (Gi1/0/10) Vlan ID (1049)3. INC000004266068Requestor : L. PharesHost : AIX701461COld 10.95.192.18 | +| Deprecated | | R71 Server | 00:D0:C9:CE:17:28 | tcp://10.95.154.22:5000 | 99DcIRFM0Rlo8uPhODCO AIX702075Swas 10.95.164.5500:D0:C9:CE:17:28 | +| Deprecated | | R71-HSMS | 18:D6:C7:01:7E:E6 | tcp://10.95.154.15:5000 | Old - 10.95.192.19(sa-us-mes-001-011.na.lan) Port Number (Gi1/0/18) Vlan ID (1049)2. INC000004266061Requestor : L. PharesHost : AIX702075C.MES.INFINEON.COMOld 10.95.192.19 | +| Deprecated | | XRD (INC000004268002) | 00:1A:A0:28:0A:35 | tcp://10.95.154.18:#### | Old - 10.95.25.62(sa-us-mes-001-011.na.lan) (Gi1/0/9) Vlan ID (25) | +| Deprecated | | XRD04 | C4:00:AD:44:E7:35 | tcp://10.95.154.21:5000 | M7520.MES.INFINEON.COMC4:00:AD:44:E7:3510.95.33.64VLan ID 35Location sa-us-mes-001-010.na.lan | +| Off | | CDE Ubuntu | 70:88:6B:8D:69:60 | | | +| Off | Encoder | Tencor 2 | 00:13:14:02:BB:17 | http://10.95.154.33/indexE.html | | +| Off | Encoder | Reactor State PoC - R34 | 00:13:14:02:BB:F7 | rtsp://10.95.154.28/0 | rtsp://192.168.0.135/0 | +| Unreachable | RCM | R45-PLC | | 10.95.192.20 | | +| Unreachable | RCM | R49-PLC | | | | +| Unreachable | RCM | R51-PLC | | | | diff --git a/CEP/srp-2100.md b/CEP/srp-2100.md new file mode 100644 index 0000000..e3c14ee --- /dev/null +++ b/CEP/srp-2100.md @@ -0,0 +1,18 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.217Z" +updated: "2024-01-06T01:25:36.217Z" +--- + +# SRP 2100 + +## Relations + +[EAF](../EAF/eaf.md) + +Hostname: K200001783-01 +Equipment Name: SRP-2100 +B4:96:91:9E:80:AD +10.95.154.86 +CEP download - Antivirus +https://cepi-na.infineon.com diff --git a/CEP/wafer-counter.md b/CEP/wafer-counter.md new file mode 100644 index 0000000..af59d33 --- /dev/null +++ b/CEP/wafer-counter.md @@ -0,0 +1,52 @@ +--- +type: "topic" +created: "2024-01-09T13:49:44.327Z" +updated: "2024-01-09T13:49:44.327Z" +--- + +# Wafer Counter + +## Regulations + +[EAF](../EAF/eaf.md) + +```conf +Empty cassette: +T0 +P0000000 +0000000000000000000000000 + +Full cassette: +T25 +P1FFFFFF +1111111111111111111111111 + +Cassette with 12 wafers in even slots: T12 +P0AAAAAA +0101010101010101010101010 + +Cassette with 13 wafers in odd slots: T13 +P1555555 +1010101010101010101010101 +``` + +```conf +# https://www.calculator.net/hex-calculator.html +Hex Binary Decimal +0 0000 0 +1 0001 1 +2 0010 2 +3 0011 3 +4 0100 4 +5 0101 5 +6 0110 6 +7 0111 7 +8 1000 8 +9 1001 9 +A 1010 10 +B 1011 11 +C 1100 12 +D 1101 13 +E 1110 14 +F 1111 15 +``` diff --git a/CI-CD/Azure-DevOps/Agent-Pools/iteraplan-agent.md b/CI-CD/Azure-DevOps/Agent-Pools/iteraplan-agent.md new file mode 100644 index 0000000..6cb7667 --- /dev/null +++ b/CI-CD/Azure-DevOps/Agent-Pools/iteraplan-agent.md @@ -0,0 +1,76 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.195Z" +updated: "2024-01-06T01:25:36.195Z" +--- + +# iteraPlan Agent + +```bash +D: +cd "D:\vsts-agent-win-x64-2.210.1-apc-trend" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool apc-trend --agent apc-trend-messa012ec --work apc-trend_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-apc-trend" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool apc-trend --agent apc-trend-messa013ec --work apc-trend_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-apc-trend" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool apc-trend --agent apc-trend-mestsa02ec --work apc-trend_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-infinity-qs" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool infinity-qs --agent infinity-qs-messa04ec --work infinity-qs_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-infinity-qs" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool infinity-qs --agent infinity-qs-messa06ec --work infinity-qs_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-open-insight-metrology-viewer" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool open-insight-metrology-viewer --agent open-insight-metrology-viewer-messa010ec --work open-insight-metrology-viewer_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-infinity-qs" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool infinity-qs --agent infinity-qs-mestsa06ec --work infinity-qs_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-mestsa07ec --work eaf_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-ea-data-framework" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool ea-data-framework --agent ea-data-framework-mestsa07ec --work ea-data-framework_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-messa08ec --work eaf_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-ea-data-framework" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool ea-data-framework --agent ea-data-framework-messa08ec --work ea-data-framework_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-messa09ec --work eaf_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-messa011ec --work eaf_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-yoda" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool yoda --agent yoda-messa014ec --work yoda_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-yoda" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool yoda --agent yoda-messa015ec --work yoda_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-yoda" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool yoda --agent yoda-mestsa03ec --work yoda_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-apc-trend" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool apc-trend --agent apc-trend-mestsa005 --work apc-trend_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-mestsa003 --work eaf_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-ea-data-framework" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool ea-data-framework --agent ea-data-framework-mestsa003 --work ea-data-framework_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-messa017 --work eaf_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-yoda" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool yoda --agent yoda-mestsa006 --work yoda_work --runAsService --auth negotiate --userName infineon\phares +D: +cd "D:\vsts-agent-win-x64-2.210.1-eaf" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool eaf --agent eaf-iscn5cg1325c0x --work eaf_work --runAsService --auth negotiate --userName infineon\phares +``` diff --git a/CI-CD/Azure-DevOps/Agent-Pools/iteraplan-group.md b/CI-CD/Azure-DevOps/Agent-Pools/iteraplan-group.md new file mode 100644 index 0000000..ca837a9 --- /dev/null +++ b/CI-CD/Azure-DevOps/Agent-Pools/iteraplan-group.md @@ -0,0 +1,10 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.194Z" +updated: "2024-01-06T01:25:36.194Z" +--- + +# iteraPlan Group + +```bash +``` diff --git a/CI-CD/Azure-DevOps/Agent-Pools/mesa-baget.md b/CI-CD/Azure-DevOps/Agent-Pools/mesa-baget.md new file mode 100644 index 0000000..0ae3880 --- /dev/null +++ b/CI-CD/Azure-DevOps/Agent-Pools/mesa-baget.md @@ -0,0 +1,39 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.192Z" +updated: "2024-01-06T01:25:36.192Z" +--- + +# Mesa Baget + +[Pipeline](../pipeline.md) + +https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?queueId=1500&view=agents + +- ISCN5CG1325C0X-Phares + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2324&queueId=1500&view=capabilities + - ? +- ISCN5CG2114X8H-Ouellette + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2358&queueId=1500&view=capabilities + - ? +- ISCN5CG2214R0P-Wathen + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2325&queueId=1500&view=capabilities + - ? + +```bash +# d: +# cd "D:\vsts-agent-win-x64-2.210.1-Phares" +# config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Baget --agent ISCN5CG1325C0X-Phares --work Phares_work --runAsService --auth negotiate --userName infineon\phares +# d: +# cd "D:\vsts-agent-win-x64-2.210.1-Wathen" +# config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Baget --agent ISCN5CG2214R0P-Wathen --work Wathen_work --runAsService --auth negotiate --userName infineon\phares +# d: +# cd "D:\vsts-agent-win-x64-2.210.1-Ouellette" +# config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Baget --agent ISCN5CG2114X8H-Ouellette --work Ouellette_work --runAsService --auth negotiate --userName infineon\phares +# d: +# cd "D:\vsts-agent-win-x64-2.210.1-TuckerC" +# config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Baget --agent asdf-TuckerC --work TuckerC_work --runAsService --auth negotiate --userName infineon\phares +# d: +# cd "D:\vsts-agent-win-x64-2.210.1-Phares" +# config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Baget --agent MESTSA003-Phares --work Phares_work --runAsService --auth negotiate --userName infineon\phares +``` diff --git a/CI-CD/Azure-DevOps/Agent-Pools/mesa-iis.md b/CI-CD/Azure-DevOps/Agent-Pools/mesa-iis.md new file mode 100644 index 0000000..c4ce67c --- /dev/null +++ b/CI-CD/Azure-DevOps/Agent-Pools/mesa-iis.md @@ -0,0 +1,74 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.192Z" +updated: "2024-01-06T01:25:36.192Z" +--- + +# Mesa IIS + +[Pipeline](../pipeline.md) + +https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?queueId=1474&view=agents + +- MESTSA02EC-EC\ecapcsvc + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2316&queueId=1474&view=capabilities + - F9EF1C81E7B3E848A3C385207FA47C35 + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAtEgNbmvvXkurVxMfOxE6lQAAAAACAAAAAAADZgAAwAAAABAAAACuOvCTeKGzgUUP46BkEhjzAAAAAASAAACgAAAAEAAAAMNxNJvTh8c6z0eJMi6R6iIgAAAA56AXdpLwjeLaVshWUCrAHZhR9CCXmbn630HKabtoXQkUAAAA/ijvd289aTBsBAHgelY/oZ2tAME= +- MESTSA008-MESFISysAdmin + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2315&queueId=1474&view=capabilities + - A0563988F3794E4DA2336BE27BF2D966 + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAALBpOAg2MZ0a4E2R3bJnOcgAAAAACAAAAAAADZgAAwAAAABAAAACweja6Anuo43J2Kc9PbYApAAAAAASAAACgAAAAEAAAABK+hKJhM2gMMt/xqXTTrv0gAAAAFi8bm7iFYzUxTFjUce8PS/I2v2Iq9tKEEPUemwcEdzcUAAAAg2yrz3Oo0qp+1zOE9VHq8jS0PtM= +- MESTSA004-MESGANEAF + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2099&queueId=1474&view=capabilities + - ? +- MESSA016EC-ECFISysAdmin + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2664&queueId=1474&view=capabilities + - D3BB0F499E1E7844B86DFCEBD0670B81 + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA7irVkx/PjkCKw+wQbGGcAAAAAAACAAAAAAADZgAAwAAAABAAAAA+Rn2emY3SKpvR4sg9lwWoAAAAAASAAACgAAAAEAAAANBTNsQF2JFuhFBGk6fS0MkYAAAAM4vzdTdtu3UNFrPg3H3ldu/HeaWHaGR+FAAAADCd5bq7oKCF4QcAt/Hx5CQRJJGo +- MESSA08EC-ECEDASVC + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2315&queueId=1474&view=capabilities + - 180925B824540248A72CE86BFF2DEC5B + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAT7AeEnYaI06embztjoLqowAAAAACAAAAAAADZgAAwAAAABAAAADEEnkIGTUtqWkFIWAXOl0tAAAAAASAAACgAAAAEAAAAFMBIt/kG28J+//Qs9+TpREgAAAA0PBc1cu5i30FNac0fxlx3G8SPpTfpgHGcZC0pn7zo58UAAAAv2fQsQ01zcWk0DVI9XUzFK6IdMw= +- MESSA020EC-ECReportServicesAdmin + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2621&queueId=1474&view=capabilities + - ? +- MESSA014-MESFISysAdmin + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2317&queueId=1474&view=jobs + - ? +- MESSA010EC-ECFISysAdmin + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2333&queueId=1474&view=capabilities + - D3BB0F499E1E7844B86DFCEBD0670B81 + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAYNzwlR3CAEKlHBvzT15+EAAAAAACAAAAAAADZgAAwAAAABAAAAD2cV5PTaOaEeaI91fgzdesAAAAAASAAACgAAAAEAAAAHoukYteiOAz6d9iiJ4NowIgAAAARXdoLqDistafWJleAcDd2QXR3IqlhKKWAfBoWrx62FUUAAAACp5cANA4uhW8zyK6TkHZr7oTZX0= + +```bash +d: +cd "D:\vsts-agent-win-x64-2.210.1-MESFISysAdmin" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESTSA008-MESFISysAdmin --work MESFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +RDS-Info-Development +d: +cd "D:\vsts-agent-win-x64-2.210.1-MESGANEAF" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESTSA004-MESGANEAF --work MESGANEAF_work --runAsService --auth negotiate --userName infineon\phares +OI-Metrology-Archive-Development +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECFISysAdmin" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESSA020EC-ECFISysAdmin --work ECFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECEDASVC" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESSA08EC-ECEDASVC --work ECFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECAPCSVC" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESTSA02EC-ECAPCSVC --work ECFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-MESFISysAdmin" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESSA014-MESFISysAdmin --work ECFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECReportServicesAdmin" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESSA020EC-ECReportServicesAdmin --work ECReportServicesAdmin_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECFISysAdmin" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESSA010EC-ECFISysAdmin --work ECReportServicesAdmin_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-IIS-Mesa-ECFISysAdmin" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-IIS --agent MESSA016EC-ECFISysAdmin --work ECFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-FabApproval --agent MESSA016EC-ECFISysAdmin --work ECFISysAdmin_work --runAsService --auth negotiate --userName infineon\phares +``` diff --git a/CI-CD/Azure-DevOps/Agent-Pools/mesa-linux.md b/CI-CD/Azure-DevOps/Agent-Pools/mesa-linux.md new file mode 100644 index 0000000..b68a088 --- /dev/null +++ b/CI-CD/Azure-DevOps/Agent-Pools/mesa-linux.md @@ -0,0 +1,34 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.190Z" +updated: "2024-01-06T01:25:36.190Z" +--- + +# Mesa Linux + +[Pipeline](../pipeline.md) + +https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_settings/agentqueues?queueId=1536&view=agents + +```bash +./config.sh --url https://tfs.intra.infineon.com/tfs/ManufacturingIT_Teams --pool IFPM-Linux --auth negotiate --userName infineon\castillojr +``` + +```bash +pscp D:/Tmp/phares/ag/vsts-agent-linux-x64-2.210.1.tar.gz unity4@unity4:/home/unity4/vsts-agent-linux-x64-2.210.1.tar.gz +pscp D:/Tmp/phares/ag/vsts-agent-linux-x64-2.210.1.tar.gz unity5@unity5:/home/unity5/vsts-agent-linux-x64-2.210.1.tar.gz +``` + +```bash +mv vsts-agent-linux-x64-2.210.1.tar.gz vsts-agent-linux-x64-2.210.1-unity4 +cd vsts-agent-linux-x64-2.210.1-unity4 +tar xvzf vsts-agent-linux-x64-2.210.1.tar.gz +chown unity4 /home/unity4/vsts-agent-linux-x64-2.210.1-unity4 -R +chgrp unity4 /home/unity4/vsts-agent-linux-x64-2.210.1-unity4 -R +./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth negotiate --userName infineon\phares +./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth negotiate --userName infineon/phares +./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth negotiate --userName phares +./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth negotiate --userName infineon@phares +./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth pat --token ksdroyoq2bltb67ls7sfdhraykcyzpifzkdf3gtk5nyxfvfdpjka +gss-ntlmssp +``` diff --git a/CI-CD/Azure-DevOps/Agent-Pools/mesa-windows-service.md b/CI-CD/Azure-DevOps/Agent-Pools/mesa-windows-service.md new file mode 100644 index 0000000..9dad195 --- /dev/null +++ b/CI-CD/Azure-DevOps/Agent-Pools/mesa-windows-service.md @@ -0,0 +1,85 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.189Z" +updated: "2024-01-06T01:25:36.189Z" +--- + +# Mesa Windows Service + +[Pipeline](../pipeline.md) + +https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?queueId=1475&view=agents + +- MESSA011EC-ECMESEAF + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2354&queueId=1475&view=capabilities + - ? +- MESSA017-MESEAFSVC + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2105&queueId=1475&view=capabilities + - A6302662940458499454E35D28FCC9F7 + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAtBhT01pNnUGaN/uPLxZGvAAAAAACAAAAAAADZgAAwAAAABAAAAAM4xlYguhv7jzchU8dq9pVAAAAAASAAACgAAAAEAAAANS9rIoaYfNq5TwCmTrqElsgAAAA7O4J52FqCctXlCxYB2J5b/W4T+pZCN2zwFj7XCAFW6IUAAAAhQsBDOERAUZJdtSy8AfxwOAZflo= +- MESSA08EC-ECMESEAF + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2352&queueId=1475&view=capabilities + - ? +- MESSA09EC-ECMESEAF + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2353&queueId=1475&view=capabilities + - ? +- MESTSA07EC-ECMESEAF + - https://tfs.intra.infineon.com/tfs/manufacturingit/Mesa_FI/_settings/agentqueues?agentId=2100&queueId=1475&view=jobs + - BCF9CA727010A44D98F1111B3DAAE257 + - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAzwmgyh80pUCcBiuEhT1SWgAAAAACAAAAAAADZgAAwAAAABAAAAD9hntkAjLOkbkcSfZzuq5LAAAAAASAAACgAAAAEAAAAIz4KDRZhEggSwWwDOQRE+QgAAAA0zPmav30DGL5YjkVfgpX9d7DsqwzmzqcsSlseFKJdhMUAAAApVyRqdaKub1GTsHwlNS5+wtSn0Y= + +```bash +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECMESEAF" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent MESTSA07EC-ECMESEAF --work ECMESEAF_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECMESEAF" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent MESSA08EC-ECMESEAF --work ECMESEAF_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECMESEAF" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent MESSA09EC-ECMESEAF --work ECMESEAF_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-ECMESEAF" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent MESSA011EC-ECMESEAF --work ECMESEAF_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-MESEAFSVC" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent MESSA017-MESEAFSVC --work MESEAFSVC_work --runAsService --auth negotiate --userName infineon\phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-MESEAFSVC" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent MESTSA003-MESEAFSVC --work MESEAFSVC_work --runAsService --auth negotiate --userName infineon\phares +``` + +```bash +d: +cd "D:\vsts-agent-win-x64-2.210.1-Phares" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent ISCN5CG1325C0X-Phares --work Phares_work --runAsService --auth negotiate --userName infineon\phares +# [http] +# extraHeader = "Authorization: Basic OmtzZHJveW9xMmJsdGI2N2xzN3NmZGhyYXlrY3l6cGlmemtkZjNndGs1bnl4ZnZmZHBqa2E=" +# [user] +# email = mike.phares@infineon.com +# name = Mike Phares +d: +cd "D:\vsts-agent-win-x64-2.210.1-Wathen" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent ISCN5CG2214R0P-Wathen --work Wathen_work --runAsService --auth negotiate --userName infineon\phares +# [http] +# extraHeader = "Authorization: Basic OmVqcXVpZGVqZGp3bHdtem4yN2VsdzNxa2NreXZuamI2NGppM3p5bjVoYnRiYXNudjU1aHE=" +# [user] +# email = daniel.wathen@infineon.com +# name = Daniel Wathen +d: +cd "D:\vsts-agent-win-x64-2.210.1-Ouellette" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent ISCN5CG2114X8H-Ouellette --work Ouellette_work --runAsService --auth negotiate --userName infineon\phares +# [http] +# extraHeader = "Authorization: Basic OnhlYWFjZ2lvNm15YzViYnNweHpxZ3I0cHF4eWJzM2Z4d29qYTd2dXl4aXI3cnIzaHVxM2E=" +# [user] +# email = jonathan.ouellette@infineon.com +# name = ouellette +C: +cd "C:\vsts-agent-win-x64-2.210.1" +config --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Windows-Service --agent ISCN5CG2255YQ8-TuckerC --work TuckerC_work --runAsService --auth negotiate --userName infineon\phares +# [http] +# extraHeader = "Authorization: Basic OmlkeXRjemxjZTJ1YWd6aXV1ZHkzMjRrd25oemlhYmc3c2NwcnBsbnJmd2FxM21leWZheHE=" +# [user] +# email = chase.tucker@infineon.com +# name = Chase Tucker +``` diff --git a/CI-CD/Azure-DevOps/Phares/Feature/asm-secs-gem-implementations.md b/CI-CD/Azure-DevOps/Phares/Feature/asm-secs-gem-implementations.md new file mode 100644 index 0000000..12e7d0a --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/Feature/asm-secs-gem-implementations.md @@ -0,0 +1,19 @@ +--- +type: "feature" +created: "2024-01-06T01:25:36.206Z" +updated: "2024-01-06T01:25:36.206Z" +--- + +# ASM SECS GEM Implementations + +- [Poc for Capturing Events and Parameters From Reactor Sensors and Flow Controllers. to Be Used as Input to Apc Trend.](../User-Stories/poc-for-capturing-events-and-parameters-from-reactor-sensors-and-flow-controllers.-to-be-used-as-input-to-apc-trend.md) + +[DEP08CEPIEPSILON](../../../../EAF/Runtime/asm-secs-gem.md) + +## Feature + +[ASM SECS/GEM Implementations](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350331/) + +## User Stories + +- [Poc for Capturing Events and Parameters From Reactor Sensors and Flow Controllers. to Be Used as Input to Apc Trend.](../User-Stories/poc-for-capturing-events-and-parameters-from-reactor-sensors-and-flow-controllers.-to-be-used-as-input-to-apc-trend.md) diff --git a/CI-CD/Azure-DevOps/Phares/Feature/epp-communication.md b/CI-CD/Azure-DevOps/Phares/Feature/epp-communication.md new file mode 100644 index 0000000..eff4431 --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/Feature/epp-communication.md @@ -0,0 +1,15 @@ +--- +type: "feature" +created: "2024-01-06T01:25:36.211Z" +updated: "2024-01-06T01:25:36.211Z" +--- + +# EPP Communication + +[EPI Pro (EPP)](../../../../EAF/Runtime/epp.md) + +## Feature + +[EPP Communication](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350335/) + +## User Stories diff --git a/CI-CD/Azure-DevOps/Phares/Feature/plc-communication.md b/CI-CD/Azure-DevOps/Phares/Feature/plc-communication.md new file mode 100644 index 0000000..111448d --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/Feature/plc-communication.md @@ -0,0 +1,15 @@ +--- +type: "feature" +created: "2024-01-06T01:25:36.206Z" +updated: "2024-01-06T01:25:36.206Z" +--- + +# PLC Communication + +[DEP08SIHTRPLC](../../../../EAF/Runtime/htr-plc.md) + +## Feature + +[PLC Communication](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350334/) + +## User Stories diff --git a/CI-CD/Azure-DevOps/Phares/Tasks/keyence-corporation-of-america---quotation-12710033.md b/CI-CD/Azure-DevOps/Phares/Tasks/keyence-corporation-of-america---quotation-12710033.md new file mode 100644 index 0000000..2befd31 --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/Tasks/keyence-corporation-of-america---quotation-12710033.md @@ -0,0 +1,15 @@ +--- +type: "task" +created: "2024-01-06T01:25:36.203Z" +updated: "2024-01-06T01:25:36.203Z" +--- + +# Keyence Corporation of America + +- Standard PS/2 keyboard doesn't work +- Maybe try buying old keyboard to use with scanner + +[EAF](../../../../EAF/eaf.md) +[MET08THFTIRQS408M](../../../../EAF/Runtime/biorad.md) + +[Keyence Corporation of America Quotation# 12710033](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350117/) diff --git a/CI-CD/Azure-DevOps/Phares/User-Stories/build-a-plot-of-srp-data-in-metrology-viewer.md b/CI-CD/Azure-DevOps/Phares/User-Stories/build-a-plot-of-srp-data-in-metrology-viewer.md new file mode 100644 index 0000000..8ab5869 --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/User-Stories/build-a-plot-of-srp-data-in-metrology-viewer.md @@ -0,0 +1,23 @@ +--- +type: "user-story" +created: "2024-01-06T01:25:36.202Z" +updated: "2024-01-06T01:25:36.202Z" +--- + +# Build a Plot of SRP Data in Metrology Viewer + +[MET08RESISRP2100](../../../../EAF/Runtime/srp.md) + +- [x] Create tables +- [x] Insert Metadata +- [x] Update Site.js +- [x] IQS DMS and DCS +- [x] EAF/Runtime/SRP/Pipeline + +## User Story + +[Build a plot of SRP data in Metrology Viewer](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/352481/) + +## Tasks + +- [EAF Solution for SRP](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/352482/) diff --git a/CI-CD/Azure-DevOps/Phares/User-Stories/epp-6-and-8-metrology-data-at-fqa-(stratus)-step-doesn't-go-into-oi-auto-when-there-are-make-up-wafers.-new-capability.md b/CI-CD/Azure-DevOps/Phares/User-Stories/epp-6-and-8-metrology-data-at-fqa-(stratus)-step-doesn't-go-into-oi-auto-when-there-are-make-up-wafers.-new-capability.md new file mode 100644 index 0000000..caabb87 --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/User-Stories/epp-6-and-8-metrology-data-at-fqa-(stratus)-step-doesn't-go-into-oi-auto-when-there-are-make-up-wafers.-new-capability.md @@ -0,0 +1,16 @@ +--- +type: "user-story" +created: "2024-01-06T01:25:36.201Z" +updated: "2024-01-06T01:25:36.201Z" +--- + +# EPP 6 and 8 Metrology Data at FQA (Stratus) Step Doesn't Go Into OI Auto When There Are Make up Wafers. New Capability + +[EAF](../../../../EAF/eaf.md) +[OI Http API](../../../../OI/oi-http-api.md) + +## User Story + +[EPP 6" and 8" metrology data at FQA (Stratus) step doesn't go into OI auto when there are make-up wafers. New capability](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350107/) + +## Tasks diff --git a/CI-CD/Azure-DevOps/Phares/User-Stories/integrate-spc-violations-into-oi.md b/CI-CD/Azure-DevOps/Phares/User-Stories/integrate-spc-violations-into-oi.md new file mode 100644 index 0000000..7377577 --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/User-Stories/integrate-spc-violations-into-oi.md @@ -0,0 +1,20 @@ +--- +type: "user-story" +created: "2024-01-06T01:25:36.200Z" +updated: "2024-01-06T01:25:36.200Z" +--- + +# Integrate SPC Violations Into OI + +[EAF](../../../../EAF/eaf.md) + +- [x] New 14 point Columns +- [x] EAF/Runtime/BioRad/New 14 point Columns Spec Import|New 14 point Columns Spec Import + +## User Story + +[Integrate SPC Violations into OI](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/352282/) + +## Tasks + +- diff --git a/CI-CD/Azure-DevOps/Phares/User-Stories/poc-for-capturing-events-and-parameters-from-reactor-sensors-and-flow-controllers.-to-be-used-as-input-to-apc-trend.md b/CI-CD/Azure-DevOps/Phares/User-Stories/poc-for-capturing-events-and-parameters-from-reactor-sensors-and-flow-controllers.-to-be-used-as-input-to-apc-trend.md new file mode 100644 index 0000000..cebb8ad --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/User-Stories/poc-for-capturing-events-and-parameters-from-reactor-sensors-and-flow-controllers.-to-be-used-as-input-to-apc-trend.md @@ -0,0 +1,19 @@ +--- +type: "user-story" +created: "2024-01-06T01:25:36.197Z" +updated: "2024-01-06T01:25:36.197Z" +--- + +# Poc for Capturing Events and Parameters From Reactor Sensors and Flow Controllers. to Be Used as Input to Apc Trend. + +[DEP08CEPIEPSILON](../../../../EAF/Runtime/asm-secs-gem.md) +[Secs Gem](../../../../EAF/Runtime/secs-gem.md) +[T27](../../../../.kanbn/archive/t27.md) + +## User Story + +[POC for capturing events and parameters from reactor sensors and flow controllers. To be used as input to APC trend.](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350332/) + +## Tasks + +- diff --git a/CI-CD/Azure-DevOps/Phares/User-Stories/reduce-eliminate-manual-entry-of-tencor-data-in-oi-(poc).md b/CI-CD/Azure-DevOps/Phares/User-Stories/reduce-eliminate-manual-entry-of-tencor-data-in-oi-(poc).md new file mode 100644 index 0000000..d7f1732 --- /dev/null +++ b/CI-CD/Azure-DevOps/Phares/User-Stories/reduce-eliminate-manual-entry-of-tencor-data-in-oi-(poc).md @@ -0,0 +1,19 @@ +--- +type: "user-story" +created: "2024-01-06T01:25:36.195Z" +updated: "2024-01-06T01:25:36.195Z" +--- + +# Reduce eliminate manual entry of Tencor data in OI (PoC) + +- [Keyence Corporation of America](../Tasks/keyence-corporation-of-america---quotation-12710033.md) + +[EAF](../../../../EAF/eaf.md) + +## User Story + +[Reduce/eliminate manual entry of Tencor data in OI (PoC)](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350112/) + +## Tasks + +- [Keyence Corporation of America Quotation# 12710033](https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_workitems/edit/350117/) diff --git a/CI-CD/Azure-DevOps/pipeline.md b/CI-CD/Azure-DevOps/pipeline.md new file mode 100644 index 0000000..9393e08 --- /dev/null +++ b/CI-CD/Azure-DevOps/pipeline.md @@ -0,0 +1,10 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.188Z" +updated: "2024-01-06T01:25:36.188Z" +--- + +# Pipeline + +[MET08RESISRP2100](../../EAF/Runtime/srp.md) +[BaGet](../../_-Review/baget.md) diff --git a/CI-CD/Azure-DevOps/settings.md b/CI-CD/Azure-DevOps/settings.md new file mode 100644 index 0000000..5c13baa --- /dev/null +++ b/CI-CD/Azure-DevOps/settings.md @@ -0,0 +1,7 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.187Z" +updated: "2024-01-06T01:25:36.187Z" +--- + +# Settings diff --git a/CI-CD/Azure-DevOps/tfs.md b/CI-CD/Azure-DevOps/tfs.md new file mode 100644 index 0000000..aea065a --- /dev/null +++ b/CI-CD/Azure-DevOps/tfs.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.186Z" +updated: "2024-01-06T01:25:36.186Z" +--- + +# TFS + +[Pipeline](pipeline.md) diff --git a/EAF/Runtime/afm.md b/EAF/Runtime/afm.md new file mode 100644 index 0000000..8ac8672 --- /dev/null +++ b/EAF/Runtime/afm.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.177Z" +updated: "2024-01-06T01:25:36.177Z" +--- + +# EC + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/asm-encoder.md b/EAF/Runtime/asm-encoder.md new file mode 100644 index 0000000..4c01000 --- /dev/null +++ b/EAF/Runtime/asm-encoder.md @@ -0,0 +1,7 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.176Z" +updated: "2024-01-06T01:25:36.176Z" +--- + +# DEP08SIASM diff --git a/EAF/Runtime/asm-secs-gem.md b/EAF/Runtime/asm-secs-gem.md new file mode 100644 index 0000000..f523d52 --- /dev/null +++ b/EAF/Runtime/asm-secs-gem.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.175Z" +updated: "2024-01-06T01:25:36.175Z" +--- + +# DEP08CEPIEPSILON +- [T27](../../.kanbn/archive/t27.md) +- [T37](../../.kanbn/archive/t37.md) diff --git a/EAF/Runtime/backlog.md b/EAF/Runtime/backlog.md new file mode 100644 index 0000000..9e97073 --- /dev/null +++ b/EAF/Runtime/backlog.md @@ -0,0 +1,10 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.175Z" +updated: "2024-01-06T01:25:36.175Z" +--- + +# Backlog + +- [Web UI](../../.kanbn/archive/web-ui.md) + - [EAF](../eaf.md) diff --git a/EAF/Runtime/biorad-stratus.md b/EAF/Runtime/biorad-stratus.md new file mode 100644 index 0000000..902450f --- /dev/null +++ b/EAF/Runtime/biorad-stratus.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.151Z" +updated: "2024-01-06T01:25:36.151Z" +--- + +# MET08THFTIRSTRATUS + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/biorad.md b/EAF/Runtime/biorad.md new file mode 100644 index 0000000..906694f --- /dev/null +++ b/EAF/Runtime/biorad.md @@ -0,0 +1,10 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.171Z" +updated: "2024-01-06T01:25:36.171Z" +--- + +# MET08THFTIRQS408M + +- [Add "send to SPC button" for thickness-only production lots](../../.kanbn/archive/add-send-to-spc-button-for-thickness-only-production-lots.md) +- [Metrology WorkMaterial](../../.kanbn/tasks/metrology-work-material.md) diff --git a/EAF/Runtime/cde.md b/EAF/Runtime/cde.md new file mode 100644 index 0000000..3b78bc1 --- /dev/null +++ b/EAF/Runtime/cde.md @@ -0,0 +1,14 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.153Z" +updated: "2024-01-06T01:25:36.153Z" +--- + +# MET08RESIMAPCDE + +- [Change Fields for Barcode Scanning](../../.kanbn/tasks/change-fields-for-barcode-scanning.md) + - [EAF](../eaf.md) + +* CDE RDS by itself then layer ... +* [MET08RESISRP2100](srp.md) ... +* [MET08THFTIRQS408M](biorad.md) use batch wafer fields diff --git a/EAF/Runtime/epp.md b/EAF/Runtime/epp.md new file mode 100644 index 0000000..aa8dd10 --- /dev/null +++ b/EAF/Runtime/epp.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.154Z" +updated: "2024-01-06T01:25:36.154Z" +--- + +# EPI Pro (EPP) + +[EAF](../eaf.md) diff --git a/EAF/Runtime/filmsence.md b/EAF/Runtime/filmsence.md new file mode 100644 index 0000000..4c475c3 --- /dev/null +++ b/EAF/Runtime/filmsence.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.168Z" +updated: "2024-01-06T01:25:36.168Z" +--- + +# filmsence + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/htr-plc.md b/EAF/Runtime/htr-plc.md new file mode 100644 index 0000000..fa8b4af --- /dev/null +++ b/EAF/Runtime/htr-plc.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.170Z" +updated: "2024-01-06T01:25:36.170Z" +--- + +# DEP08SIHTRPLC + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/mercuryprobe.md b/EAF/Runtime/mercuryprobe.md new file mode 100644 index 0000000..6a57bd7 --- /dev/null +++ b/EAF/Runtime/mercuryprobe.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.166Z" +updated: "2024-01-06T01:25:36.166Z" +--- + +# MET08RESIHGCV + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/parallel-to-serial.md b/EAF/Runtime/parallel-to-serial.md new file mode 100644 index 0000000..2da5e20 --- /dev/null +++ b/EAF/Runtime/parallel-to-serial.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.157Z" +updated: "2024-01-06T01:25:36.157Z" +--- + +# Parallel to Serial + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/sp1.md b/EAF/Runtime/sp1.md new file mode 100644 index 0000000..ab48d2e --- /dev/null +++ b/EAF/Runtime/sp1.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.165Z" +updated: "2024-01-06T01:25:36.165Z" +--- + +# MET08DDUPSP1TBI + +- [MET08DDUPSP1TBI Exception](../../.kanbn/archive/eaf-met08-ddupsp1-tbi-mestsa07-ec-exception-open-insight.md) diff --git a/EAF/Runtime/spv.md b/EAF/Runtime/spv.md new file mode 100644 index 0000000..16b1021 --- /dev/null +++ b/EAF/Runtime/spv.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.162Z" +updated: "2024-01-06T01:25:36.162Z" +--- + +# MET08ANLYSDIFAAST230 + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/srp.md b/EAF/Runtime/srp.md new file mode 100644 index 0000000..2916f1d --- /dev/null +++ b/EAF/Runtime/srp.md @@ -0,0 +1,14 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.158Z" +updated: "2024-01-06T01:25:36.158Z" +--- + +# MET08RESISRP2100 + +- [EAF](../eaf.md) + +Resistivity (ρ ohm-cm) +Resistance Edited (Ω ohm) +Resistance (Ω ohm) +CD (1/cm³) diff --git a/EAF/Runtime/tencor.md b/EAF/Runtime/tencor.md new file mode 100644 index 0000000..3214210 --- /dev/null +++ b/EAF/Runtime/tencor.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.159Z" +updated: "2024-01-06T01:25:36.159Z" +--- + +# MET08DDUPSFS6420 + +- [EAF](../eaf.md) diff --git a/EAF/Runtime/trendlog.md b/EAF/Runtime/trendlog.md new file mode 100644 index 0000000..5186c33 --- /dev/null +++ b/EAF/Runtime/trendlog.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.151Z" +updated: "2024-01-06T01:25:36.151Z" +--- + +# METCLIMATEC + +- [EAF](../eaf.md) diff --git a/EAF/eaf.md b/EAF/eaf.md new file mode 100644 index 0000000..74b4e97 --- /dev/null +++ b/EAF/eaf.md @@ -0,0 +1,31 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.149Z" +updated: "2024-01-06T01:25:36.149Z" +--- + +# EAF + +"MES-APP-EAF-Administration" + +```xml + + +``` + +[DEP08CEPIEPSILON](Runtime/asm-secs-gem.md) +[MET08THFTIRSTRATUS](Runtime/biorad-stratus.md) +[MET08THFTIRQS408M](Runtime/biorad.md) +[MET08RESIMAPCDE](Runtime/cde.md) +[DEP08SIHTRPLC](Runtime/htr-plc.md) +[MET08RESIHGCV](Runtime/mercuryprobe.md) +[Parallel to Serial](Runtime/parallel-to-serial.md) +[MET08DDUPSP1TBI](Runtime/sp1.md) +[MET08ANLYSDIFAAST230](Runtime/spv.md) +[MET08RESISRP2100](Runtime/srp.md) +[MET08DDUPSFS6420](Runtime/tencor.md) + +- [v2.49.2](../.kanbn/archive/v2-49-2.md) +- [v2.49.0](../.kanbn/archive/v2-49-0.md) + +[Release n-2](onenote://C:/Users/phares/Documents/OneNote%20Notebooks/Mesa/EAF/Ledger.one#EAF%20Upgrade/Release%20n-2§ion-id={A6AA2CA3-DF75-483E-8D9B-8BC04CB47A7E}&page-id={58EA5B37-5F4B-4B09-B32D-654C22853206}&end) diff --git a/IIS/fab-approval.md b/IIS/fab-approval.md new file mode 100644 index 0000000..081455f --- /dev/null +++ b/IIS/fab-approval.md @@ -0,0 +1,11 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.146Z" +updated: "2024-01-06T01:25:36.146Z" +--- + +# Fab Approval + +- [Refactor to .net core](../.kanbn/tasks/refactor-to-net-core.md) + +[IIS](../_-Review/iis.md) diff --git a/IIS/leominster-serial-log.md b/IIS/leominster-serial-log.md new file mode 100644 index 0000000..3f843fb --- /dev/null +++ b/IIS/leominster-serial-log.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.138Z" +updated: "2024-01-06T01:25:36.138Z" +--- + +# Leominster Serial Log + +[IIS](../_-Review/iis.md) diff --git a/IIS/mesa-reporting-services.md b/IIS/mesa-reporting-services.md new file mode 100644 index 0000000..7ea89b1 --- /dev/null +++ b/IIS/mesa-reporting-services.md @@ -0,0 +1,10 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.139Z" +updated: "2024-01-06T01:25:36.139Z" +--- + +# Mesa Reporting Services + +[IIS](../_-Review/iis.md) +[OpenInsight](../OI/openinsight.md) diff --git a/IIS/oi-metrology-viewer.md b/IIS/oi-metrology-viewer.md new file mode 100644 index 0000000..9d07d90 --- /dev/null +++ b/IIS/oi-metrology-viewer.md @@ -0,0 +1,13 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.145Z" +updated: "2024-01-06T01:25:36.145Z" +--- + +# OI Metrology Viewer + +- [Client as Angular](../.kanbn/tasks/client-as-angular.md) + +[IIS](../_-Review/iis.md) +[MET08RESISRP2100](../EAF/Runtime/srp.md) +[OpenInsight](../OI/openinsight.md) diff --git a/IIS/oi-wizard.md b/IIS/oi-wizard.md new file mode 100644 index 0000000..4e0e8b2 --- /dev/null +++ b/IIS/oi-wizard.md @@ -0,0 +1,10 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.139Z" +updated: "2024-01-06T01:25:36.139Z" +--- + +# OI Wizard + +[IIS](../_-Review/iis.md) +[OpenInsight](../OI/openinsight.md) diff --git a/IIS/rds-info.md b/IIS/rds-info.md new file mode 100644 index 0000000..a5eedda --- /dev/null +++ b/IIS/rds-info.md @@ -0,0 +1,12 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.142Z" +updated: "2024-01-06T01:25:36.142Z" +--- + +# RDS Info + +- [Tencor Recipe Scanning](../.kanbn/tasks/tencor-recipe-scanning.md) + +[IIS](../_-Review/iis.md) +[OpenInsight](../OI/openinsight.md) diff --git a/OI/oi-http-api.md b/OI/oi-http-api.md new file mode 100644 index 0000000..7080cab --- /dev/null +++ b/OI/oi-http-api.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.132Z" +updated: "2024-01-06T01:25:36.132Z" +--- + +# OI Http API + +[Tencor Recipe Scanning](../.kanbn/tasks/tencor-recipe-scanning.md) diff --git a/OI/openinsight.md b/OI/openinsight.md new file mode 100644 index 0000000..6b190ba --- /dev/null +++ b/OI/openinsight.md @@ -0,0 +1,11 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.131Z" +updated: "2024-01-06T01:25:36.131Z" +--- + +# OpenInsight + +- [TrackIn for metrology equipment](../.kanbn/tasks/track-in-for-metrology-equipment.md) + - [OI Metrology Viewer](../IIS/oi-metrology-viewer.md) + - [OI Http API](oi-http-api.md) diff --git a/OI/stored-procedures.md b/OI/stored-procedures.md new file mode 100644 index 0000000..666d220 --- /dev/null +++ b/OI/stored-procedures.md @@ -0,0 +1,12 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.130Z" +updated: "2024-01-06T01:25:36.130Z" +--- + +# Stored Procedures + +- [Metrology Run Data Repository](../.kanbn/archive/metrology-run-data-repository.md) + - [OpenInsight](openinsight.md) +- [Print ZPL Label for SRP Packet](../.kanbn/tasks/print-zpl-label-for-srp-packet.md)] + - [OpenInsight](openinsight.md) diff --git a/Training/frameworks.md b/Training/frameworks.md new file mode 100644 index 0000000..cad0da2 --- /dev/null +++ b/Training/frameworks.md @@ -0,0 +1,12 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.121Z" +updated: "2024-01-06T01:25:36.121Z" +--- + +# Frameworks + +[Training](training.md) + +- [High Performance Low Code Demo](../.kanbn/tasks/high-performance-low-code-demo.md) +- [Dapper](../.kanbn/archive/dapper.md) diff --git a/Training/in-person.md b/Training/in-person.md new file mode 100644 index 0000000..f1e4d74 --- /dev/null +++ b/Training/in-person.md @@ -0,0 +1,11 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.125Z" +updated: "2024-01-06T01:25:36.125Z" +--- + +# In Person Training + +[Training](training.md) + +- [Leading Basics](../.kanbn/archive/leading-basics.md) diff --git a/Training/training.md b/Training/training.md new file mode 100644 index 0000000..ad148a5 --- /dev/null +++ b/Training/training.md @@ -0,0 +1,7 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.110Z" +updated: "2024-01-06T01:25:36.110Z" +--- + +# Training diff --git a/Training/web.md b/Training/web.md new file mode 100644 index 0000000..6ed5ca4 --- /dev/null +++ b/Training/web.md @@ -0,0 +1,12 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.110Z" +updated: "2024-01-06T01:25:36.110Z" +--- + +# Web + +[Training](training.md) + +- [AI OP Newsletter May 2023](../.kanbn/tasks/ai-op-newsletter-may-2023.md) +- [AI OP Newsletter May 2023](../.kanbn/tasks/ai-op-newsletter-may-2023.md) diff --git a/_-Review/acmdb.md b/_-Review/acmdb.md new file mode 100644 index 0000000..a5f5f0c --- /dev/null +++ b/_-Review/acmdb.md @@ -0,0 +1,11 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.098Z" +updated: "2024-01-06T01:25:36.098Z" +--- + +# ACMDB + +- [SRP 2100](../CEP/srp-2100.md) +- Gertler Torsten (CSC FI FE EMA EA D) diff --git a/_-Review/ado.md b/_-Review/ado.md new file mode 100644 index 0000000..1cc996d --- /dev/null +++ b/_-Review/ado.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-24T18:10:35.032Z" +updated: "2024-01-24T18:11:09.504Z" +--- + +# ADO + +- [Microsoft Azure DevOps platform (ADO) & Agile Planning features](https://videoportal.infineon.com/videos/play/F3D1A032-8372-487D-9B16-A6A68EB17044/4BED60DB-7C37-41C1-BBB9-3C1318D1836F) diff --git a/_-Review/amazon-photos.md b/_-Review/amazon-photos.md new file mode 100644 index 0000000..68abdc9 --- /dev/null +++ b/_-Review/amazon-photos.md @@ -0,0 +1,39 @@ +--- +type: "topic" +created: "2024-01-30T14:11:19.493Z" +updated: "2024-01-30T14:32:47.829Z" +--- + +# Amazon Photos + +```bash +d:/5-Other-Small/Proxmox/005/amzn1.account.AEQ4S3XN3XWICR7H2IOYECAHOTGQ-uploads.db +h3a6y4IxR_iZOXc7scb5JQ 542502700281.jpg +# https://www.amazon.com/photos/all/gallery/h3a6y4IxR_iZOXc7scb5JQ +``` + +```bash +d:/5-Other-Small/Proxmox/010/amzn1.account.AEQ4S3XN3XWICR7H2IOYECAHOTGQ-cloud.db +h3a6y4IxR_iZOXc7scb5JQ 542502700281.jpg FILE ["SaJrrTfFQBKV4EDFVg-G4w"] [] [] 638421045472150000 638421045830990000 0 0 0 CloudDriveDesktop xn_5TJ4K-w8 AVAILABLE 0 2 638390897810190000 image/jpeg jpg e6e2e729a759bf006528d01aea900611 +# https://www.amazon.com/photos/folders/SaJrrTfFQBKV4EDFVg-G4w/gallery/h3a6y4IxR_iZOXc7scb5JQ +``` + +```bash +"Logan Phares" +G7cjz2QIrY2RXVgErQBGC4 +``` + +- [ ] Open Edge and Navigate to https://www.amazon.com/photos +- [ ] Login to Amazon Photos +- [ ] Navigate to People +- [ ] Enable Developer Tools in Edge +- [ ] Clear network log +- [ ] Click on each person to get json data +- [ ] Developer Tools - Network Tab filter on search +- [ ] Developer Tools - Network Tab right click for contextual menu click "Save all as HAR with content" +- [ ] Use code to export lines containing "text": "{\"aggregations\":{\"allPeople\" +- [ ] Remove "text": " and trailing " +- [ ] Remove \" +- [ ] Parse json +- [ ] Create directory from first aggregations.people.searchData.clusterName {value}.json +- [ ] Save as first aggregations.people.match {value}.json in directory with data content diff --git a/_-Review/apc.md b/_-Review/apc.md new file mode 100644 index 0000000..cecc26b --- /dev/null +++ b/_-Review/apc.md @@ -0,0 +1,11 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.239Z" +updated: "2024-01-06T01:25:36.239Z" +--- + +# APC + +[EAF](../EAF/eaf.md) + +- [Update Trend](../.kanbn/tasks/update-trend.md) diff --git a/_-Review/arduino.md b/_-Review/arduino.md new file mode 100644 index 0000000..b32f4e8 --- /dev/null +++ b/_-Review/arduino.md @@ -0,0 +1,50 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.094Z" +updated: "2024-01-06T01:25:36.094Z" +--- + +# Arduino + +```c++ Sprinklers +const int last = 8; +const int first = 5; +const int minutes = 1; + +int pin; +int counter = 0; + +void setup() { + pinMode(first, OUTPUT); + pinMode(first + 1, OUTPUT); + pinMode(first + 2, OUTPUT); + pinMode(first + 3, OUTPUT); + pinMode(LED_BUILTIN, OUTPUT); + digitalWrite(first, HIGH); + digitalWrite(first + 1, HIGH); + digitalWrite(first + 2, HIGH); + digitalWrite(first + 3, HIGH); + digitalWrite(LED_BUILTIN, LOW); +} + +void loop() { + pin = first + counter; + digitalWrite(pin, LOW); + if(counter == 0) + delay(minutes * 60 * 1000UL); + else if(counter == 1) + delay(minutes * 30 * 1000UL); + else if(counter == 2) + delay(minutes * 60 * 1000UL); + else if(counter == 3) + delay(minutes * 60 * 1000UL); + else + delay(minutes * 1 * 1000UL); + digitalWrite(pin, HIGH); + counter += 1; + if (pin >= last) + { + counter = 0; + } +} +``` diff --git a/_-Review/artifactory.md b/_-Review/artifactory.md new file mode 100644 index 0000000..ae6a22e --- /dev/null +++ b/_-Review/artifactory.md @@ -0,0 +1,35 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-12T16:48:17.489Z" +updated: "2024-01-12T16:48:17.489Z" +--- + +# Artifactory + +```bash +# https://artifactory.intra.infineon.com/artifactory/api/search/artifact?name=system.text.json.8.0.0.nupkg +``` + +```json +{ + "results": [ + { + "uri": "https://artifactory.intra.infineon.com/artifactory/api/storage/ngt-nuget-org-cache/System.Text.Json.8.0.0.nupkg" + }, + { + "uri": "https://artifactory.intra.infineon.com/artifactory/api/storage/ngt-nuget-v2-org-cache/System.Text.Json.8.0.0.nupkg" + } + ] +} +``` + +```bash +nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json -username phares -password cmVmdGtuOjAxOjE3NDExMTM5NTA6RzNwVkx1Qmx4ajJnSkJodVBpU1dDcmJ1TWZi +nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json -username phares -password cmVmdGtuOjAxOjE3NDExMTQzNTE6RFlDdVp1MzJ3UzgzakFNcGM1bU5NendmMEtB +dotnet nuget add source --name Artifactory https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json +dotnet nuget add source --name AUC-Artifactory https://artifactoryedge-auc.icp.infineon.com/artifactory/api/nuget/v3/ngt-nuget-org/index.json +dotnet nuget disable source "nuget.org" +dotnet nuget disable source "Artifactory" +dotnet nuget list source +``` diff --git a/_-Review/asus-laptop.md b/_-Review/asus-laptop.md new file mode 100644 index 0000000..dfdd350 --- /dev/null +++ b/_-Review/asus-laptop.md @@ -0,0 +1,43 @@ +--- +type: "topic" +created: "2024-01-29T00:24:50.067Z" +updated: "2024-01-29T00:24:50.067Z" +--- + +# Asus Laptop + +```bash +ufw allow from 192.168.11.0/28 to any port 22 comment "01) SSH" +ufw allow from 192.168.11.0/28 to any port 80 comment "02) HTTP" +ufw allow from 192.168.11.0/28 to any port 9400 comment "03) dashkiosk" +ufw allow from 192.168.0.0/24 to any port 22 comment "04) SSH" +ufw allow from 192.168.0.0/24 to any port 80 comment "05) HTTP" +ufw allow from 192.168.0.0/24 to any port 9400 comment "06) dashkiosk" +``` + +```bash + 38.8 GiB [##########] /var + 4.0 GiB [# ] swap.img + 3.0 GiB [ ] /usr + 2.8 GiB [ ] /snap + 258.7 MiB [ ] /boot + 5.9 MiB [ ] /etc + 2.0 MiB [ ] /root + 1.5 MiB [ ] /run + 140.0 KiB [ ] /tmp + 92.0 KiB [ ] /home +e 16.0 KiB [ ] /lost+found +e 4.0 KiB [ ] /srv +e 4.0 KiB [ ] /opt +e 4.0 KiB [ ] /mnt +e 4.0 KiB [ ] /media +. 0.0 B [ ] /proc + 0.0 B [ ] /sys + 0.0 B [ ] /dev +@ 0.0 B [ ] libx32 +@ 0.0 B [ ] lib64 +@ 0.0 B [ ] lib32 +@ 0.0 B [ ] sbin +@ 0.0 B [ ] lib +@ 0.0 B [ ] bin +``` diff --git a/_-Review/auclv0558.md b/_-Review/auclv0558.md new file mode 100644 index 0000000..442f0e2 --- /dev/null +++ b/_-Review/auclv0558.md @@ -0,0 +1,1026 @@ + --- +type: "topic" +created: "2024-01-22T18:34:13.969Z" +updated: "2024-01-22T18:35:04.961Z" +--- + +# auclv0558 + +```bash + I confirm, that to the best of my knowledge, all resulting cross- + border-transfers have been checked by means of the applicable + Project-P07 as defined in SDHB or TDHB. + +If you need more information: please visit: + - P07: http://goto.infineon.com/p07 + - SDHB: http://goto.infineon.com/sdhb + - Export Control: http://goto.infineon.com/export +-------------------------------------------------------------------------------- + +*** ULX Linux Server -- System managed by Puppet *** +Last failed login: Mon Jan 22 10:22:01 CST 2024 from 10.64.233.192 on ssh:notty +There were 2 failed login attempts since the last successful login. +Last login: Sat Jan 20 09:32:10 2024 +WARNING: no /usr/local/.syslogin login found +[phares@auclv0558 ~]$ sudo -iu metrologysvc +Commands you enter will be recorded in /srv/metrologysvc/.bash_history_phares +[metrologysvc@auclv0558 ~]$ ls +webserver +[metrologysvc@auclv0558 ~]$ cd webserver/ +[metrologysvc@auclv0558 webserver]$ ls +conf +[metrologysvc@auclv0558 webserver]$ dotnet --info +.NET SDK (reflecting any global.json): + Version: 6.0.110 + Commit: ce0a42998a + +Runtime Environment: + OS Name: rhel + OS Version: 8 + OS Platform: Linux + RID: rhel.8-x64 + Base Path: /usr/lib64/dotnet/sdk/6.0.110/ + +global.json file: + Not found + +Host: + Version: 6.0.10 + Architecture: x64 + Commit: 5a400c212a + +.NET SDKs installed: + 6.0.110 [/usr/lib64/dotnet/sdk] + +.NET runtimes installed: + Microsoft.AspNetCore.App 6.0.10 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App] + Microsoft.NETCore.App 6.0.10 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App] + +Download .NET: + https://aka.ms/dotnet-download + +Learn about .NET Runtimes and SDKs: + https://aka.ms/dotnet/runtimes-sdk-info +[metrologysvc@auclv0558 webserver]$ cd webserver/ +-sh: cd: webserver/: No such file or directory +[metrologysvc@auclv0558 webserver]$ git +-sh: git: command not found +[metrologysvc@auclv0558 webserver]$ cls +-sh: cls: command not found +[metrologysvc@auclv0558 webserver]$ clear +[metrologysvc@auclv0558 webserver]$ git +-sh: git: command not found +[metrologysvc@auclv0558 webserver]$ apt-get update +-sh: apt-get: command not found +[metrologysvc@auclv0558 webserver]$ yum update +Not root, Subscription Management repositories not updated + +This system is not registered with an entitlement server. You can use subscription-manager to register. + +Error: This command has to be run with superuser privileges (under the root user on most systems). +[metrologysvc@auclv0558 webserver]$ yum install git +Not root, Subscription Management repositories not updated + +This system is not registered with an entitlement server. You can use subscription-manager to register. + +Error: This command has to be run with superuser privileges (under the root user on most systems). +[metrologysvc@auclv0558 webserver]$ ls +conf +[metrologysvc@auclv0558 webserver]$ cd conf/ +[metrologysvc@auclv0558 conf]$ ls +metrologysvc.conf +[metrologysvc@auclv0558 conf]$ nano metrologysvc.conf +[metrologysvc@auclv0558 conf]$ cat metrologysvc.conf +[metrologysvc@auclv0558 conf]$ whereis dotnet +dotnet: /usr/bin/dotnet /usr/lib64/dotnet /etc/dotnet /usr/share/man/man1/dotnet.1.gz +[metrologysvc@auclv0558 conf]$ whereis nginx +nginx: /usr/sbin/nginx /usr/lib64/nginx /etc/nginx /usr/share/nginx /usr/share/man/man3/nginx.3pm.gz /usr/share/man/m an8/nginx.8.gz +[metrologysvc@auclv0558 conf]$ ls /etc/nginx +conf.d fastcgi.conf.default koi-utf mime.types.default scgi_params uwsgi_params.default +default.d fastcgi_params koi-win nginx.conf scgi_params.default win-utf +fastcgi.conf fastcgi_params.default mime.types nginx.conf.default uwsgi_params +[metrologysvc@auclv0558 conf]$ nano /etc/nginx/nginx.conf +[metrologysvc@auclv0558 conf]$ ls^C +[metrologysvc@auclv0558 conf]$ cd .. +[metrologysvc@auclv0558 webserver]$ dotnet new console -o Test + +Welcome to .NET 6.0! +--------------------- +SDK Version: 6.0.110 + +---------------- +Installed an ASP.NET Core HTTPS development certificate. +To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). +Learn about HTTPS: https://aka.ms/dotnet-https +---------------- +Write your first app: https://aka.ms/dotnet-hello-world +Find out what's new: https://aka.ms/dotnet-whats-new +Explore documentation: https://aka.ms/dotnet-docs +Report issues and find source on GitHub: https://github.com/dotnet/core +Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli +-------------------------------------------------------------------------------------- +The template "Console App" was created successfully. + +Processing post-creation actions... +Running 'dotnet restore' on /srv/metrologysvc/webserver/Test/Test.csproj... + Determining projects to restore... + Restored /srv/metrologysvc/webserver/Test/Test.csproj (in 94 ms). +Restore succeeded. + +[metrologysvc@auclv0558 webserver]$ ls +Test conf +[metrologysvc@auclv0558 webserver]$ cd Test/ +[metrologysvc@auclv0558 Test]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + All projects are up-to-date for restore. + Test -> /srv/metrologysvc/webserver/Test/bin/Debug/net6.0/Test.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:02.45 +[metrologysvc@auclv0558 Test]$ ls +Program.cs Test.csproj bin obj +[metrologysvc@auclv0558 Test]$ cd .. +[metrologysvc@auclv0558 webserver]$ links a +-sh: links: command not found +[metrologysvc@auclv0558 webserver]$ curl +curl: try 'curl --help' or 'curl --manual' for more information +[metrologysvc@auclv0558 webserver]$ curl http://127.0.0.1 +curl: (7) Failed to connect to 127.0.0.1 port 80: Connection refused +[metrologysvc@auclv0558 webserver]$ curl http://0.0.0.0 +curl: (7) Failed to connect to 0.0.0.0 port 80: Connection refused +[metrologysvc@auclv0558 webserver]$ curl http://localhost +curl: (7) Failed to connect to localhost port 80: Connection refused +[metrologysvc@auclv0558 webserver]$ nano /etc/hosts +[metrologysvc@auclv0558 webserver]$ cd Test/ +[metrologysvc@auclv0558 Test]$ dotnet run +Hello, World! +[metrologysvc@auclv0558 Test]$ cd .. +[metrologysvc@auclv0558 webserver]$ ncdu +-sh: ncdu: command not found +[metrologysvc@auclv0558 webserver]$ ls /ifxhome/phares/ +ls: cannot open directory '/ifxhome/phares/': Permission denied +[metrologysvc@auclv0558 webserver]$ exit +logout +[phares@auclv0558 ~]$ ls +OI-Metrology +[phares@auclv0558 ~]$ mv OI-Metrology/ /srv/metrologysvc/webserver/ +Test/ conf/ +[phares@auclv0558 ~]$ mv OI-Metrology/ /srv/metrologysvc/webserver/ +mv: cannot create directory '/srv/metrologysvc/webserver/OI-Metrology': Permission denied +[phares@auclv0558 ~]$ mv OI-Metrology/ /srv/metrologysvc/webserver +mv: cannot create directory '/srv/metrologysvc/webserver/OI-Metrology': Permission denied +[phares@auclv0558 ~]$ cd OI-Metrology/ +[phares@auclv0558 ~/OI-Metrology]$ cd S +Server/ Shared/ +[phares@auclv0558 ~/OI-Metrology]$ cd Shared/ +[phares@auclv0558 Shared]$ dotnet build + +Welcome to .NET 6.0! +--------------------- +SDK Version: 6.0.110 + +---------------- +Installed an ASP.NET Core HTTPS development certificate. +To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only). +Learn about HTTPS: https://aka.ms/dotnet-https +---------------- +Write your first app: https://aka.ms/dotnet-hello-world +Find out what's new: https://aka.ms/dotnet-whats-new +Explore documentation: https://aka.ms/dotnet-docs +Report issues and find source on GitHub: https://github.com/dotnet/core +Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli +-------------------------------------------------------------------------------------- +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + Restored /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj (in 2.09 sec). +CSC : error CS1617: Invalid option '12.0' for /langversion. Use '/langversion:?' to list supported values. [/ifxhome/ phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] + +Build FAILED. + +CSC : error CS1617: Invalid option '12.0' for /langversion. Use '/langversion:?' to list supported values. [/ifxhome/ phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] + 0 Warning(s) + 1 Error(s) + +Time Elapsed 00:00:04.06 +[phares@auclv0558 Shared]$ cd .. +[phares@auclv0558 ~/OI-Metrology]$ ls +Archive OI-Metrology.sln Server Tests azure-pipelines-server-development.yml package.json +Client README.md Shared View azure-pipelines-server.yml +[phares@auclv0558 ~/OI-Metrology]$ cd .. +[phares@auclv0558 ~]$ mv OI-Metrology/ OI-Metrology-12 +[phares@auclv0558 ~]$ ls +OI-Metrology-12 +[phares@auclv0558 ~]$ sudo -iu metrologysvc +[phares@auclv0558 ~]$ ls +OI-Metrology OI-Metrology-12 +[phares@auclv0558 ~]$ cd OI +OI-Metrology-12/ OI-Metrology/ +[phares@auclv0558 ~]$ cd OI-Metrology +[phares@auclv0558 ~/OI-Metrology]$ cd Shared/ +[phares@auclv0558 Shared]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + Restored /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj (in 548 ms). +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [ /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] + OI.Metrology.Shared -> /ifxhome/phares/OI-Metrology/Shared/bin/Debug/net6.0/win-x64/OI.Metrology.Shared.dll + +Build succeeded. + +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [ /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] + 3 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:04.90 +[phares@auclv0558 Shared]$ cd .. +[phares@auclv0558 ~/OI-Metrology]$ cd Server/ +[phares@auclv0558 Server]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + Restored /ifxhome/phares/OI-Metrology/Server/OI.Metrology.Server.csproj (in 9.3 sec). + 1 of 2 projects are up-to-date for restore. + OI.Metrology.Shared -> /ifxhome/phares/OI-Metrology/Shared/bin/Debug/net6.0/win-x64/OI.Metrology.Shared.dll + OI.Metrology.Server -> /ifxhome/phares/OI-Metrology/Server/bin/Debug/net6.0/win-x64/OI.Metrology.Server.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:21.80 +[phares@auclv0558 Server]$ dotnet run +Building... +System.ComponentModel.Win32Exception (8): An error occurred trying to start process '/ifxhome/phares/OI-Metrology/Ser ver/bin/Debug/net6.0/win-x64/OI.Metrology.Server.exe' with working directory '/ifxhome/phares/OI-Metrology/Server'. E xec format error + at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] arg v, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) + at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) + at System.Diagnostics.Process.Start() + at Microsoft.DotNet.Cli.Utils.Command.Execute(Action`1 processStarted) + at Microsoft.DotNet.Cli.Utils.Command.Execute() + at Microsoft.DotNet.Tools.Run.RunCommand.Execute() + at Microsoft.DotNet.Tools.Run.RunCommand.Run(String[] args) + at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient) + at Microsoft.DotNet.Cli.Program.Main(String[] args) +[phares@auclv0558 Server]$ cd bin/Debug/net6.0/win-x64/ +BlazorDebugProxy/ +Dapper.dll* +Data/ +EntityFramework.SqlServer.dll* +EntityFramework.dll* +Microsoft.AspNetCore.Antiforgery.dll* +Microsoft.AspNetCore.Authentication.Abstractions.dll* +Microsoft.AspNetCore.Authentication.Cookies.dll* +Microsoft.AspNetCore.Authentication.Core.dll* +Microsoft.AspNetCore.Authentication.OAuth.dll* +Microsoft.AspNetCore.Authentication.dll* +Microsoft.AspNetCore.Authorization.Policy.dll* +Microsoft.AspNetCore.Authorization.dll* +Microsoft.AspNetCore.Components.Authorization.dll* +Microsoft.AspNetCore.Components.Forms.dll* +Microsoft.AspNetCore.Components.Server.dll* +Microsoft.AspNetCore.Components.Web.dll* +Microsoft.AspNetCore.Components.WebAssembly.Server.dll* +Microsoft.AspNetCore.Components.dll* +Microsoft.AspNetCore.Connections.Abstractions.dll* +Microsoft.AspNetCore.CookiePolicy.dll* +Microsoft.AspNetCore.Cors.dll* +Microsoft.AspNetCore.Cryptography.Internal.dll* +Microsoft.AspNetCore.Cryptography.KeyDerivation.dll* +Microsoft.AspNetCore.DataProtection.Abstractions.dll* +Microsoft.AspNetCore.DataProtection.Extensions.dll* +Microsoft.AspNetCore.DataProtection.dll* +Microsoft.AspNetCore.Diagnostics.Abstractions.dll* +Microsoft.AspNetCore.Diagnostics.HealthChecks.dll* +Microsoft.AspNetCore.Diagnostics.dll* +Microsoft.AspNetCore.HostFiltering.dll* +Microsoft.AspNetCore.Hosting.Abstractions.dll* +Microsoft.AspNetCore.Hosting.Server.Abstractions.dll* +Microsoft.AspNetCore.Hosting.dll* +Microsoft.AspNetCore.Html.Abstractions.dll* +Microsoft.AspNetCore.Http.Abstractions.dll* +Microsoft.AspNetCore.Http.Connections.Common.dll* +Microsoft.AspNetCore.Http.Connections.dll* +Microsoft.AspNetCore.Http.Extensions.dll* +Microsoft.AspNetCore.Http.Features.dll* +Microsoft.AspNetCore.Http.Results.dll* +Microsoft.AspNetCore.Http.dll* +Microsoft.AspNetCore.HttpLogging.dll* +Microsoft.AspNetCore.HttpOverrides.dll* +Microsoft.AspNetCore.HttpsPolicy.dll* +Microsoft.AspNetCore.Identity.dll* +Microsoft.AspNetCore.Localization.Routing.dll* +Microsoft.AspNetCore.Localization.dll* +Microsoft.AspNetCore.Metadata.dll* +Microsoft.AspNetCore.Mvc.Abstractions.dll* +Microsoft.AspNetCore.Mvc.ApiExplorer.dll* +Microsoft.AspNetCore.Mvc.Core.dll* +Microsoft.AspNetCore.Mvc.Cors.dll* +Microsoft.AspNetCore.Mvc.DataAnnotations.dll* +Microsoft.AspNetCore.Mvc.Formatters.Json.dll* +Microsoft.AspNetCore.Mvc.Formatters.Xml.dll* +Microsoft.AspNetCore.Mvc.Localization.dll* +Microsoft.AspNetCore.Mvc.Razor.dll* +Microsoft.AspNetCore.Mvc.RazorPages.dll* +Microsoft.AspNetCore.Mvc.TagHelpers.dll* +Microsoft.AspNetCore.Mvc.ViewFeatures.dll* +Microsoft.AspNetCore.Mvc.dll* +Microsoft.AspNetCore.Razor.Runtime.dll* +Microsoft.AspNetCore.Razor.dll* +Microsoft.AspNetCore.ResponseCaching.Abstractions.dll* +Microsoft.AspNetCore.ResponseCaching.dll* +Microsoft.AspNetCore.ResponseCompression.dll* +Microsoft.AspNetCore.Rewrite.dll* +Microsoft.AspNetCore.Routing.Abstractions.dll* +Microsoft.AspNetCore.Routing.dll* +Microsoft.AspNetCore.Server.HttpSys.dll* +Microsoft.AspNetCore.Server.IIS.dll* +Microsoft.AspNetCore.Server.IISIntegration.dll* +Microsoft.AspNetCore.Server.Kestrel.Core.dll* +Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.dll* +Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll* +Microsoft.AspNetCore.Server.Kestrel.dll* +Microsoft.AspNetCore.Session.dll* +Microsoft.AspNetCore.SignalR.Common.dll* +Microsoft.AspNetCore.SignalR.Core.dll* +Microsoft.AspNetCore.SignalR.Protocols.Json.dll* +Microsoft.AspNetCore.SignalR.dll* +Microsoft.AspNetCore.StaticFiles.dll* +Microsoft.AspNetCore.WebSockets.dll* +Microsoft.AspNetCore.WebUtilities.dll* +Microsoft.AspNetCore.dll* +Microsoft.CSharp.dll* +Microsoft.DiaSymReader.Native.amd64.dll* +Microsoft.Extensions.Caching.Abstractions.dll* +Microsoft.Extensions.Caching.Memory.dll* +Microsoft.Extensions.Configuration.Abstractions.dll* +Microsoft.Extensions.Configuration.Binder.dll* +Microsoft.Extensions.Configuration.CommandLine.dll* +Microsoft.Extensions.Configuration.EnvironmentVariables.dll* +Microsoft.Extensions.Configuration.FileExtensions.dll* +Microsoft.Extensions.Configuration.Ini.dll* +Microsoft.Extensions.Configuration.Json.dll* +Microsoft.Extensions.Configuration.KeyPerFile.dll* +Microsoft.Extensions.Configuration.UserSecrets.dll* +Microsoft.Extensions.Configuration.Xml.dll* +Microsoft.Extensions.Configuration.dll* +Microsoft.Extensions.DependencyInjection.Abstractions.dll* +Microsoft.Extensions.DependencyInjection.dll* +Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.dll* +Microsoft.Extensions.Diagnostics.HealthChecks.dll* +Microsoft.Extensions.Features.dll* +Microsoft.Extensions.FileProviders.Abstractions.dll* +Microsoft.Extensions.FileProviders.Composite.dll* +Microsoft.Extensions.FileProviders.Embedded.dll* +Microsoft.Extensions.FileProviders.Physical.dll* +Microsoft.Extensions.FileSystemGlobbing.dll* +Microsoft.Extensions.Hosting.Abstractions.dll* +Microsoft.Extensions.Hosting.WindowsServices.dll* +Microsoft.Extensions.Hosting.dll* +Microsoft.Extensions.Http.dll* +Microsoft.Extensions.Identity.Core.dll* +Microsoft.Extensions.Identity.Stores.dll* +Microsoft.Extensions.Localization.Abstractions.dll* +Microsoft.Extensions.Localization.dll* +Microsoft.Extensions.Logging.Abstractions.dll* +Microsoft.Extensions.Logging.Configuration.dll* +Microsoft.Extensions.Logging.Console.dll* +Microsoft.Extensions.Logging.Debug.dll* +Microsoft.Extensions.Logging.EventLog.dll* +Microsoft.Extensions.Logging.EventSource.dll* +Microsoft.Extensions.Logging.TraceSource.dll* +Microsoft.Extensions.Logging.dll* +Microsoft.Extensions.ObjectPool.dll* +Microsoft.Extensions.Options.ConfigurationExtensions.dll* +Microsoft.Extensions.Options.DataAnnotations.dll* +Microsoft.Extensions.Options.dll* +Microsoft.Extensions.Primitives.dll* +Microsoft.Extensions.WebEncoders.dll* +Microsoft.JSInterop.dll* +Microsoft.Net.Http.Headers.dll* +Microsoft.OpenApi.dll* +Microsoft.VisualBasic.Core.dll* +Microsoft.VisualBasic.dll* +Microsoft.Win32.Primitives.dll* +Microsoft.Win32.Registry.dll* +Microsoft.Win32.SystemEvents.dll* +Newtonsoft.Json.dll* +OI.Metrology.Server.deps.json +OI.Metrology.Server.dll +OI.Metrology.Server.exe* +OI.Metrology.Server.pdb +OI.Metrology.Server.runtimeconfig.json +OI.Metrology.Server.staticwebassets.runtime.json +OI.Metrology.Shared.dll +OI.Metrology.Shared.pdb +Swashbuckle.AspNetCore.Swagger.dll* +Swashbuckle.AspNetCore.SwaggerGen.dll* +Swashbuckle.AspNetCore.SwaggerUI.dll* +System.AppContext.dll* +System.Buffers.dll* +System.CodeDom.dll* +System.Collections.Concurrent.dll* +System.Collections.Immutable.dll* +System.Collections.NonGeneric.dll* +System.Collections.Specialized.dll* +System.Collections.dll* +System.ComponentModel.Annotations.dll* +System.ComponentModel.DataAnnotations.dll* +System.ComponentModel.EventBasedAsync.dll* +System.ComponentModel.Primitives.dll* +System.ComponentModel.TypeConverter.dll* +System.ComponentModel.dll* +System.Configuration.ConfigurationManager.dll* +System.Configuration.dll* +System.Console.dll* +System.Core.dll* +System.Data.Common.dll* +System.Data.DataSetExtensions.dll* +System.Data.SqlClient.dll* +System.Data.dll* +System.Diagnostics.Contracts.dll* +System.Diagnostics.Debug.dll* +System.Diagnostics.DiagnosticSource.dll* +System.Diagnostics.EventLog.Messages.dll* +System.Diagnostics.EventLog.dll* +System.Diagnostics.FileVersionInfo.dll* +System.Diagnostics.Process.dll* +System.Diagnostics.StackTrace.dll* +System.Diagnostics.TextWriterTraceListener.dll* +System.Diagnostics.Tools.dll* +System.Diagnostics.TraceSource.dll* +System.Diagnostics.Tracing.dll* +System.Drawing.Common.dll* +System.Drawing.Primitives.dll* +System.Drawing.dll* +System.Dynamic.Runtime.dll* +System.Formats.Asn1.dll* +System.Globalization.Calendars.dll* +System.Globalization.Extensions.dll* +System.Globalization.dll* +System.IO.Compression.Brotli.dll* +System.IO.Compression.FileSystem.dll* +System.IO.Compression.Native.dll* +System.IO.Compression.ZipFile.dll* +System.IO.Compression.dll* +System.IO.FileSystem.AccessControl.dll* +System.IO.FileSystem.DriveInfo.dll* +System.IO.FileSystem.Primitives.dll* +System.IO.FileSystem.Watcher.dll* +System.IO.FileSystem.dll* +System.IO.IsolatedStorage.dll* +System.IO.MemoryMappedFiles.dll* +System.IO.Pipelines.dll* +System.IO.Pipes.AccessControl.dll* +System.IO.Pipes.dll* +System.IO.UnmanagedMemoryStream.dll* +System.IO.dll* +System.Linq.Expressions.dll* +System.Linq.Parallel.dll* +System.Linq.Queryable.dll* +System.Linq.dll* +System.Memory.dll* +System.Net.Http.Json.dll* +System.Net.Http.dll* +System.Net.HttpListener.dll* +System.Net.Mail.dll* +System.Net.NameResolution.dll* +System.Net.NetworkInformation.dll* +System.Net.Ping.dll* +System.Net.Primitives.dll* +System.Net.Quic.dll* +System.Net.Requests.dll* +System.Net.Security.dll* +System.Net.ServicePoint.dll* +System.Net.Sockets.dll* +System.Net.WebClient.dll* +System.Net.WebHeaderCollection.dll* +System.Net.WebProxy.dll* +System.Net.WebSockets.Client.dll* +System.Net.WebSockets.dll* +System.Net.dll* +System.Numerics.Vectors.dll* +System.Numerics.dll* +System.ObjectModel.dll* +System.Private.CoreLib.dll* +System.Private.DataContractSerialization.dll* +System.Private.Uri.dll* +System.Private.Xml.Linq.dll* +System.Private.Xml.dll* +System.Reflection.DispatchProxy.dll* +System.Reflection.Emit.ILGeneration.dll* +System.Reflection.Emit.Lightweight.dll* +System.Reflection.Emit.dll* +System.Reflection.Extensions.dll* +System.Reflection.Metadata.dll* +System.Reflection.Primitives.dll* +System.Reflection.TypeExtensions.dll* +System.Reflection.dll* +System.Resources.Reader.dll* +System.Resources.ResourceManager.dll* +System.Resources.Writer.dll* +System.Runtime.CompilerServices.Unsafe.dll* +System.Runtime.CompilerServices.VisualC.dll* +System.Runtime.Extensions.dll* +System.Runtime.Handles.dll* +System.Runtime.InteropServices.RuntimeInformation.dll* +System.Runtime.InteropServices.dll* +System.Runtime.Intrinsics.dll* +System.Runtime.Loader.dll* +System.Runtime.Numerics.dll* +System.Runtime.Serialization.Formatters.dll* +System.Runtime.Serialization.Json.dll* +System.Runtime.Serialization.Primitives.dll* +System.Runtime.Serialization.Xml.dll* +System.Runtime.Serialization.dll* +System.Runtime.dll* +System.Security.AccessControl.dll* +System.Security.Claims.dll* +System.Security.Cryptography.Algorithms.dll* +System.Security.Cryptography.Cng.dll* +System.Security.Cryptography.Csp.dll* +System.Security.Cryptography.Encoding.dll* +System.Security.Cryptography.OpenSsl.dll* +System.Security.Cryptography.Pkcs.dll* +System.Security.Cryptography.Primitives.dll* +System.Security.Cryptography.ProtectedData.dll* +System.Security.Cryptography.X509Certificates.dll* +System.Security.Cryptography.Xml.dll* +System.Security.Permissions.dll* +System.Security.Principal.Windows.dll* +System.Security.Principal.dll* +System.Security.SecureString.dll* +System.Security.dll* +System.ServiceModel.Web.dll* +System.ServiceProcess.ServiceController.dll* +System.ServiceProcess.dll* +System.Text.Encoding.CodePages.dll* +System.Text.Encoding.Extensions.dll* +System.Text.Encoding.dll* +System.Text.Encodings.Web.dll* +System.Text.Json.dll* +System.Text.RegularExpressions.dll* +System.Threading.Channels.dll* +System.Threading.Overlapped.dll* +System.Threading.Tasks.Dataflow.dll* +System.Threading.Tasks.Extensions.dll* +System.Threading.Tasks.Parallel.dll* +System.Threading.Tasks.dll* +System.Threading.Thread.dll* +System.Threading.ThreadPool.dll* +System.Threading.Timer.dll* +System.Threading.dll* +System.Transactions.Local.dll* +System.Transactions.dll* +System.ValueTuple.dll* +System.Web.HttpUtility.dll* +System.Web.dll* +System.Windows.Extensions.dll* +System.Windows.dll* +System.Xml.Linq.dll* +System.Xml.ReaderWriter.dll* +System.Xml.Serialization.dll* +System.Xml.XDocument.dll* +System.Xml.XPath.XDocument.dll* +System.Xml.XPath.dll* +System.Xml.XmlDocument.dll* +System.Xml.XmlSerializer.dll* +System.Xml.dll* +System.dll* +WindowsBase.dll* +api-ms-win-core-console-l1-1-0.dll* +api-ms-win-core-console-l1-2-0.dll* +api-ms-win-core-datetime-l1-1-0.dll* +api-ms-win-core-debug-l1-1-0.dll* +api-ms-win-core-errorhandling-l1-1-0.dll* +api-ms-win-core-fibers-l1-1-0.dll* +api-ms-win-core-file-l1-1-0.dll* +api-ms-win-core-file-l1-2-0.dll* +api-ms-win-core-file-l2-1-0.dll* +api-ms-win-core-handle-l1-1-0.dll* +api-ms-win-core-heap-l1-1-0.dll* +api-ms-win-core-interlocked-l1-1-0.dll* +api-ms-win-core-libraryloader-l1-1-0.dll* +api-ms-win-core-localization-l1-2-0.dll* +api-ms-win-core-memory-l1-1-0.dll* +api-ms-win-core-namedpipe-l1-1-0.dll* +api-ms-win-core-processenvironment-l1-1-0.dll* +api-ms-win-core-processthreads-l1-1-0.dll* +api-ms-win-core-processthreads-l1-1-1.dll* +api-ms-win-core-profile-l1-1-0.dll* +api-ms-win-core-rtlsupport-l1-1-0.dll* +api-ms-win-core-string-l1-1-0.dll* +api-ms-win-core-synch-l1-1-0.dll* +api-ms-win-core-synch-l1-2-0.dll* +api-ms-win-core-sysinfo-l1-1-0.dll* +api-ms-win-core-timezone-l1-1-0.dll* +api-ms-win-core-util-l1-1-0.dll* +api-ms-win-crt-conio-l1-1-0.dll* +api-ms-win-crt-convert-l1-1-0.dll* +api-ms-win-crt-environment-l1-1-0.dll* +api-ms-win-crt-filesystem-l1-1-0.dll* +api-ms-win-crt-heap-l1-1-0.dll* +api-ms-win-crt-locale-l1-1-0.dll* +api-ms-win-crt-math-l1-1-0.dll* +api-ms-win-crt-multibyte-l1-1-0.dll* +api-ms-win-crt-private-l1-1-0.dll* +api-ms-win-crt-process-l1-1-0.dll* +api-ms-win-crt-runtime-l1-1-0.dll* +api-ms-win-crt-stdio-l1-1-0.dll* +api-ms-win-crt-string-l1-1-0.dll* +api-ms-win-crt-time-l1-1-0.dll* +api-ms-win-crt-utility-l1-1-0.dll* +aspnetcorev2_inprocess.dll* +clretwrc.dll* +clrjit.dll* +coreclr.dll* +createdump.exe* +dbgshim.dll* +hostfxr.dll* +hostpolicy.dll* +mscordaccore.dll* +mscordaccore_amd64_amd64_6.0.1022.47605.dll* +mscordbi.dll* +mscorlib.dll* +mscorrc.dll* +msquic.dll* +netstandard.dll* +ref/ +sni.dll* +ucrtbase.dll* +[phares@auclv0558 Server]$ cd bin/Debug/net6.0 +[phares@auclv0558 net6.0]$ ls +win-x64 +[phares@auclv0558 net6.0]$ cd bin/Debug/net6.0~ +[phares@auclv0558 net6.0]$ cd .. +[phares@auclv0558 Debug]$ cd .. +[phares@auclv0558 bin]$ cd .. +[phares@auclv0558 Server]$ ls +ApiControllers Data Program.cs Services compilerconfig.json wwwroot +ApiLoggingMiddleware.cs Models Properties Views compilerconfig.json.defaults +Controllers OI.Metrology.Server.csproj Repositories bin obj +[phares@auclv0558 Server]$ nano OI.Metrology.Server.csproj +[phares@auclv0558 Server]$ cd ../Shared/ +[phares@auclv0558 Shared]$ nano OI.Metrology.Shared.csproj +[phares@auclv0558 Shared]$ cd ../Shared/ +[phares@auclv0558 Shared]$ rm -r bin +[phares@auclv0558 Shared]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + Restored /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj (in 261 ms). +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [ /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] + OI.Metrology.Shared -> /ifxhome/phares/OI-Metrology/Shared/bin/Debug/net6.0/linux/OI.Metrology.Shared.dll + +Build succeeded. + +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSDescriptorV3.cs(5,83): warning SYSLIB1037: The type 'Infinit yQSDescriptorV3' defines init-only properties, deserialization of which is currently not supported in source generati on mode. [/ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSEventV3.cs(5,77): warning SYSLIB1037: The type 'InfinityQSEv entV3' defines init-only properties, deserialization of which is currently not supported in source generation mode. [ /ifxhome/phares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] +/ifxhome/phares/OI-Metrology/Shared/DataModels/InfinityQSV3.cs(5,71): warning SYSLIB1037: The type 'InfinityQSV3' def ines init-only properties, deserialization of which is currently not supported in source generation mode. [/ifxhome/p hares/OI-Metrology/Shared/OI.Metrology.Shared.csproj] + 3 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:04.27 +[phares@auclv0558 Shared]$ cd bin/Debug/net6.0/linux/ +OI.Metrology.Shared.deps.json OI.Metrology.Shared.pdb +OI.Metrology.Shared.dll ref/ +[phares@auclv0558 Shared]$ cd bin/Debug/net6.0/linux/cd +[phares@auclv0558 Shared]$ cd .. +[phares@auclv0558 ~/OI-Metrology]$ cd Server/ +[phares@auclv0558 Server]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] + +Build FAILED. + +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] +/usr/lib64/dotnet/sdk/6.0.110/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(1 29,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux'. [/ifxhom e/phares/OI-Metrology/Server/OI.Metrology.Server.csproj] + 0 Warning(s) + 4 Error(s) + +Time Elapsed 00:00:00.97 +[phares@auclv0558 Server]$ nano OI.Metrology.Server.csproj +[phares@auclv0558 Server]$ cd .. +[phares@auclv0558 ~/OI-Metrology]$ cd .. +[phares@auclv0558 ~]$ cd Barcode-Host/ +[phares@auclv0558 ~/Barcode-Host]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + Restored /ifxhome/phares/Barcode-Host/Shared/Barcode.Host.Shared.csproj (in 6.81 sec). + Restored /ifxhome/phares/Barcode-Host/Server/Barcode.Host.Server.csproj (in 7.08 sec). +/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.AspNetCore.Mvc.Testi ng 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln] +/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / linux-x64. Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln] +/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / win-x64. Package Microsoft.AspNetCore .Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln] + Failed to restore /ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj (in 3.2 sec). + +Build FAILED. + +/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.AspNetCore.Mvc.Testi ng 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln] +/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / linux-x64. Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln] +/ifxhome/phares/Barcode-Host/Server.Tests/Barcode.Host.Server.Tests.csproj : error NU1202: Package Microsoft.AspNetCo re.Mvc.Testing 7.0.5 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / win-x64. Package Microsoft.AspNetCore .Mvc.Testing 7.0.5 supports: net7.0 (.NETCoreApp,Version=v7.0) [/ifxhome/phares/Barcode-Host/Barcode-Host.sln] + 0 Warning(s) + 3 Error(s) + +Time Elapsed 00:00:11.25 +[phares@auclv0558 ~/Barcode-Host]$ cd Ser +Server.Tests/ Server/ +[phares@auclv0558 ~/Barcode-Host]$ cd Server +[phares@auclv0558 Server]$ dotnet build +Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET +Copyright (C) Microsoft Corporation. All rights reserved. + + Determining projects to restore... + All projects are up-to-date for restore. + Barcode.Host.Shared -> /ifxhome/phares/Barcode-Host/Shared/bin/Debug/net6.0/Barcode.Host.Shared.dll + Barcode.Host.Server -> /ifxhome/phares/Barcode-Host/Server/bin/Debug/net6.0/Barcode.Host.Server.dll + +Build succeeded. + 0 Warning(s) + 0 Error(s) + +Time Elapsed 00:00:08.64 +[phares@auclv0558 Server]$ dotnet run +Building... +2024-01-22 12:26:02.209 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.) () () Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"] +2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Error.cshtml"'. +2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Notification.cshtml"'. +2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_ValidationScriptsPartial.cshtml"'. +2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewImports.cshtml"'. +2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewStart.cshtml"'. +2024-01-22 12:26:02.270 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_Layout.cshtml"'. +2024-01-22 12:26:02.278 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/ifxhome/phares/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest. +2024-01-22 12:26:02.325 -06:00 [Debug] (Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver.) () () Registered SignalR Protocol: "json", implemented by "Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol". +2024-01-22 12:26:02.351 -06:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application +2024-01-22 12:26:02.358 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting starting +2024-01-22 12:26:02.374 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Repository contains no viable default key. Caller should generate a key with immediate activation. +2024-01-22 12:26:02.374 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Policy resolution states that a new key should be added to the key ring. +2024-01-22 12:26:02.379 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Creating key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with creation date 2024-01-22 18:26:02Z, activation date 2024-01-22 18:26:02Z, and expiration date 2024-04-21 18:26:02Z. +2024-01-22 12:26:02.389 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Descriptor deserializer type for key {faf38162-ab8f-49ef-b195-45fb82fa9d71} is '"Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60"'. +2024-01-22 12:26:02.393 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () No key escrow sink found. Not writing key {faf38162-ab8f-49ef-b195-45fb82fa9d71} to escrow. +2024-01-22 12:26:02.394 -06:00 [Warning] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () No XML encryptor configured. Key {faf38162-ab8f-49ef-b195-45fb82fa9d71} may be persisted to storage in unencrypted form. +2024-01-22 12:26:02.401 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Writing data to file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'. +2024-01-22 12:26:02.402 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Key cache expiration token triggered by '"CreateNewKey"' operation. +2024-01-22 12:26:02.402 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Reading data from file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'. +2024-01-22 12:26:02.408 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Found key {faf38162-ab8f-49ef-b195-45fb82fa9d71}. +2024-01-22 12:26:02.416 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Considering key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with expiration date 2024-04-21 18:26:02Z as default key. +2024-01-22 12:26:02.417 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.) () () Forwarded activator type request from "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" to "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60" +2024-01-22 12:26:02.419 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed symmetric algorithm '"System.Security.Cryptography.Aes"'. +2024-01-22 12:26:02.419 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed keyed hash algorithm '"System.Security.Cryptography.HMACSHA256"'. +2024-01-22 12:26:02.423 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Using key {faf38162-ab8f-49ef-b195-45fb82fa9d71} as the default key. +2024-01-22 12:26:02.424 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService.) () () Key ring with default key {faf38162-ab8f-49ef-b195-45fb82fa9d71} was loaded during application startup. +2024-01-22 12:26:02.426 -06:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 1234567:554149 running. +2024-01-22 12:26:02.439 -06:00 [Fatal] (Barcode.Host.Server.Program.) () () Host terminated unexpectedly +System.UnauthorizedAccessException: Access to the port '/dev/ttyUSB0' is denied. + ---> System.IO.IOException: No such file or directory + --- End of inner exception stack trace --- + at System.IO.Ports.SafeSerialDeviceHandle.Open(String portName) + at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) + at System.IO.Ports.SerialPort.Open() + at Barcode.Host.Server.Services.SerialService.Barcode.Host.Shared.Models.Stateless.ISerialService.Open() in /ifxhome/phares/Barcode-Host/Server/Services/SerialService.cs:line 25 + at Barcode.Host.Server.HostedService.TimedHostedService.StartAsync(CancellationToken stoppingToken) in /ifxhome/phares/Barcode-Host/Server/HostedService/TimedHostedService.cs:line 73 + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) + at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) + at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) + at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) + at Microsoft.AspNetCore.Builder.WebApplication.Run(String url) + at Barcode.Host.Server.Program.Main(String[] args) in /ifxhome/phares/Barcode-Host/Server/Program.cs:line 90 +[phares@auclv0558 Server]$ ufw status +ufw: Command not found. +[phares@auclv0558 Server]$ dotnet user-secrets list +No secrets configured for this application. +[phares@auclv0558 Server]$ dotnet user-secrets set "SerialPortName" "" +Successfully saved SerialPortName = to the secret store. +[phares@auclv0558 Server]$ dotnet run +Building... +2024-01-22 12:31:52.649 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.) () () Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"] +2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Error.cshtml"'. +2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Notification.cshtml"'. +2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_ValidationScriptsPartial.cshtml"'. +2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewImports.cshtml"'. +2024-01-22 12:31:52.704 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewStart.cshtml"'. +2024-01-22 12:31:52.705 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_Layout.cshtml"'. +2024-01-22 12:31:52.712 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/ifxhome/phares/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest. +2024-01-22 12:31:52.757 -06:00 [Debug] (Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver.) () () Registered SignalR Protocol: "json", implemented by "Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol". +2024-01-22 12:31:52.784 -06:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application +2024-01-22 12:31:52.790 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting starting +2024-01-22 12:31:52.798 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Reading data from file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'. +2024-01-22 12:31:52.821 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Found key {faf38162-ab8f-49ef-b195-45fb82fa9d71}. +2024-01-22 12:31:52.834 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Considering key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with expiration date 2024-04-21 18:26:02Z as default key. +2024-01-22 12:31:52.836 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.) () () Forwarded activator type request from "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" to "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60" +2024-01-22 12:31:52.837 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed symmetric algorithm '"System.Security.Cryptography.Aes"'. +2024-01-22 12:31:52.838 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed keyed hash algorithm '"System.Security.Cryptography.HMACSHA256"'. +2024-01-22 12:31:52.846 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Using key {faf38162-ab8f-49ef-b195-45fb82fa9d71} as the default key. +2024-01-22 12:31:52.847 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService.) () () Key ring with default key {faf38162-ab8f-49ef-b195-45fb82fa9d71} was loaded during application startup. +2024-01-22 12:31:52.849 -06:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 1234567:566863 running. +2024-01-22 12:31:52.895 -06:00 [Fatal] (Barcode.Host.Server.Program.) () () Host terminated unexpectedly +System.Exception: Please check appsettings file(s) for ! + at Barcode.Host.Server.HostedService.TimedHostedService.StartAsync(CancellationToken stoppingToken) in /ifxhome/phares/Barcode-Host/Server/HostedService/TimedHostedService.cs:line 78 + at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) + at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) + at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) + at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) + at Microsoft.AspNetCore.Builder.WebApplication.Run(String url) + at Barcode.Host.Server.Program.Main(String[] args) in /ifxhome/phares/Barcode-Host/Server/Program.cs:line 90 +[phares@auclv0558 Server]$ dotnet user-secrets clear +dotnet user-secrets set "BuildNumber" "925458" +dotnet user-secrets set "BuildSourceVersion" "197620fc8407914d09582d411091e97ad6f85868" +dotnet user-secrets set "EquipmentName" "BIORAD#" +dotnet user-secrets set "GitCommitSeven" "" +dotnet user-secrets set "PostTo" "http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD#" +dotnet user-secrets set "RootPassword" "asdf" +dotnet user-secrets set "SerialPortName" "" +dotnet user-secrets set "ToolClass" "FTIR" +dotnet user-secrets list +[phares@auclv0558 Server]$ dotnet user-secrets set "BuildNumber" "925458" +Successfully saved BuildNumber = 925458 to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "BuildSourceVersion" "197620fc8407914d09582d411091e97ad6f85868" +Successfully saved BuildSourceVersion = 197620fc8407914d09582d411091e97ad6f85868 to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "EquipmentName" "BIORAD#" +Successfully saved EquipmentName = BIORAD# to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "GitCommitSeven" "" +Successfully saved GitCommitSeven = to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "PostTo" "http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD#" +Successfully saved PostTo = http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD# to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "RootPassword" "asdf" +Successfully saved RootPassword = asdf to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "SerialPortName" "" +Successfully saved SerialPortName = to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets set "ToolClass" "FTIR" +Successfully saved ToolClass = FTIR to the secret store. +[phares@auclv0558 Server]$ dotnet user-secrets list +ToolClass = FTIR +SerialPortName = +RootPassword = asdf +PostTo = http://eaf-staging.mes.infineon.com:8080/api/Barcode/BIORAD# +GitCommitSeven = +EquipmentName = BIORAD# +BuildSourceVersion = 197620fc8407914d09582d411091e97ad6f85868 +BuildNumber = 925458 +[phares@auclv0558 Server]$ dotnet run +Building... +2024-01-22 12:32:30.356 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory.) () () Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider"] +2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Error.cshtml"'. +2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Notification.cshtml"'. +2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_ValidationScriptsPartial.cshtml"'. +2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewImports.cshtml"'. +2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/_ViewStart.cshtml"'. +2024-01-22 12:32:30.412 -06:00 [Debug] (Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler.) () () Initializing Razor view compiler with compiled view: '"/Pages/Shared/_Layout.cshtml"'. +2024-01-22 12:32:30.419 -06:00 [Information] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () User profile is available. Using '"/ifxhome/phares/.aspnet/DataProtection-Keys"' as key repository; keys will not be encrypted at rest. +2024-01-22 12:32:30.462 -06:00 [Debug] (Microsoft.AspNetCore.SignalR.Internal.DefaultHubProtocolResolver.) () () Registered SignalR Protocol: "json", implemented by "Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol". +2024-01-22 12:32:30.488 -06:00 [Information] (Barcode.Host.Server.Program.) () () Starting Web Application +2024-01-22 12:32:30.494 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting starting +2024-01-22 12:32:30.503 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.) () () Reading data from file '"/ifxhome/phares/.aspnet/DataProtection-Keys/key-faf38162-ab8f-49ef-b195-45fb82fa9d71.xml"'. +2024-01-22 12:32:30.515 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.) () () Found key {faf38162-ab8f-49ef-b195-45fb82fa9d71}. +2024-01-22 12:32:30.527 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.) () () Considering key {faf38162-ab8f-49ef-b195-45fb82fa9d71} with expiration date 2024-04-21 18:26:02Z as default key. +2024-01-22 12:32:30.528 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.) () () Forwarded activator type request from "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60" to "Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60" +2024-01-22 12:32:30.530 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed symmetric algorithm '"System.Security.Cryptography.Aes"'. +2024-01-22 12:32:30.530 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory.) () () Using managed keyed hash algorithm '"System.Security.Cryptography.HMACSHA256"'. +2024-01-22 12:32:30.538 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.) () () Using key {faf38162-ab8f-49ef-b195-45fb82fa9d71} as the default key. +2024-01-22 12:32:30.539 -06:00 [Debug] (Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService.) () () Key ring with default key {faf38162-ab8f-49ef-b195-45fb82fa9d71} was loaded during application startup. +2024-01-22 12:32:30.541 -06:00 [Information] (Barcode.Host.Server.HostedService.TimedHostedService.StartAsync) () () Timed Hosted Service: 197620fc8407914d09582d411091e97ad6f85868:568508 running. +2024-01-22 12:32:30.635 -06:00 [Information] (Microsoft.AspNetCore.Server.Kestrel.) () () Unable to bind to "http://localhost:5003" on the "IPv6 loopback" interface: '"Address family not supported by protocol"'. +2024-01-22 12:32:30.636 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Now listening on: "http://localhost:5003" +2024-01-22 12:32:30.637 -06:00 [Debug] (Microsoft.AspNetCore.Hosting.Diagnostics.) () () Loaded hosting startup assembly "Barcode.Host.Server" +2024-01-22 12:32:30.637 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Application started. Press Ctrl+C to shut down. +2024-01-22 12:32:30.637 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Hosting environment: "Development" +2024-01-22 12:32:30.637 -06:00 [Information] (Microsoft.Hosting.Lifetime.) () () Content root path: "/ifxhome/phares/Barcode-Host/Server/" +2024-01-22 12:32:30.639 -06:00 [Debug] (Microsoft.Extensions.Hosting.Internal.Host.) () () Hosting started +2024-01-22 12:32:31.206 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error +System.UnauthorizedAccessException: Access to the path '/dev/input/event4' is denied. + ---> System.IO.IOException: Permission denied + --- End of inner exception stack trace --- + at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) + at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) + at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32 +2024-01-22 12:32:31.229 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error +System.UnauthorizedAccessException: Access to the path '/dev/input/event3' is denied. + ---> System.IO.IOException: Permission denied + --- End of inner exception stack trace --- + at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) + at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) + at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32 +2024-01-22 12:32:31.233 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error +System.UnauthorizedAccessException: Access to the path '/dev/input/event2' is denied. + ---> System.IO.IOException: Permission denied + --- End of inner exception stack trace --- + at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) + at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) + at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32 +2024-01-22 12:32:31.233 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error +System.UnauthorizedAccessException: Access to the path '/dev/input/event1' is denied. + ---> System.IO.IOException: Permission denied + --- End of inner exception stack trace --- + at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) + at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) + at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32 +2024-01-22 12:32:31.234 -06:00 [Error] (Barcode.Host.Server.HostedService.TimedHostedService.) () () Current user doesn't have permissions to access input data. Add user to input group to correct this error +System.UnauthorizedAccessException: Access to the path '/dev/input/event0' is denied. + ---> System.IO.IOException: Permission denied + --- End of inner exception stack trace --- + at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) + at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) + at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize) + at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) + at Barcode.Host.Shared.KeyboardMouse.InputReader..ctor(String path, ILogger`1 logger) in /ifxhome/phares/Barcode-Host/Shared/KeyboardMouse/InputReader.cs:line 32 +``` + +```bash +sudo -iu metrologysvc +``` + +```bash +echo >/ifxhome/phares/auclv0558.auc.infineon.com.conf && nano /ifxhome/phares/auclv0558.auc.infineon.com.conf +``` + +```conf +[req] +default_bits = 2048 +default_keyfile = auclv0558.auc.infineon.com.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Mesa +organizationName = Organization Name (eg, company) +organizationName_default = Infineon Technologies Americas Corp. +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = auclv0558.auc.infineon.com +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = auclv0558.auc.infineon.com +DNS.2 = localhost +DNS.3 = 127.0.0.1 +``` + +```bash +openssl +``` + +```bash openssl csr +req -newkey rsa:2048 -keyout /ifxhome/phares/auclv0558.auc.infineon.com.key -out /ifxhome/phares/auclv0558.auc.infineon.com.csr -config /ifxhome/phares/auclv0558.auc.infineon.com.conf +https://intranet.infineon.com/ +``` + +```bash +sudo mv auclv0558.auc.infineon.com.conf /etc/nginx/ +sudo mv auclv0558.auc.infineon.com.csr /etc/nginx/ +sudo mv auclv0558.auc.infineon.com.key /etc/nginx/ +``` diff --git a/_-Review/avalonia-ui.md b/_-Review/avalonia-ui.md new file mode 100644 index 0000000..4a1ebeb --- /dev/null +++ b/_-Review/avalonia-ui.md @@ -0,0 +1,7 @@ +--- +type: "note" +--- + +# avalonia-ui + +- [Avalonia](https://avaloniaui.net/) diff --git a/_-Review/azure.md b/_-Review/azure.md new file mode 100644 index 0000000..976112b --- /dev/null +++ b/_-Review/azure.md @@ -0,0 +1,9 @@ +--- +type: "note" +created: "2024-03-31T15:03:05.802Z" +updated: "2024-03-31T15:03:20.280Z" +--- + +# Azure + +- [Infineon-Technologies-AG-Mesa-FI](https://dev.azure.com/Infineon-Technologies-AG-Mesa-FI/) diff --git a/_-Review/baget.md b/_-Review/baget.md new file mode 100644 index 0000000..c63d9b4 --- /dev/null +++ b/_-Review/baget.md @@ -0,0 +1,59 @@ +--- +type: "topic" +created: "2024-01-14T02:18:18.203Z" +updated: "2024-04-18T17:02:46.506Z" +--- + +# BaGet + +- [BaGet Worker](../.kanbn/tasks/ba-get-worker.md) + +```bash +dotnet nuget locals all --clear +dotnet build "L:\DevOps\Mesa_FI\Baget\src\BaGet.Worker\BaGet.Worker.csproj" +dotnet build "L:\DevOps\Mesa_FI\OI-Metrology\Server\OI.Metrology.Server.csproj" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "Infineon.EAF.Runtime" --version "2.56.0" --source "https://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "Tibco.Rendezvous" --version "8.5.0" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "Infineon.Yoda" --version "5.4.1" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "External.Common.Logging" --version "3.3.1" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "External.log4net" --version "2.0.8" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "Infineon.Monitoring.MonA" --version "3.0.0" --source "https://packagemanagement.eu.infineon.com:4430/api/v2/" +dotnet add "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" package "Infineon.Monitoring.MonA" --version "3.0.1" --source "https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/" +dotnet build "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" +T: +cd "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation" +git ls-tree -l HEAD -- "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" +git checkout -q -- "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" +dotnet build "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\Adaptation\MET08RESIHGCV.Tests.csproj" +dotnet build "L:\DevOps\Mesa_FI\File-Watcher\File-Watcher.csproj" +dotnet build "L:\DevOps\Mesa_FI\File-Folder-Helper\File-Folder-Helper.csproj" +dotnet build "L:\DevOps\Mesa_FI\OI-Metrology\Server\OI.Metrology.Server.csproj" +code "L:\DevOps\Mesa_FI\File-Watcher" +REM +``` + +```bash +sc.exe create "BaGet-Server" binpath="D:\net6.0\BaGet\Server\BaGet.exe" +sc.exe start "BaGet-Server" +sc.exe query "BaGet-Server" +``` + +```conf +L:\BaGet\2024 +\\messdv002.na.infineon.com\Candela\BaGet\2024 + +L:\BaGet\2024 +\\mesfs.infineon.com\EC_EAFRepository\BaGet\2024 + +\\messa017.infineon.com\d$\ProgramData\EC_EAFRepository\nupkg +\\messa08ec.infineon.com\d$\ProgramData\EC_EAFRepository\nupkg + +\\messa08ec.infineon.com\nupkg +\\messa04ec.infineon.com\d$\nupkg + +\\messa08ec.infineon.com\nupkg +\\mestsa05ec.infineon.com\d$\nupkg + +\\messa08ec.infineon.com\nupkg +\\messa020ec.infineon.com\d$\nupkg +``` diff --git a/_-Review/barcode-scanners.md b/_-Review/barcode-scanners.md new file mode 100644 index 0000000..8cad8e0 --- /dev/null +++ b/_-Review/barcode-scanners.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.090Z" +updated: "2024-01-06T01:25:36.090Z" +--- + +# Barcode Scanners + +## DS3678 diff --git a/_-Review/bash.md b/_-Review/bash.md new file mode 100644 index 0000000..11ee992 --- /dev/null +++ b/_-Review/bash.md @@ -0,0 +1,12 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.087Z" +updated: "2024-01-06T01:25:36.087Z" +--- + +# Bash + +```bash +sudo -i +``` diff --git a/_-Review/bee-link.md b/_-Review/bee-link.md new file mode 100644 index 0000000..f64a090 --- /dev/null +++ b/_-Review/bee-link.md @@ -0,0 +1,52 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.115Z" +updated: "2024-01-06T01:25:36.115Z" +--- + +# Bee-Link + +- [Syncthing](syncthing.md) + +```bash +adduser syncthing +``` + +```bash +sudo -i +nano /etc/hosts +echo >/etc/hosts && nano /etc/hosts +``` + +```conf +# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf: +# [network] +# generateHosts = false +127.0.0.1 localhost +127.0.1.1 DESKTOP-PE6MOCB. DESKTOP-PE6MOCB +192.168.0.73 phares3757.ddsn.net + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +``` + +```bash +apt-get update +apt-get upgrade +apt-get install syncthing +apt-get install apt-transport-https +apt-get install ca-certificates +apt-get install links +syncthing +adduser syncthing +cat /etc/passwd | cut -d: -f1 +systemctl enable syncthing@syncthing.service +systemctl start syncthing@syncthing.service +systemctl status syncthing@syncthing.service +journalctl -e -u syncthing@syncthing.service +nano /home/syncthing/.config/syncthing/config.xml +``` diff --git a/_-Review/beelink.md b/_-Review/beelink.md new file mode 100644 index 0000000..3cd7d56 --- /dev/null +++ b/_-Review/beelink.md @@ -0,0 +1,821 @@ +--- +type: "topic" +Brand: "Beelink" +GPU: "Intel Celeron 11th Gen N5095 2.9GHz" +SSD: "M.2 SATA3 2280" +RAM: "8GB DDR4" +created: "2024-04-02T01:49:25.791Z" +updated: "2024-04-08T16:54:34.096Z" +--- + +# Beelink + +```bash +apt-get update +apt-get upgrade +reboot +ip a +lsb_release -a +apt-get install links unzip net-tools ufw nginx git nano ncdu -y +ncdu +ufw enable +ufw allow from 192.168.0.0/24 to any port 22 comment "01) SSH" +ufw allow to 0.0.0.0/0 port 80 comment "02) HTTP" +ufw allow to 0.0.0.0/0 port 443 comment "03) HTTPS" +ufw status numbered +cd /home/mike/ +wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh +chmod +x ./dotnet-install.sh +./dotnet-install.sh --channel 7.0 +ln -s /home/mike/.dotnet/dotnet /usr/local/bin/dotnet +dotnet --info +export DOTNET_ROOT=$HOME/.dotnet +export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools +dotnet --info +timedatectl set-timezone America/Phoenix +timedatectl +snap install dashkiosk +snap restart dashkiosk +snap install ubuntu-frame wpe-webkit-mir-kiosk +ufw status numbered +snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +snap set ubuntu-frame daemon=true +apt-get install -y ca-certificates +openssl s_client -showcerts -connect DESKTOP-H6JG91B:443 /dev/null|openssl x509 -outform PEM >DESKTOP-H6JG91B.crt +nano /etc/hosts +nano /etc/nginx/sites-available/default +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +``` + +```conf +server { + listen 80 default_server; + listen [::]:80 default_server; + root /var/www/html; + index index.html index.htm index.nginx-debian.html; + server_name _; + location / { + try_files $uri $uri/ =404; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:80/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name dashkiosk.laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:9400/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name gogs.laundry.phares.myftp.org; + client_max_body_size 5000m; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:3000/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name nextcloud.laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:8081/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name photoprism.laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:2342/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name ~(pi-hole).laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:8005/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name syncthing.laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:8384/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +``` + +```bash +systemctl restart nginx +nginx -t +nginx -s reload +nano /home/mike/laundry.phares.myftp.org.conf +echo >/home/mike/laundry.phares.myftp.org.conf && nano /home/mike/laundry.phares.myftp.org.conf +``` + +```conf +[req] +default_bits = 2048 +default_keyfile = laundry.phares.myftp.org.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = laundry.phares.myftp.org +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = laundry.phares.myftp.org +DNS.2 = dashkiosk.laundry.phares.myftp.org +DNS.3 = gogs.laundry.phares.myftp.org +DNS.4 = nextcloud.laundry.phares.myftp.org +DNS.5 = photoprism.laundry.phares.myftp.org +DNS.6 = pi-hole.laundry.phares.myftp.org +DNS.7 = syncthing.laundry.phares.myftp.org +DNS.8 = beelink.server +DNS.9 = beelink +DNS.10 = localhost +DNS.11 = 127.0.0.1 +``` + +```bash +rm /etc/nginx/laundry.phares.myftp.org.key +rm /etc/nginx/laundry.phares.myftp.org.crt +ls /etc/nginx +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/laundry.phares.myftp.org.key -out /etc/nginx/laundry.phares.myftp.org.crt -config /home/mike/laundry.phares.myftp.org.conf +ls /etc/nginx +apt install update-manager-core +exit +do-release-upgrade +exit +adduser gogs +cd /home/gogs +wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz +tar -xvzf gogs_0.13.0_linux_amd64.tar.gz +rm gogs_0.13.0_linux_amd64.tar.gz +cd gogs +ufw status numbered +./gogs web +mkdir /home/gogs/gogs-repositories +chown gogs /home/gogs -R +chgrp gogs /home/gogs -R +nano /home/gogs/gogs/custom/conf/app.ini +nano /etc/systemd/system/gogs-daemon.service +systemctl enable gogs-daemon +systemctl start gogs-daemon +systemctl status gogs-daemon.service +systemctl daemon-reload +journalctl -fu gogs-daemon.service +journalctl --rotate +journalctl --vacuum-time=1s +cd /home/gogs +git clone https://github.com/Kos-M/GogsThemes +exit +cp ~/.bash_history /home/mike/bash-history-2023-10-17.txt +chown mike /home/mike -R +chgrp mike /home/mike -R +exit +adduser pi-hole +cd pi-hole +curl -sSL https://install.pi-hole.net | bash +``` + +```conf +# http://pi.hole/admin +# http://192.168.1.62/admin +fUiY4SYS +``` + +```conf +nano /etc/lighttpd/lighttpd.conf +``` + +```conf +server.port = 8005 +``` + +```conf +service lighttpd restart +pihole -a -p 4hink +apt install unbound +; https://docs.pi-hole.net/guides/dns/unbound/ +nano /etc/unbound/unbound.conf.d/pi-hole.conf +``` + +```conf +server: + # If no logfile is specified, syslog is used + # logfile: "/var/log/unbound/unbound.log" + verbosity: 0 + + interface: 127.0.0.1 + port: 5335 + do-ip4: yes + do-udp: yes + do-tcp: yes + + # May be set to yes if you have IPv6 connectivity + do-ip6: no + + # You want to leave this to no unless you have *native* IPv6. With 6to4 and + # Terredo tunnels your web browser should favor IPv4 for the same reasons + prefer-ip6: no + + # Use this only when you downloaded the list of primary root servers! + # If you use the default dns-root-data package, unbound will find it automatically + #root-hints: "/var/lib/unbound/root.hints" + + # Trust glue only if it is within the server's authority + harden-glue: yes + + # Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS + harden-dnssec-stripped: yes + + # Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes + # see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details + use-caps-for-id: no + + # Reduce EDNS reassembly buffer size. + # IP fragmentation is unreliable on the Internet today, and can cause + # transmission failures when large DNS messages are sent via UDP. Even + # when fragmentation does work, it may not be secure; it is theoretically + # possible to spoof parts of a fragmented DNS message, without easy + # detection at the receiving end. Recently, there was an excellent study + # >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<< + # by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/) + # in collaboration with NLnet Labs explored DNS using real world data from the + # the RIPE Atlas probes and the researchers suggested different values for + # IPv4 and IPv6 and in different scenarios. They advise that servers should + # be configured to limit DNS messages sent over UDP to a size that will not + # trigger fragmentation on typical network links. DNS servers can switch + # from UDP to TCP when a DNS response is too big to fit in this limited + # buffer size. This value has also been suggested in DNS Flag Day 2020. + edns-buffer-size: 1232 + + # Perform prefetching of close to expired message cache entries + # This only applies to domains that have been frequently queried + prefetch: yes + + # One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1. + num-threads: 1 + + # Ensure kernel buffer is large enough to not lose messages in traffic spikes + so-rcvbuf: 1m + + # Ensure privacy of local IP ranges + private-address: 192.168.0.0/16 + private-address: 169.254.0.0/16 + private-address: 172.16.0.0/12 + private-address: 10.0.0.0/8 + private-address: fd00::/8 + private-address: fe80::/10 +``` + +```conf +service unbound restart +# http://beelink:8005/admin/settings.php?tab=dns +# https://docs.pi-hole.net/guides/dns/unbound/ +127.0.0.1#5335 +``` + +```bash +apt-get install syncthing +apt-get install apt-transport-https +adduser syncthing +cat /etc/passwd | cut -d: -f1 +systemctl enable syncthing@syncthing.service +systemctl start syncthing@syncthing.service +systemctl status syncthing@syncthing.service +journalctl -e -u syncthing@syncthing.service +nano /home/syncthing/.config/syncthing/config.xml +``` + +```xml +
0.0.0.0:8384
+``` + +```bash +systemctl restart syncthing@syncthing.service +chown syncthing /home/syncthing -R +chgrp syncthing /home/syncthing -R +``` + +```bash +ufw status numbered +ufw allow from 192.168.1.0/26 to any port 22 comment "01) SSH" +ufw allow to 0.0.0.0/0 port 80 comment "02) HTTP" +ufw allow to 0.0.0.0/0 port 443 comment "03) HTTPS" +ufw allow from 192.168.1.0/26 to any port 53 comment "04) DNS" +ufw allow from 192.168.1.0/26 to any port 67 comment "05) Unknown" +ufw allow from 192.168.11.0/24 to any port 8005 comment "06) SSH" +ufw allow from 192.168.0.0/26 to any port 22 comment "07) SSH" +ufw allow from 192.168.11.0/28 to any port 22 comment "08) SSH" +ufw allow from 192.168.21.0/28 to any port 22 comment "09) SSH" +ufw allow from 192.168.31.0/26 to any port 22 comment "10) SSH" +ufw allow from 192.168.41.0/26 to any port 22 comment "11) SSH" +ufw allow from 192.168.42.0/28 to any port 22 comment "12) SSH" +ufw allow from 192.168.43.0/26 to any port 22 comment "13) SSH" +ufw allow from 192.168.44.0/26 to any port 22 comment "14) SSH" +ufw allow to 0.0.0.0/0 port 22 comment "15) SSH" +ufw status numbered +``` + +```conf + To Action From + -- ------ ---- +[ 1] 22 ALLOW IN 192.168.1.0/26 # 01) SSH +[ 2] 80 ALLOW IN Anywhere # 02) HTTP +[ 3] 443 ALLOW IN Anywhere # 03) HTTPS +[ 4] 53 ALLOW IN 192.168.1.0/26 # 04) DNS +[ 5] 67 ALLOW IN 192.168.1.0/26 # 05) Unknown +[ 6] 9400 ALLOW IN 192.168.1.0/26 # 06) dashkiosk +``` + +```bash +echo >/etc/hosts && nano /etc/hosts +nano /etc/hosts +``` + +```conf +127.0.0.1 localhost +127.0.0.1 beelink +127.0.1.1 laundry.phares.myftp.org +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +``` + +```bash +# adduser twingate +# curl -s https://binaries.twingate.com/client/linux/install.sh | bash +# twingate setup +# twingate start + + +# curl "https://binaries.twingate.com/connector/setup.sh" | sudo TWINGATE_ACCESS_TOKEN="eyJhbGciOiJFUzI1NiIsImtpZCI6IjlZSlNUMGR6YU5pRDhZR0h5SUdyTG1SVDZKTmMwbHJGMVFsNklseVJ6X1UiLCJ0eXAiOiJEQVQifQ.eyJudCI6IkFOIiwiYWlkIjoiMTczMDc3IiwiZGlkIjoiMTAwMzc4OSIsImp0aSI6IjIyNTJmMjIwLWNkNjQtNDlhYy04YjRhLTE0NDFjOWUyM2U5ZSIsImlzcyI6InR3aW5nYXRlIiwiYXVkIjoicGhhcmVzIiwiZXhwIjoxNjk4MDE0Mzc4LCJpYXQiOjE2OTgwMTA3NzgsInZlciI6IjQiLCJ0aWQiOiI1NzgzOSIsInJudyI6MTY5ODAxMTA3OCwicm5ldGlkIjoiNzIyNzcifQ.aQnQMUGqM5fBEbR781u-lCPjltfmb1TdZUJTNJ_GYiiSJiemJiIrVK80xHQlIpPB2kot34nxmpvVK4kZK64X3w" TWINGATE_REFRESH_TOKEN="AWOLHa11QFXENAyov_w-KQ5ZC-keHm2w_ActZP8M7hBpy2NOC7EDT2bkEpBCO-YLTd40Pp-pdplIJu0lvdvNBAGINHopYnX2XOgaMxS5tbPPTsHRlnQpckaXYuOwu28W0ORs8g" TWINGATE_NETWORK="phares" bash + +# curl "https://binaries.twingate.com/connector/setup.sh" | TWINGATE_ACCESS_TOKEN="eyJhbGciOiJFUzI1NiIsImtpZCI6IjlZSlNUMGR6YU5pRDhZR0h5SUdyTG1SVDZKTmMwbHJGMVFsNklseVJ6X1UiLCJ0eXAiOiJEQVQifQ.eyJudCI6IkFOIiwiYWlkIjoiMTczMjIxIiwiZGlkIjoiMTAwNDI3NCIsImp0aSI6ImQxMWIwYWIzLWJjZTgtNDIxZS05MzAwLTA1ZmFkZDk5YjllMiIsImlzcyI6InR3aW5nYXRlIiwiYXVkIjoicGhhcmVzIiwiZXhwIjoxNjk4MDM3MTgzLCJpYXQiOjE2OTgwMzM1ODMsInZlciI6IjQiLCJ0aWQiOiI1NzgzOSIsInJudyI6MTY5ODAzMzg4Mywicm5ldGlkIjoiNzIyNzcifQ.7YqB5iz1lzsfb6adLPx53NNA3dJ1NnuzmNhyyi4FzPdMTGxn3qbHD1olvWpEEi69D8gAvF5K77DPwE1BHxo4Qw" TWINGATE_REFRESH_TOKEN="HypbNsUdue5Dh3s5W4ePR9RIkFDsjEGiNJFJDf_cLdixkn94ieMypUZMH_XIc4-13L_PuQ61M7RWG5rF21ZRAgFf1MuIMf5kJGhuQq_VG7_E_6Q8NMLAajP5W05jTofB-sY3Ig" TWINGATE_NETWORK="phares" bash +``` + +```bash +# https://ubuntu.com/server/docs/network-configuration +ip a +ip address show eno1 +ls -l /etc/netplan/ +echo >/etc/netplan/00-installer-config.yaml && nano /etc/netplan/00-installer-config.yaml +``` + +```yaml old +# This is the network config written by 'subiquity' +network: + ethernets: + enp2s0: + dhcp4: true + version: 2 +``` + +```yaml new +network: + ethernets: + enp2s0: + addresses: + - 192.168.1.62/26 + routes: + - to: default + via: 192.168.1.1 + nameservers: + addresses: [205.171.3.25, 205.171.2.25] + version: 2 +``` + +```bash +netplan apply +ip addr flush enp2s0 +``` + +```bash Thu Dec 28 2023 13:45:50 GMT-0700 (Mountain Standard Time) +# ufw allow from 192.168.1.0/26 to any port 8005 comment "04) Pi-hole" +# ufw allow from 192.168.1.0/26 to any port 9400 comment "06) dashkiosk" +# ufw allow from 192.168.1.0/26 to any port 8384 comment "07) syncthing" +``` + +```bash Thu Dec 28 2023 14:08:10 GMT-0700 (Mountain Standard Time) +# https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-20-04 +sudo -i +snap install nextcloud +snap changes nextcloud +snap info nextcloud +snap connections nextcloud +cat /snap/nextcloud/current/meta/snap.yaml +nextcloud.manual-install admin {KeePass-Password} +nextcloud.occ config:system:get trusted_domains +nextcloud.occ config:system:set trusted_domains 1 --value=nextcloud.laundry.phares.myftp.org +nextcloud.occ config:system:get trusted_domains +nano /etc/hosts +ls /var/snap/nextcloud/current/certs/live +nextcloud.disable-https +snap set nextcloud ports.http=8081 +nextcloud.occ user:resetpassword admin +nano /home/gogs/gogs/custom/conf/app.ini +# mkdir -p /mnt1 +# mount -t ntfs -o ro /dev/sdc1 /mnt1 +# mount /dev/sda4 /mnt +# snap stop nextcloud +# cp -r /mnt1/b/ /mnt/1-Images-A/ +# ls /var/snap/nextcloud/common/nextcloud/data +# mv /var/snap/nextcloud/common/nextcloud/data /mnt/1-Images-B +# mkdir -p /mnt/1-Images-C/nextcloud/data +# mv /mnt/1-Images-B /mnt/1-Images-C/nextcloud/data +# mkdir -p /mnt/2-Images-B/nextcloud/data +# mv /mnt/1-Images-C/nextcloud/data/1-Images-B/ /mnt/2-Images-B/nextcloud/data/ +nano /var/snap/nextcloud/current/nextcloud/config/config.php +mkdir -p /var/snap/nextcloud/common/nextcloud/data +chmod -R 0770 /var/snap/nextcloud/common/nextcloud/data +# chmod -R 0770 /mnt/2-Images-B/nextcloud/data +# mkdir /mnt/1-Images-A +# mkdir /mnt/2-Images-B +# mkdir /mnt/3-Videos-A +# mkdir /mnt/4-Videos-B +# mkdir /mnt/5-Other-Small +# mkdir /mnt/6-Other-Large +# mkdir /mnt/6-Other-Large-B +# mkdir /mnt/7-Question +# mkdir /mnt/8-Move +# mkdir /mnt/9-Delete +snap start nextcloud +nextcloud.occ files:scan --all +# mv /mnt/1-Images-A/c /mnt/2-Images-B/nextcloud/data/admin/files/Photos/_ +# nextcloud.occ files:scan --all +# mv /mnt/2-Images-B/nextcloud/data/admin/files/Photos/_ /mnt/2-Images-B/nextcloud/data/admin/files/Photos/Original +# chown -R root:root /mnt/2-Images-B/nextcloud/data +# chmod -R 0770 /mnt/2-Images-B/nextcloud/data +nextcloud.occ files:scan --all +snap set nextcloud php.memory-limit=-1 +snap get nextcloud php.memory-limit +snap restart nextcloud +nextcloud.occ preview:generate-all -vvv +nextcloud.mysql-client +nextcloud.export -b +``` + +```conf +WARNING: This functionality is still experimental and under +development, use at your own risk. Note that the CLI interface is +unstable, so beware if using from within scripts. + +Enabling maintenance mode... done +Exporting database... + +Successfully exported /var/snap/nextcloud/common/backups/20231228-210650 +Disabling maintenance mode... done +``` + +```bash Sun Dec 31 2023 23:09:31 GMT-0700 (Mountain Standard Time) +sudo -i +snap remove --purge nextcloud +snap install nextcloud +snap changes nextcloud +snap info nextcloud +snap connections nextcloud +cat /snap/nextcloud/current/meta/snap.yaml +nextcloud.manual-install mikepharesjr@msn.com {KeePass-Password} +nextcloud.occ config:system:get trusted_domains +nextcloud.occ config:system:set trusted_domains 1 --value=nextcloud.laundry.phares.myftp.org +nextcloud.occ config:system:get trusted_domains +nano /etc/hosts +ls /var/snap/nextcloud/current/certs/live +nextcloud.disable-https +snap set nextcloud ports.http=8081 +nextcloud.occ user:resetpassword mikepharesjr@msn.com +nextcloud.occ config:system:set overwrite.cli.url --value=https://nextcloud.laundry.phares.myftp.org +nextcloud.occ config:system:set overwriteprotocol --value=https +cat /var/snap/nextcloud/current/nextcloud/config/config.php +snap start nextcloud +nextcloud.occ files:scan --all +snap set nextcloud php.memory-limit=-1 +snap get nextcloud php.memory-limit +snap restart nextcloud +nextcloud.mysql-client +nextcloud.export -b +``` + +```bash +# mount -t drvfs D: /mnt/d +# ln -s '/mnt/d/1-Images-A/Images-7007a9df-Results/C)Resize/7007a9df/Original/()' '/var/snap/nextcloud/common/nextcloud/data/admin/files/Photos/()' +# chown -R root:root '/var/snap/nextcloud/common/nextcloud/data/admin/files/Photos/()' +# chmod 0770 '/var/snap/nextcloud/common/nextcloud/data/admin/files/Photos/()' +# ls '/var/snap/nextcloud/common/nextcloud/data/admin/files/Photos/()' +# nano /var/snap/nextcloud/current/nextcloud/config/autoconfig.php +# chown -R root:root '/mnt/d/data' +# chmod 0770 '/mnt/d/data' +mount /dev/sdb1 /mnt +cp -r '/mnt/K-A/1-Images-A/Images-7007a9df-Results/C)Resize/7007a9df/Original/()/' '/var/snap/nextcloud/common/nextcloud/data/mikepharesjr@msn.com/files/' +ls -la /home/mike/preview/ +# cp -r /home/mike/preview/* /var/snap/nextcloud/common/nextcloud/data/appdata_oce2cq0odh1l/preview/ +rsync -a -v -h --ignore-existing /home/mike/preview/ /var/snap/nextcloud/common/nextcloud/data/appdata_oce2cq0odh1l/preview/ +chown -R root:root /var/snap/nextcloud/common/nextcloud/data/appdata_oce2cq0odh1l/preview/ +ncdu /home/mike/preview/ +ncdu /var/snap/nextcloud/common/nextcloud/data/appdata_oce2cq0odh1l/preview/ +snap restart nextcloud +nextcloud.occ files:scan --all +nextcloud.occ preview:generate-all -vvv +``` + +```bash Sat Jan 27 2024 16:58:09 GMT-0700 (Mountain Standard Time) +sudo -i +wget http://www.observium.org/observium_installscript.sh +chmod +x observium_installscript.sh +./observium_installscript.sh +# 5 +ufw allow from 192.168.1.0/26 to any port 161 comment "06) SNMP" +nano /etc/snmp/snmpd.conf +``` + +```conf +########################################################################### +# +# snmpd.conf +# An example configuration file for configuring the Net-SNMP agent ('snmpd') +# See snmpd.conf(5) man page for details +# +########################################################################### +# SECTION: System Information Setup +# + +# syslocation: The [typically physical] location of the system. +# Note that setting this value here means that when trying to +# perform an snmp SET operation to the sysLocation.0 variable will make +# the agent return the "notWritable" error code. IE, including +# this token in the snmpd.conf file will disable write access to +# the variable. +# arguments: location_string +sysLocation server-beelink +sysContact Mike Phares + +# sysservices: The proper value for the sysServices object. +# arguments: sysservices_number +sysServices 72 + + + +########################################################################### +# SECTION: Agent Operating Mode +# +# This section defines how the agent will operate when it +# is running. + +# master: Should the agent operate as a master agent or not. +# Currently, the only supported master agent type for this token +# is "agentx". +# +# arguments: (on|yes|agentx|all|off|no) + +master agentx + +# agentaddress: The IP address and port number that the agent will listen on. +# By default the agent listens to any and all traffic from any +# interface on the default SNMP port (161). This allows you to +# specify which address, interface, transport type and port(s) that you +# want the agent to listen on. Multiple definitions of this token +# are concatenated together (using ':'s). +# arguments: [transport:]port[@interface/address],... + +# agentaddress 127.0.0.1,[::1] +# Listen for connections on all interfaces (both IPv4 *and* IPv6) +agentAddress udp:161,udp6:[::1]:161 + +########################################################################### +# SECTION: Access Control Setup +# +# This section defines who is allowed to talk to your running +# snmp agent. + +# Views +# arguments viewname included [oid] + +# system + hrSystem groups only +view systemonly included .1.3.6.1.2.1.1 +view systemonly included .1.3.6.1.2.1.25.1 + + +# rocommunity: a SNMPv1/SNMPv2c read-only access community name +# arguments: community [default|hostname|network/bits] [oid | -V view] + +# Read-only access to everyone to the systemonly view +#rocommunity public default -V systemonly +#rocommunity6 public default -V systemonly + +rocommunity fUy#YjMb6t6t573PRNe3 192.168.1.0/26 + +# SNMPv3 doesn't use communities, but users with (optionally) an +# authentication and encryption string. This user needs to be created +# with what they can view with rouser/rwuser lines in this file. +# +# createUser username (MD5|SHA|SHA-512|SHA-384|SHA-256|SHA-224) authpassphrase [DES|AES] [privpassphrase] +# e.g. +# createuser authPrivUser SHA-512 myauthphrase AES myprivphrase +# +# This should be put into /var/lib/snmp/snmpd.conf +# +# rouser: a SNMPv3 read-only access username +# arguments: username [noauth|auth|priv [OID | -V VIEW [CONTEXT]]] +rouser authPrivUser authpriv -V systemonly + +# include a all *.conf files in a directory +``` + +```bash +systemctl restart snmpd +systemctl status snmpd +netstat -antup | grep -i 161 +``` + +```yml +Beelink MINI S Mini PC Basic Specifications +Intel N5095(4C/4T, 4M Cache, 2GHz up to 2.9GHz) +CPU: Intel Celeron Processor N5095(4C/4T, 4M Cache, Up to 2.9GHz) +GPU: Intel UHD Graphics +RAM: 8GB Hard Disk: 128GB/256GB +Network: WiFi IEEE 802.11/b/g/n/ac, 2.4+5.8G WiFi, Ethernet 1000Mbps LAN, Bluetooth 4.0 +Adapter: Input: 100-240V AC, 50/60Hz , Output: 12V 3A +Max Screen Resolution: ‎‎3840 x 2160@60Hz +Processor: ‎2.9 GHz celeron +RAM: ‎8 GB DDR4 +Hard Drive: ‎256 GB SSD +Graphics Coprocessor: ‎Intel UHD Graphics +Chipset Brand: ‎Intel +Card Description: ‎Integrated +Wireless Type: ‎2.4 GHz Radio Frequency +Number of USB 3.0 Ports: ‎4 +Brand: ‎Beelink +Series: ‎MINIS(MINI S,MINIS Pro,MINI G,MINI X) +Item model number: ‎Beelink +Hardware Platform: ‎PC +Operating System: ‎OS +Item Weight: ‎1.46 pounds +Package Dimensions: ‎8.46 x 5 x 2.24 inches +Color: ‎Black +Processor Brand: ‎Intel +Number of Processors: ‎4 +Computer Memory Type: ‎DDR4 SDRAM +Hard Drive Interface: ‎Serial ATA +Hard Drive Rotational Speed: ‎1800.00 +Optical Drive Type: ‎256 +Power Source: ‎Input: 100-120V AC, 50/60Hz +``` + +```yml Trigkey +Screen Resolution: ‎3840 x 2160 +Max Screen Resolution: ‎3840 x 2160 pixels +Processor: ‎3.4 GHz celeron +RAM: ‎16 DDR4 +Hard Drive: ‎500 GB SSD +Chipset Brand: ‎Intel +Graphics Card Ram Size: ‎512.00 +Number of USB 2.0 Ports: ‎2 +Brand: ‎TRIGKEY +Series: ‎GREEN G4 +Item model number: ‎‎TRIGKEY Mini PC +Hardware Platform: ‎PC +Operating System: ‎OS +Item Weight: ‎1.25 pounds +Product Dimensions: ‎4.96 x 4.45 x 1.57 inches +Item Dimensions LxWxH: ‎4.96 x 4.45 x 1.57 inches +Processor Brand: ‎Intel +Number of Processors: ‎4 +Computer Memory Type: ‎DDR4 SDRAM +Flash Memory Size: ‎512 MB +Hard Drive Interface: ‎Solid State +``` + +```bash +root@beelink:~# adduser loganphares +info: Adding user `loganphares' ... +info: Selecting UID/GID from range 1000 to 59999 ... +info: Adding new group `loganphares' (1007) ... +info: Adding new user `loganphares' (1007) with group `loganphares (1007)' ... +info: Creating home directory `/home/loganphares' ... +info: Copying files from `/etc/skel' ... +New password: +Retype new password: +passwd: password updated successfully +Changing the user information for loganphares +Enter the new value, or press ENTER for the default + Full Name []: Logan Phares + Room Number []: + Work Phone []: + Home Phone []: + Other []: +Is the information correct? [Y/n] y +info: Adding new user `loganphares' to supplemental / extra groups `users' ... +info: Adding user `loganphares' to group `users' ... +root@beelink:~# cp /home/mike/.ssh/authorized_keys /home/loganphares/.ssh/authorized_keys +cp: cannot create regular file '/home/loganphares/.ssh/authorized_keys': No such file or directory +root@beelink:~# mkdir /home/loganphares/.ssh +root@beelink:~# cp /home/mike/.ssh/authorized_keys /home/loganphares/.ssh/authorized_keys +root@beelink:~# chown -R loganphares /home/loganphares +root@beelink:~# mkdir /home/loganphares/.ssh^C +root@beelink:~# usermod -a -G billmiller loganphares +usermod: group 'billmiller' does not exist +root@beelink:~# usermod -a -G billmillermusic loganphares +root@beelink:~# exit +``` diff --git a/_-Review/behavior-driven-development.md b/_-Review/behavior-driven-development.md new file mode 100644 index 0000000..47a369a --- /dev/null +++ b/_-Review/behavior-driven-development.md @@ -0,0 +1,26 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.093Z" +updated: "2024-01-06T01:25:36.093Z" +--- + +# BDD (Behavior Driven Development) + +## Given – When – Then Approach + +- Given: Some given context (Preconditions). +- When: Some Action is performed (Actions). +- Then: Particular outcome/consequence after the above step (Results). + +- [Gherkin Reference](https://cucumber.io/docs/gherkin/reference/) +- [Examples](https://github.com/cucumber/vscode) +- [writing features - gherkin language](https://docs.behat.org/en/v2.5/guides/1.gherkin.html) +- [Cucumber](https://marketplace.visualstudio.com/items?itemName=CucumberOpen.cucumber-official) +- Remove - [category:formatters feature](https://marketplace.visualstudio.com/items?itemName=korostylov.gherkin-highlight) +- Remove - [SpecFlow Steps Definition Generator](https://marketplace.visualstudio.com/items?itemName=RajUppadhyay.specflow-steps-definition-generator) +- Remove - [Cucumber (Gherkin) Full Support](https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete) + +```bash +# https://github.com/search/advanced +path:*.feature schedule language:C# +``` diff --git a/_-Review/build-tools.md b/_-Review/build-tools.md new file mode 100644 index 0000000..dd8b9e5 --- /dev/null +++ b/_-Review/build-tools.md @@ -0,0 +1,125 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.087Z" +updated: "2024-01-06T01:25:36.087Z" +--- + +# build-tools + +```bash +https://www.royalapps.com/ts/win/download +x-https://silentinstallhq.com/visual-studio-build-tools-2017-silent-install-how-to-guide/ +https://visualstudio.microsoft.com/downloads/?q=build+tools +https://learn.microsoft.com/en-us/visualstudio/install/workload-and-component-ids?view=vs-2022 +https://docs.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022 +https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022 +https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2022&preserve-view=true +Microsoft.VisualStudio.Workload.MSBuildTools +vs_BuildTools.exe --layout ./vs_BuildTools --add Microsoft.VisualStudio.Workload.MSBuildTools +vs_BuildTools.exe --layout ./vs_BuildTools --add Microsoft.VisualStudio.Workload.WebBuildTools --includeOptional --lang en-US +vs_BuildTools.exe --layout ./vs_BuildTools --add Microsoft.VisualStudio.Component.WebDeploy --includeOptional --lang en-US +vs_BuildTools.exe --layout ./vs_BuildTools --add wasm.tools --includeOptional --lang en-US +vs_BuildTools.exe --layout ./vs_BuildTools --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeOptional --lang en-US +d: +cd D:/vs_BuildTools - MSBuildTools +vs_BuildTools.exe --noweb --nocache +cd D:/Tmp/phares/vs_BuildTools +``` + +```bash +https://docs.microsoft.com/en-us/nuget/reference/migrate-packages-config-to-package-reference +https://stackoverflow.com/questions/3980909/microsoft-webapplication-targets-was-not-found-on-the-build-server-whats-your +vs_BuildTools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools --passive +``` + +```bash +D: +cd D:/VSCode Install/003/Microsoft Visual Studio/2022/vs_BuildTools - MSBuildTools +vs_BuildTools.exe --noweb --nocache +- +dotnet framework what is new in 4.8.1 +Announcing .NET Framework 4.8.1 +https://devblogs.microsoft.com/dotnet/announcing-dotnet-framework-481/#:~:text=has%20done%20in%20.-,NET%20Framework%204.8.,based%20control%20letter%20by%20letter. +``` + +```bash +L:/GitHub/msbuild/vs_buildtools__622544594.1570551114.exe --layout c:/vslayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Component.GitHub.VisualStudio --add Microsoft.VisualStudio.Setup.WMIProvider --includeOptional --lang en-US +xcopy /e c:/VSLayout //messv02ecc1.ec.local/EC_EAFRepository/VS2019 +xcopy /e c:/VSLayout //messdv003.infineon.com/EDA/VS2019 +//messdv003.infineon.com/EDA/VS2019 +//messv02ecc1.ec.local/EC_EAFRepository/VS2019 +ndp461-devpack-kb3105179-enu.exe +``` + +```bash +D: +cd "D:/Tmp/phares/Microsoft Visual Studio/2022/vs_BuildTools - MSBuildTools" +vs_BuildTools.exe --noweb --nocache +``` + +```bash +D: +cd D:/2022 +vs_BuildTools.exe --noweb --nocache --layout ./vs_BuildTools --add Microsoft.VisualStudio.Workload.WebBuildTools --includeOptional --lang en-US +``` + +```bash +vs_BuildTools.exe --layout c:\VSLayout --includeOptional --lang en-US +vs_BuildTools.exe --noWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeOptional --lang en-US +``` + +```json +{ + "version": "1.0", + "components": [ + "Microsoft.VisualStudio.Component.Roslyn.Compiler", + "Microsoft.Component.MSBuild", + "Microsoft.VisualStudio.Component.CoreBuildTools", + "Microsoft.VisualStudio.Workload.MSBuildTools", + "Microsoft.VisualStudio.Component.Windows10SDK", + "Microsoft.VisualStudio.Component.VC.CoreBuildTools", + "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", + "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", + "Microsoft.VisualStudio.Component.Windows11SDK.22621", + "Microsoft.VisualStudio.Component.VC.CMake.Project", + "Microsoft.VisualStudio.Component.TestTools.BuildTools", + "Microsoft.VisualStudio.Component.VC.ASAN", + "Microsoft.VisualStudio.Component.TextTemplating", + "Microsoft.VisualStudio.Component.VC.CoreIde", + "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", + "Microsoft.VisualStudio.Workload.VCTools", + "Microsoft.VisualStudio.Component.TypeScript.TSServer", + "Microsoft.VisualStudio.Component.Node.Build", + "Microsoft.VisualStudio.Workload.NodeBuildTools" + ] +} +``` + +```bash +certutil.exe -addstore -f "Root" "\\mesfs.infineon.com\VSLayout\certificates\manifestRootCertificate.cer" +certutil.exe -addstore -f "Root" "\\mesfs.infineon.com\VSLayout\certificates\manifestCounterSignRootCertificate.cer" +certutil.exe -addstore -f "Root" "\\mesfs.infineon.com\VSLayout\certificates\vs_installer_opc.RootCertificate.cer" +``` + +```json - Response.json +{ + "installChannelUri": ".\\ChannelManifest.json", + "channelUri": "\\\\mestsa05ec.infineon.com\\VSLayout\\ChannelManifest.json", + "installCatalogUri": ".\\Catalog.json", + "channelId": "VisualStudio.17.Release", + "productId": "Microsoft.VisualStudio.Product.BuildTools", + "addProductLang": [ + "en-US" + ] +} +``` + +```bash +\\mesfs.infineon.com\VSLayout\vs_BuildTools.exe --noWeb +``` + +```bash Tue Jan 02 2024 10:37:11 GMT-0700 (Mountain Standard Time) +# https://visualstudio.microsoft.com/downloads/?q=build+tools +"D:\Downloads\2024\VisualStudioSetup.exe" --layout "C:\VSLayout" --includeOptional --lang en-US +vs_BuildTools.exe --noWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeOptional --lang en-US +``` diff --git a/_-Review/c-sharp.md b/_-Review/c-sharp.md new file mode 100644 index 0000000..84cf269 --- /dev/null +++ b/_-Review/c-sharp.md @@ -0,0 +1,48 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.085Z" +updated: "2024-01-06T01:25:36.085Z" +--- + +# C Sharp + +```bash +dotnet add package runtime.win-x64.Microsoft.DotNet.ILCompiler --version 7.0.7 +dotnet publish -r win-x64 -c Release -p:PublishAot=true --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json +``` + +```C# +internal partial class AppSettingsSourceGenerationContext : JsonSerializerContext +``` + +- [x] File-Folder-Helper +- [x] View-by-Distance-MKLink-Console/Rename + +```C# +void Do(Action? tick) +``` + +- [x] View-by-Distance-MKLink-Console/CopyDistinct + +```C# +public interface IMetadata { } +public class B_Metadata : IMetadata { int IMetadata.GetInt() => 1; } +``` + +- [x] View-by-Distance-MKLink-Console/Property + +```bash +C:\Windows\System32\Config\SystemProfile\AppData\Roaming\Microsoft\UserSecrets +``` + +```C# +IConfigurationSection[] configurationSections = configurationRoot.GetChildren().ToArray(); +foreach (IConfigurationSection configurationSection1 in configurationSections) +{ + if (configurationSection1.GetChildren().ToArray().Length > 1) + continue; +} +string text = configurationRoot.GetDebugView(); +File.WriteAllText(".txt", text); +``` diff --git a/_-Review/cep.md b/_-Review/cep.md new file mode 100644 index 0000000..9608d78 --- /dev/null +++ b/_-Review/cep.md @@ -0,0 +1,45 @@ +--- +type: "topic" +created: "2024-01-19T17:28:32.761Z" +updated: "2024-01-19T18:16:19.087Z" +--- + +# CEP + +``` +From: Phares Mike (IT FI MES) +Sent: Thursday, November 30, 2023 11:40 AM +To: Jarsey Martha (IT FI MES) +Subject: FW: Compass 2 PC Specs +``` + +Hello Marti, +These would be another case of maybe CEP. + +## Client supplied from vendor. Vendor HW, OS and SW + - Tencor (1,2,3) + - HgCV (1,2,3) + - CDE (2,4,5,6) + - BioRad (2,3) + - BioRad Stratus (4,5) + - SP1 + - SRP + +## Client supplied from IT with standard OS and Virus Protection. IFX HW and OS; Vendor SW + - Wafer counter (FQA 6”, FQA 8” and five more on order for Epi Pro) + - FilmSence (Test tool with webpage (currently on CEP domain but need to question can it be moved to IFX)) + - Akrion wet bench (Barcode webpage) + - Nikon Microscope + +## Client supplied from IT then FI removes standard OS to add Linux. IFX HW; Vendor OS and SW + - BioRad (2,3 (beta barcode solution)) + +## Akrion wet bench (per Jonathan) IFX HW and OS, FI SW + - Web page on ISC Fab Client + - Barcode scanner on CEP + +## https://cepi-na.infineon.com/#searchresults + +- ntp01.mes.infineon.com +- ntp01.auc.infineon.com +- reftime.ifxcep.net \ No newline at end of file diff --git a/_-Review/certbot.md b/_-Review/certbot.md new file mode 100644 index 0000000..c472c55 --- /dev/null +++ b/_-Review/certbot.md @@ -0,0 +1,108 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.083Z" +updated: "2024-01-06T01:25:36.083Z" +--- + +# certbot + +```bash +ln -s /etc/nginx/sites-available/code-server /etc/nginx/sites-enabled/code-server +nginx -s reload +cp /var/log/letsencrypt/letsencrypt.log /home/vscode/Notes/ +ls /etc/nginx/sites-available +cp /etc/nginx/sites-available/code-server /home/vscode/Notes/ +echo >/etc/nginx/sites-available/code-server && nano /etc/nginx/sites-available/code-server +nginx -s reload +cp /etc/nginx/sites-available/default /home/vscode/Notes/ +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +nginx -s reload +nano /etc/letsencrypt/options-ssl-nginx.conf +links http://phares3757.ddns.net/index.html +nano /etc/nginx/sites-available/default +nginx -s reload +links http://phares3757.ddns.net:8080/index.html +links http://phares3757.ddns.net:8080/index.htm +nano /etc/nginx/sites-available/default +ls /var/www/html +mkdir -R /var/www/html/.well-known/acme-challenge +mkdir -r /var/www/html/.well-known/acme-challenge +mkdir -a /var/www/html/.well-known/acme-challenge +mkdir --a /var/www/html/.well-known/acme-challenge +mkdir -p /var/www/html/.well-known/acme-challenge +nano /var/www/html/.well-known/acme-challenge/3EyVP-v2tP40lnP9unxVDBHOYnkuIyn8cKIODjMdQK4 +links http://phares3757.ddns.net:8080/.well-known/acme-challenge/3EyVP-v2tP40lnP9unxVDBHOYnkuIyn8cKIODjMdQK4 +certbot --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com +nano /etc/nginx/sites-available/default +rm /etc/nginx/sites-enabled/code-server +nginx -s reload +links http://phares3757.ddns.net/.well-known/acme-challenge/3EyVP-v2tP40lnP9unxVDBHOYnkuIyn8cKIODjMdQK4 +certbot --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com +ufw status numbered +certbot --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com +certbot install --cert-name phares3757.ddns.net +ln -s /etc/nginx/sites-available/code-server /etc/nginx/sites-enabled/code-server +nginx -s reload +certbot install --cert-name phares3757.ddns.net + +certbot renew +certbot certonly +certbot --non-interactive --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com +``` + +```bash +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +``` + +```conf +# echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default + +server { + listen 8080 default_server; + listen [::]:8080 default_server; + include /etc/nginx/fcgiwrap.conf; + root /var/www/html; + server_name _; +} +``` + +```bash +echo >/etc/nginx/sites-available/code-server && nano /etc/nginx/sites-available/code-server +``` + +```conf +# echo >/etc/nginx/sites-available/code-server && nano /etc/nginx/sites-available/code-server + +server { + server_name phares3757.ddns.net; + location / { + proxy_pass http://localhost:8007/; + proxy_set_header Host $host; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection upgrade; + proxy_set_header Accept-Encoding gzip; + } + listen [::]:443 ssl ipv6only=on; # managed by Certbot + listen 443 ssl; # managed by Certbot + ssl_certificate /etc/letsencrypt/live/phares3757.ddns.net/fullchain.pem; # managed by Certbot + ssl_certificate_key /etc/letsencrypt/live/phares3757.ddns.net/privkey.pem; # managed by Certbot + include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot + ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot + +} +server { + if ($host = phares3757.ddns.net) { + return 301 https://$host$request_uri; + } # managed by Certbot + listen 8080; + listen [::]:8080; + server_name phares3757.ddns.net; + return 404; # managed by Certbot +} +``` + +```bash +ufw allow from 0.0.0.0/0 to any port 8080 comment "24) acme-challenge" +cp /var/log/letsencrypt/letsencrypt.log /home/vscode/Notes +certbot --non-interactive --redirect --agree-tos --nginx -d phares3757.ddns.net -m mikepharesjr@msn.com +``` diff --git a/_-Review/check-mk.md b/_-Review/check-mk.md new file mode 100644 index 0000000..42a7401 --- /dev/null +++ b/_-Review/check-mk.md @@ -0,0 +1,11 @@ +--- +type: "note" +created: "2024-02-03T06:22:40.713Z" +updated: "2024-02-03T06:22:55.972Z" +--- + +# check-mk + +# Check MK + +https://checkmk.com/download?method=cmk&edition=cre&version=2.2.0p21&platform=ubuntu&os=mantic&type=cmk&google_analytics_user_id= diff --git a/_-Review/chocolatey.md b/_-Review/chocolatey.md new file mode 100644 index 0000000..b3fe8bc --- /dev/null +++ b/_-Review/chocolatey.md @@ -0,0 +1,17 @@ +--- +type: "note" +created: "2024-03-14T17:04:21.119Z" +updated: "2024-03-14T17:09:55.880Z" +--- + +# Chocolatey + +- [Windows Server App Store](https://luy.infineon.com/luy/client/#/single/ItService/64793) +- [IFX DC Win App Store](https://confluencewikiprod.intra.infineon.com/display/WSCS/IFX+DC+WIN+App+Store) +- [Usage](https://confluencewikiprod.intra.infineon.com/display/WSCS/DC+WIN+App+Store+Client+Usage#DCWINAppStoreClientUsage-Thestartmenuentry) + +```yml +From: IT: New Service +Sent: Tuesday, April 26, 2022 7:00 AM +Subject: Windows Server: IFX DC WIN App Store is available now +``` diff --git a/_-Review/chonky.md b/_-Review/chonky.md new file mode 100644 index 0000000..a9d7486 --- /dev/null +++ b/_-Review/chonky.md @@ -0,0 +1,13 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.079Z" +updated: "2024-01-06T01:25:36.079Z" +--- + +# Chonky + +```bash +# https://lewisadeveloper.hashnode.dev/create-a-filesystem-browser-with-reactjs-and-chonky +``` + +[npm](npm.md) diff --git a/_-Review/chromebook.md b/_-Review/chromebook.md new file mode 100644 index 0000000..80a6f76 --- /dev/null +++ b/_-Review/chromebook.md @@ -0,0 +1,146 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.079Z" +updated: "2024-01-06T01:25:36.079Z" +--- + +# Chormebook + +```bash +# https://github.com/nodesource/distributions#debian-and-ubuntu-based-distributions +sudo apt-get update +sudo apt-get install -y ca-certificates curl gnupg +sudo mkdir -p /etc/apt/keyrings +curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +NODE_MAJOR=20 +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list +sudo apt-get update +sudo apt-get install nodejs -y +``` + +```bash +# https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/downloads-list.html +curl -LO https://corretto.aws/downloads/latest/amazon-corretto-21-x64-linux-jdk.tar.gz +``` + +```bash +# https://go.dev/dl/ +# https://go.dev/doc/install +rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz +nano .bashrc +``` + +```conf +# add to bottom +export PATH=$PATH:/usr/local/go/bin +``` + +```bash +source ~/.bashrc +go version +``` + +```youtube Sat Apr 13 2024 13:53:41 GMT-0700 (Mountain Standard Time) +320,622 views Sep 13, 2018 Ubuntu Linux Tutorial Videos +Your sound might not work. I can't help that. Find the right drivers for your system. READ THE COMMENTS SECTION. Your question has been answered already. + +I will not tell you if your Chromebook is compatible. If you want to know it your Chromebook is compatible, you're going to have to figure out what processor you're working with. Then figure out what architecture it is built on (Braswell, Skylake, etc) and then go here to see if that architecture is compatible. https://johnlewis.ie/custom-Chromeboo... + +If you want to install Ubuntu on your Chromebook and remove Chrome OS, this tutorial is for you. This is not a dual boot. This will REPLACE ChromeOS with Ubuntu. + +#Ubuntu #Chromebook #ChromeOS + + +THIS WILL DELETE EVERYTHING FROM YOUR CHROMEBOOK. + +Instructions were taken from these locations: + +http://www.fascinatingcaptain.com/blo... +https://johnlewis.ie/custom-Chromeboo... +/=========================================/ + +What you’ll need: +- Chromebook (I’m using the Acer C720) +- Live Linux USB drive (I’m using Ubuntu 18.04) + +/=========================================/ + +Step 1. Enable Developer mode + +Developer mode will wipe your Chromebook back to factory settings so make sure you back up any data not on your Google drive. + +With your Chromebook turned off hold down the ESC and Refresh While keeping them held down, press the power button once. + +Press Ctrl + D to bypass this screen. + +Press Enter at the next screen. + +On the next screen press Ctrl + D to bypass this message. + +You will see a timer counting down in the top right hand corner of the screen. The Chromebook will reboot and you’ll see the screen with the red exclamation mark. + +Developer mode is now enabled, power off the Chromebook. + +Step 2. Modify the Chromebooks BIOS + +By enabling developer mode, your Chromebook will always display the screen with the red exclamation mark on startup. Let’s now modify the BIOS to allow us to install Linux. + +Turn the Chromebook on and press Ctrl + D to bypass the screen with the red exclamation mark. + +Your Chromebook is reset to factory settings so you will need to go through the Chrome OS setup again. + +Press Ctrl + Alt + T to bring up a terminal window tab. + +Type shell and press Enter. + +Type this: cd;bash ˂(curl https://johnlewis.ie/flash_cb_fw.sh) + +** You'll have to replace that angle bracket with the one on your keyboard. YouTube won't let me use an actual angle bracket after the "bash" + +Choose the option to Modify my Chromebook’s RW_LEGACY slot and follow the on-screen instructions. + +Step 3. Enable USB boot + +Pressing Ctrl + D at the screen with the red exclamation mark on startup will take you to your Chrome OS install but pressing Ctrl + L will take you to the BIOS screen to boot from your USB drive. Let’s turn on the Ctrl + L functionality next: + +Press Ctrl + D at the initial startup screen to load Chrome OS. +Press Ctrl + Alt + F2 at the Chrome OS login screen. + +Login using the password chronos + +At the terminal prompt, type sudo crossystem dev_boot_usb=1 dev_boot_legacy=1 + +Power off the Chromebook by typing in sudo poweroff + +Now on startup, if you press Ctrl + L, you will get the BIOS screen instead of Chrome OS. + +Step 4. Install Linux + +At this stage most of the work is done and all that’s left is to install Linux: + +Plug in your USB drive into the USB port of your Chromebook. + +Plug in your live Linux USB into the other USB port. + +Power on the Chromebook and press Ctrl + L to get to the BIOS screen. + +Press ESC when prompted and you will see 3 drives: the USB drive, the live Linux USB drive (I am using Ubuntu) and the eMMC (the Chromebooks internal drive). Choose the live Linux USB drive. + +Choose the option Try Ubuntu without installing. When Linux loads make sure you can connect to the internet (I am using my trusty USB to Ethernet hub combo for a wired connection). + +Click on the Install Ubuntu 18.04 LTS icon and follow the on screen prompts until you get to Installation type. + +We want to leave the Chromebook’s internal drive untouched so choose the option to do something else so that we can manually setup the partitions for Ubuntu. + +Ignore all the mmc partitions and look for your USB drive, if you’re not sure, look at the size of the drive. + +Check your partitions are correct and continue the install. + +The rest of the install is a standard install so just follow the on screen prompts. + +Once finished, reboot, remove the live Linux USB and press Ctrl + L +You now have Linux installed. Run the software updates to make sure you have the latest firmware, drivers and software. + +/=========================================/ +``` diff --git a/_-Review/code-marketplace.md b/_-Review/code-marketplace.md new file mode 100644 index 0000000..36d4595 --- /dev/null +++ b/_-Review/code-marketplace.md @@ -0,0 +1,98 @@ +--- +type: "topic" +created: "2024-01-14T02:18:21.719Z" +updated: "2024-01-16T22:39:43.760Z" +--- + +# code-marketplace + +```PowerShell +# https://github.com/coder/code-marketplace +mkdir D:\go-lang\code-marketplace\extensions +nssm install code-marketplace +``` + +```yaml +Application Tab: + Path: D:\go-lang\code-marketplace\code-marketplace-windows-amd64.exe + Startup directory: D:\go-lang\code-marketplace + Arguments: server --extensions-dir ./extensions +``` + +```bash +D: +cd "D:\go-lang\code-marketplace" +code-marketplace-windows-amd64.exe --extensions-dir ./extensions add "C:\Users\phares\Downloads\dheovani.svg-viewer-1.0.2.vsix" +code-marketplace-windows-amd64.exe --extensions-dir ./extensions add "L:\Git\YO-VSCode\type-script-helper\type-script-helper-1.5.1.vsix" +``` + +```bash +L: +cd "L:\Git\code-marketplace" +go run ./cmd/marketplace/main.go server --extensions-dir ./extensions +``` + +```bash +curl 'https://localhost/api/extensionquery' -H 'Accept: application/json;api-version=3.0-preview.1' --compressed -H 'Content-Type: application/json' --data-raw '{"filters":[{"criteria":[{"filterType":8,"value":"Microsoft.VisualStudio.Code"}],"pageSize":1}],"flags":439}' | jq .results[0].extensions[0].versions[0].assetUri +"https://localhost/assets/vscodevim/vim/1.24.1" +"https://localhost/assets/IFX/type-script-helper/1.5.1" +"https://localhost/files/IFX/type-script-helper/1.5.1" +``` + +```json # product.json + "extensionsGallery": { + "serviceUrl": "https://code-marketplace/api", + "itemUrl": "https://code-marketplace/item", + "resourceUrlTemplate": "https://code-marketplace/files/{publisher}/{name}/{version}/{path}" + }, +``` + +```json # product.json + "linkProtectionTrustedDomains": [ + "https://code-marketplace" + ], +``` + +- [codium](https://code-marketplace/api/publishers/IFX/vsextensions/type-script-helper/1.5.1/vspackage) +- [actual](https://code-marketplace/files/IFX/type-script-helper/1.5.1/IFX.type-script-helper-1.5.1.vsix) + +- [Using-Open-VSX-in-VS-Code](https://github.com/eclipse/openvsx/wiki/Using-Open-VSX-in-VS-Code) +- [using-extensions-in-compiled-vscode](https://stackoverflow.com/questions/44057402/using-extensions-in-compiled-vscode) + +```json +[ + { + "_id": "0147389a-4d28-47df-a84d-937d1f15a411", + "colId": "history", + "containerId": "", + "name": "https://code-marketplace/api/extensionquery", + "url": "https://code-marketplace/api/extensionquery", + "method": "POST", + "sortNum": 0, + "created": "2023-09-30T19:41:35.995Z", + "modified": "2023-09-30T19:52:38.850Z", + "headers": [ + { + "name": "Accept", + "value": "application/json;api-version=3.0-preview.1" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "User-Agent", + "value": "Thunder Client (https://www.thunderclient.com)", + "isDisabled": true + } + ], + "params": [], + "body": { + "type": "json", + "raw": "{\"filters\":[{\"criteria\":[{\"filterType\":8,\"value\":\"Microsoft.VisualStudio.Code\"}],\"pageSize\":1}],\"flags\":439}", + "form": [] + }, + "tests": [] + } +] +``` diff --git a/_-Review/code-server.md b/_-Review/code-server.md new file mode 100644 index 0000000..023ce13 --- /dev/null +++ b/_-Review/code-server.md @@ -0,0 +1,66 @@ +--- +type: "basic-note" +assigned: "" +created: "2024-01-06T01:25:36.079Z" +updated: "2024-01-06T01:25:36.079Z" +--- + +# Code Server + +```bash +sudo -i +apt remove code-server +curl -fsSL https://code-server.dev/install.sh | sh +su vscode +nano ~/.config/code-server/config.yaml +``` + +```yml +bind-addr: 127.0.0.1:8007 +auth: password +password: Darren +cert: false +``` + +```bash +exit +echo>/etc/systemd/system/code-server.service & nano /etc/systemd/system/code-server.service +``` + +```conf +[Unit] +Description=code-server +After=nginx.service + +[Service] +Type=simple +User=vscode +ExecStart=/usr/bin/code-server +Restart=always + +[Install] +WantedBy=multi-user.target +``` + +```bash +service code-server start +service code-server status +systemctl enable code-server +exit +exit +``` + +```bash +# git bash +npm i -D code-server --unsafe-perm +cd "L:/Git/code-server/node_modules/.bin" +bash code-server +``` + +## Sub-tasks + +- [ ] code-server + +### Relations + +[Ubuntu](ubuntu.md) diff --git a/_-Review/command-prompt.md b/_-Review/command-prompt.md new file mode 100644 index 0000000..8c756fb --- /dev/null +++ b/_-Review/command-prompt.md @@ -0,0 +1,15 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.078Z" +updated: "2024-01-06T01:25:36.078Z" +--- + +# Command Prompt + +## windows 11 clear quick access + +```bash +# https://www.elevenforum.com/t/clear-and-reset-quick-access-folders-in-windows-11.4693/ +del /f /s /q /a "%AppData%\Microsoft\Windows\Recent\AutomaticDestinations\f01b4d95cf55d32a.automaticDestinations-ms" +``` diff --git a/_-Review/compass.md b/_-Review/compass.md new file mode 100644 index 0000000..990e257 --- /dev/null +++ b/_-Review/compass.md @@ -0,0 +1,14 @@ +--- +type: "topic" +created: "2024-01-30T20:29:49.056Z" +updated: "2024-01-30T20:31:16.608Z" +--- + +# Compass + +## v1.5.1 + +- http://10.95.1.19/login +- Alerton +- Envision for BACKtalk +- Ascent Compass diff --git a/_-Review/continuous-improvement-next-steps.md b/_-Review/continuous-improvement-next-steps.md new file mode 100644 index 0000000..bf57751 --- /dev/null +++ b/_-Review/continuous-improvement-next-steps.md @@ -0,0 +1,64 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.182Z" +updated: "2024-01-06T01:25:36.182Z" +--- + +# Continuous Improvement - next steps + +Hi All + +Please look at the next steps and have feedback ready. + +## Next steps + +- Review and feedback of Incident Frequency actions. Outline attached +- Ideas on how we want those practices documented +- Start roadmap of how establish consistency across all apps +- For reduction in Requirements Changes; - Consider requirements documents examples. What is a good fit for our sites. Marti will send some examples. - Decision / assumption is all requests should have a requirements doc assuming it can be simple for small enhancements +- Marti to prepare for AO roles and responsibilities for next staff meeting. Should jump into this earlier rather than later. + +## Key Metrics – value add + - Incident Frequency – increase quality and stability with permanent corrective actions/detections + - Outline actions/practices + - Check for sustainability / gaps + - Next steps + - SLA for Critical and High priority incidents – minimize factory impact of application failures + - follow FI Problem Management process for SLA violations + - review session for updated process + - Performance to Commit – increase customer satisfaction with on-time delivery of high priority enhancement requests + - Update graph to include number of requests completed + - Outline current / needed practices + - Align on where to start + - Check for sustainability / gaps + - Next steps + - Deployment Quality + - Outline after AO responsibilities and define IRMA scope + +## INCIDENT FREQUENCY + +- Practices to keep and expand. Define gaps and outline next steps needed. + - For all in-house apps. + - Join all apps in Iteraplan to Eva + - Source Control in Git + - Use of Dev server for development + - Use of DevOps +- Join all apps in Iteraplan in Eva +- Build script to build binaries (how to accomplish the same for OI); adjust for Test environment; incl diff levels of complexity where possible +- Include automated test plans; minimum “happy path” +- Script to release/deploy - Rigorous testing; more edge cases, use checklists and/or OneNote, may be in Test Plans - Code review before deployment - User testing and buy-off before deployment - Ensure user training is done before deployment - Communication (customer and FI) before deployment. Leverage IRMA - App / Server monitoring; define standard minimum resource/behavior to monitor. + - For 3rd party apps (no development but vendor or Infineon upgrades) + - Join all apps in Iteraplan to Eva + - No source control and no Dev server + - No use of DevOps due limited benefit + - User testing and buy-off before deployment + - Ensure user training is done before deployment + - Communication (customer and FI) before deployment. Leverage IRMA + - App / Server monitoring; define standard minimum resource/behavior to monitor. + - For Marti; + - work on retaining/developing OI / Mesa OI experience + - ensuring that scope/size does not exceed FI resource bandwidth + - Continued communications with IT OS (bi-weekly alignment call) + - Work with team to propose best fit FAQ solution + - Consider customer enabling as part of PCA +- How and where to enshrine diff --git a/_-Review/copilot.md b/_-Review/copilot.md new file mode 100644 index 0000000..3ab41f1 --- /dev/null +++ b/_-Review/copilot.md @@ -0,0 +1,13 @@ +--- +type: "note" +created: "2024-03-13T15:19:46.792Z" +updated: "2024-03-18T15:26:00.235Z" +--- + +# Copilot + +- [wiki](https://confluencewikiprod.intra.infineon.com/display/SFGH/GitHub+Copilot+-+Best+Practices) +- [Install](https://confluencewikiprod.intra.infineon.com/display/IFX/GitHub+Copilot) +- [SSO](https://github.com/orgs/infineon/sso) +- [Permission](https://confluencewikiprod.intra.infineon.com/display/IFX/How+to+get+permission+for+Copilot+and+GitHub+account) +- [Work-Flow-Generator](https://workflowgenerator.infineon.com/portal/f164e6d7-35c9-40a7-b4f2-45316b0d3d68/userDelegates) diff --git a/_-Review/crontab.md b/_-Review/crontab.md new file mode 100644 index 0000000..ec86416 --- /dev/null +++ b/_-Review/crontab.md @@ -0,0 +1,17 @@ +--- +type: "note" +created: "2024-04-08T22:34:39.830Z" +updated: "2024-04-08T22:34:43.299Z" +--- + +# crontab + +```bash +crontab -l +crontab -r +crontab -e +``` + +```conf +*/2 * * * * nmap -n -sn -Pn 192.168.31.19 192.168.31.82 -oN /var/www/html/on-results.txt +``` diff --git a/_-Review/cygwin64.md b/_-Review/cygwin64.md new file mode 100644 index 0000000..37b9078 --- /dev/null +++ b/_-Review/cygwin64.md @@ -0,0 +1,5 @@ +--- +type: "note" +--- + +# cygwin64 diff --git a/_-Review/dameware.md b/_-Review/dameware.md new file mode 100644 index 0000000..b94a182 --- /dev/null +++ b/_-Review/dameware.md @@ -0,0 +1,192 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.137Z" +updated: "2024-01-06T01:25:36.137Z" +--- + +# Dameware + +``` +cSpell:disable +``` + +```conf +inetcpl.cpl +\\messv02ecc1.ec.local\EC_EAFRepository\Fab ISCvX +Start +../\ISCFC1Q4DV2\FQA - Bag Table Left.txt +../\ISCFC1T1DV2\FQA - Bag Table Right.txt +../\ISCFC270DV2\Left of R74.txt +../\ISCFC274DV2\Behind R52.txt +../\ISCFC2B0DV2\Left of R39.txt +../\ISCFC2B5DV2\FQA - Left of BioRad4.txt +../\ISCFMXL7151J58\Right of R24.txt +../\ISCFMXL7151J5B\Behind Tencor 3.txt +../\ISCFMXL7151J5C\Right of R36.txt +../\ISCFMXL7151J5D\Right of R43.txt new +../\ISCFMXL7151J5K\Behind R44.txt +../\ISCFMXL7151J5N\Right of R61.txt +../\ISCFMXL7151J5P\Right of R23.txt new +../\ISCFMXL7151J5Q\Right of R27.txt +../\ISCFMXL7151J5R\Behind R50.txt +../\ISCFMXL7151J5S\Right of R28.txt new +../\ISCFMXL7151J5T\Right of R64.txt +../\ISCFMXL7151J60\Right of R35.txt +../\ISCFMXL7151J61\Right of R57.txt +../\ISCFMXL7151J64\Behind R42.txt +../\ISCWMXL7151J5G\Supervisor (Kelly).txt +../\ISCWMXL7151J62\Lead Desk (Mircrowave).txt +../\ISCWMXL7151J63\Supervisor (Ian).txt +``` + +```conf +new at 62 and 64 +``` + +```conf +ISCFMXL2472FSZ.INFINEON.COM 10.95.33.55 infineon\IFXRESFB8E81A3F +``` + +```conf +ifxres2dc9530f2 and ifxresfb8e81a3f +``` + +```conf +C:\WINDOWS\SysWOW64\odbcad32.exe +\\mestsa003\mestsa003\CAA +``` + +```conf +ISCFMXL7151J5B-Off +ISCFMXL7151J5C-Failed-IFXResd8b6c1414 +ISCFMXL7151J5D-Off +ISCFMXL7151J5P-Off +ISCFMXL7151J5T-Off +ISCWMXL7151J5G-Off +ISCWMXL7151J62-Off +ISCWMXL7151J63-Off +``` + +```conf +ISCFC1Q4DV2-Works from P: +ISCFC1T1DV2-Works from P: +ISCFC270DV2-Needs auto logon +ISCFC274DV2-Works from P: +ISCFC2B0DV2-Works from P: +ISCFC2B5DV2-Works from P: +ISCFMXL7151J58-Works from P: +ISCFMXL7151J5B-Off +``` + +```conf +ISCFMXL7151J5C-Failed-IFXResd8b6c1414 +ISCFMXL7151J5D-Off +ISCFMXL7151J5K-Works from P: +ISCFMXL7151J5N-Works from P: +ISCFMXL7151J5P-Off +``` + +```conf +ISCFMXL7151J5Q-Works from P: +ISCFMXL7151J5R-Works from P: +ISCFMXL7151J5S-Works from P: +ISCFMXL7151J5T-Off +ISCFMXL7151J60-Works from P: +``` + +```conf +ISCFMXL7151J61-Works from P: +ISCFMXL7151J64-Works from P: +ISCWMXL7151J5G-Off +ISCWMXL7151J62-Off +ISCWMXL7151J63-Off +``` + +```bat +REM copy "\\mestsa003.infineon.com\mestsa003\SPC (Si).lnk" "\\mesfs.infineon.com\EC_Production" +copy "\\mestsa003.infineon.com\mestsa003\SPC (Si).lnk" "C:\Users\Public\FabStartMenu\Programs" +copy "\\mestsa003.infineon.com\mestsa003\SPC (Si).lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\InfinityQS" +copy "\\mestsa003.infineon.com\mestsa003\INFINITYQS.INI" "C:\Program Files (x86)\InfinityQS International\ProFicient\Applications" +\\mestsa003.infineon.com\mestsa003\SPCEPIWORLD_hklm.reg +``` + +| Shortcut | New Icon Path | Status | +|------------------|-------------------------------------------------------|--------| +| Fabtime | c:\programdata\iscvx\fabicons\FabTime.ico | done | +| Iapps | c:\programdata\iscvx\fabicons\iApps.ico | done | +| Mesa Approval | c:\programdata\iscvx\fabicons\Mesa Approval.ico | done | +| Mesa PTO | c:\programdata\iscvx\fabicons\Mesa PTO Calendar.ico | done | +| MSDS | c:\programdata\iscvx\fabicons\MSDS Online.ico | doe | +| NICA | c:\programdata\iscvx\fabicons\NICA.ico | done | +| OI Metrology | c:\programdata\iscvx\fabicons\OI Metrology Viewer.ico | done | +| OI-Wizard | c:\programdata\iscvx\fabicons\OI-Wizard.ico | done | +| Openinsight RADC | c:\programdata\iscvx\fabicons\OpenInsight (RADC).ico | done | +| Outlook Web | c:\programdata\iscvx\fabicons\Outlook Web Access.ico | done | +| Windchill | c:\programdata\iscvx\fabicons\Windchill-Mesa.ico | done | + +| HPN | Hostname | Status | +|--------------|-----------------------------|---------| +| MESCROOM001 | ISCFC1T1DV2.infineon.com | done | +| MESCROOM003 | ISCFC1Q4DV2.infineon.com | done | +| MESCROOM004 | ISCFC270DV2.infineon.com | done | +| MESCROOM005 | ISCFC2B0DV2.infineon.com | done | +| MESCROOM007 | ISCFMXL7151J58.infineon.com | done | +| MESCROOM008 | ISCFC2B5DV2.infineon.com | done | +| MESCROOM009 | ISCFC274DV2.infineon.com | done | +| MESCROOM010 | ISCFMXL7151J5S.infineon.com | done | +| MESCROOM011 | ISCFMXL7151J61.infineon.com | done | +| MESCROOM012 | ISCFMXL7151J5N.infineon.com | done | +| MESCROOM015 | ISCFMXL7151J5K.infineon.com | done | +| MESCROOM017 | ISCFMXL7151J64.infineon.com | done | +| MESCROOM018 | ISCFMXL7151J5R.infineon.com | done | +| MESCROOM019 | ISCFMXL7151J5Q.infineon.com | done | +| MESCROOM020 | ISCFMXL7151J5C.infineon.com | done | +| MESCROOM023 | ISCFMXL7151J60.infineon.com | done | +| MESCROOM024 | ISCFMXL7151J5W.infineon.com | done | +| MESCROOM301 | ISCF5CG2255YZN.infineon.com | done | +| MESCROOM3300 | ISCFMXL2194MXD.infineon.com | done | +| MESCROOM3301 | ISCFMXL2194MW4.infineon.com | done | +| MESCROOM3302 | ISCFMXL2194N0G.infineon.com | done | +| MESCROOM3303 | ISCFMXL2194N05.infineon.com | done | +| MESCROOM3304 | ISCFMXL2472FTD.infineon.com | offline | +| MESCROOM3305 | ISCFMXL2472FSZ.infineon.com | offline | +| MESCROOM3306 | ISCFMXL2472FT0.infineon.com | offline | +| MESCROOM3308 | ISCFMXL2472FSQ.infineon.com | offline | + +- [Mouse Jiggler](https://github.com/arkane-systems/mousejiggler/releases) + +```conf +ISCFMXL2472FSZ|MESCROOM3305|IFXRESFB8E81A3F +ISCFMXL2472FT0|MESCROOM3306|IFXRES431CF1E0E +ISCFMXL2472FSR|MESCROOM3307|IFXRESCD3A9A2CB +ISCFMXL2472FSQ|MESCROOM3308|IFXRESBF5E465AE +ISCFMXL2472FT1|MESCROOM3309|IFXRESB77913FDC +``` + +```conf +../\ISCWMXL20835X1.infineon.com\FI Dashboard +R59 is with Anton +../\ISCFMXL3425LDQ.infineon.com\FI Dashboard +``` + +```conf +ISCFMXL3352PQ5;ISCFMXL3352PQ3;ISCFMXL3352PPY;ISCFMXL3352PPX;ISCFMXL3352PQ0;ISCFMXL3352PQ1;ISCFMXL3352PQK;ISCFMXL3352PQ2;ISCFMXL3352PQ4;ISCFMXL3352PPW;ISCFMXL2472FT3;ISCFMXL3352PPZ +``` + +- [FAQ](https://webnetprod.muc.infineon.com/EndUserFAQs#/article/130332) + +| Machine Name | User | Logon | Description | FabIcons | +|----------------|--------------|-----------------|-------------| ---------- | +| ISCFMXL3352PQ5 | MESCROOM3310 | IFXRes3486af362 | Packaging | 2024-05-10 | +| ISCFMXL3352PQ3 | MESCROOM3311 | IFXRes61f90d43d | Maybe R73 | 2024-05-10 | +| ISCFMXL3352PPY | MESCROOM3312 | IFXRese18fde6b6 | | | +| ISCFMXL3352PPX | MESCROOM3313 | IFXResb66fa8b6a | | | +| ISCFMXL3352PQ0 | MESCROOM3314 | IFXRes0ddf78c46 | | | +| ISCFMXL3352PQ1 | MESCROOM3315 | IFXResf589ff5f3 | | | +| ISCFMXL3352PQK | MESCROOM3316 | IFXRes2914ffc2d | | | +| ISCFMXL3352PQ2 | MESCROOM3317 | IFXRes052227094 | | | +| ISCFMXL3352PQ4 | MESCROOM3318 | IFXRes9ca8962b9 | | | +| ISCFMXL3352PPW | MESCROOM3319 | IFXResc5cf7df07 | | | +| ISCFMXL2472FT3 | MESCROOM3320 | IFXResfff87eb0e | | | +| ISCFMXL3352PPZ | MESCROOM3321 | IFXResa396c6187 | | | +| ISCFMXL2472FTD | asdf | asdf | Microscope | | diff --git a/_-Review/dashkiosk.md b/_-Review/dashkiosk.md new file mode 100644 index 0000000..0cf6d68 --- /dev/null +++ b/_-Review/dashkiosk.md @@ -0,0 +1,43 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.138Z" +updated: "2024-01-06T01:25:36.138Z" +--- + +# Ubuntu Dashkiosk + +[Ubuntu](ubuntu.md) + +```bash +# https://mir-server.io/docs/how-to-set-up-digital-signage-on-ubuntu-frame +apt update +apt upgrade -y +apt install update-manager-core +do-release-upgrade +exit +sudo -i +reboot +sudo -i +apt-get install links unzip net-tools -y +snap install dashkiosk +timedatectl set-timezone America/Phoenix +snap restart dashkiosk +snap install ubuntu-frame wpe-webkit-mir-kiosk +snap set wpe-webkit-mir-kiosk daemon=true +snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +snap set ubuntu-frame daemon=true +ln -s /var/log/nginx /var/www/html/log-nginx +ls -la /var/www/html +exit +sudo -i +reboot +sudo -i +cp ~/.bash_history /etc/bash_history_2024-04-21.txt +chmod -R 777 /etc/bash_history_2024-04-21.txt +ls +exit +ip link +``` diff --git a/_-Review/datacentercockpit.md b/_-Review/datacentercockpit.md new file mode 100644 index 0000000..0cf343e --- /dev/null +++ b/_-Review/datacentercockpit.md @@ -0,0 +1,134 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.078Z" +updated: "2024-01-06T01:25:36.078Z" +--- + +# DataCenterCockpIT + +- [api](https://gears.icp.infineon.com/swagger/index.html) + +```url +https://sso.infineon.com/idp/userinfo.openid +``` + +```header +Accept: application/json, text/plain, */* +Accept-Encoding: gzip, deflate, br +Accept-Language: en-US,en;q=0.9 +Authorization: Bearer 0004ZzTg1z7oAT89Zq5XCFO4bgUv +Cache-Control: no-cache +Connection: keep-alive +Host: sso.infineon.com +Origin: https://dccockpit.icp.infineon.com +Pragma: no-cache +Referer: https://dccockpit.icp.infineon.com/ +Sec-Fetch-Dest: empty +Sec-Fetch-Mode: cors +Sec-Fetch-Site: same-site +User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36 Edg/115.0.1901.188 +sec-ch-ua: "Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115" +sec-ch-ua-mobile: ?1 +sec-ch-ua-platform: "Android" +``` + +```url +# Windows Server Hosts +https://gears.icp.infineon.com/api/WindowsServer/GetForUser/IF30135815 +``` + +```header +Accept: application/json, text/plain, */* +Accept-Encoding: gzip, deflate, br +Accept-Language: en-US,en;q=0.9 +Authorization: Bearer 0004lUFJxb7X4439WbtrAuNVk9vz +Cache-Control: no-cache +Connection: keep-alive +Content-Type: application/json +Host: gears.icp.infineon.com +Origin: https://dccockpit.icp.infineon.com +Pragma: no-cache +Referer: https://dccockpit.icp.infineon.com/ +Sec-Fetch-Dest: empty +Sec-Fetch-Mode: cors +Sec-Fetch-Site: same-site +User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36 Edg/115.0.1901.188 +sec-ch-ua: "Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115" +sec-ch-ua-mobile: ?1 +sec-ch-ua-platform: "Android" +``` + +```url +# Database Accounts +https://debra.icp.infineon.com/api/Account/GetByOwnerId?ownerID=IF30135815 +``` + +```header +Accept: application/json, text/plain, */* +Accept-Encoding: gzip, deflate, br +Accept-Language: en-US,en;q=0.9 +Authorization: Bearer 0004wPYWrqyGv9t7J5ti8yls93BL +Cache-Control: no-cache +Connection: keep-alive +Host: debra.icp.infineon.com +Origin: https://dccockpit.icp.infineon.com +Pragma: no-cache +Referer: https://dccockpit.icp.infineon.com/ +Sec-Fetch-Dest: empty +Sec-Fetch-Mode: cors +Sec-Fetch-Site: same-site +User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36 Edg/115.0.1901.188 +sec-ch-ua: "Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115" +sec-ch-ua-mobile: ?1 +sec-ch-ua-platform: "Android" +``` + +```url +# Custom Endpoints +https://dcchesit-api.icp.infineon.com/DeviceViews +``` + +```header +Accept: application/json, text/plain, */* +Accept-Encoding: gzip, deflate, br +Accept-Language: en-US,en;q=0.9 +Authorization: Bearer 0004wPYWrqyGv9t7J5ti8yls93BL +Cache-Control: no-cache +Connection: keep-alive +Host: dcchesit-api.icp.infineon.com +Origin: https://dccockpit.icp.infineon.com +Pragma: no-cache +Referer: https://dccockpit.icp.infineon.com/ +Sec-Fetch-Dest: empty +Sec-Fetch-Mode: cors +Sec-Fetch-Site: same-site +User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36 Edg/115.0.1901.188 +sec-ch-ua: "Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115" +sec-ch-ua-mobile: ?1 +sec-ch-ua-platform: "Android" +``` + +```url +# My DC Assets +https://dcc-core.icp.infineon.com/api/MyDCAssets/IF30135815 +``` + +```header +Accept: application/json, text/plain, */* +Accept-Encoding: gzip, deflate, br +Accept-Language: en-US,en;q=0.9 +Authorization: Bearer 0004WTnVZvLg85onJOvQQGbhGhmj +Cache-Control: no-cache +Connection: keep-alive +Host: dcc-core.icp.infineon.com +Origin: https://dccockpit.icp.infineon.com +Pragma: no-cache +Referer: https://dccockpit.icp.infineon.com/ +Sec-Fetch-Dest: empty +Sec-Fetch-Mode: cors +Sec-Fetch-Site: same-site +User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36 Edg/115.0.1901.188 +sec-ch-ua: "Not/A)Brand";v="99", "Microsoft Edge";v="115", "Chromium";v="115" +sec-ch-ua-mobile: ?1 +sec-ch-ua-platform: "Android" +``` diff --git a/_-Review/desktop-bmv4v66.md b/_-Review/desktop-bmv4v66.md new file mode 100644 index 0000000..a3fd2aa --- /dev/null +++ b/_-Review/desktop-bmv4v66.md @@ -0,0 +1,53 @@ +--- +type: "topic" +Brand: "Trigkey" +GPU: "Intel Celeron 12th Gen N100 3.4GHz" +SSD: "M.2 2280" +RAM: "16GB DDR4" +created: "2024-01-14T02:18:08.272Z" +updated: "2024-02-02T22:16:54.818Z" +--- + +# DESKTOP-BMV4V66 + +## Install + +- [x] AmazonPhotosSetup +- [x] Apache_OpenOffice_4.1.14_Win_x86_install_en-US.exe +- [x] ArduinoCreateAgent-1.3.6-windows-amd64-installer +- [x] dotnet-sdk-8.0.100-win-x64.exe +- [x] FreeFileSync_13.2_Windows_Setup.exe +- [x] Git-2.43.0-64-bit.exe +- [x] KeePass-2.55-Setup.exe +- [x] nmap-7.94-setup.exe +- [x] node-v20.10.0-x64.msi ~~~node-v18.17.0-x64.msi~~~ +- [x] putty-64bit-0.80-installer.msi +- [x] RootsMagic9SetupX64 +- [x] S-NXSTDO-010500WF-ALLIN-ALL___.exe +- [x] syncthing-windows-amd64-v1.27.1.zip +- [x] Vivaldi.6.5.3206.48.x64.exe +- [x] VSCodeUserSetup-x64-1.85.1.exe +- [x] VSCodeUserSetup-x64-1.86.0-insider.exe +- [x] VSCodiumUserSetup-x64-1.85.1.23348.exe +- [x] WinSCP-6.1.2-Setup.exe + +## Setup + +- [x] Update hosts file +- [x] SSH Server +- [x] Git setup +- [x] Login and add ssh-ed25519 AAA... +- [x] VSCode install git graph extension only +- [x] VSCode repositories +- [x] Cloned File-Folder-Helper +- [x] My extension +- [x] KeePass plugins +- [x] SSH Beelink +- [x] SSH Kristy +- [x] SSH Mike (2 TB) +- [x] Clone Code Server +- [x] nginx +- [ ] Install the remaining VSCode extensions +- [ ] BaGet +- [ ] [build-tools](build-tools.md) +- [ ] Ubuntu-Home-Assistant diff --git a/_-Review/desktop-h6jg91b.md b/_-Review/desktop-h6jg91b.md new file mode 100644 index 0000000..78fad7c --- /dev/null +++ b/_-Review/desktop-h6jg91b.md @@ -0,0 +1,344 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.078Z" +updated: "2024-01-06T01:25:36.078Z" +--- + +# DESKTOP-H6JG91B + +```conf +maas +1178 +1178 +``` + +```bash +sudo -i +apt-get update +apt-get upgrade +apt-get install links unzip net-tools ufw nginx git ncdu nano nmap -y +reboot +``` + +```bash +wsl --export Ubuntu Ubuntu-MAAS-001.tar +``` + +```bash +ip a +lsb_release -a +ufw enable +ufw status numbered +ufw disable +``` + +```bash +cd /home/maas/ +wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh +chmod +x ./dotnet-install.sh +./dotnet-install.sh --channel 8.0 +ln -s /home/maas/.dotnet/dotnet /usr/local/bin/dotnet +export DOTNET_ROOT=$HOME/.dotnet +export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools +dotnet --info +``` + +```bash +timedatectl set-timezone America/Phoenix +snap install dashkiosk +snap restart dashkiosk +snap install ubuntu-frame wpe-webkit-mir-kiosk +snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +``` + +```bash +/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +``` + +```bash +snap set ubuntu-frame daemon=true +apt-get install -y ca-certificates +nano /home/maas/localhost.conf +echo >/home/maas/localhost.conf && nano /home/maas/localhost.conf +``` + +```conf +[req] +default_bits = 2048 +default_keyfile = localhost.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = desktop-h6jg91b +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = desktop-h6jg91b +DNS.2 = localhost +DNS.3 = 127.0.0.1 +``` + +```bash +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/localhost.key -out /etc/nginx/localhost.crt -config /home/maas/localhost.conf +ls /etc/nginx +nano /etc/nginx/sites-available/default +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +``` + +```conf +server { + listen 80 default_server; + listen [::]:80 default_server; + root /var/www/html; + index index.html index.htm index.nginx-debian.html; + server_name _; + location / { + try_files $uri $uri/ =404; + } +} +server { + ssl_certificate 'localhost.crt'; + ssl_certificate_key 'localhost.key'; + listen 443 default_server ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 default_server ssl http2; + server_name _; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:3000/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +``` + +```bash +nginx -t +systemctl restart nginx +nginx -s reload +exit +``` + +```bash +cp ~/.bash_history /home/maas/bash-history-2023-11-20.txt +chown maas /home/maas -R +chgrp maas /home/maas -R +nano /home/maas/bash-history-2023-11-20.txt +exit +``` + +```bash 1.85 GB +wsl --export Ubuntu Ubuntu-MAAS-002.tar +``` + +```bash +su -i +reboot +``` + +```bash +# https://maas.io/docs/fresh-installation-of-maas +sudo -i +snap install --channel=3.4/edge maas +systemctl disable --now systemd-timesyncd +apt install -y postgresql +``` + +```postgresql +mikepharesjr = ___________ +1178 = ___________ +maas = ___________ +localhost = _________ +``` + +```bash +sudo -i -u postgres psql +drop database maas with (force); +\q +sudo -i -u postgres psql -c "CREATE USER \"mikepharesjr\" WITH ENCRYPTED PASSWORD '1178'" +sudo -i -u postgres createdb -O "mikepharesjr" "maas" +cat /etc/postgresql/14/main/pg_hba.conf +nano /etc/postgresql/14/main/pg_hba.conf +``` + +```conf +host maas mikepharesjr 0/0 md5 +``` + +```bash +maas init region+rack --database-uri "postgres://mikepharesjr:1178@localhost/maas" +``` + +```conf +http://172.23.77.6:5240/MAAS +http://127.0.0.1:5240/MAAS +``` + +```bash +maas createadmin +``` + +```conf +mikepharesjr +1178 +1178 +mikepharesjr@msn.com +gh:mikepharesjr +``` + +```bash +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/localhost.key -out /etc/nginx/localhost.crt -config /home/maas/localhost.conf +ls /etc/nginx +``` + +```bash +maas status +# http://localhost:5240/MAAS +``` + +```bash +snap stop maas +systemctl stop postgresql.service +~~systemctl stop maas-dhcpd.service~~ +~~systemctl stop maas-rackd.service~~ +~~systemctl stop maas-regiond.service~~ +``` + +```bash +snap stop maas +snap remove --purge maas +systemctl enable --now systemd-timesyncd +``` + +```bash +systemctl disable --now systemd-timesyncd +snap install --channel=3.4/edge maas +maas init region+rack --database-uri "postgres://mikepharesjr:1178@localhost/maas" +maas status +``` + +```bash 6.43 GB +wsl --export Ubuntu Ubuntu/Ubuntu-MAAS-003.tar +``` + +```conf +172.23.64.0/20 => 192.168.0.0/24 +172.23.64.1 => 192.168.0.1 +``` + +```bash +nmap -n -sU -p67 --script broadcast-dhcp-discover +``` + +```PowerShell +netstat -a -b +``` + +```bash 6.45 GB +wsl --export Ubuntu D:/9-Delete/Ubuntu-MAAS-004.tar +wsl --unregister Ubuntu +wsl --import Ubuntu "D:\9-Delete" "D:\9-Delete\Ubuntu-MAAS-004.tar" +``` + +```conf +pihole +1178 +1178 +``` + +```bash +sudo -i +apt-get update +apt-get upgrade +apt-get install links unzip net-tools ufw nginx git ncdu nano nmap ca-certificates -y +reboot +``` + +```bash 1.34 GB +wsl --export Ubuntu Ubuntu/Ubuntu-PiHole-001.tar +wsl --unregister Ubuntu +wsl --import Ubuntu "C:\Users\mikep\Ubuntu" "C:\Users\mikep\Ubuntu\Ubuntu-PiHole-001.tar" +``` + +```bash +sudo -i +``` + +```bash +cd /home/pihole +curl -sSL https://install.pi-hole.net | bash +``` + +```bash +pihole -a -p 4hink +nano /etc/lighttpd/lighttpd.conf +``` + +```conf +... +server.port = 8005 +... +``` + +```bash +service lighttpd restart +# http://localhost:8005/admin +``` + +```bash +mkdir -p /tftpboot/kali +cd /tftpboot/kali +# https://www.kali.org/docs/installation/network-pxe/ +# https://discourse.pi-hole.net/t/setting-up-a-pxe-boot-server-with-docker-compose-and-boot-kali-linux-or-other-oss/50218 +wget http://http.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/netboot.tar.gz +tar -zxpf netboot.tar.gz +rm netboot.tar.gz +nano /etc/dnsmasq.d/99-pxeboot.conf +ls /etc/dnsmasq.d/ +``` + +```conf kali +dhcp-boot=pxelinux.0 +enable-tftp +tftp-root=/tftpboot/ +pxe-prompt="Press F8 for menu.", 60 +pxe-service=x86PC,"Boot from local disk",0 +pxe-service=x86PC,"Boot Kali Linux",kali/pxelinux +``` + +```bash +pihole restartdns +pihole status +pihole-FTL dhcp-discover +nmap -n -sU -p67 --script broadcast-dhcp-discover +``` + +```bash 1..49 GB +wsl --export Ubuntu Ubuntu/Ubuntu-PiHole-002.tar +wsl --unregister Ubuntu +wsl --import Ubuntu "C:\Users\mikep\Ubuntu" "C:\Users\mikep\Ubuntu\Ubuntu-PiHole-002.tar" +``` diff --git a/_-Review/desktop-ka0lmmj.md b/_-Review/desktop-ka0lmmj.md new file mode 100644 index 0000000..64488fc --- /dev/null +++ b/_-Review/desktop-ka0lmmj.md @@ -0,0 +1,89 @@ +--- +type: "topic" +created: "2024-01-14T02:18:17.424Z" +updated: "2024-02-02T22:16:54.819Z" +--- + +# DESKTOP-KA0LMMJ + +## Install + +- [x] AmazonPhotosSetup +- [x] Apache_OpenOffice_4.1.14_Win_x86_install_en-US.exe +- [x] ArduinoCreateAgent-1.3.6-windows-amd64-installer +- [x] dotnet-sdk-8.0.100-win-x64.exe +- [x] FreeFileSync_13.2_Windows_Setup.exe +- [x] Git-2.43.0-64-bit.exe +- [x] KeePass-2.55-Setup.exe +- [x] nmap-7.94-setup.exe +- [x] node-v20.10.0-x64.msi ~~~node-v18.17.0-x64.msi~~~ +- [x] putty-64bit-0.80-installer.msi +- [x] RootsMagic9SetupX64 +- [x] S-NXSTDO-010500WF-ALLIN-ALL___.exe +- [x] syncthing-windows-amd64-v1.27.1.zip +- [x] Vivaldi.6.5.3206.48.x64.exe +- [x] VSCodeUserSetup-x64-1.85.1.exe +- [x] VSCodeUserSetup-x64-1.86.0-insider.exe +- [x] VSCodiumUserSetup-x64-1.85.1.23348.exe +- [x] WinSCP-6.1.2-Setup.exe + +## Setup + +- [x] Move to 500 GB NVMe +- [x] Steam +- [x] SIMS 4 +- [x] EA Games +- [x] Update hosts file +- [x] Git setup +- [x] Login and add ssh-ed25519 AAA... +- [x] VSCode install git graph extension only +- [x] My extension +- [x] KeePass plugins +- [x] Clone Code Server +- [x] nginx +- [x] Cloned File-Folder-Helper +- [x] VSCode repositories +- [x] SSH Server +- [x] SSH Beelink +- [x] SSH Kristy +- [ ] SSH Mike (2 TB) +- [ ] Install the remaining VSCode extensions +- [ ] BaGet +- [ ] [build-tools](build-tools.md) +- [ ] Ubuntu-Home-Assistant + +## Backup + +- [ ] Copy A Images, A Videos to 1 TB +- [ ] Shrink 2 TB C to ~150 GB +- [ ] + +## Mounted Drives + +- 2 TB Mike-Desktop (WD SN770) + - C 130 GB, D 294 GB, K 465 GB, L 971 GB +- 1 TB Mike-Mini (WD SN770) + - C 111 GB, D 409 GB, L 409 GB +- 0.5 TB Chelsea-Desktop (WD SN750) + - C 122 GB, D 332 GB, L 10 GB +- 0.5 TB Kristy-Desktop (Sk Hynix) + - C 301 GB, D 159 GB, L 4 GB +- 1 TB Logan-Desktop (Samsung 970 EVO) + - C 923 GB, D 1 GB, l 1 GB +- 0.25 TB Laundry-Server (Generic) + - /sda + +## Drives + +- 0.5 TB Backup Spindle +- 0.5 TB Generic NVMe +- 0.5 TB SanDisk +- 0.25 TB Samsung +- 0.25 TB SanDisk +- 0.25 TB SanDisk +- 0.125 TB Kingston +- 0.125 TB Kingston +- 0.125 TB Kingston +- 0.064 TB SanDisk +- 0.064 TB SanDisk +- 0.064 TB SanDisk diff --git a/_-Review/dhcp.md b/_-Review/dhcp.md new file mode 100644 index 0000000..75c12cd --- /dev/null +++ b/_-Review/dhcp.md @@ -0,0 +1,18 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.077Z" +updated: "2024-01-06T01:25:36.077Z" +--- + +# DHCP + +- [x] Shrink Router to lower half + - Beginning DHCP Address: 192.168.0.2 + - Ending DHCP Address: 192.168.0.121 +- [x] Set the DNS servers allocated with DHCP requests. + - Custom Primary: 192.168.0.2 Secondary: 192.168.0.1 +- [x] DHCP Reservation for DHCP Server and one machine +- [x] Set DHCP Server range upper half +- [x] Shrink Router to just it and one machine + - Beginning DHCP Address: 192.168.0.2 + - Ending DHCP Address: 192.168.0.3 diff --git a/_-Review/didact.md b/_-Review/didact.md new file mode 100644 index 0000000..45184f4 --- /dev/null +++ b/_-Review/didact.md @@ -0,0 +1,35 @@ +--- +type: "topic" +created: "2024-01-14T02:18:08.212Z" +updated: "2024-01-16T15:04:58.320Z" +--- + +# DiDact + +- [Passwords for Didact and TestPlan](https://ishare.infineon.com/sites/MIT_FE_EA/ACM_FE/Shared%20Documents/DiDact%20Test%20Application/PasswordsforDidactandTestPlan.txt) +- [iShare DiDact Test Application ](https://ishare.infineon.com/sites/MIT_FE_EA/ACM_FE/Shared%20Documents/Forms/AllItems.aspx?RootFolder=%2Fsites%2FMIT%5FFE%5FEA%2FACM%5FFE%2FShared%20Documents%2FDiDact%20Test%20Application) + +## In order to install DiDaCT please follow these steps: + +1. Run setup.exe. +2. Walk through the installation wizard. +3. The first time you launch DiDaCT you will be asked whether you have a license file. + In case you don't have a license file yet select "No" and fill in the license request. Send the + license request to the specified email address at PEER Group GmbH. +4. After you received your license file, start DiDaCT and wait for the license dialog. Click 'Yes' + to indicate that you have a license file. You will be asked to select your license file in the + next dialog. +5. For further information refer to the DiDaCT user manual found in the "Manual" folder. + +```conf +; DiDaCT - DiDaCTLicense File +; Version: v1.7.0.6 +; Date issued: 2023-Oct-19 10:15:49 +[DiDaCTLicense] +LicenseType=FullLicense +Licensee=Mike Phares +LicenseKey=12B39BAE-AC8228D4-3F495555-DF2BFF39-A87F8588-4931BFBD-7EDAD8E2-2EF9EE9F +MachineID=53066CED-C801FC1B-80BB11D2-42C75888-12EC8F27 +PasswordHash=751E8AA9-CE86210C-DFCCE6C5-134269ED-892FA16D-CAEB773A-77A71BE2-E8FE7DFD +ValidThru=2024-10-31 +``` diff --git a/_-Review/disk-part.md b/_-Review/disk-part.md new file mode 100644 index 0000000..32ac3b9 --- /dev/null +++ b/_-Review/disk-part.md @@ -0,0 +1,14 @@ +--- +type: "note" +--- + +# disk-part + +```bash +diskpart +list disk +select disk 3 +list partition +select partition 1 +delete partition override +``` diff --git a/_-Review/dns.md b/_-Review/dns.md new file mode 100644 index 0000000..7e57833 --- /dev/null +++ b/_-Review/dns.md @@ -0,0 +1,14 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.077Z" +updated: "2024-01-06T01:25:36.077Z" +--- + +# DNS + +## CNAME + +```bash +# https://smptools.infineon.com/smptinyurl/orderable/?name=SSO-New%20DNS%20Entry%20%281%29 +# CNAME for application to reference server +``` diff --git a/_-Review/docker.md b/_-Review/docker.md new file mode 100644 index 0000000..a201747 --- /dev/null +++ b/_-Review/docker.md @@ -0,0 +1,55 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.179Z" +updated: "2024-01-06T01:25:36.179Z" +--- + +# Docker + +[Windows Subsystem for Linux (wsl)](wsl.md) + +```bash Mike +sudo -i +id +sudo -i +docker run hello-world +id +compgen -u +compgen -g +id +usermod -a -G docker mike +sudo -i +id +sudo usermod -a -G docker mike +id +exit +id +docker run hello-world +nano .bash_history +sudo -i +exit +``` + +```bash sudo +# Add Docker's official GPG key: +sudo apt-get update +sudo apt-get install ca-certificates curl +sudo install -m 0755 -d /etc/apt/keyrings +sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc +sudo chmod a+r /etc/apt/keyrings/docker.asc +# Add the repository to Apt sources: +echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ + $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null +sudo apt-get update +sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin +id +exit +docker run hello-world +exit +usermod -a -G docker mike +exit +nano .bash_history +docker version compose +docker compose version +exit +``` diff --git a/_-Review/docusaurus.md b/_-Review/docusaurus.md new file mode 100644 index 0000000..6e85937 --- /dev/null +++ b/_-Review/docusaurus.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.077Z" +updated: "2024-01-06T01:25:36.077Z" +--- + +# Docusaurus + +- [ ][](https://docusaurus.io/docs#comparison-with-other-tools) diff --git a/_-Review/dotnet.md b/_-Review/dotnet.md new file mode 100644 index 0000000..782c339 --- /dev/null +++ b/_-Review/dotnet.md @@ -0,0 +1,160 @@ +--- +type: "topic" +created: "2024-02-25T00:52:01.425Z" +updated: "2024-04-03T03:34:53.544Z" +--- + +# dotnet + +```c# +public int Index { get; set; } + +public int I⁀ndex { get; set; } +``` + +```bash +# https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service?pivots=dotnet-7-0#create-the-windows-service +sc.exe create "File-Watcher" binpath="C:\Windows\System32\config\systemprofile\AppData\Local\IFXApps\File-Watcher\File-Watcher.exe" +sc.exe create "Directory-Size" binpath="C:\Windows\System32\config\systemprofile\AppData\Local\IFXApps\Directory-Size\Directory-Size.exe" +sc.exe create "Parsing-Packets" binpath="C:\Windows\System32\config\systemprofile\AppData\Local\IFXApps\Parsing-Packets\Parsing-Packets.exe" +``` + +```conf Tue Jan 02 2024 10:01:33 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.CA1816.severity = none # CA1816: Call GC.SuppressFinalize correctly +dotnet_diagnostic.CA1854.severity = warning # CA1854: Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup +dotnet_diagnostic.CA1866.severity = none # CA1866: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char +dotnet_diagnostic.IDE0200.severity = warning # IDE0200: Lambda expression can be removed [Map] +``` + +```bash Fri Jan 05 2024 19:24:13 GMT-0700 (Mountain Standard Time) +dotnet add package Microsoft.Extensions.Hosting.Systemd --version 8.0.0 +``` + +```c# +// https://blog.maartenballiauw.be/post/2021/05/25/running-a-net-application-as-a-service-on-linux-with-systemd.html +// https://stackoverflow.com/questions/71233335/use-systemd-on-asp-net-core-6-0-and-7-0 +Host.CreateDefaultBuilder(args) + .UseSystemd() // add this + .ConfigureServices((hostContext, services) => + { + services.AddHostedService(); + }); +``` + +```bash +nano /etc/systemd/system/text-2-json.service +systemctl daemon-reload +systemctl status text-2-json.service +systemctl enable text-2-json.service +systemctl stop text-2-json.service +systemctl start text-2-json.service +systemctl restart text-2-json.service +systemctl status text-2-json.service +journalctl -u text-2-json.service +``` + +```conf +[Unit] +Description=Text 2 json + +[Service] +Type=notify +ExecStart=/usr/sbin/text-2-json --port=53 + +[Install] +WantedBy=multi-user.target +``` + +```conf Mon Jan 08 2024 10:23:04 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.IDE0074.severity = warning # IDE0074: Use compound assignment +dotnet_diagnostic.IDE0058.severity = warning # IDE0058: Expression value is never used +dotnet_diagnostic.CA1511.severity = warning # CA1511: Use 'ArgumentException.ThrowIfNullOrEmpty' instead of explicitly throwing a new exception instance +dotnet_diagnostic.CA1862.severity = warning # CA1862: Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' +``` + +```conf Sun Feb 04 2024 14:03:10 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.CA1513.severity = none # Use 'ObjectDisposedException.ThrowIf' instead of explicitly throwing a new exception instance +``` + +```bash +dotnet dev-certs https --trust +set DOTNET_CLI_TELEMETRY_OPTOUT=1 +setx DOTNET_CLI_TELEMETRY_OPTOUT 1 +``` + +```bash +dotnet user-secrets list +cat ./input.json | dotnet user-secrets set +``` + +```C# +// https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/csharp-formatting-options +// csharp_new_line_before_open_brace = all +void MyMethod() +{ + if (...) + { + ... + } +} +// csharp_new_line_before_open_brace = none +void MyMethod() { + if (...) { + ... + } +} +``` + +```json +// https://github.com/editorconfig-checker/editorconfig-checker +{ + "scripts": { + "prettier.check": "prettier . --check", + "prettier.write": "prettier . --write", + "lint:editorconfig": "editorconfig-checker" + }, + "devDependencies": { + "editorconfig-checker": "^5.1.5", + "prettier": "3.0.0" + } +} +``` + +```conf Wed Mar 20 2024 17:29:08 GMT-0700 (Mountain Standard Time) +# https://johnnyreilly.com/eslint-your-csharp-in-vs-code-with-roslyn-analyzers +# true +dotnet_analyzer_diagnostic.category-Design.severity = error +dotnet_analyzer_diagnostic.category-Documentation.severity = error +dotnet_analyzer_diagnostic.category-Globalization.severity = none +dotnet_analyzer_diagnostic.category-Interoperability.severity = error +dotnet_analyzer_diagnostic.category-Maintainability.severity = error +dotnet_analyzer_diagnostic.category-Naming.severity = none +dotnet_analyzer_diagnostic.category-Performance.severity = none +dotnet_analyzer_diagnostic.category-Reliability.severity = error +dotnet_analyzer_diagnostic.category-Security.severity = error +dotnet_analyzer_diagnostic.category-SingleFile.severity = error +dotnet_analyzer_diagnostic.category-Style.severity = error +dotnet_analyzer_diagnostic.category-Usage.severity = error +dotnet_diagnostic.CA2201.severity = none # CA2201: Exception type System.NullReferenceException is reserved by the runtime +dotnet_diagnostic.IDE0010.severity = none # Add missing cases to switch statement (IDE0010) +dotnet_diagnostic.IDE0048.severity = none # Parentheses preferences (IDE0047 and IDE0048) +dotnet_diagnostic.IDE0130.severity = none # Namespace does not match folder structure (IDE0130) +``` + +```conf Tue Apr 02 2024 20:34:52 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.IDE0051.severity = error # Private member '' is unused [, ] +``` + +```conf Sun Apr 28 2024 09:27:55 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.CA1001.severity = error # CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1051.severity = error # CA1051: Do not declare visible instance fields +``` + +```conf Tue May 07 2024 09:27:28 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.CA1861.severity = none # CA1861: Prefer 'static readonly' fields over constant array arguments +``` + +```conf Sat May 11 2024 15:40:59 GMT-0700 (Mountain Standard Time) +dotnet_diagnostic.JSON002.severity = warning # JSON002: Probable JSON string detected +dotnet_diagnostic.IDE0230.severity = warning # IDE0230: Use UTF-8 string literal +``` diff --git a/_-Review/eda.md b/_-Review/eda.md new file mode 100644 index 0000000..c757e80 --- /dev/null +++ b/_-Review/eda.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.148Z" +updated: "2024-01-06T01:25:36.148Z" +--- + +# EDA + +[EAF](../EAF/eaf.md) diff --git a/_-Review/epiphany.md b/_-Review/epiphany.md new file mode 100644 index 0000000..41a7958 --- /dev/null +++ b/_-Review/epiphany.md @@ -0,0 +1,18 @@ +--- +type: "note" +created: "2024-03-10T00:47:15.065Z" +updated: "2024-03-10T00:49:36.961Z" +--- + +# epiphany + +- [epiphany-browser](https://pimylifeup.com/raspberry-pi-epiphany-browser/) + +```bash +apt-get install epiphany-browser +epiphany +``` + +```conf +inspector://asus.laptop:8080 +``` diff --git a/_-Review/esbuild.md b/_-Review/esbuild.md new file mode 100644 index 0000000..1dc579d --- /dev/null +++ b/_-Review/esbuild.md @@ -0,0 +1,11 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.077Z" +updated: "2024-01-06T01:25:36.077Z" +--- + +# esbuild - An extremely fast bundler for the web + +[npm](npm.md) + +https://esbuild.github.io/api/#build diff --git a/_-Review/etc.md b/_-Review/etc.md new file mode 100644 index 0000000..3127951 --- /dev/null +++ b/_-Review/etc.md @@ -0,0 +1,61 @@ +--- +type: "note" +created: "2024-04-15T16:01:10.090Z" +updated: "2024-04-15T16:01:27.219Z" +--- + +# etc + +```conf +*\*.mount +*\*.db +.pihole\* +``` + +```conf +* + +!.gitignore + +!*/ + +!etc/.pihole/advanced/pihole-admin.conf +!etc/apt/sources.list +!etc/bash_history* +!etc/dhcpcd.conf +!etc/hosts +!etc/kea/kea-dhcp4.conf +!etc/lighttpd/lighttpd.conf +!etc/network/interfaces +!etc/passwd +!etc/pihole/dhcp.leases +!etc/pihole/index.nginx-debian.html +!etc/pihole/setupVars.conf +!etc/resolv.conf +!etc/snmp/snmpd.conf +!etc/sysctl.conf +!etc/systemd/resolved.conf +!etc/systemd/system/code-server.service +!etc/systemd/system/gogs-daemon.service +!etc/systemd/system/text-2-json.service +!etc/ufw/user.rules +!etc/unbound/unbound.conf +!etc/unbound/unbound.conf.d/pi-hole.conf + +!etc/dnsmasq.d/* +!etc/fstab/* +!etc/letsencrypt/* +!etc/netplan/* +!etc/nginx/sites-available/* +!etc/mysql/mariadb.conf.d/* +!etc/php/* +!etc/postgresql/* +!etc/wsl/* + +# !home/gogs/gogs/custom/conf/app.ini +# !home/syncthing/.config/syncthing/config.xml +# !usr/local/etc/gogs/conf/app.ini +# !usr/local/etc/no-ip2.conf +# !var/snap/nextcloud/current/nextcloud/config/* +# !var/www/html/.well-known/acme-challenge/* +``` diff --git a/_-Review/exceed.md b/_-Review/exceed.md new file mode 100644 index 0000000..1ea7708 --- /dev/null +++ b/_-Review/exceed.md @@ -0,0 +1,113 @@ +--- +type: "topic" +created: "2024-01-22T15:49:17.424Z" +updated: "2024-01-22T16:29:47.501Z" +--- + +# Exceed + +``` +Exceed TurboX Client Launcher Version 12.5.2.8800 +Usage: etxlauncher -version | -action [-v] + +-version :: Display installed launcher version. + +-action :: Perform task based on provided. + => launch | resume | join | cachedversion | createshortcut + -action launch [] [] + : Launch a profile on specific server. + : Display a list of nodes or sessions if no is provided. + -action resume + : Resume a session on specific server. + : Display a list of suspended sessions if no + is provided. + -action join [] + : Join a session on specific server. + : Display a list of shared sessions if no is + provided. + -action cachedversion [] + : Display local cached launcher version. + : Optionally connect to an ETX Server and determine the + available version of launcher on it. + -action createshortcut [] [] [] [] [] + : Create Client Launcher shortcut to launch a profile + without Dashboard access. + : Only available on Windows or Linux platforms. + + => {keyauth} | {basicauth} | {kerberos} + : Provide authentication option for the ETX Server. + : Display authentication prompt if no is provided. + {keyauth} : -keyauth {API Key} + : Use API Key for authentication. + {basicauth} : -username {name} -password {xxx} + : Use username and password for authentication. + [-autoregister [-fullname name -email email]] + : Create an ETX user account if it does not exist. + : This parameter registers the user during session launch. + : The fullname and email parameters must be + included if the ETX Server is not configured to fetch + this information from other sources. + {kerberos} : -k + : Use Kerberos for authentication. + + => -url {serverurl} [] + : Specify the ETX Server to use for the connection. + {serverurl} : The ETX Server URL e.g. http://host:port + + => [-launcherproxyurl {proxysvrurl}] [-proxyurl {proxysvrurl}] + : Optionally provide Proxy Server details. + : Use a Proxy Server for either the Launcher to use to + to reach the ETX Server (-launcherproxyurl) and/or for + the Client to use to reach the Connection Node + (-proxyurl). + {proxysvrurl} : The Proxy Server e.g. schema://{auth}@proxyhost:port + {auth} : proxy_username:proxy_password + : The username and password for the Proxy Server. + + => -profileid {ETXid} + : The id of the profile to launch. + + => -commandmacro {key=val}[,{key2=val2}] + : Provide one or more macros for Xstart launch. + {key} : The macro for Xstart launch. + {value} : The value macro will use in Xstart launch. + : Note that spaces must be quoted. + : Some characters are invalid for key or values: & and , + + => {one of , , } + : Use for selecting node to run on. + : Use for selecting node group to run on. + : Use for selecting existing session to use. + + => -selectednodeid {ETXid} + : The id of the node to launch a new session. + + => -selectednodegroupid {ETXid} + : The id of the node group to launch a new session. + + => -reuseid {ETXid} + : The id of the session to reuse. For forcing new + : session you can use 'new' as {ETXid}. + + => -sessionid {ETXid} + : The id of the session to resume or join. + + => -destination {file_path} + : Specify the file path to the new Windows Shortcut, + Linux Desktop or script file. + + => [-script] [additional arguments] + : Specify any valid Launch action arguments + to be used when creating shortcut. + : For instance -web or a valid option. + : Use -script on Linux to generate .sh file. + + [-web] : Prefer to launch Web Client session in browser. + + [-v] : Enable verbose logging for action. +``` + +- [AUC](https://etxuxauc.infineon.com/etx/) + +- Once these requirements are done you can start using ETX @ R&D environment. +- Open your preferred browser and login to https://etx.infineon.com with your UNIX credentials. diff --git a/_-Review/ffmpeg.md b/_-Review/ffmpeg.md new file mode 100644 index 0000000..288dc9f --- /dev/null +++ b/_-Review/ffmpeg.md @@ -0,0 +1,20 @@ +--- +type: "note" +--- + +# ffmpeg + +- [how-to-install-the-latest-static-build-of-ffmpeg](https://docs.vultr.com/how-to-install-the-latest-static-build-of-ffmpeg) + +```bash +mkdir -p /opt/ffmpeg +cd /opt/ffmpeg +wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz +wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz.md5 +md5sum -c ffmpeg-release-amd64-static.tar.xz.md5 +tar xvf ffmpeg*.xz +cd ffmpeg-*-static +ll +ln -s "${PWD}/ffmpeg" /usr/local/bin/ +ln -s "${PWD}/ffprobe" /usr/local/bin/ +``` diff --git a/_-Review/file-browser.md b/_-Review/file-browser.md new file mode 100644 index 0000000..eb040f3 --- /dev/null +++ b/_-Review/file-browser.md @@ -0,0 +1,14 @@ +--- +type: "note" +--- + +# file-browser + +- [FileBrowser](https://filebrowser.org/installation) +- [GitHub](https://github.com/filebrowser/filebrowser) + +```bash +curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash +filebrowser -r /var +filebrowser -r / -d /home/mike/filebrowser.db +``` diff --git a/_-Review/file-folder-helper.md b/_-Review/file-folder-helper.md new file mode 100644 index 0000000..266ca07 --- /dev/null +++ b/_-Review/file-folder-helper.md @@ -0,0 +1,9 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.077Z" +updated: "2024-01-06T01:25:36.077Z" +--- + +# File-Folder-Helper + +- [Kanban](kanbn.md) diff --git a/_-Review/file-type.md b/_-Review/file-type.md new file mode 100644 index 0000000..210b006 --- /dev/null +++ b/_-Review/file-type.md @@ -0,0 +1,42 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.077Z" +updated: "2024-01-06T01:25:36.077Z" +--- + +# File Type + +```bash +# https://superuser.com/questions/29717/associate-a-file-type-with-a-specific-program +REM +FTYPE Tab-Separated-Values="C:\Windows\System32\notepad.exe" "%1" +ASSOC .tsv=Tab-Separated-Values +FTYPE Comma-Separated-Values="C:\Windows\System32\notepad.exe" "%1" +ASSOC .csv=Comma-Separated-Values +FTYPE Text="C:\Windows\System32\notepad.exe" "%1" +ASSOC .txt=Text +FTYPE json="C:\Windows\System32\notepad.exe" "%1" +ASSOC .json=json +FTYPE xml="C:\Windows\System32\notepad.exe" "%1" +ASSOC .xml=xml +FTYPE Log="C:\Windows\System32\notepad.exe" "%1" +ASSOC .log=Log +FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1" +ASSOC .conf=Configuration +FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1" +ASSOC .config=Configuration +FTYPE Public-Key="C:\Windows\System32\notepad.exe" "%1" +ASSOC .pub=Public-Key +FTYPE CSharp="C:\Windows\System32\notepad.exe" "%1" +ASSOC .cs=CSharp +FTYPE CSharp-Project="C:\Windows\System32\notepad.exe" "%1" +ASSOC .csproj=CSharp-Project +FTYPE ProcessDataStandardFormat="C:\Windows\System32\notepad.exe" "%1" +ASSOC .pdsf=ProcessDataStandardFormat +FTYPE Markdown="C:\Windows\System32\notepad.exe" "%1" +ASSOC .md=Markdown +FTYPE Configuration="C:\Windows\System32\notepad.exe" "%1" +ASSOC .ini=Configuration +ASSOC .ipj="C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe" +REM +``` diff --git a/_-Review/framework.md b/_-Review/framework.md new file mode 100644 index 0000000..8fc564d --- /dev/null +++ b/_-Review/framework.md @@ -0,0 +1,119 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.076Z" +updated: "2024-01-06T01:25:36.076Z" +--- + +# Framework + +```bash +"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Restore /DetailedSummary /ConsoleLoggerParameters:PerformanceSummary;ErrorsOnly; /p:Configuration=Release;TargetFrameworkVersion=v4.8 /p:RestoreSources=D:/nupkg Fab2ApprovalSystem.csproj +``` + +```bash +"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/MSBuild.exe" /target:Build /DetailedSummary /ConsoleLoggerParameters:PerformanceSummary;ErrorsOnly; /p:Configuration=Release;TargetFrameworkVersion=v4.8 Fab2ApprovalSystem.csproj +``` + +https://www.puppet.com/ +https://github.com/ChristopherHX/runner.server +https://developercommunity.visualstudio.com/t/ability-to-test-yaml-builds-locally/366517 +https://github.com/microsoft/azure-pipelines-agent +https://pypyr.io/docs/getting-started/ + + +FormCollection +System.Web.Mvc.FormCollection +HttpPostedFileBase +IFormFile +IExcelDataReader +using System.Web.Security; +using System.DirectoryServices.AccountManagement; +using System.Web.Hosting; +using System.Data.Linq; + : System.Web.HttpApplication +using Excel; +using System.Web.Services; +using System.Web.Script.Serialization; +IExcelDataReader + + + + SAK + SAK + SAK + SAK + 2ba43604-da25-4968-85d5-ea7afcfc2ddb + + + enable + false + enable + Exe + win-x64 + net7.0 + + + true + true + true + + + Windows + + + OSX + + + Linux + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\Kendo\Mvc5\Kendo.Mvc.dll + + + ..\references\SSRSHelper.dll + + + diff --git a/_-Review/free-file-sync.md b/_-Review/free-file-sync.md new file mode 100644 index 0000000..7abd8ea --- /dev/null +++ b/_-Review/free-file-sync.md @@ -0,0 +1,62 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-14T02:18:18.357Z" +updated: "2024-04-02T03:49:22.346Z" +--- + +# Free File Sync + +- [Free File Sync](https://freefilesync.org/) +- [Posts](https://freefilesync.org/forum/search.php?author_id=12468&sr=posts) + +```conf +Windows Registry Editor Version 5.00 + +[HKEY_CURRENT_USER\Control Panel\Colors] +"ActiveBorder"="0 0 0" +"ActiveTitle"="153 180 209" +"AppWorkspace"="48 48 48" +"Background"="48 48 48" +"ButtonAlternateFace"="60 60 60" +"ButtonDkShadow"="105 105 105" +"ButtonFace"="60 60 60" +"ButtonHilight"="48 48 48" +"ButtonLight"="48 48 48" +"ButtonShadow"="60 60 60" +"ButtonText"="192 192 192" +"GradientActiveTitle"="185 209 234" +"GradientInactiveTitle"="215 228 242" +"GrayText"="192 192 192" +"HilightText"="0 255 195" +"HotTrackingColor"="79 223 255" +"InactiveBorder"="0 0 0" +"InactiveTitle"="191 205 219" +"InactiveTitleText"="192 192 192" +"InfoText"="192 192 192" +"InfoWindow"="48 48 48" +"Menu"="60 60 60" +"MenuBar"="60 60 60" +"MenuText"="192 192 192" +"Scrollbar"="60 60 60" +"TitleText"="192 192 192" +"Window"="48 48 48" +"WindowFrame"="0 0 0 " +"WindowText"="192 192 192" +"Hilight"="120 120 120" +"MenuHilight"="120 120 120" +``` + +```yaml +VSCode: code --diff "%local_path%" "%local_path2%" +VSCode Insiders: code-insiders --diff "%local_path%" "%local_path2%" +``` + +```bash +mkdir "L:\Git\Notes-Free-File-Sync" +cd "L:\Git\Notes-Free-File-Sync" +git init +mkdir "L:\Git\Notes-Free-File-Sync\.vscode" +echo # mklink > "L:\Git\Notes-Free-File-Sync\.vscode\mklink.md" +mklink /J "L:\Git\Notes-Free-File-Sync\.FreeFileSync" "D:/5-Other-Small/FreeFileSync" +``` diff --git a/_-Review/fs.md b/_-Review/fs.md new file mode 100644 index 0000000..6a73635 --- /dev/null +++ b/_-Review/fs.md @@ -0,0 +1,11 @@ +--- +type: "note" +created: "2024-04-09T13:35:04.265Z" +updated: "2024-04-09T13:35:14.541Z" +--- + +# fs + +```bash Tue Apr 09 2024 06:35:47 GMT-0700 (Mountain Standard Time) +del "D:\Tmp\fs\JetBrains.dotUltimate.2022.1.2.exe" +``` diff --git a/_-Review/game-slug.md b/_-Review/game-slug.md new file mode 100644 index 0000000..b242d10 --- /dev/null +++ b/_-Review/game-slug.md @@ -0,0 +1,339 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.074Z" +updated: "2024-01-06T01:25:36.074Z" +--- + +# game-slug + +```bash +apt-get update +apt-get upgrade +apt-get install links unzip net-tools ufw nginx git -y +reboot + + + + + +ip a +ncdu +lsb_release -a +ufw enable +ufw allow from 192.168.0.0/24 comment "04) 192.168.0.0/24" +ufw status numbered +cd /home/ubuntu/ +wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh +chmod +x ./dotnet-install.sh +./dotnet-install.sh --channel 8.0 +ln -s /home/ubuntu/.dotnet/dotnet /usr/local/bin/dotnet +dotnet --info +export DOTNET_ROOT=$HOME/.dotnet +export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools +dotnet --info +timedatectl set-timezone America/Phoenix +snap install dashkiosk +snap restart dashkiosk +snap install ubuntu-frame wpe-webkit-mir-kiosk +snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +snap set ubuntu-frame daemon=true +apt-get install -y ca-certificates +openssl s_client -showcerts -connect DESKTOP-H6JG91B:443 /dev/null|openssl x509 -outform PEM >DESKTOP-H6JG91B.crt +apt-get install nano +nano /etc/hosts +nano /etc/nginx/sites-available/default +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +``` + +```conf +server { + listen 80 default_server; + listen [::]:80 default_server; + root /var/www/html; + index index.html index.htm index.nginx-debian.html; + server_name _; + location / { + try_files $uri $uri/ =404; + } +} +server { + ssl_certificate 'localhost.crt'; + ssl_certificate_key 'localhost.key'; + listen 443 default_server ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 default_server ssl http2; + server_name _; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:3000/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +``` + +```bash +systemctl restart nginx +nginx -t +nginx -s reload +nano /home/ubuntu/localhost.conf +echo >/home/ubuntu/localhost.conf && nano /home/ubuntu/localhost.conf +``` + +```conf +[req] +default_bits = 2048 +default_keyfile = localhost.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Mesa +organizationName = Organization Name (eg, company) +organizationName_default = Infineon Technologies Americas Corp. +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = phares3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = phares3757.ddns.net +DNS.2 = beelink +DNS.3 = localhost +DNS.4 = 127.0.0.1 +``` + +```bash +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/localhost.key -out /etc/nginx/localhost.crt -config /home/ubuntu/localhost.conf +ls /etc/nginx +apt install update-manager-core +exit +do-release-upgrade +exit +adduser gogs +cd /home/gogs +wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz +tar -xvzf gogs_0.13.0_linux_amd64.tar.gz +rm gogs_0.13.0_linux_amd64.tar.gz +cd gogs +ufw status numbered +./gogs web +mkdir /home/gogs/gogs-repositories +chown gogs /home/gogs -R +chgrp gogs /home/gogs -R +nano /home/gogs/gogs/custom/conf/app.ini +nano /etc/systemd/system/gogs-daemon.service +systemctl enable gogs-daemon +systemctl start gogs-daemon +systemctl status gogs-daemon.service +systemctl daemon-reload +journalctl -fu gogs-daemon.service +journalctl --rotate +journalctl --vacuum-time=1s +cd /home/gogs +git clone https://github.com/Kos-M/GogsThemes +exit +cp ~/.bash_history /home/ubuntu/bash-history-2023-10-17.txt +chown mike /home/ubuntu -R +chgrp mike /home/ubuntu -R +exit +adduser pi-hole +cd pi-hole +curl -sSL https://install.pi-hole.net | bash +``` + +```conf +# http://pi.hole/admin +# http://192.168.0.118/admin +fUiY4SYS +``` + +```conf +nano /etc/lighttpd/lighttpd.conf +``` + +```conf +server.port = 8005 +``` + +```conf +service lighttpd restart +pihole -a -p 4hink +apt install unbound +; https://docs.pi-hole.net/guides/dns/unbound/ +nano /etc/unbound/unbound.conf.d/pi-hole.conf +``` + +```conf +server: + # If no logfile is specified, syslog is used + # logfile: "/var/log/unbound/unbound.log" + verbosity: 0 + + interface: 127.0.0.1 + port: 5335 + do-ip4: yes + do-udp: yes + do-tcp: yes + + # May be set to yes if you have IPv6 connectivity + do-ip6: no + + # You want to leave this to no unless you have *native* IPv6. With 6to4 and + # Terredo tunnels your web browser should favor IPv4 for the same reasons + prefer-ip6: no + + # Use this only when you downloaded the list of primary root servers! + # If you use the default dns-root-data package, unbound will find it automatically + #root-hints: "/var/lib/unbound/root.hints" + + # Trust glue only if it is within the server's authority + harden-glue: yes + + # Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS + harden-dnssec-stripped: yes + + # Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes + # see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details + use-caps-for-id: no + + # Reduce EDNS reassembly buffer size. + # IP fragmentation is unreliable on the Internet today, and can cause + # transmission failures when large DNS messages are sent via UDP. Even + # when fragmentation does work, it may not be secure; it is theoretically + # possible to spoof parts of a fragmented DNS message, without easy + # detection at the receiving end. Recently, there was an excellent study + # >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<< + # by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/) + # in collaboration with NLnet Labs explored DNS using real world data from the + # the RIPE Atlas probes and the researchers suggested different values for + # IPv4 and IPv6 and in different scenarios. They advise that servers should + # be configured to limit DNS messages sent over UDP to a size that will not + # trigger fragmentation on typical network links. DNS servers can switch + # from UDP to TCP when a DNS response is too big to fit in this limited + # buffer size. This value has also been suggested in DNS Flag Day 2020. + edns-buffer-size: 1232 + + # Perform prefetching of close to expired message cache entries + # This only applies to domains that have been frequently queried + prefetch: yes + + # One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1. + num-threads: 1 + + # Ensure kernel buffer is large enough to not lose messages in traffic spikes + so-rcvbuf: 1m + + # Ensure privacy of local IP ranges + private-address: 192.168.0.0/16 + private-address: 169.254.0.0/16 + private-address: 172.16.0.0/12 + private-address: 10.0.0.0/8 + private-address: fd00::/8 + private-address: fe80::/10 +``` + +```conf +service unbound restart +# http://beelink:8005/admin/settings.php?tab=dns +# https://docs.pi-hole.net/guides/dns/unbound/ +127.0.0.1#5335 +``` + +```bash +apt-get install syncthing +apt-get install apt-transport-https +adduser syncthing +cat /etc/passwd | cut -d: -f1 +systemctl enable syncthing@syncthing.service +systemctl start syncthing@syncthing.service +systemctl status syncthing@syncthing.service +journalctl -e -u syncthing@syncthing.service +nano /home/syncthing/.config/syncthing/config.xml +``` + +```xml +
0.0.0.0:8384
+``` + +```bash +systemctl restart syncthing@syncthing.service +chown syncthing /home/syncthing -R +chgrp syncthing /home/syncthing -R +``` + +```bash +ufw allow from 192.168.0.0/24 to any port 22 comment "01) SSH" +ufw allow to 0.0.0.0/0 port 80 comment "02) HTTP" +ufw allow to 0.0.0.0/0 port 443 comment "03) HTTPS" +ufw allow from 192.168.0.0/24 to any port 8005 comment "04) Pi-hole" +ufw allow from 192.168.0.0/24 to any port 53 comment "05) DNS" +ufw allow from 192.168.0.0/24 to any port 67 comment "06) Unknown" +ufw allow from 192.168.0.0/24 to any port 9400 comment "07) dashkiosk" +ufw allow from 192.168.0.0/24 to any port 3000 comment "08) gogs" +ufw allow from 192.168.0.0/24 to any port 8384 comment "09) syncthing" +ufw allow from 192.168.0.0/24 to any port 22000 comment "10) syncthing" +``` + +```conf +To Action From +-- ------ ---- +22 ALLOW IN 192.168.0.0/24 # 01) SSH +80 ALLOW IN Anywhere # 02) HTTP +443 ALLOW IN Anywhere # 03) HTTPS +8005 ALLOW IN 192.168.0.0/24 # 04) Pi-hole +53 ALLOW IN 192.168.0.0/24 # 05) DNS +67 ALLOW IN 192.168.0.0/24 # 06) Unknown +9400 ALLOW IN 192.168.0.0/24 # 07) dashkiosk +3000 ALLOW IN 192.168.0.0/24 # 08) gogs +8384 ALLOW IN 192.168.0.0/24 # 09) syncthing +22000 ALLOW IN 192.168.0.0/24 # 10) syncthing + +``` + +```bash +echo >/etc/hosts && nano /etc/hosts +``` + +```conf +127.0.0.1 localhost +127.0.0.1 beelink +127.0.1.1 phares3757.ddsn.net +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +``` + +```bash +adduser twingate +curl -s https://binaries.twingate.com/client/linux/install.sh | bash +twingate setup +twingate start + + +curl "https://binaries.twingate.com/connector/setup.sh" | sudo TWINGATE_ACCESS_TOKEN="eyJhbGciOiJFUzI1NiIsImtpZCI6IjlZSlNUMGR6YU5pRDhZR0h5SUdyTG1SVDZKTmMwbHJGMVFsNklseVJ6X1UiLCJ0eXAiOiJEQVQifQ.eyJudCI6IkFOIiwiYWlkIjoiMTczMDc3IiwiZGlkIjoiMTAwMzc4OSIsImp0aSI6IjIyNTJmMjIwLWNkNjQtNDlhYy04YjRhLTE0NDFjOWUyM2U5ZSIsImlzcyI6InR3aW5nYXRlIiwiYXVkIjoicGhhcmVzIiwiZXhwIjoxNjk4MDE0Mzc4LCJpYXQiOjE2OTgwMTA3NzgsInZlciI6IjQiLCJ0aWQiOiI1NzgzOSIsInJudyI6MTY5ODAxMTA3OCwicm5ldGlkIjoiNzIyNzcifQ.aQnQMUGqM5fBEbR781u-lCPjltfmb1TdZUJTNJ_GYiiSJiemJiIrVK80xHQlIpPB2kot34nxmpvVK4kZK64X3w" TWINGATE_REFRESH_TOKEN="AWOLHa11QFXENAyov_w-KQ5ZC-keHm2w_ActZP8M7hBpy2NOC7EDT2bkEpBCO-YLTd40Pp-pdplIJu0lvdvNBAGINHopYnX2XOgaMxS5tbPPTsHRlnQpckaXYuOwu28W0ORs8g" TWINGATE_NETWORK="phares" bash + +curl "https://binaries.twingate.com/connector/setup.sh" | TWINGATE_ACCESS_TOKEN="eyJhbGciOiJFUzI1NiIsImtpZCI6IjlZSlNUMGR6YU5pRDhZR0h5SUdyTG1SVDZKTmMwbHJGMVFsNklseVJ6X1UiLCJ0eXAiOiJEQVQifQ.eyJudCI6IkFOIiwiYWlkIjoiMTczMjIxIiwiZGlkIjoiMTAwNDI3NCIsImp0aSI6ImQxMWIwYWIzLWJjZTgtNDIxZS05MzAwLTA1ZmFkZDk5YjllMiIsImlzcyI6InR3aW5nYXRlIiwiYXVkIjoicGhhcmVzIiwiZXhwIjoxNjk4MDM3MTgzLCJpYXQiOjE2OTgwMzM1ODMsInZlciI6IjQiLCJ0aWQiOiI1NzgzOSIsInJudyI6MTY5ODAzMzg4Mywicm5ldGlkIjoiNzIyNzcifQ.7YqB5iz1lzsfb6adLPx53NNA3dJ1NnuzmNhyyi4FzPdMTGxn3qbHD1olvWpEEi69D8gAvF5K77DPwE1BHxo4Qw" TWINGATE_REFRESH_TOKEN="HypbNsUdue5Dh3s5W4ePR9RIkFDsjEGiNJFJDf_cLdixkn94ieMypUZMH_XIc4-13L_PuQ61M7RWG5rF21ZRAgFf1MuIMf5kJGhuQq_VG7_E_6Q8NMLAajP5W05jTofB-sY3Ig" TWINGATE_NETWORK="phares" bash +``` diff --git a/_-Review/genealogical-data-communication-file.md b/_-Review/genealogical-data-communication-file.md new file mode 100644 index 0000000..dbd0e08 --- /dev/null +++ b/_-Review/genealogical-data-communication-file.md @@ -0,0 +1,126 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.071Z" +updated: "2024-01-06T01:25:36.071Z" +--- + +# Genealogical Data Communication File + +```bash +mklink /J "L:\Git\View-by-Distance-MKLink-Console\Shared\.vscode\ged" "D:\1-Images-A\Images-dd514b88-Results\A2)People\dd514b88\([])\File-Folder-Helper\638298094252901621" +``` + +```ged +0 @F1@ FAM +``` + +```ged +0 @I735@ INDI +1 NAME Patrik /Radojcic/ +2 GIVN Patrik +2 SURN Radojcic +1 SEX M +1 _UID 9991A990639D40A08BBA994C2DC67103D48B +1 CHAN +2 DATE 3 AUG 2023 +1 BIRT +2 DATE 31 DEC 1503 +2 NOTE 1503-12-31_05 +3 CONT ~40 +3 CONT 1503-12-31_00 +3 CONT 1503-12-31_02 +3 CONT https://www.linkedin.com/in/patrik-radojcic-030997186/ +1 DEAT Y +``` + +```ged +0 @I740@ INDI +1 NAME Phillip /Woods/ +2 GIVN Phillip +2 SURN Woods +1 SEX M +1 BIRT +2 DATE 2 FEB 1976 +2 NOTE 1976-02-02_05 +3 CONT ^47 +3 CONT 1501-11-12_02 +3 CONT https://www.facebook.com/phillip.woods.10/about +``` + +```ged +0 @I741@ INDI +1 NAME John /Brackbill/ +2 GIVN John +2 SURN Brackbill +1 SEX M +1 BIRT +2 DATE 8 MAY 1973 +2 NOTE 1973-05-08_15 +3 CONT ^50 +3 CONT 1402-03-04_02 +3 CONT https://www.facebook.com/john.brackbill/about +1 DEAT +2 DATE 4 JUN 2015 +``` +``` + +```ged +0 @I742@ INDI +1 NAME Ruth /Bacon/ +2 GIVN Ruth +2 SURN Bacon +2 NICK Ruth Bacon (Ruth Bacon Edewards) +1 SEX F +1 BIRT +2 DATE 29 JUN 1502 +2 NOTE 1502-06-29_04 +3 CONT ~45 +3 CONT https://www.facebook.com/ruth.bacon.7/about +``` + +```ged +0 @I743@ INDI +1 NAME Jarrott /Hughes/ +2 GIVN Jarrott +2 SURN Hughes +1 SEX M +1 BIRT +2 DATE 26 JUN 2005 +2 NOTE 2005-06-26_05 +3 CONT ^18 +3 CONT 1402-03-31_02 +``` + +```ged +0 @I744@ INDI +1 NAME Jair /Ramirez/ +2 GIVN Jair +2 SURN Ramirez +2 NICK Jair Ramirez (Jair Ramirez Gonzalez) +1 SEX M +1 BIRT +2 DATE 12 MAR 1998 +2 NOTE 1998-03-12_05 +3 CONT ^25 +3 CONT https://www.facebook.com/jair.ramirezgonzalez.7/about +``` + +```ged +0 @I745@ INDI +1 NAME Chad /Becker/ +2 GIVN Chad +2 SURN Becker +1 SEX M +1 BIRT +2 DATE 25 JUN 1502 +2 NOTE 1502-06-25_05 +3 CONT ~45 +3 CONT https://www.linkedin.com/in/chad-becker-4764989/ +``` + +```todo +Ron and Melanie 1025196874.465430305.jpg.png 1025196874.439490305.jpg.png +Mark and ___ Herman 2031674436.849441511.jpg.png +Marry Herman's Mom ___ -879159387.486340711.jpg.png +M___ ___ (Jessica) 1315542013.423300305.jpg.png +``` diff --git a/_-Review/genie-acs.md b/_-Review/genie-acs.md new file mode 100644 index 0000000..c4f77ae --- /dev/null +++ b/_-Review/genie-acs.md @@ -0,0 +1,38 @@ +--- +type: "topic" +created: "2024-01-28T04:48:03.346Z" +updated: "2024-01-29T18:47:51.859Z" +--- + +# GenieACS + +DocDroid +Install GenieACS.txt + Report + Share + Download +1. Install node.js +curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh +sudo bash nodesource_setup.sh +sudo apt install nodejs +node -v +2. Install MongoDB + +2.1 Install libssl1.1 +echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list +sudo apt-get update +sudo apt-get install libssl1.1 + +2.2 Install MongoDB +curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - +apt-key list +echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list +sudo apt update +sudo apt install mongodb-org +sudo systemctl start mongod.service +sudo systemctl status mongod +sudo systemctl enable mongod +mongo --eval 'db.runCommand({ connectionStatus: 1 })' + +3. Install GenieACS +http://docs.genieacs.com/en/latest/installation-guide.html#install-genieacs diff --git a/_-Review/gharun.md b/_-Review/gharun.md new file mode 100644 index 0000000..57066c1 --- /dev/null +++ b/_-Review/gharun.md @@ -0,0 +1,25 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.071Z" +updated: "2024-01-06T01:25:36.071Z" +--- + +# Gharun + +## io.github.christopherhx.gharun + +```bash +# https://github.com/ChristopherHX/runner.server#building-a-self-contained-executable +dotnet msbuild src/dir.proj -t:GenerateConstant +dotnet publish src/Runner.Client -c Release -r win-x64 +``` + +```bash +L: +cd git +mkdir gharun +cd gharun +dotnet new tool-manifest +dotnet tool install io.github.christopherhx.gharun +dotnet gharun --event azpipelines --watch --runner-version 2.210.1 --workflows eaf +``` diff --git a/_-Review/ghostpcl.md b/_-Review/ghostpcl.md new file mode 100644 index 0000000..4aa325b --- /dev/null +++ b/_-Review/ghostpcl.md @@ -0,0 +1,18 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.071Z" +updated: "2024-01-06T01:25:36.071Z" +--- + +# ghostpcl + +- [wrap exe in nupkg](https://www.aligneddev.net/blog/2020/nuget-package-in-net5/) +- [fossies](https://fossies.org/windows/misc/ghostpcl-9.56.1-win64.zip/) +- [github](https://github.com/ArtifexSoftware/ghostpdl-downloads/releases) + +```bash +dotnet add package Infineon.Mesa.gpcl6 --source https://eaf-dev-reporting.mes.infineon.com/v3/index.json +dotnet add package Infineon.Mesa.LincPDFC --source https://eaf-dev-reporting.mes.infineon.com/v3/index.json +dotnet add package Infineon.Mesa.PDF.Text.Stripper --version 4.8.0.1 --source https://eaf-dev-reporting.mes.infineon.com/v3/index.json +``` + diff --git a/_-Review/git.md b/_-Review/git.md new file mode 100644 index 0000000..9c40feb --- /dev/null +++ b/_-Review/git.md @@ -0,0 +1,70 @@ +--- +type: "topic" +created: "2024-01-14T02:18:21.181Z" +updated: "2024-03-31T16:09:07.756Z" +--- + +# Git + +## Git Cheat Sheet + +```bash +git branch +# https://useyourloaf.com/blog/git-cheat-sheet/ +git branch development (create the branch named 'development') +git checkout development (switch to the branch) +git checkout master (switch back to the master branch) +git branch (list all branches) +git push origin development (Pushing a branch) +git checkout master (first switch to the master branch) +git merge development (merge all changes from development into the master branch) +gid add (fix and add any conflicts) +git commit -m 'merged changes' (Merging a branch) +git branch -d development (Delete a branch) +git push origin :development (Deleting a remote branch) +git diff --name-only +git rebase -i master +git push origin -d branch-name +``` + +```bash +git fetch origin +git merge --ff-only origin/master +git checkout development +git merge --no-ff origin/master +``` + +```bash +git rm --cached D:/Documents/Notes/Cyberpunk-Red +git rm --cached D:/Documents/Notes/Quartz/Infineon/EC-Documentation +``` + +```bash +git tag -a {tag} -m "{tag description}" +git push origin --tags +``` + +```bash +git remote rm ubuntu +git remote rm messa017 +git remote rm mestsa003 +git remote rm mestsa07ec +git remote rm messa08ec +git remote rm eaf-prod +git remote rm azure +git -c http.sslVerify=false clone https://example.com/path/to/git +git push gogs --tags "refs/remotes/origin/*:refs/heads/*" +git ls-files --others --modified --deleted --exclude-standard +git ls-files --others --modified --deleted --exclude-standard | xargs +git ls-files --others --modified --deleted --exclude-standard | xargs -I % echo L:/Git/Notes-Infineon/.Infineon/% +L:/npm/prettier/node_modules/.bin/prettier --check | git ls-files --others --modified --deleted --exclude-standard | xargs -I % echo L:/Git/Notes-Infineon/.Infineon/% +``` + +```conf +# https://stackoverflow.com/questions/7489813/github-push-error-rpc-failed-result-22-http-code-413 +client_max_body_size 5000m; +``` + +```bash +git branch -m master +``` diff --git a/_-Review/gitconfig.md b/_-Review/gitconfig.md new file mode 100644 index 0000000..68ca342 --- /dev/null +++ b/_-Review/gitconfig.md @@ -0,0 +1,81 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.182Z" +updated: "2024-01-06T01:25:36.182Z" +--- + +# Gitconfig + +[Git](git.md) + +```bash +cd . > "C:\Program Files\Git\etc\gitconfig" +git config --global core.autocrlf true --repalce-all +git config --global core.bare false --repalce-all +git config --global core.editor "%windir%\system32\notepad.exe --wait" --repalce-all +git config --global core.filemode false --repalce-all +git config --global core.fscache true --repalce-all +git config --global core.ignorecase true --repalce-all +git config --global core.logallrefupdates true --repalce-all +git config --global core.repositoryformatversion 0 --repalce-all +git config --global core.symlinks false --repalce-all +git config --global credential.helper manager-core +git config --global diff.astextplain.textconv astextplain --repalce-all +git config --global filter.lfs.clean "git-lfs clean -- %f" --repalce-all +git config --global filter.lfs.process "git-lfs filter-process" --repalce-all +git config --global filter.lfs.required true --repalce-all +git config --global filter.lfs.smudge "git-lfs smudge -- %f" --repalce-all +git config --global init.defaultbranch "master" --repalce-all +git config --global pack.deltaCacheSize "512m" --repalce-all +git config --global pack.packSizeLimit "100m" --repalce-all +git config --global pack.threads "1" --repalce-all +git config --global pack.windowMemory "100m" --repalce-all +git config --global pull.rebase false --repalce-all +git config --global sendpack.sideband false --repalce-all +git config --global user.email mike.phares@infineon.com --repalce-all +git config --global user.name "Mike Phares" --repalce-all +git config --global alias.logline "log --pretty=format:'%ad - %Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)an>%Creset' --abbrev-commit --date=short" --repalce-all +git logline +git config --list --show-origin +``` + +```conf +[alias] + logline = log --pretty=format:'%ad - %Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit --date=short +[core] + autocrlf = true + bare = false + editor = C:\\Windows\\system32\\notepad.exe --wait + filemode = false + fscache = true + ignorecase = true + logallrefupdates = true + repositoryformatversion = 0 + symlinks = false +[diff "astextplain"] + textconv = astextplain +[filter "lfs"] + clean = git-lfs clean -- %f + process = git-lfs filter-process + required = true + smudge = git-lfs smudge -- %f +# [includeIf "gitdir/i:L:/Git/"] +# path = http-git.gitconfig +# [includeIf "gitdir/i:L:/DevOps/"] +# path = http-git.gitconfig +[init] + defaultbranch = master +[pack] + deltaCacheSize = 512m + packSizeLimit = 100m + threads = 1 + windowMemory = 100m +[pull] + rebase = false +[sendpack] + sideband = false +[user] + # email = mike.phares@infineon.com + email = mikepharesjr@msn.com + name = Mike Phares +``` diff --git a/_-Review/github.md b/_-Review/github.md new file mode 100644 index 0000000..a65a5bc --- /dev/null +++ b/_-Review/github.md @@ -0,0 +1,18 @@ +--- +type: "topic" +created: "2024-04-02T03:46:36.090Z" +updated: "2024-04-02T21:57:28.249Z" +--- + +# GitHub + +[Git](git.md) + +```bash +sudo -i +exit +ssh-import-id gh:mikepharesjr +systemctl restart ssh +nano ~/.ssh/authorized_keys +cat ~/.ssh/authorized_keys +``` diff --git a/_-Review/go-lang.md b/_-Review/go-lang.md new file mode 100644 index 0000000..8feeef7 --- /dev/null +++ b/_-Review/go-lang.md @@ -0,0 +1,8 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.068Z" +updated: "2024-01-06T01:25:36.068Z" +--- + +# Go Lang diff --git a/_-Review/gogs.md b/_-Review/gogs.md new file mode 100644 index 0000000..6b82701 --- /dev/null +++ b/_-Review/gogs.md @@ -0,0 +1,227 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.066Z" +updated: "2024-01-06T01:25:36.066Z" +--- + +# Gogs + +```PowerShell +# https://gogs.io/docs/installation/run_as_windows_service +nssm install gogs +``` + +```yaml +Application Tab: + Path: D:\go-lang\gogs\gogs.exe + Startup directory: D:\go-lang\gogs + Arguments: web +Details Tab: + Display name`: Gogs + Description: Gogs is a painless self-hosted Git service. + Startup type`: Automatic (Delayed Start) +I/O Tab: + Output (stdout): D:\go-lang\gogs\log\gogs-nssm.txt + Error (stderr): D:\go-lang\gogs\log\gogs-nssm.txt +File rotation Tab: + Check: Rotate files + Restrict rotation to files bigger than: 1000000 bytes +Environment Tab: + Environment variables: PATH=%PATH%;D:\go-lang\gogs;C:\Program Files (x86)\Git\bin +``` + +```conf +BRAND_NAME = Gogs +RUN_USER = DESKTOP-RCALEHG$ +RUN_MODE = prod + +[database] +TYPE = sqlite3 +HOST = 127.0.0.1:5432 +NAME = gogs +USER = gogs +PASSWORD = +SSL_MODE = disable +PATH = data/gogs.db + +[repository] +ROOT = L:/Gogs/git/gogs-repositories + +[server] +DOMAIN = gogs +HTTP_PORT = 3000 +EXTERNAL_URL = http://gogs/ +DISABLE_SSH = false +SSH_PORT = 22 +START_SSH_SERVER = false +OFFLINE_MODE = false + +[mailer] +ENABLED = false + +[service] +REGISTER_EMAIL_CONFIRM = false +ENABLE_NOTIFY_MAIL = false +DISABLE_REGISTRATION = false +ENABLE_CAPTCHA = true +REQUIRE_SIGNIN_VIEW = false + +[picture] +DISABLE_GRAVATAR = false +ENABLE_FEDERATED_AVATAR = false + +[session] +PROVIDER = file + +[log] +MODE = file +LEVEL = Info +ROOT_PATH = L:/Gogs/gogs_0.12.10_windows_amd64/log + +[security] +INSTALL_LOCK = true +SECRET_KEY = JJxp7NE0URIxoak +``` + +```bash +sudo -i +cd /home/gogs +wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz +tar -xvzf gogs_0.13.0_linux_amd64.tar.gz +rm gogs_0.13.0_linux_amd64.tar.gz +cd gogs +./gogs web +links http://localhost:3000 +^c +mkdir /home/gogs/gogs-repositories +chown mike /home/mike -R +chgrp mike /home/mike -R +# https://github.com/gogs/gogs/blob/main/scripts/systemd/gogs.service +nano /etc/systemd/system/gogs-daemon.service +``` + +```conf +[Unit] +Description=Gogs +After=syslog.target +After=network.target + +[Service] +# Modify these two values and uncomment them if you have +# repos with lots of files and get an HTTP error 500 because +# of that +### +#LimitMEMLOCK=infinity +#LimitNOFILE=65535 +Type=simple +User=gogs +Group=gogs +WorkingDirectory=/home/gogs/gogs +ExecStart=/home/gogs/gogs/gogs web +Restart=always +Environment=USER=gogs HOME=/home/gogs + +# Some distributions may not support these hardening directives +# If you cannot start the service due +# to an unknown option, comment out the ones not supported by your version of systemd. +ProtectSystem=full +PrivateDevices=yes +PrivateTmp=yes +NoNewPrivileges=true + +[Install] +WantedBy=multi-user.target +``` + +```bash +systemctl enable gogs-daemon +systemctl stop gogs-daemon +systemctl start gogs-daemon +systemctl status gogs-daemon.service +journalctl -fu gogs-daemon.service +journalctl --rotate +journalctl --vacuum-time=1s +systemctl daemon-reload +mkdir /etc/gogs-copy +cp /home/gogs/gogs/custom/conf/app.ini /etc/gogs-copy/ +ln -s /home/gogs/gogs/custom/conf /etc/gogs +# nano /home/gogs/gogs/custom/conf/app.ini +nano /etc/gogs/app.ini +``` + +```conf +BRAND_NAME = Gogs +RUN_USER = gogs +RUN_MODE = prod + +[database] +TYPE = sqlite3 +HOST = 127.0.0.1:3306 +NAME = gogs +SCHEMA = public +USER = gogs +PASSWORD = 1178 +SSL_MODE = disable +PATH = data/gogs.db + +[repository] +ROOT = /home/gogs/gogs-repositories +DEFAULT_BRANCH = master + +[server] +DOMAIN = localhost +HTTP_PORT = 3000 +EXTERNAL_URL = http://d98b8bcf651717df3301d99689440f5fd6f411d4@beelink:3000/ +DISABLE_SSH = false +SSH_PORT = 22 +START_SSH_SERVER = false +OFFLINE_MODE = false + +[mailer] +ENABLED = false + +[auth] +REQUIRE_EMAIL_CONFIRMATION = false +DISABLE_REGISTRATION = false +ENABLE_REGISTRATION_CAPTCHA = true +REQUIRE_SIGNIN_VIEW = false + +[user] +ENABLE_EMAIL_NOTIFICATION = false + +[picture] +DISABLE_GRAVATAR = false +ENABLE_FEDERATED_AVATAR = false + +[session] +PROVIDER = file + +[log] +MODE = file +LEVEL = Info +ROOT_PATH = /home/gogs/gogs/log + +[security] +INSTALL_LOCK = true +SECRET_KEY = czo27vBeXWU7HTi +``` + +```bash +systemctl restart gogs-daemon +# http://localhost:3000/ +# https://github.com/gogs/docs-api/tree/master/Repositories#migrate +``` + +```bash +# https://github.com/Kos-M/GogsThemes +cd /home/gogs +git clone https://github.com/Kos-M/GogsThemes +mkdir -p /home/gogs/gogs/custom/templates/inject/ +mkdir -p /home/gogs/gogs/custom/public/css/ +echo '' >> /home/gogs/gogs/custom/templates/inject/head.tmpl +mv ./GogsThemes/themes/ /home/gogs/gogs/custom/public/css/ +cp -r GogsThemes/img/ /home/gogs/gogs/custom/public/ +rm -r ./GogsThemes +systemctl restart gogs-daemon +``` diff --git a/_-Review/goto.md b/_-Review/goto.md new file mode 100644 index 0000000..60eb315 --- /dev/null +++ b/_-Review/goto.md @@ -0,0 +1,87 @@ +--- +type: "topic" +created: "2024-01-14T02:18:18.102Z" +updated: "2024-04-11T17:25:51.718Z" +--- + +# GoTo + +```yaml +https://goto.infineon.com/abbr#Abbreviations +https://goto.infineon.com/acmdb +https://goto.infineon.com/adgroupeditor +https://goto.infineon.com/adminui +https://goto.infineon.com/adt +https://goto.infineon.com/appcatalog +https://goto.infineon.com/artifactory +https://goto.infineon.com/biportal +https://goto.infineon.com/blm +https://goto.infineon.com/cep +https://goto.infineon.com/cepi#CustomEndpointIntegration +https://goto.infineon.com/corpReg +https://goto.infineon.com/datatcenter +https://goto.infineon.com/dcc +https://goto.infineon.com/dds#Digital-Design-System +https://goto.infineon.com/digitalagenda +https://goto.infineon.com/eafwiki +https://goto.infineon.com/empathy +https://goto.infineon.com/etx#ExceedTurboX +https://goto.infineon.com/eva +https://goto.infineon.com/fi-backlog-mesa +https://goto.infineon.com/filesharingsolutions +https://goto.infineon.com/fiot +https://goto.infineon.com/fip +https://goto.infineon.com/fiprocess +https://goto.infineon.com/idash +https://goto.infineon.com/interviewercockpit +https://goto.infineon.com/ipam +https://goto.infineon.com/iscpacman +https://goto.infineon.com/iteraplan +https://goto.infineon.com/itinfo +https://goto.infineon.com/iwanttolearn +https://goto.infineon.com/kronos +https://goto.infineon.com/lowcode +https://goto.infineon.com/luma +https://goto.infineon.com/luy +https://goto.infineon.com/mesafi +https://goto.infineon.com/mesareportingservices +https://goto.infineon.com/mesassrreport +https://goto.infineon.com/mona +https://goto.infineon.com/msdpts +https://goto.infineon.com/mydns +https://goto.infineon.com/myit +https://goto.infineon.com/net6PacMan +https://goto.infineon.com/office +https://goto.infineon.com/oimetrologyviewer +https://goto.infineon.com/oiwizard +https://goto.infineon.com/owa +https://goto.infineon.com/password +https://goto.infineon.com/patcher +https://goto.infineon.com/processes +https://goto.infineon.com/projectconsulting +https://goto.infineon.com/remedy +https://goto.infineon.com/resetpassword +https://goto.infineon.com/heck#rmui +https://goto.infineon.com/rsup +https://goto.infineon.com/samportal +https://goto.infineon.com/sepoma#Service-Portfolio-Manager +https://goto.infineon.com/service-shop +https://goto.infineon.com/ssa +https://goto.infineon.com/standardization +https://goto.infineon.com/steps +https://goto.infineon.com/teamcenterwebclient_reviewcurrentwork +https://goto.infineon.com/tfs +https://goto.infineon.com/tsm +https://goto.infineon.com/ucportal +https://goto.infineon.com/upskill +https://goto.infineon.com/video +https://goto.infineon.com/webaccess +``` + +```yaml +https://cepi-eu.infineon.com/ +https://confluencewikiprod.intra.infineon.com/pages/viewpage.action?pageId=1202209716 +https://iuc-web.infineon.com/idms-admin +http://asus.laptop/slideshow/index.html?a=last&b=2024-03-10-13-01 +https://ishare.na.infineon.com/sites/Mesa-FI-Minutes-of-Meeting/SitePages/MinutesOfMeeting.aspx#/ +``` diff --git a/_-Review/grep.md b/_-Review/grep.md new file mode 100644 index 0000000..3945e16 --- /dev/null +++ b/_-Review/grep.md @@ -0,0 +1,15 @@ +--- +type: "note" +created: "2024-04-08T22:26:30.036Z" +updated: "2024-04-08T22:29:24.484Z" +--- + +# grep + +- [ubuntu](https://help.ubuntu.com/community/grep) + +```bash +# https://askubuntu.com/questions/723172/what-tool-can-i-use-to-scan-a-network-and-test-wake-on-lan +nmap -sP 192.168.11.0/25 |grep MAC|cut -d\ -f3 > mac +wakeonlan -f mac +``` diff --git a/_-Review/gx4luea-de3wttm-jsc6twa-zy5cihu-jqbzsfa-pu5xxu7-767boxy-f4h4ca2.md b/_-Review/gx4luea-de3wttm-jsc6twa-zy5cihu-jqbzsfa-pu5xxu7-767boxy-f4h4ca2.md new file mode 100644 index 0000000..d861cf4 --- /dev/null +++ b/_-Review/gx4luea-de3wttm-jsc6twa-zy5cihu-jqbzsfa-pu5xxu7-767boxy-f4h4ca2.md @@ -0,0 +1,25 @@ +--- +type: "basic-note" +created: "2024-01-06T01:25:36.103Z" +updated: "2024-01-06T01:25:36.103Z" +--- + +# Gx4luea De3wttm Jsc6twa Zy5cihu JQBZSFA Pu5xxu7 767boxy F4h4ca2 + +[Syncthing](syncthing.md) + +```bash +C:\Users\dhaff\AppData\Local\Herman + +cd "C:\Users\dhaff\AppData\Local\Herman\nssm-2.24\win64" + +nssm.exe install Syncthing + +C:\Users\dhaff\AppData\Local\Herman\syncthing-windows-amd64-v1.23.1\syncthing.exe + +C:\Users\dhaff\AppData\Local\Herman\syncthing-windows-amd64-v1.23.1 + +--no-restart --no-browser --home="C:\Users\dhaff\AppData\Local\Herman\syncthing-windows-amd64-v1.23.1" + +C:\Users\dhaff\AppData\Local\Herman\syncthing-windows-amd64-v1.23.2 +``` diff --git a/_-Review/home-assistant.md b/_-Review/home-assistant.md new file mode 100644 index 0000000..2560211 --- /dev/null +++ b/_-Review/home-assistant.md @@ -0,0 +1,227 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.065Z" +updated: "2024-01-06T01:25:36.065Z" +--- + +# Home Assistant + +```bash +wsl --export Ubuntu "Ubuntu\Ubuntu-Home-Assistant-001.tar" +wsl --unregister Ubuntu +wsl --import Ubuntu-Home-Assistant Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-001.tar" +wsl --export Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-002.tar" +del "Ubuntu\Ubuntu-Home-Assistant-002.tar" +``` + +```yaml +Name: Ubuntu-Home-Assistant +Command Line: wsl.exe -d Ubuntu-Home-Assistant +Tab Title: Ubuntu-Home-Assistant +``` + +```bash +sudo -i +apt-get update +ip a +lsb_release -a +apt-get install links unzip nginx git nano ncdu -y +ncdu +timedatectl set-timezone America/Phoenix +timedatectl +nano /etc/hosts +nano /etc/nginx/sites-available/default +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +``` + +```conf +server { + listen 80 default_server; + listen [::]:80 default_server; + root /var/www/html; + index index.html index.htm index.nginx-debian.html; + server_name _; + location / { + try_files $uri $uri/ =404; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:80/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +server { + ssl_certificate 'laundry.phares.myftp.org.crt'; + ssl_certificate_key 'laundry.phares.myftp.org.key'; + listen 443 ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 ssl http2; + server_name home-assistant.laundry.phares.myftp.org; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:9400/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +``` + +```bash +nano /home/mike/laundry.phares.myftp.org.conf +echo >/home/mike/laundry.phares.myftp.org.conf && nano /home/mike/laundry.phares.myftp.org.conf +``` + +```conf +[req] +default_bits = 2048 +default_keyfile = laundry.phares.myftp.org.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Anthem +organizationName = Organization Name (eg, company) +organizationName_default = Phares +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = laundry.phares.myftp.org +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = laundry.phares.myftp.org +DNS.2 = dashkiosk.laundry.phares.myftp.org +DNS.3 = gogs.laundry.phares.myftp.org +DNS.4 = nextcloud.laundry.phares.myftp.org +DNS.5 = photoprism.laundry.phares.myftp.org +DNS.6 = pi-hole.laundry.phares.myftp.org +DNS.7 = syncthing.laundry.phares.myftp.org +DNS.8 = mike.desktop +DNS.9 = desktop-h6jg91b +DNS.10 = localhost +DNS.11 = 127.0.0.1 +``` + +```bash +ls /etc/nginx +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/laundry.phares.myftp.org.key -out /etc/nginx/laundry.phares.myftp.org.crt -config /home/mike/laundry.phares.myftp.org.conf +ls /etc/nginx +nginx -t +systemctl restart nginx +nginx -s reload +exit +exit +``` + +```bash +wsl --export Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-002.tar" +wsl --unregister Ubuntu-Home-Assistant +wsl --import Ubuntu-Home-Assistant Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-002.tar" +``` + +```bash +sudo -i +python3 --version +apt install software-properties-common +add-apt-repository ppa:deadsnakes/ppa +[enter] +apt update +apt-get install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev +apt install python3.12 -y +ls /usr/bin/python3* +update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 +update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 +update-alternatives --config python3 +[enter] +python3 --version +apt install libpython3.12-dev -y +apt-cache rdepends python3.12 +# apt-get install -y libtiff6 +# apt install python3.10-venv +# apt-add-repository universe +# apt-get update +# apt-get install virtualenv +# apt install python3.11-venv +apt install python3.12-venv -y +# apt install python3.13-venv +apt-get install libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev -y +apt install pkg-config -y +useradd -rm homeassistant +mkdir /srv/homeassistant +chown homeassistant:homeassistant /srv/homeassistant +passwd homeassistant +exit +exit +``` + +```bash +wsl --export Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-003.tar" +wsl --unregister Ubuntu-Home-Assistant +wsl --import Ubuntu-Home-Assistant Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-003.tar" +``` + +```bash +sudo -u homeassistant -H -s +cd /srv/homeassistant +python3 -m venv . +source bin/activate +pip install --upgrade pip +python3 -m pip install wheel +pip3 install homeassistant +pip3 install homeassistant +pip install av +pip install ha-av +exit +exit +``` + +```bash +wsl --export Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-004.tar" +wsl --unregister Ubuntu-Home-Assistant +wsl --import Ubuntu-Home-Assistant Ubuntu-Home-Assistant "Ubuntu\Ubuntu-Home-Assistant-004.tar" +``` + +```bash +sudo -u homeassistant -H -s +cd /srv/homeassistant +python3 -m venv . +source bin/activate +hass +# You can now reach your installation via the web interface on http://homeassistant.local:8123. +``` + +```bash +# https://www.youtube.com/watch?v=O7pC1oI86gg +# https://tasmota.github.io/docs/About/ +# https://www.youtube.com/watch?v=fgeZ1O6J4jc +# https://www.youtube.com/watch?v=CYvTLw_Wn6I +# https://python-kasa.readthedocs.io/en/latest/smartdevice.html +# https://zigbee.blakadder.com/plugs.html +``` diff --git a/_-Review/how-to-migrate-ado-projects-from-mfg-it-to-fi.md b/_-Review/how-to-migrate-ado-projects-from-mfg-it-to-fi.md new file mode 100644 index 0000000..2f4d27b --- /dev/null +++ b/_-Review/how-to-migrate-ado-projects-from-mfg-it-to-fi.md @@ -0,0 +1,10 @@ +--- +type: "note" +created: "2024-03-11T21:36:57.146Z" +updated: "2024-03-11T21:37:38.750Z" +--- + +# How to migrate ADO projects from MFG IT to FI + +- [Video](https://videoportal.infineon.com/videos/play/F3D1A032-8372-487D-9B16-A6A68EB17044/E33E0B2A-0217-46F2-A3CB-C7345AE1D321) +- EAF diff --git a/_-Review/hugo.md b/_-Review/hugo.md new file mode 100644 index 0000000..d5bc99a --- /dev/null +++ b/_-Review/hugo.md @@ -0,0 +1,94 @@ +--- +type: "topic" +assigned: "" +created: "2024-01-06T01:25:36.062Z" +updated: "2024-01-06T01:25:36.062Z" +--- + +# Hugo + +## Link + +- [gohugo](https://gohugo.io) + +## Install + +```PowerShell +winget install Hugo.Hugo.Extended +``` + +## Run + +```bash +l: +cd git +hugo new site quickstart +cd quickstart +git init +git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke +echo "theme = 'ananke'" >> hugo.toml +code-insiders . +hugo server +``` + +## Work + +```bash +hugo new posts/my-first-post.md +hugo server --buildDrafts +hugo server -D +``` + +## Themes + +- [hugo-blog-awesome](https://github.com/hugo-sid/hugo-blog-awesome.git) + +```bash +git submodule add https://github.com/hugo-sid/hugo-blog-awesome.git themes/hugo-blog-awesome +``` + +## Support + +- [digital-garden-jekyll-template](https://github.com/maximevaillancourt/digital-garden-jekyll-template.git) +- [How to Set Up a Digital Garden With Obsidian For Free](https://www.youtube.com/watch?v=kg-9n_A4Tf0&list=WL&index=53&t=40s) + +```bash +l: +cd git +git clone https://github.com/maximevaillancourt/digital-garden-jekyll-template.git +cd digital-garden-jekyll-template +``` + +- [Obsidian Export](https://github.com/zoni/obsidian-export) + +- [Obsidian Export Windows](https://github.com/zoni/obsidian-export/releases/download/v22.11.0/obsidian-export_Windows-x64_64.exe) + +```bash +mkdir "L:\Git\quartz\content\cyberpunk-red" +"C:\Users\phares\AppData\Local\IFXApps\obsidian-export\obsidian-export_Windows-x64_64.exe" "D:\Documents\Notes\Cyberpunk-Red\TTRPG\Cyberpunk Red" "L:\Git\quartz\content\cyberpunk-red" +``` + +```html +{{if $.Site.Data.config.enableTable}} + + + + {{ range $k, $v := .Params }} + + {{ end }} + + + + + {{ range $k, $v := .Params }} + + {{ end }} + + +
+ {{ $k }} +
+ {{ $v }} +
+{{end}} +``` diff --git a/_-Review/icinga.md b/_-Review/icinga.md new file mode 100644 index 0000000..750dd63 --- /dev/null +++ b/_-Review/icinga.md @@ -0,0 +1,12 @@ +--- +type: "note" +created: "2024-02-03T06:22:14.646Z" +updated: "2024-02-03T06:23:09.203Z" +--- + +# icinga + +# Icinga + +https://www.youtube.com/watch?v=Y66aWGg2EQo +https://icinga.com/docs/icinga-2/latest/doc/02-installation/02-Ubuntu/ diff --git a/_-Review/idf-a.md b/_-Review/idf-a.md new file mode 100644 index 0000000..a497ae6 --- /dev/null +++ b/_-Review/idf-a.md @@ -0,0 +1,35 @@ +--- +type: "note" +created: "2024-03-12T18:56:03.116Z" +updated: "2024-03-19T18:07:33.988Z" +--- + +# idf-a + +d-45 - 35 - GaN +d-46 - 35 - GaN +d-47 - 35 - GaN +d-49 - 25 - GaN +d-50 - 154 - GaN +d-19 - x - GaN +d-20 - 35 - GaN +d-21 - 35 - GaN +d-22 - 35 - GaN +d-23 - 35 - GaN +d-24 - 35 - GaN +d-25 - 25 - GaN +d-26 - 35 - GaN +d-27 - 35 - GaN +d-72 - 35 - GaN +d-73 - 35 - GaN + +d-01 - 35 - Gray +d-02 - 154 - Gray srp2000 +d-09 - 25 - Gray +d-61 - 25 - Gray +d-62 - 25 - Gray +d-63 - x - Gray +d-56 - 35 - Gray +d-59 - 35 - Gray (SRP open) +d-60 - 154 - Gray (SRP open) +d-53 - 1050 - Gray BV diff --git a/_-Review/idf-b.md b/_-Review/idf-b.md new file mode 100644 index 0000000..a14281e --- /dev/null +++ b/_-Review/idf-b.md @@ -0,0 +1,87 @@ +--- +type: "note" +created: "2024-02-06T16:49:56.135Z" +updated: "2024-04-02T17:21:17.906Z" +--- + +# idf-b + +d-16 - 154 - biorad2 (ask to route to cde6 or biorad3 ubuntu) +d-48 - 154 - tencor1 +?-? - 35 - desk by door +?-? - 154 - desk by door +?-? - 25 - r31 +pp3-07 - 35 - lead desk (dispo lots) +pp3-01 - x - r52 +pp3-02 - x - r52 +d-21 - 154 - tencor3 +d-17 - 35 - biorad4 +d-14 - 35 - biorad4 + +## D48 + +```yaml D48 - Tencor1 Table Panel 2 - Now D14 from below +Name: sa-us-mes-001-013.na.lan +Model: cisco WS-C3650-48PD +IP: no address +Port: GiabitEthernet1/0/11 +VLAN: 154 +Voice: 666 +``` + +## D14 + +```yaml D14 - FQA Table TDF B Panel 2 - Now D48 from above +Name: sa-us-mes-001-013.na.lan +Model: cisco WS-C3650-48PD +IP: no address +Port: GiabitEthernet1/0/38 +VLAN: 35 +Voice: 666 +``` + +## D17 + +```yaml D17 - FQA Table TDF B Panel 2 +Name: sa-us-mes-001-013.na.lan +Model: cisco WS-C3650-48PD +IP: no address +Port: GiabitEthernet1/0/9 +VLAN: 154 +Voice: 666 +``` + +## 7D + +```yaml 7D - FI +Name: sa-us-mes-001-013.na.lan +Model: cisco WS-C3650-48PD +IP: no address +Port: GiabitEthernet1/0/12 +VLAN: 35 +VLAN: 666 +``` + +``` conf +2024-03-19 9:00 AM +``` + +| Count | Image | Description | Location | Current | Want | Jack | +|-------|------------------|---------------------|-----------------------------------------------|----------|----------|---------------| +| 1001 | 631090810441.jpg | Top MU | sa-us-mes-001-013.na.lan GiabitEthernet1/0/22 | VLAN 35 | VLAN 154 | IDF B PP3-07 | +| 1002 | 619096410619.jpg | Top MU | sa-us-mes-001-013.na.lan GiabitEthernet1/0/22 | VLAN 35 | VLAN 154 | IDF B PP3-07 | +| 1003 | 109379300619.jpg | Bottom MU (Printer) | sa-us-mes-001-013.na.lan GiabitEthernet1/0/19 | VLAN 25 | VLAN 154 | IDF B PP3-08 | +| 1006 | 869351810301.jpg | EPP West 1 | sa-us-mes-001-013.na.lan GiabitEthernet1/0/4 | VLAN 7 | VLAN 154 | IDF B PP3-01 | +| 1007 | 460213900589.jpg | EPP West 1 | sa-us-mes-001-013.na.lan GiabitEthernet1/0/4 | VLAN 7 | VLAN 154 | IDF B PP3-01 | +| 1008 | 211264200089.jpg | EPP West # | sa-us-mes-001-013.na.lan GiabitEthernet1/0/6 | VLAN 35 | VLAN 154 | IDF B PP3-0# | +| 1009 | 390581300449.jpg | EPP West # | sa-us-mes-001-013.na.lan GiabitEthernet1/0/6 | VLAN 35 | VLAN 154 | IDF B PP3-0# | +| 1010 | 092380120871.jpg | FQA | No name 1/0/9 | VLAN 154 | | IDF B Panel 2 | +| 1011 | 419974810639.jpg | FQA | No name 1/0/9 | VLAN 154 | | IDF B Panel 2 | +| 1012 | 919460010991.jpg | Gray Counters | | | | | +| 1013 | 529458700389.jpg | EPP West 48,50 | | | | | +| 1014 | 858956810041.jpg | EPP East 42,44 | | | | | +| 1015 | 895090310171.jpg | MU Power | | | | | + +- [Unity4 00-2a-10-6a-06-80](919129810451.jpg) +- [CDE4](855413010971.jpg) +- [MU Table](992810120511.jpg) diff --git a/_-Review/idf-c.md b/_-Review/idf-c.md new file mode 100644 index 0000000..71e3451 --- /dev/null +++ b/_-Review/idf-c.md @@ -0,0 +1,23 @@ +--- +type: "note" +created: "2024-02-06T17:08:08.205Z" +updated: "2024-04-02T17:17:51.770Z" +--- + +# idf-c + +d-13 - 1049 - sp1 +port a - x - hgcv1 table +port b - x - hgcv1 table +d-9 - x - hgcv1 table + +| Count | Image | Description | Location | Current | Want | Jack | +|-------|------------------|-------------|-----------------------------------------------|---------|----------|-------------------| +| 1004 | 861299910639.jpg | EPP East | sa-us-mes-001-005.na.lan GiabitEthernet1/0/17 | VLAN 7 | VLAN 154 | IDF C yellow wire | +| 1005 | 295385910649.jpg | EPP East | sa-us-mes-001-005.na.lan GiabitEthernet1/0/17 | VLAN 7 | VLAN 154 | IDF C yellow wire | + +- [IDF-C Panel E D-09 R44 R46](661702010701.jpg) +- [IDF-C Panel E D-09 R44 R46](684481700601.jpg) +- [IDF-C Panel E D-## R54 R52](824876610849.jpg) +- [IDF-C Panel E D-## R54 R52](734246410961.jpg) +- [IDF-C Panel E D-09, D-10 R44 R46](639499210111.jpg) diff --git a/_-Review/ifxapp-store.md b/_-Review/ifxapp-store.md new file mode 100644 index 0000000..345fac9 --- /dev/null +++ b/_-Review/ifxapp-store.md @@ -0,0 +1,11 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.054Z" +updated: "2024-01-06T01:25:36.054Z" +--- + +# IFXApp Store + +```bash +softwarecenter:SoftwareID=ScopeId_DC82085C-A4E6-425E-895B-9A70C9AB3D93/Application_090f8e95-e40f-4ab9-95de-028f67c31e44 +``` diff --git a/_-Review/iis.md b/_-Review/iis.md new file mode 100644 index 0000000..b3e9251 --- /dev/null +++ b/_-Review/iis.md @@ -0,0 +1,12 @@ +--- +type: "topic" +created: "2024-01-14T02:18:18.761Z" +updated: "2024-02-02T22:16:54.811Z" +--- + +# IIS + +- [Create Web UI to Update Target Date](../.kanbn/archive/create-web-ui-to-update-target-date.md) + - [Backlog](../EAF/Runtime/backlog.md) + +[Pipeline](../CI-CD/Azure-DevOps/pipeline.md) diff --git a/_-Review/immich.md b/_-Review/immich.md new file mode 100644 index 0000000..6ab467f --- /dev/null +++ b/_-Review/immich.md @@ -0,0 +1,819 @@ +--- +type: "note" +created: "2024-04-23T13:33:44.514Z" +updated: "2024-04-23T13:33:53.583Z" +--- + +# Immich + +- [immich-native](https://github.com/arter97/immich-native) +- [immich-distribution](https://immich-distribution.nsg.cc/) + +```bash +# https://learn.microsoft.com/en-us/windows/wsl/wsl-config +code-insiders .wslconfig +``` + +```conf +[wsl2] +networkingMode=mirrored +``` + +```bash +sudo -i +apt update +apt-get upgrade -y +apt install -y software-properties-common +add-apt-repository ppa:deadsnakes/ppa +[enter] +apt-get install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev +python3 --version +apt-get remove -y python3 +apt autoremove -y +python3 --version +apt install -y python3.12 -y +python3 --version +ls /usr/bin/python3* +update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 +update-alternatives --config python3 +[enter] +python3 --version +exit +python3 --version +sudo apt-get install -y build-essential +apt-get install -y git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev zlib1g-dev libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl libffi-dev +apt install pip -y +exit +exit +``` + +```bash +L: +cd Ubuntu +wsl --export Ubuntu "Ubuntu-Immich-001.tar" +wsl --unregister ubuntu +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-001.tar" +``` + +```yaml +Name: Ubuntu-Immich +Command Line: wsl.exe -d Ubuntu-Immich +Tab Title: Ubuntu-Immich +``` + +```bash +sudo -i +ip a +lsb_release -a +apt-get install links unzip git nano ncdu -y +apt install python3-venv python3-dev uuid-runtime -y +ncdu +timedatectl set-timezone America/Phoenix +timedatectl +nano /etc/hosts +``` + +```bash +# adduser \ +# --home /var/lib/immich/home \ +# --shell=/sbin/nologin \ +# --no-create-home \ +# --disabled-password \ +# --disabled-login \ +# immich +# mkdir -p /var/lib/immich +# chown immich:immich /var/lib/immich +# chmod 700 /var/lib/immich +``` + +```bash +# KeePass F1D73A6C69F5EF45820A9083F8FA9A17, 8dc6bGn170WCCpCD+PqaFw== +sudo -u postgres psql +postgres=# create database immich; +postgres=# create user immich with encrypted password 'YOUR_STRONG_RANDOM_PW'; +postgres=# grant all privileges on database immich to immich; +postgrse=# ALTER USER immich WITH SUPERUSER; +postgres=# \q +``` + +```bash +# mkdir -p /var/lib/immich +# nano /var/lib/immich/env +``` + +```conf +; # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables + +; # Connection secret for postgres. You should change it to a random password +; DB_PASSWORD=0cwxfYh9TqhGwv2#NAPq + +; # The values below this line do not need to be changed +; ################################################################################### +; NODE_ENV=production + +; DB_USERNAME=immich +; DB_DATABASE_NAME=immich +; DB_VECTOR_EXTENSION=pgvector + +; # The location where your uploaded files are stored +; UPLOAD_LOCATION=./library + +; # The Immich version to use. You can pin this to a specific version like "v1.71.0" +; IMMICH_VERSION=release + +; # Hosts & ports +; DB_HOSTNAME=127.0.0.1 +; MACHINE_LEARNING_HOST=127.0.0.1 +; IMMICH_MACHINE_LEARNING_URL=http://127.0.0.1:3003 +; REDIS_HOSTNAME=127.0.0.1 +``` + +```bash +# git clone https://github.com/arter97/immich-native.git +# ./install.sh +``` + +```bash +# sudo cp immich*.service /etc/systemd/system/ +# sudo systemctl daemon-reload +# for i in immich*.service; do +# sudo systemctl enable $i +# sudo systemctl start $i +# done +``` + +```bash +# systemctl status immich.service +# systemctl status immich-microservices.service +# systemctl status immich-machine-learning.service +``` + +```bash +# snap set immich-distribution sync-enabled=true +# snap set immich-distribution sync="qFWDWRKpFvV9PA90FNuBQgFligkvmhKlrOKpXyi7m7s" +# journalctl -eu snap.immich-distribution.sync-* +``` + +```Powershell +# New-VHD -Path C:\wsl2-Images-7007a9df.vhdx -Dynamic -SizeBytes 120GB +# wsl -d Ubuntu --mount --vhd C:\wsl2-Images-7007a9df.vhdx --bare +``` + +```bash +# snap stop immich-distribution +# mkdir /var/snap/immich-distribution/common/pictures +# parted /dev/sdc print +# # Error: /dev/sdc: unrecognised disk label +# parted /dev/sdc mklabel msdos +# parted -a optimal /dev/sdc mkpart primary ext4 0% 100% +# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT /dev/sdc +# mkfs.ext4 /dev/sdc1 +# e2label /dev/sdc1 wsl2-Images-7007 +# lsblk -o NAME,LABEL,FSTYPE,SIZE,MOUNTPOINT /dev/sdc +# mount UUID=ec3a0c70-6d49-461e-bada-86c312c178ab /var/snap/immich-distribution/common/pictures +# mount -l | grep wsl2-Images-7007 +# touch /var/snap/immich-distribution/common/pictures/test +# ls /var/snap/immich-distribution/common/pictures/test +# # rm /var/snap/immich-distribution/common/pictures/test +# # umount /var/snap/immich-distribution/common/pictures +# cp /mnt/d/01-Offline-Backup/1-Images-A/Images-7007a9df/ /var/snap/immich-distribution/common/pictures +``` + +```bash +# https://meichthys.github.io/foss_photo_libraries/ +snap install immich-distribution +# http://127.0.0.1:3001/ +snap start immich-distribution +snap stop immich-distribution +systemctl status snap.immich-distribution.manager.service +snap get immich-distribution database-password +immich-distribution.psql -h 127.0.0.1 -U postgres -d immich +cat /mnt/d/8-Move/Immich/backups/immich_database_2024-04-25T220025.sql | immich-distribution.psql immich +``` + +```bash +wsl --import Ubuntu-Immich Ubuntu-Immich "C:\Users\phares\Ubuntu\Ubuntu-Immich-laptop-001.tar" +``` + +```bash +cat /mnt/d/8-Move/Immich/backups/immich_database_2024-04-25T220025.sql | immich-distribution.psql immich +snap stop immich-distribution +mv /var/snap/immich-distribution/common/upload /var/snap/immich-distribution/common/upload-old +ls -la /var/snap/immich-distribution/common +ls -la /var/snap/immich-distribution/common/upload-old +# rsync -r --info=progress2 /mnt/c/8-Move/Immich/upload/ /var/snap/immich-distribution/common +# freefilesync +mv /home/phares/upload/ /var/snap/immich-distribution/common +chown -R root:root /var/snap/immich-distribution/common +chown -R snap_daemon:snap_daemon /var/snap/immich-distribution/common/pgsql +snap start immich-distribution +systemctl status snap.immich-distribution.manager.service +journalctl -fu snap.immich-distribution.* +``` + +```bash +snap stop immich-distribution +mv /var/snap/immich-distribution/common/upload/ /home/mikep/Immich +chown -R mikep:mikep /home/mikep +chown -R mike:mike /var/snap/immich-distribution/pictures +chown -R root:root /var/snap/immich-distribution/pictures +immich-distribution.backup -d +cat /home/phares/Immich/backups/immich_database_2024-04-28T213218.sql | immich-distribution.psql immich +mv /var/snap/immich-distribution/common/upload/ /home/phares/Immich +chown -R phares:phares /home/phares/Immich +mv /home/phares/Immich/upload/ /var/snap/immich-distribution/common +chown -R root:root /var/snap/immich-distribution/common/upload +``` + +- [x] Move images from camera to "D:/7-Question/iCloud Photos 2024" +- [x] Run Rename from "L:/Git/AA" +- [x] Move images from "D:/7-Question/iCloud Photos 2024" to "D:/1-Images-A/Images-7007a9df" +- [x] Run Instance from "L:/Git/View-by-Distance-MKLink-Console" +- [x] Switch to Ubuntu +- [x] Stop Immich process +- [x] Mount ProgramFiles (correct one) +- [x] change owner of /var/snap/immich-distribution/pictures to mike +- [x] Use FreeFileSync to sync '/mnt/ProgramFiles/1-Images-A/Images-7007a9df-Results/C)Resize/7007a9df/Original/()' with /var/snap/immich-distribution/pictures +- [x] change owner of /var/snap/immich-distribution/pictures to root +- [x] Start Immich process +- [x] Use web GUI - Administration - External Libraries - Scan new Library Files +- [x] Match faces in new images +- [x] Queue jobs to find more +- [x] Backup database +- [x] Run Backups-Immich-local, Upload-Immich-local, Backup-Immich-server and Upload-Immich-server FreeFileSync files +- [2] Switch to Windows +- [2] Run Syncthing-Immich-Server FreeFileSync file +- [2] Used Windows to un-compress .sql.xz +- [2] Push sql +- [2] Stop Immich process +- [2] Move upload to home +- [2] change owner +- [2] sync +- [2] Move back to var from home +- [2] change owner back +- [2] Start Immich process + +```json ckolkman.vscode-postgres +{ + "label": "127.0.0.1", + "host": "127.0.0.1", + "user": "postgres", + "port": 5432, + "ssl": false, + "database": "immich", + "passwordX": "UFvfjMpvcHpkLtDwebWx", + "passwordXX": "AsKiBXwEEHZEwaXkrnMI", + "passwordXXX": "YPSjzpREpyHQjdeUJZil", + "passwordXXXX": "eYuaUZnJYFRgCJPcHnSH" +} +``` + +```bash does't work +immich-distribution.psql -h 127.0.0.1 -U postgres -d immich -qAtX -c "select json_agg(t) FROM (SELECT * from assets) t;" -o /var/snap/immich-distribution/common/backups/data.json +immich-distribution.psql -h 127.0.0.1 -U postgres -d immich +``` + +```sql doesn't work +\t +\a +\o file.json +SELECT row_to_json(r) FROM assets AS r; +``` + +- Sun May 12 2024 09:22:30 GMT-0700 (Mountain Standard Time) + +- [x] Move images from google takeout to "D:/7-Question/iCloud Photos 2024" +- [x] Run Rename from "L:/Git/AA" +- [x] Move images from "D:/7-Question/iCloud Photos 2024" to "D:/1-Images-A/Images-7007a9df" +- [x] Run Instance from "L:/Git/View-by-Distance-MKLink-Console" +- [x] Switch to Ubuntu +- [x] Use FreeFileSync as sudo to sync '/mnt/ProgramFiles/1-Images-A/Images-7007a9df-Results/C)Resize/7007a9df/Original/()' with /var/snap/immich-distribution/pictures +- [x] change owner of /var/snap/immich-distribution/pictures to root +- [x] Use web GUI - Administration - External Libraries - Scan new Library Files +- [x] Queue jobs to find more +- [x] Backup database + +```bash +sudo -i +immich-distribution.backup -d +``` + +- [x] Used ubuntu-desktop to un-compress .sql.xz +- [x] Run Backups-Immich-local, Upload-Immich-local, Backup-Immich-server and Upload-Immich-server FreeFileSync files +- [1] Switch to Windows +- [1] Run Syncthing-Immich-Server FreeFileSync file +- [1] Stop Ubuntu-Immich process + +```bash +snap stop immich-distribution +mv /var/snap/immich-distribution/common/upload/ /home/mikep/Immich +mv /var/snap/immich-distribution/common/backups/ /home/mikep/Immich +chown -R mikep:mikep /home/mikep/Immich +``` + +- [1] Run wsl-Immich-d FreeFileSync file + +```bash +mv /home/mikep/Immich/backups/ /var/snap/immich-distribution/common +chown -R root:root /var/snap/immich-distribution/common/backups +mv /home/mikep/Immich/upload/ /var/snap/immich-distribution/common +chown -R root:root /var/snap/immich-distribution/common/upload +snap start immich-distribution +``` + +- [1] Push sql + +```bash +sudo -i +cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-12T085737.sql | immich-distribution.psql immich +``` + +```sql Sun May 12 2024 10:32:45 GMT-0700 (Mountain Standard Time) +SELECT json_agg(t) +FROM ( +SELECT "id", + "deviceAssetId", + replace("originalPath", '/var/snap/immich-distribution/pictures', '') "originalPath", + replace("previewPath", '/var/snap/immich-distribution/common/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593', '') "previewPath", + -- "fileCreatedAt", + -- "fileModifiedAt", + "isFavorite", + -- "duration", + replace("thumbnailPath", '/var/snap/immich-distribution/common/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593', '') "thumbnailPath", + -- "encodedVideoPath", + -- "checksum", + -- "livePhotoVideoId", + -- "updatedAt", + -- "createdAt", + -- "sidecarPath", + "thumbhash" + -- "libraryId", + -- "localDateTime", + -- "stackId" +FROM "assets" +WHERE "ownerId" = 'fc9fd5a1-d1b3-4080-a21c-daf9b1c24593' + AND "deviceId" = 'Library Import' + AND "type" = 'IMAGE' + AND "isVisible" = true + AND "isArchived" = false + AND "isReadOnly" = true + AND "isOffline" = false + AND "isExternal" = true + AND "deletedAt" is null + AND "originalFileName" = "deviceAssetId" +-- LIMIT 50 +) t; +``` + +```vscode +/var/snap/immich-distribution/common/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 +``` + +```bash +ln -s /var/log/nginx /var/www/html/log-nginx +# ln -s /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593 /var/www/html/Images-c9dbce3b-Results/thumbs +cp -R /home/syncthing/Immich/upload/thumbs/fc9fd5a1-d1b3-4080-a21c-daf9b1c24593/ /var/www/html/Images-c9dbce3b-Results/thumbs +ls -la /var/www/html/Images-c9dbce3b-Results +``` + +```sql Sun May 12 2024 16:57:04 GMT-0700 (Mountain Standard Time) +SELECT "assetId", + "personId", + -- "embedding", + "imageWidth", + "imageHeight", + "boundingBoxX1", + "boundingBoxY1", + "boundingBoxX2", + "boundingBoxY2", + "id" +FROM "asset_faces" +LIMIT 1000; +``` + +```sql Sun May 12 2024 16:57:04 GMT-0700 (Mountain Standard Time) +SELECT "id", + "createdAt", + "updatedAt", + "ownerId", + "name", + "thumbnailPath", + "isHidden", + "birthDate", + "faceAssetId" +FROM "person" +LIMIT 1000; +``` + +```sql Sun May 12 2024 16:57:04 GMT-0700 (Mountain Standard Time) +SELECT "assetId", + "make", + "model", + "exifImageWidth", + "exifImageHeight", + "fileSizeInByte", + "orientation", + "dateTimeOriginal", + "modifyDate", + "lensModel", + "fNumber", + "focalLength", + "iso", + "latitude", + "longitude", + "city", + "state", + "country", + "description", + "fps", + "exposureTime", + "livePhotoCID", + "timeZone", + "exifTextSearchableColumn", + "projectionType", + "profileDescription", + "colorspace", + "bitsPerSample", + "autoStackId" +FROM "exif" +LIMIT 1000; +``` + +```conf +# https://immich.app/docs/administration/reverse-proxy#nginx-example-config +server { + server_name ; + + # allow large file uploads + client_max_body_size 50000M; + + # Set headers + proxy_set_header Host $http_host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + + # enable websockets: http://nginx.org/en/docs/http/websocket.html + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_redirect off; + + # set timeout + proxy_read_timeout 600s; + proxy_send_timeout 600s; + send_timeout 600s; + + location / { + proxy_pass http://:2283; + } +} +``` + +```bash +L: +cd Ubuntu +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar" +``` + +```bash +snap stop immich-distribution +cp -R /mnt/d/7-Question/papa/ /var/snap/immich-distribution/common/pictures +chown -R root:root /var/snap/immich-distribution/common/pictures +snap start immich-distribution +systemctl status snap.immich-distribution.manager.service +journalctl -fu snap.immich-distribution.* +snap refresh --hold=forever immich-distribution +cp -R /var/snap/immich-distribution/common/upload/thumbs/5e47f15f-0447-4283-9c3d-6b61ff79ebb5/ /mnt/l/ +immich-distribution.backup -d +cp -R /var/snap/immich-distribution/common/backups/ /mnt/l/ +``` + +```bash +L: +cd Ubuntu +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman.tar" +wsl --unregister Ubuntu-Immich +# wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman.tar" +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar" +``` + +```bash +# /mnt/d/3-Videos-A/Device-Videos-2_0_0_3-Current-Year/Have-Media-Created +snap refresh --hold=forever immich-distribution +cp -R /var/snap/immich-distribution/common/upload/thumbs/5e47f15f-0447-4283-9c3d-6b61ff79ebb5/ /mnt/l/ +immich-distribution.backup -d +cp -R /var/snap/immich-distribution/common/backups/ /mnt/l/ +cp -R /var/snap/immich-distribution/common/upload/encoded-video/5e47f15f-0447-4283-9c3d-6b61ff79ebb5/ /mnt/l/ +``` + +```bash +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Videos.tar" +wsl --unregister Ubuntu-Immich +``` + +```bash +L: +cd Ubuntu +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman.tar" +``` + +```bash +snap stop immich-distribution +ls /var/snap/immich-distribution/common/pictures/ -1 | wc -l +mv /var/snap/immich-distribution/common/pictures/ /home/mikep/ +chown -R mikep:mikep /home/mikep +ls /home/mikep/pictures/ -1 | wc -l +mv /home/mikep/pictures/ /var/snap/immich-distribution/common/ +chown -R root:root /var/snap/immich-distribution/common/pictures +ls /var/snap/immich-distribution/common/pictures/ -1 | wc -l +snap start immich-distribution +systemctl status snap.immich-distribution.manager.service +# Queue jobs +cp -R /var/snap/immich-distribution/common/upload/thumbs/5e47f15f-0447-4283-9c3d-6b61ff79ebb5/ /mnt/l/ +immich-distribution.backup -d +cp -R /var/snap/immich-distribution/common/backups/ /mnt/l/ +snap stop immich-distribution +mv /var/snap/immich-distribution/common/pictures/ /home/mikep/ +snap start immich-distribution +snap stop immich-distribution +mv /home/mikep/pictures/ /var/snap/immich-distribution/common/ +snap start immich-distribution +``` + +```bash +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman-002.tar" +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman-002.tar" +``` + +```bash +snap stop immich-distribution +rm -R /var/snap/immich-distribution/common/pictures +snap start immich-distribution +exit +``` + +```bash +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman-003.tar" +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman-003.tar" +wsl --unregister Ubuntu-Immich +``` + +```bash +# ls /mnt/d/01-Offline-Backup/2-Images-B/Norman-Herman-Immich/tiff +# mkdir -p /mnt/disk +# mount -o loop /mnt/d/01-Offline-Backup/2-Images-B/Norman-Herman-Immich/tiff/tiff.iso /mnt/disk +# mount -t iso9660 E: /mnt/disk +# mount -t drvfs E: /mnt/disk +# umount /mnt/disk +# umount /mnt/disk +``` + +```sql +-- update assets +-- set "originalPath" = replace("originalPath", +-- '/var/snap/immich-distribution/common/pictures', +-- '/mnt/disk') +-- WHERE "originalPath" like '%var%'; +-- SELECT * FROM "assets" LIMIT 1000; +``` + +```bash +L: +cd Ubuntu +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar" +``` + +- [ ] FreeFileSync - wsl-Immich-home-View-by-Distance-Test + +```xml + + + + + TimeAndSize + Exclude + + + + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *.Identifier | + + 0 + 0 + 0 + + + + L:\Git\View-by-Distance-Test\Images-Results\C)Resize\c9dbce3b\Original\() + \\wsl.localhost\Ubuntu-Immich\home\mikep\pictures + + + + + + + Action + +``` + +```bash +chown -R mikep:mikep /home/mikep/ +snap refresh --hold=forever immich-distribution +# View-by-Distance-Test +# /home/mikep/pictures +# Scan All Libraries +# http://127.0.0.1:3001/admin/server-status +# http://127.0.0.1:3001/admin/jobs-status +exit +``` + +```bash +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-003.tar" +# Added more pictures with wsl-Immich-home +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-004.tar" +# Added more pictures with wsl-Immich-home +``` + +- [ ] FreeFileSync - wsl-Immich-var-View-by-Distance-Test + +```xml + + + + + TimeAndSize + Exclude + + + + + + + + Permanent + + + + + * + + + \System Volume Information\ + \$Recycle.Bin\ + \RECYCLE?\ + \Recovery\ + *\thumbs.db + *.Identifier | + + 0 + 0 + 0 + + + + L:\Git\View-by-Distance-Test\Images-Results\C)Resize\c9dbce3b\immich + \\wsl.localhost\Ubuntu-Immich\var\snap\immich-distribution\common\upload\thumbs\5e47f15f-0447-4283-9c3d-6b61ff79ebb5 + + + + + + + Action + +``` + +```bash +rm -R /home/mikep/pictures/ +``` + +```bash +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-005.tar" +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-005.tar" +# Added more pictures with wsl-Immich-home +``` + +```bash +rm -R /home/mikep/pictures/ +``` + +```bash +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-View-by-Distance-Test-006.tar" +wsl --unregister Ubuntu-Immich +L: +cd Ubuntu +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-003.tar" +``` + +- [ ] FreeFileSync - wsl-Immich-home-Videos-A-Device-Videos-2_0_0_3-Current-Year + +```bash +# Videos-A +# /home/mikep/videos +# Scan All Libraries +# http://127.0.0.1:3001/admin/server-status +# http://127.0.0.1:3001/admin/jobs-status +``` + +```bash +L: +cd Ubuntu +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Videos-004.tar" +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Videos-004.tar" +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Videos-005.tar" +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman-004.tar" +wsl --unregister Ubuntu-Immich +wsl --export Ubuntu "Ubuntu-Immich-001.tar" +wsl --unregister Ubuntu +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-001.tar" +``` + +```bash +cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-13T113720.sql | immich-distribution.psql immich +# cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-12T085737.sql | immich-distribution.psql immich +# cat /var/snap/immich-distribution/common/backups/immich_database_2024-04-28T213218.sql | immich-distribution.psql immich +``` + +```bash +wsl --export Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Phares-001.tar" +wsl --unregister Ubuntu-Immich +``` + +```bash +cd C:/6-Other-Large-C +wsl --unregister Ubuntu-Immich +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Videos-005.tar" +``` + +```bash +wsl --import Ubuntu-Immich Ubuntu-Immich "L:\Ubuntu\Ubuntu-Immich-Norman-Herman-004.tar +``` + +```bash +immich-distribution.backup -d +``` + +- [x] Windows \\wsl.localhost\Ubuntu-Immich copy and unzip .sql.zx + +```bash +wsl --unregister Ubuntu-Immich +pscp -i "C:\Users\phares\.ssh\id_ed25519.ppk" D:/8-Move/immich_database_2024-05-17T173401.sql root@free.file.sync.root:/var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql +``` + +```bash +cat /var/snap/immich-distribution/common/backups/immich_database_2024-05-17T173401.sql | immich-distribution.psql immich +``` + +```sql +select "id", + "createdAt", + "updatedAt", + "ownerId", + "name", + "thumbnailPath", + "isHidden", + "birthDate", + "faceAssetId" +from "person" +where "ownerId" = 'c76905af-c06a-4a78-a9a7-c32f5b58e793' + and "ownerId" != '37c59a99-2c1f-4580-89aa-0bd70a437363' +limit 1000; +``` + +```sql +insert into "person" ( + "ownerId", + "name", + "birthDate" +) +values ( + 'c76905af-c06a-4a78-a9a7-c32f5b58e793', + 'Mike Phares', + '1980-01-17' +); +``` diff --git a/_-Review/infineon-design-system-stencil.md b/_-Review/infineon-design-system-stencil.md new file mode 100644 index 0000000..4430c32 --- /dev/null +++ b/_-Review/infineon-design-system-stencil.md @@ -0,0 +1,14 @@ +--- +type: "note" +created: "2024-03-11T21:34:53.341Z" +updated: "2024-03-11T23:01:27.569Z" +--- + +# infineon-design-system-stencil + +- [Video](https://videoportal.infineon.com/videos/play/F3D1A032-8372-487D-9B16-A6A68EB17044/6BF8F1D1-3386-47DE-BD95-D3BDB60B0602) +- 25:26 / 1:15:30 +- [PPt](https://ishare.infineon.com/sites/mit-fi/FI%20Colloquium%20Presentations/2024-02-28%20MHA%20goes%20DevOps%20on%20HICP.pptx) +- [Github](https://infineon.github.io/infineon-design-system-stencil/?path=/docs/setup-installation-about--development) +- [jsdelivr](https://www.jsdelivr.com/package/npm/@infineon/infineon-design-system-stencil?tab=files) +- [cdn](https://cdn.jsdelivr.net/npm/@infineon/infineon-design-system-stencil/) diff --git a/_-Review/infinityqs-license.md b/_-Review/infinityqs-license.md new file mode 100644 index 0000000..9858b2d --- /dev/null +++ b/_-Review/infinityqs-license.md @@ -0,0 +1,101 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.056Z" +updated: "2024-01-06T01:25:36.056Z" +--- + +# InfinityQS License + +* ctrl + shift + i to initialize the current licenses + +```conf +II DMS DS 1000 +DMSD32012001IRC0003UFLM +IRCXGVB +503164 + +II Dynamic Scheduler +DYSCH2012039IRC0007REWL +IRCHZBZ +662010 + +II RAMS 2500 +RAMS12012001IRC0002CQUM +IRCZWQR + +REMSV2012001IRC0002PDEW +IRCPAQT +678508 + +RTI102006001IRC0003MJHD +IRCNBRG + +II SPC MI +SPCMI2012039IRC0007ZXQR +IRCHTVH +657425 +``` + +```conf +1 602 550-9220 +Infineon Technologies EPI Services - (Silicon) +550 West Juanite Ave. +Mesa AZ 85210 +``` + +```conf before 2023-12-11 +Application: Custom Software License Version 2012.5.0.2004 + +Application: IIDMSDS1000 Version 2012.0.0.0 +Registration: DMSD32012001IRC0003UFLM-9546 + +Application: IIDMSDS2500 Version 2012.0.0.0 +Registration: EV0602012005W101615LFVB-5957 + +Application: IIDMSDS5000 Version 2012.0.0.0 +Registration: EV0602012005W101615LFVB-5957 + +Application: IIDYNAMICSCHEDULER Version 2012.0.0.0 +Registration: DYSCH2012039IRC0007REWL-8531 + +Application: IIEISVC Version 2012.0.0.0 +Registration: EV0602012005W101615LFVB-5957 + +Application: Remote Alarm Monitor (Service) Version 2012.5.0.9 + +Application: Remote Alarm Monitor (2500 Stream) (Service) Version 2012.5.0.9 +Registration: RAMS12012001IRC0002CQUM-3234 + +Application: Remote Event Monitor (Service) Version 2012.5.0.2 +Registration: REMSV2012001IRC0002PDEW-1281 + +Application: SPC Manufacturing Intelligence Version 2012.5.0.2059 +Registration: SPCMI2012039IRC0007ZXQR-9187 +``` + +```conf after 2023-12-11 +Application: Custom Software License Version 2012.5.0.2004 + +Application: IIDMSDS1000 Version 2012.0.0.0 +Registration: DMSD32012001IRC0003UFLM-9546 + +Application: IIDMSDS2500 Version 2012.0.0.0 + +Application: IIDMSDS5000 Version 2012.0.0.0 + +Application: IIDYNAMICSCHEDULER Version 2012.0.0.0 +Registration: DYSCH2012039IRC0007REWL-8531 + +Application: IIEISVC Version 2012.0.0.0 + +Application: Remote Alarm Monitor (Service) Version 2012.5.0.9 + +Application: Remote Alarm Monitor (2500 Stream) (Service) Version 2012.5.0.9 +Registration: RAMS12012001IRC0002CQUM-3234 + +Application: Remote Event Monitor (Service) Version 2012.5.0.2 +Registration: REMSV2012001IRC0002PDEW-1281 + +Application: SPC Manufacturing Intelligence Version 2012.5.0.2059 +Registration: SPCMI2012039IRC0007ZXQR-9187 +``` diff --git a/_-Review/infinityqs.md b/_-Review/infinityqs.md new file mode 100644 index 0000000..c1af9b1 --- /dev/null +++ b/_-Review/infinityqs.md @@ -0,0 +1,36 @@ +--- +type: "topic" +created: "2024-01-14T02:18:22.109Z" +updated: "2024-04-02T15:55:01.970Z" +--- + +# InfinityQS + +- [Update IQS](../.kanbn/tasks/update-iqs.md) + +[MET08RESISRP2100](../EAF/Runtime/srp.md) + +```bash +"C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe" +runas /profile /user:phares@infineon "C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe" +C:\Windows\PsExec.exe -user "infineon\ecfisysadmin" -p "asdf" "C:\Program Files (x86)\InfinityQS International\ProFicient\Applications\iispcmi.exe" +``` + +```PowerShell +$username = "infineon\ecfisysadmin" +$password = "asdf" +$startWithElevatedRights = "notepad" + +$credentials = New-Object System.Management.Automation.PSCredential -ArgumentList @($username,(ConvertTo-SecureString -String $password -AsPlainText -Force)) +$ps = Start-Process -PassThru -FilePath powershell -Credential $credentials -ArgumentList '-noprofile -command &{Start-Process ', $startWithElevatedRights, ' -Wait -verb runas}' + +$ps.WaitForExit() + +# https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process?view=powershell-7.4 +Start-Process -FilePath "iispcmi.exe" -WorkingDirectory "C:\Program Files (x86)\InfinityQS International\ProFicient\Applications" +``` + +```Tue Apr 02 2024 08:54:55 GMT-0700 (Mountain Standard Time) +HgCV Res Average +Ian Palmer +``` diff --git a/_-Review/iscn5cg1325c0x.md b/_-Review/iscn5cg1325c0x.md new file mode 100644 index 0000000..d3e1692 --- /dev/null +++ b/_-Review/iscn5cg1325c0x.md @@ -0,0 +1,50 @@ +--- +type: "basic-note" +created: "2024-01-06T01:25:36.101Z" +updated: "2024-01-06T01:25:36.101Z" +--- + +# ISCN5CG1325C0X + +[Syncthing](syncthing.md) + +phares   +...nht...   +http://127.0.0.1:52419/  + +C:\Users\phares\AppData\Local\IFXApps\SyncTrayzorPo rtable-x64\syncthing.log + +```bash ISCN5CG1325C0X +L: +mkdir "L:\Git\Notes-EC-Documentation" +cd "L:\Git\Notes-EC-Documentation" +git init +mklink /J "EC-Documentation" "D:\Documents\Notes\EC-Documentation" +D: +cd "D:\Documents\Notes\EC-Documentation" +mklink /J ".git" "L:\Git\Notes-EC-Documentation\.git" +L: +mkdir "L:\Git\Notes-Infineon" +cd "L:\Git\Notes-Infineon" +git init +mklink /J "Infineon" "D:\Documents\Notes\Infineon" +D: +cd "D:\Documents\Notes\Infineon" +mklink /J ".git" "L:\Git\Notes-Infineon\.git" +L: +mkdir "L:\Git\Notes-Phares" +cd "L:\Git\Notes-Phares" +git init +mklink /J "Phares" "D:\Documents\Notes\Phares" +D: +cd "D:\Documents\Notes\Phares" +mklink /J ".git" "L:\Git\Notes-Phares\.git" +L: +mkdir "L:\Git\Notes-Cyberpunk-Red" +cd "L:\Git\Notes-Cyberpunk-Red" +git init +mklink /J "Cyberpunk-Red" "D:\Documents\Notes\Cyberpunk-Red" +D: +cd "D:\Documents\Notes\Cyberpunk-Red" +mklink /J ".git" "L:\Git\Notes-Cyberpunk-Red\.git" +``` diff --git a/_-Review/iscn5cg3256cps.md b/_-Review/iscn5cg3256cps.md new file mode 100644 index 0000000..4271e48 --- /dev/null +++ b/_-Review/iscn5cg3256cps.md @@ -0,0 +1,145 @@ +--- +type: "note" +created: "2024-01-14T02:28:59.264Z" +updated: "2024-04-22T19:10:51.301Z" +--- + +# ISCN5CG3256CPS + +```PowerShell Administrator +Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*' +# Install the OpenSSH Client +Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 +# Install the OpenSSH Server +Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 +``` + +```PowerShell Administrator +New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH SSH Server' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 -Program "C:\Windows\System32\OpenSSH\sshd.exe" +``` + +```PowerShell +ssh-keygen -t ed25519 +``` + +```bash +puttygen "C:\Users\phares\.ssh\id_ed25519" +``` + +```PowerShell Administrator +copy $env:USERPROFILE\.ssh\id_ed25519.pub C:\ProgramData\ssh\authorized_keys +copy $env:USERPROFILE\.ssh\id_ed25519.pub C:\ProgramData\ssh\administrators_authorized_keys +icacls.exe "C:\ProgramData\ssh\authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F" +icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F" +code-insiders "C:\ProgramData\ssh" +``` + +```PowerShell +Save-Module -Name PSWindowsUpdate -Path "D:\Downloads\2024" -Repository PSGallery +mkdir "C:\Test\Modules\PowerShellGet\" +Save-Module -Name PowerShellGet -Path "C:\Test\Modules" -Repository PSGallery -MaximumVersion 2.1.0 +Get-ChildItem -Path C:\Test\Modules\PowerShellGet\ +Save-Module -Name PSWindowsUpdate -Path "C:\Test\Modules" -Repository PSGallery +Install-WindowsUpdate –AcceptAll +Install-WindowsUpdate –AcceptAll –IgnoreReboot +``` + +```bash Sat Jan 13 2024 19:37:23 GMT-0700 (Mountain Standard Time) +mkdir "C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps" +powershell -command "Expand-Archive C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nssm-2.24.zip C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps" +L: +mkdir "L:\DevOps" +mkdir "L:\DevOps\Mesa_FI" +git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf "L:\DevOps\Mesa_FI\NGINX-Conf" +cd "L:\DevOps\Mesa_FI\NGINX-Conf" +git checkout -q -b ISCN5CG3256CPS --no-track +git reset --soft "59d2ef6e445c5535736729915dd38d686ecc5a97" +git reset -q HEAD -- . +powershell -command "Expand-Archive C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nginx-1.20.1.zip L:\DevOps\Mesa_FI\NGINX-Conf" +rmdir /s /q "L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\conf" +mklink /J "L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf" +move "L:\DevOps\Mesa_FI\NGINX-Conf\conf\localhost.conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf\iscn5cg3256cps.conf" +code "L:\DevOps\Mesa_FI\NGINX-Conf" +``` + +```bash Administrator +L: +cd "L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1" +nginx -t +"C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nssm-2.24\win64\nssm.exe" install nginx +``` + +```yml NSSM-Application +Path: L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\nginx.exe +Startup Directory: L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1 +``` + +```yml NSSM-Details +Startup type: Automatic (Delay Start) +``` + +```yml NSSM-I/O +Input (stdin): start nginx +Output (stdout): L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\logs\service.out.log +Error (stderr): L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\logs\service.error.log +``` + +```bash Administrator +sc start nginx +sc query nginx +sc stop nginx +sc start nginx +``` + +```bash openssl crt +"C:\Users\phares\AppData\Local\Programs\Git\usr\bin\openssl" req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.key" -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.crt" -config "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.conf" +``` + +```bash +git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/VS-Code-Settings-Phares "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares" +mkdir "C:\Users\Phares\.omnisharp" +rmdir /S /Q "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\User" +rmdir /S /Q "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\.omnisharp" +xcopy /s /e /h "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares" "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares\" | REM " +xcopy /s /e /h "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares" "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares\" | REM " +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\.omnisharp" "C:\Users\Phares\.omnisharp" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares\.omnisharp" "C:\Users\Phares\.omnisharp" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares\.omnisharp" "C:\Users\Phares\.omnisharp" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\User" "C:\Users\Phares\AppData\Roaming\Code\User" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares\user" "C:\Users\Phares\AppData\Roaming\VSCodium\User" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares\user" "C:\Users\Phares\AppData\Roaming\Code - Insiders\User" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\app-codium" "C:\Users\phares\AppData\Local\Programs\VSCodium\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares\app-codium" "C:\Users\phares\AppData\Local\Programs\VSCodium\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\app-code" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares\app-codium" "C:\Users\phares\AppData\Local\Programs\VSCodium\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares\app-code" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares\app-code" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app" +mklink /J "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app" +cd "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares" +git reset --hard +cd "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares" +git reset --hard +cd "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares" +git reset --hard +cd .. +dir "C:/Program Files/dotnet/sdk" +code "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares" +codium "L:\DevOps\Mesa_FI\VS-Code-Settings-OSS-Phares" +code-insiders "L:\DevOps\Mesa_FI\VS-Code-Settings-Insiders-Phares" +REM +``` + +## Tasks + +- [x] Verdaccio +- [x] TFS PAT +- [x] Cloned File-Folder-Helper +- [x] Clipboard Helper +- [x] Install the remaining VSCode extensions +- [x] SECS/GEM DiDact +- [ ] BaGet +- [ ] Move Files from old laptop +- [ ] TFS Agent +- [ ] [build-tools](build-tools.md) diff --git a/_-Review/iscpacman-infinityqs-mesa.md b/_-Review/iscpacman-infinityqs-mesa.md new file mode 100644 index 0000000..1773413 --- /dev/null +++ b/_-Review/iscpacman-infinityqs-mesa.md @@ -0,0 +1,74 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.129Z" +updated: "2024-01-06T01:25:36.129Z" +--- + +# ISCPacMan InfinityQS Mesa + +[InfinityQS](infinityqs.md) + +ISCCVM93D61A093 +ISCEC290DV2 +ISCEC2C2DV2 +ISCFC274DV2 +ISCFC2B0DV2 +ISCFMXL7151J59 +ISCFMXL7151J5R +ISCFMXL7151J5S +ISCFMXL7151J5W +ISCFMXL7151J5Z +ISCFMXL7151J64 +ISCN5CG025CF9K +ISCN5CG025CFBQ +ISCN5CG025CFBT +ISCN5CG025CJ16 +ISCN5CG025CKPM +ISCN5CG025DKWC +ISCN5CG025DL7V +ISCN5CG025DL95 +ISCN5CG03970YJ +ISCN5CG1200DB6 +ISCN5CG1211YWS +ISCN5CG1325C0X +ISCN5CG1381MDG +ISCN5CG1381QPR +ISCN5CG213916W +ISCN5CG2139170 +ISCN5CG21391G0 +ISCN5CG7245TZL +ISCN5CG7245V2X +ISCN5CG72845CK +ISCN5CG7352PDY +ISCN5CG7352PHL +ISCN5CG7352PNV +ISCN5CG81957GV +ISCN5CG81957W1 +ISCN5CG8273YLJ +ISCN5CG8293S07 +ISCN5CG8293S1B +ISCN5CG8293S20 +ISCN5CG8293S2C +ISCN5CG8293S3J +ISCN5CG8293S3Z +ISCN5CG8293S4M +ISCN5CG8293S5F +ISCN5CG8293S74 +ISCN5CG82941QB +ISCN5CG82941SW +ISCN5CG8294200 +ISCN5CG829420Y +ISCN5CG829424J +ISCN5CG829424Y +ISCN5CG8294252 +ISCNPC15EBXZ +ISCNR90S83JM +ISCNR90T6AJB +ISCWC1S0DV2 +ISCWC2B6DV2 +ISCWMXL7151J5G +ISCWMXL7151J62 +ISCWMXL7151J63 +ISCWMXL81317N0 +ISCWMXL81317N5 +ISCWMXL9333WZ2 diff --git a/_-Review/iscxv.md b/_-Review/iscxv.md new file mode 100644 index 0000000..696ab58 --- /dev/null +++ b/_-Review/iscxv.md @@ -0,0 +1,104 @@ +--- +type: "topic" +foam_template: + filepath: "_-Review/iscxv.md" +created: "2024-01-06T01:25:36.053Z" +updated: "2024-01-06T01:25:36.053Z" +--- + +# ISCxV + +```bash +C:\WINDOWS\TEMP\InfinityQSTEM\ "C:\Program Files (x86)\InstallShield Installation Information\{19E90D94-D3A6-41E7-B4FA-D157B74051B7}\setup.exe" -runfromtemp -l0x0409 -removeonly + + +HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{19E90D94-D3A6-41E7-B4FA-D157B74051B7} + +MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +cmtrace + +C:\Windows\ccmcache\16\Wrapper\0 + +C:\ProgramData\ISCvX\Logs\SoftwareDistributionLogs\WrapperInstallations + +C:\Program Files\Infineon Technologies\Infineon Office Settings>PsExec.exe -i -s cmd.exe + +Microsoft Windows [Version 10.0.19045.3570] +(c) Microsoft Corporation. All rights reserved. + +C:\WINDOWS\system32>whoami +nt authority\system + +C:\WINDOWS\system32>cd "C:\Windows\ccmcache\16\MassData\0\Machine" + +C:\Windows\ccmcache\16\MassData\0\Machine>cd.. + +C:\Windows\ccmcache\16\MassData\0>cd.. + +C:\Windows\ccmcache\16\MassData>cd.. + +C:\Windows\ccmcache\16>cd Wrapper + +C:\Windows\ccmcache\16\Wrapper>cd 0 + +C:\Windows\ccmcache\16\Wrapper\0>Wrapper.exe -uninstall -machine + +C:\Windows\ccmcache\16\Wrapper\0>Wrapper.exe -uninstall -machine + +C:\Windows\ccmcache\16\Wrapper\0>wizapp.cpl +'wizapp.cpl' is not recognized as an internal or external command, +operable program or batch file. + +C:\Windows\ccmcache\16\Wrapper\0>exit + + +Microsoft Windows [Version 10.0.19045.3570] +(c) Microsoft Corporation. All rights reserved. + +C:\WINDOWS\system32>C:\WINDOWS\TEMP\InfinityQSTEM\ "C:\Program Files (x86)\InstallShield Installation Information\{19E90D94-D3A6-41E7-B4FA-D157B74051B7}\setup.exe" -runfromtemp -l0x0409 -removeonly +'C:\WINDOWS\TEMP\InfinityQSTEM\' is not recognized as an internal or external command, +operable program or batch file. + +C:\WINDOWS\system32>MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +C:\WINDOWS\system32>MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +C:\WINDOWS\system32>MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +C:\WINDOWS\system32>MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +C:\WINDOWS\system32>MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +C:\WINDOWS\system32>MsiExec.exe /I{1C38ED67-8760-4E6F-9E6F-38C2A1B1EAB4} + +C:\WINDOWS\system32>cmtrace + +C:\WINDOWS\system32>cmtrace + +C:\WINDOWS\system32>cd\ + +C:\>dir psexec.exe /s + Volume in drive C is Windows + Volume Serial Number is CA02-6A5A + + Directory of C:\Program Files\Infineon Technologies\Infineon Office Settings + +09/13/2022 01:26 AM 339,096 PsExec.exe + 1 File(s) 339,096 bytes + +C:\>cd "C:\Program Files\Infineon Technologies\Infineon Office Settings" + +C:\Program Files\Infineon Technologies\Infineon Office Settings>explorer + +C:\Program Files\Infineon Technologies\Infineon Office Settings>explorer . + +C:\Program Files\Infineon Technologies\Infineon Office Settings>PsExec.exe -i -s cmd.exe + +PsExec v2.2 - Execute processes remotely +Copyright (C) 2001-2016 Mark Russinovich +Sysinternals - www.sysinternals.com + + + +``` diff --git a/_-Review/ishare.md b/_-Review/ishare.md new file mode 100644 index 0000000..f887f3c --- /dev/null +++ b/_-Review/ishare.md @@ -0,0 +1,25 @@ +--- +type: "topic" +created: "2024-01-14T02:18:17.353Z" +updated: "2024-02-02T22:16:54.813Z" +--- + +# iShare + +- [iShare Minutes of Meeting](../.kanbn/archive/i-share-minutes-of-meeting.md) +- [Training](../Training/training.md) + +## Libraries + +- [Mesa FI - Libraries](\\ishare.na.infineon.com@SSL\DavWWWRoot\sites\MesaFI\Libraries) +- [Mesa FI - Libraries](file://ishare.na.infineon.com@SSL/DavWWWRoot/sites/MesaFI/Libraries) +- [Mesa FI - Libraries](https://ishare.na.infineon.com/sites/MesaFI/Libraries) + +# Libraries - FI Mesa Change Mgmt - FI Council - Local Enhancements + +- [Mesa FI - Backlog]("\\ishare.na.infineon.com@SSL\DavWWWRoot\sites\MesaFI\Libraries\FI Mesa Change Mgmt\FI Council - Local Enhancements") +- [Mesa FI - Backlog](file://ishare.na.infineon.com@SSL/DavWWWRoot/sites/MesaFI/Libraries/FI%20Mesa%20Change%20Mgmt/FI%20Council%20-%20Local%20Enhancements) + +# Stealth + +- [Mesa FI - Libraries]("\\ishare.na.infineon.com@SSL\DavWWWRoot\sites\naec\Shared Documents\SDP\") diff --git a/_-Review/json-to-markdown-table.md b/_-Review/json-to-markdown-table.md new file mode 100644 index 0000000..91e3374 --- /dev/null +++ b/_-Review/json-to-markdown-table.md @@ -0,0 +1,10 @@ +--- +type: "note" +created: "2024-04-05T19:45:14.130Z" +updated: "2024-04-05T19:45:14.130Z" +--- + +# json-to-markdown-table + +- [json-to-markdown-table](https://github.com/kdelmonte/json-to-markdown-table) +- [Demo](https://kdelmonte.github.io/json-to-markdown-table/) diff --git a/_-Review/kanbn.md b/_-Review/kanbn.md new file mode 100644 index 0000000..cc708f3 --- /dev/null +++ b/_-Review/kanbn.md @@ -0,0 +1,61 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.051Z" +updated: "2024-01-06T01:25:36.051Z" +--- + +# Kanban + +- Task level only +- All exist in K-T until archive +- Once archived move to appropriate directory to prevent naming conflicts +- Use Kanbn cli or VSCode extension to create +- Files are created in .kanbn/tasks which is a mklink +- Let Kanbn format file including Sub-tasks, Comments and Relations +- Leave description empty, instead use Comments to help with scrolling +- Problem Sub-tasks get re-formatted by removing more than one tab + +- Tag task are on Topic (non-tasks and non-archive) \*.md files only +- In Topic \*.md files link to ... and leave the file name as lower without spaces +- In Topic add hash-tag then task link and last sub item link back to self +- + +```bash +npm install -g @basementuniverse/kanbn +kanbn add --help +kanbn add -n "Example Task" -c "WIP" +``` + +```bash +chown syncthing /home/syncthing/UserSecrets -R +chgrp syncthing /home/syncthing/UserSecrets -R +mklink /J .UserSecrets C:/Users/mikep/AppData/Roaming/Microsoft/UserSecrets +mklink /J .Applications L:/Git/FI-Operations/Applications +mklink /J .DevOps L:/Git/FI-Operations/DevOps +mklink /J .Fab L:/Git/FI-Operations/Fab +``` + +```bash +# git clone https://github.com/tjdavis3/kanbn2md.git +gofmt -w main.go +go build +kanbn board -j > .kanbn/board.json +kanbn board -j | L:\Git\kanbn2md\kanbn2md.exe >.kanbn/board.md +``` + +```bash +# https://github.com/foambubble/foam-template/tree/master +``` + +```bash +D: +xcopy "D:\5-Other-Small\Kanban\-Blank" "D:\5-Other-Small\Kanban\asdf" /s /e /h +L: +mkdir "L:\Git\Notes-asdf" +cd "L:\Git\Notes-asdf" +git init +mklink /J "L:\Git\Notes-asdf\.kanbn" "D:\5-Other-Small\Kanban\asdf" +code-insiders . +``` + +- [Alt Kanban](https://wekan.icp.infineon.com/) diff --git a/_-Review/kea.md b/_-Review/kea.md new file mode 100644 index 0000000..ab19f4e --- /dev/null +++ b/_-Review/kea.md @@ -0,0 +1,61 @@ +--- +type: "note" +created: "2024-04-09T00:24:33.543Z" +updated: "2024-04-09T00:24:37.118Z" +--- + +# kea + +```bash +# https://www.techtutorials.tv/sections/linux/how-to-install-and-configure-kea-dhcp-server/ +echo > /etc/kea/kea-dhcp4.conf && nano /etc/kea/kea-dhcp4.conf +``` + +```json +{ + "Dhcp4": { + "interfaces-config": { + "interfaces": [ + "eth0" + ] + }, + "lease-database": { + "type": "memfile", + "persist": true, + "name": "/var/lib/kea/kea-leases4.csv", + "lfc-interval": 3600 + }, + "renew-timer": 15840, + "rebind-timer": 27720, + "valid-lifetime": 31680, + "option-data": [ + { + "name": "domain-name-servers", + "data": "8.8.8.8, 1.1.1.1" + }, + { + "name": "domain-search", + "data": "192.168.42.1" + } + ], + "subnet4": [ + { + "subnet": "192.168.42.0/25", + "pools": [ + { + "pool": "192.168.42.19 - 192.168.42.82" + } + ], + "option-data": [ + { + "name": "routers", + "data": "192.168.42.1" + } + ] + // Add reservations here + } + // Add subnets here + ] + } +} +``` \ No newline at end of file diff --git a/_-Review/kestra.md b/_-Review/kestra.md new file mode 100644 index 0000000..f1ec5f1 --- /dev/null +++ b/_-Review/kestra.md @@ -0,0 +1,199 @@ +--- +type: "topic" +created: "2024-01-14T02:18:21.204Z" +updated: "2024-03-30T16:21:35.068Z" +--- + +# Kestra + +```shell +# https://kestra.io/docs/tutorial/inputs +# https://www.youtube.com/watch?v=Nm1tfmZDqo8 +wsl --unregister ubuntu +``` + +```bash +sudo -i +apt-get update +# apt install default-jre +apt install openjdk-19-jre-headless +``` + +```bash +java --version +cd /home/phares +curl -LO https://github.com/kestra-io/kestra/releases/download/v0.15.10/kestra-0.15.10 +chmod +x /home/phares/kestra-0.15.10 +./kestra-0.15.10 +``` + +```plugins +io.kestra.plugin:plugin-airbyte:LATEST +io.kestra.plugin:plugin-amqp:LATEST +io.kestra.plugin:plugin-ansible:LATEST +io.kestra.plugin:plugin-aws:LATEST +io.kestra.plugin:plugin-azure:LATEST +io.kestra.plugin:plugin-cassandra:LATEST +io.kestra.plugin:plugin-cloudquery:LATEST +io.kestra.plugin:plugin-compress:LATEST +io.kestra.plugin:plugin-couchbase:LATEST +io.kestra.plugin:plugin-crypto:LATEST +io.kestra.plugin:plugin-databricks:LATEST +io.kestra.plugin:plugin-dataform:LATEST +io.kestra.plugin:plugin-dbt:LATEST +io.kestra.plugin:plugin-debezium-mysql:LATEST +io.kestra.plugin:plugin-debezium-postgres:LATEST +io.kestra.plugin:plugin-debezium-sqlserver:LATEST +io.kestra.plugin:plugin-docker:LATEST +io.kestra.plugin:plugin-elasticsearch:LATEST +io.kestra.plugin:plugin-fivetran:LATEST +io.kestra.plugin:plugin-fs:LATEST +io.kestra.plugin:plugin-gcp:LATEST +io.kestra.plugin:plugin-git:LATEST +io.kestra.plugin:plugin-googleworkspace:LATEST +io.kestra.plugin:plugin-hightouch:LATEST +io.kestra.plugin:plugin-jdbc-clickhouse:LATEST +io.kestra.plugin:plugin-jdbc-duckdb:LATEST +io.kestra.plugin:plugin-jdbc-mysql:LATEST +io.kestra.plugin:plugin-jdbc-oracle:LATEST +io.kestra.plugin:plugin-jdbc-pinot:LATEST +io.kestra.plugin:plugin-jdbc-postgres:LATEST +io.kestra.plugin:plugin-jdbc-redshift:LATEST +io.kestra.plugin:plugin-jdbc-rockset:LATEST +io.kestra.plugin:plugin-jdbc-snowflake:LATEST +io.kestra.plugin:plugin-jdbc-sqlserver:LATEST +io.kestra.plugin:plugin-jdbc-trino:LATEST +io.kestra.plugin:plugin-jdbc-vectorwise:LATEST +io.kestra.plugin:plugin-jdbc-vertica:LATEST +io.kestra.plugin:plugin-jdbc-dremio:LATEST +io.kestra.plugin:plugin-jdbc-arrow-flight:LATEST +io.kestra.plugin:plugin-jdbc-sqlite:LATEST +io.kestra.plugin:plugin-kafka:LATEST +io.kestra.plugin:plugin-kubernetes:LATEST +io.kestra.plugin:plugin-malloy:LATEST +io.kestra.plugin:plugin-modal:LATEST +io.kestra.plugin:plugin-mongodb:LATEST +io.kestra.plugin:plugin-mqtt:LATEST +io.kestra.plugin:plugin-nats:LATEST +io.kestra.plugin:plugin-neo4j:LATEST +io.kestra.plugin:plugin-notifications:LATEST +io.kestra.plugin:plugin-openai:LATEST +io.kestra.plugin:plugin-powerbi:LATEST +io.kestra.plugin:plugin-pulsar:LATEST +io.kestra.plugin:plugin-redis:LATEST +io.kestra.plugin:plugin-script-groovy:LATEST +io.kestra.plugin:plugin-script-julia:LATEST +io.kestra.plugin:plugin-script-jython:LATEST +io.kestra.plugin:plugin-script-nashorn:LATEST +io.kestra.plugin:plugin-script-node:LATEST +io.kestra.plugin:plugin-script-powershell:LATEST +io.kestra.plugin:plugin-script-python:LATEST +io.kestra.plugin:plugin-script-r:LATEST +io.kestra.plugin:plugin-script-shell:LATEST +io.kestra.plugin:plugin-serdes:LATEST +io.kestra.plugin:plugin-servicenow:LATEST +io.kestra.plugin:plugin-singer:LATEST +io.kestra.plugin:plugin-soda:LATEST +io.kestra.plugin:plugin-spark:LATEST +io.kestra.plugin:plugin-sqlmesh:LATEST +io.kestra.plugin:plugin-surrealdb:LATEST +io.kestra.plugin:plugin-terraform:LATEST +io.kestra.plugin:plugin-tika:LATEST +io.kestra.plugin:plugin-weaviate:LATEST +io.kestra.storage:storage-azure:LATEST +io.kestra.storage:storage-gcs:LATEST +io.kestra.storage:storage-minio:LATEST +io.kestra.storage:storage-s3:LATEST +``` + +```bash +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-git:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-script-shell:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-script-node:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-notifications:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-jdbc-sqlite:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-fs:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-script-python:LATEST +./kestra-0.15.10 plugins install io.kestra.plugin:plugin-jdbc-duckdb:LATEST +... +``` + +```bash +./kestra-0.15.10 server local +# http://localhost:44919/health +# http://localhost:8080/ +``` + +```shell +wsl --export Ubuntu "L:\Ubuntu\Ubuntu-Kestra-001.tar" +wsl --unregister Ubuntu +wsl --import Ubuntu-Kestra Ubuntu-Kestra "L:\Ubuntu\Ubuntu-Kestra-001.tar" +``` + +```yml +name: Ubuntu-Kestra +Command Line: wsl -d Ubuntu Ubuntu-Kestra +``` + +```bash +apt install ssh-import-id +ssh-import-id gh:mikepharesjr +su phares +ssh-import-id gh:mikepharesjr +``` + +```bash +chown -R phares:phares /home/phares/ +apt install python3-pip +pip list +pip install requests kestra +``` + +```bash +# https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install +cd /home/phares +wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh +chmod +x ./dotnet-install.sh +./dotnet-install.sh --channel 7.0 +export DOTNET_ROOT=$HOME/.dotnet +export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools +ln -s /home/phares/.dotnet/dotnet /usr/local/bin/dotnet +dotnet --info +``` + +```bash +apt update +apt-get upgrade -y +apt install -y software-properties-common +add-apt-repository ppa:deadsnakes/ppa +[enter] +apt-get install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev +python3 --version +apt-get remove -y python3 +apt autoremove -y +python3 --version +apt install -y python3.12 -y +python3 --version +ls /usr/bin/python3* +update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 2 +update-alternatives --config python3 +[enter] +python3 --version +exit +python3 --version +sudo apt-get install -y build-essential +sudo apt-get install -y git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev zlib1g-dev libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl libffi-dev +apt install pip +``` + +```bash +cd /home/phares/kestra/ +./kestra-0.15.10 server local +# http://localhost:44919/health +# http://localhost:8080/ +``` + +```shell +wsl --export Ubuntu-Kestra Ubuntu-Kestra-002.tar +wsl --unregister Ubuntu-Kestra +``` diff --git a/_-Review/kpscript.md b/_-Review/kpscript.md new file mode 100644 index 0000000..f050dfd --- /dev/null +++ b/_-Review/kpscript.md @@ -0,0 +1,89 @@ +--- +type: "topic" +created: "2024-01-14T02:18:08.257Z" +updated: "2024-01-19T03:11:28.638Z" +--- + +# KPScript + +## Generate PASSWORD_ENC + +```yaml KeePass GUI +# https://keepass.info/download.html +# https://keepass.info/help/base/placeholders.html#passwordenc +# https://keepass.info/help/v2_dev/scr_sc_index.html#listgroups +# https://videoportal.infineon.com/videos/play/f3d1a032-8372-487d-9b16-a6a68eb17044/d535b720-360e-4ef2-a77f-958c3b878644 +# -> 14:25 / 52:58 +General --- Title: $machineName +General --- User name: $userName +General --- Password: PASSWORD_ENC +Auto-Type --- Override default sequence: {PASSWORD_ENC} +``` + +- [ ] Open notepad on side of KeePass GUI +- [ ] Preform Auto-Type Ctrl + v +- [ ] Change General --- Password to line in notepad + +## Examples + +```bash +KPScript -c:ListGroups "C:\KeePass\MyDb.kdbx" -pw:MyPassword +KPScript -c:ListEntries "C:\KeePass\MyDb.kdbx" -pw:MyPassword -keyfile:"C:\KeePass\MyDb.key" +``` + +## Use PASSWORD_ENC in DevOps + +```PowerShell +$data = @('$(Agent.TempDirectory)/Infineon-Na.kdbx', '-c:GetEntryString', '-Field:Password', '-refx-UUID:D3BB0F499E1E7844B86DFCEBD0670B81', '-pw-enc:AQAA') +$data.count +$processStartInfo = New-Object System.Diagnostics.ProcessStartInfo +$processStartInfo.FileName = "C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" +$processStartInfo.RedirectStandardError = $true +$processStartInfo.RedirectStandardOutput = $true +$processStartInfo.UseShellExecute = $false +$processStartInfo.Arguments = $data +$process = New-Object System.Diagnostics.Process +$process.StartInfo = $processStartInfo +$process.Start() | Out-Null +$process.WaitForExit() +$stdout = $process.StandardOutput.ReadToEnd() +$stderr = $process.StandardError.ReadToEnd() +Write-Host "stderr: $stderr" +Write-Host "exit code: " + $process.ExitCode +Write-Host "##vso[task.setvariable variable=pipelinePassword;]$stdout" +``` + +## More Examples + +```bash +# https://docs.microsoft.com/en-us/azure/devops/pipelines/library/secure-files?view=azure-devops +KPScript -c:GenPw -profile:"Infineon" -count:5 +KPScript -c:ListGroups "D:\Tmp\Phares\Infineon-Mesa.kdbx" -pw:asdf +KPScript -c:ListGroups "D:\Tmp\Phares\Infineon-Mesa.kdbx" -useraccount +KPScript -c:ListGroups "D:\Tmp\Phares\Infineon-Mesa.kdbx" -pw-enc:"AQAAANCMnd8BFdERjHoAb" +``` + +```bash +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:ListGroups "L:\DevOps\Mesa_FI\KeePass\Infineon-Na.kdbx" -pw-enc:"AQAA" +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:GetEntryString -Field:UserName -refx-UUID:A0563988F3794E4DA2336BE27BF2D966 "L:\DevOps\Mesa_FI\KeePass\Infineon-Na.kdbx" -pw-enc:"AQAA" +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" "L:\DevOps\Mesa_FI\KeePass\Infineon-Na.kdbx" -c:GetEntryString -Field:Password -refx-UUID:A0563988F3794E4DA2336BE27BF2D966 -pw-enc:"AQAA" +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" "L:\DevOps\Mesa_FI\KeePass\Infineon-Na.kdbx" -c:GetEntryString -auto-type:PASSWORD_ENC -refx-UUID:A0563988F3794E4DA2336BE27BF2D966 -pw-enc:"AQAA" +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" "L:\DevOps\Mesa_FI\KeePass\Infineon-Na.kdbx" -c:GetEntryString -Field:Password -refx-UUID:A0563988F3794E4DA2336BE27BF2D966 -pw-enc:"AQAA" +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:ListEntries "L:\DevOps\Mesa_FI\KeePass\Infineon-Na.kdbx" -pw-enc:"AQAA" +``` + +```bash Mon Jan 08 2024 14:46:20 GMT-0700 (Mountain Standard Time) +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:EstimateQuality -text:MyTopSecretPassword +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "D:\Documents\Personal\KeePass\Mike-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Mike-Phares.kdbx.xml" -pw-enc:"AQAA" +``` + +```bash Thu Jan 18 2024 19:27:19 GMT-0700 (Mountain Standard Time) +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Chelsea-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Chelsea-Phares.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Infineon-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Infineon-Phares.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Julie-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Julie-Phares.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Kristy-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Kristy-Phares.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Logan-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Logan-Phares.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Mike-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Mike-Phares.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Norman-Herman.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Norman-Herman.kdbx.xml" -pw:asdf +"C:\Users\phares\AppData\Local\IFXApps\KeePass-2.51.1---KPScript-2.51.1\KPScript.exe" -c:Export "d:/5-Other-Small/KeePass/Shared-Phares.kdbx" -Format:"KeePass XML (2.x)" -OutFile:"D:\Tmp\Phares\KeePass\Shared-Phares.kdbx.xml" -pw:asdf +``` diff --git a/_-Review/librenms.md b/_-Review/librenms.md new file mode 100644 index 0000000..bf3fb65 --- /dev/null +++ b/_-Review/librenms.md @@ -0,0 +1,142 @@ +--- +type: "topic" +created: "2024-01-28T01:06:26.133Z" +updated: "2024-01-28T01:06:26.133Z" +--- + +# LibreNMS + +```bash +# https://learn.microsoft.com/en-us/windows/wsl/wsl-config +code-insiders .wslconfig +``` + +```conf +[wsl2] +networkingMode=mirrored +``` + +```bash +sudo -i +apt-get update +apt upgrade -y +ip a +lsb_release -a +apt-get install links unzip git nano ncdu -y +ncdu +timedatectl set-timezone America/Phoenix +timedatectl +nano /etc/hosts +exit +exit +``` + +```bash +wsl --export Ubuntu "L:\Ubuntu\Ubuntu-LibreNMS-001.tar" +wsl --unregister Ubuntu +wsl --import Ubuntu-LibreNMS Ubuntu-LibreNMS "L:\Ubuntu\Ubuntu-LibreNMS-001.tar" +# wsl --export Ubuntu-LibreNMS "L:\Ubuntu\Ubuntu-LibreNMS-002.tar" +# del "L:\Ubuntu\Ubuntu-LibreNMS-002.tar" +``` + +```yaml +Name: Ubuntu-LibreNMS +Command Line: wsl.exe -d Ubuntu-LibreNMS +Tab Title: Ubuntu-LibreNMS +``` + +```bash +sudo -i +apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip whois traceroute -y +exit +exit +``` + +```bash +wsl --export Ubuntu-LibreNMS "L:\Ubuntu\Ubuntu-LibreNMS-002.tar" +wsl --unregister Ubuntu-LibreNMS +wsl --import Ubuntu-LibreNMS Ubuntu-LibreNMS "L:\Ubuntu\Ubuntu-LibreNMS-002.tar" +``` + +```bash +# https://docs.librenms.org/Installation/Install-LibreNMS/#endpoints +useradd librenms -d /opt/librenms -M -r -s "$(which bash)" +# +cd /opt +git clone https://github.com/librenms/librenms.git +# +chown -R librenms:librenms /opt/librenms +chmod 771 /opt/librenms +setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/ +setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/ +# +su - librenms +./scripts/composer_wrapper.php install --no-dev +exit +``` + +```bash +wget https://getcomposer.org/composer-stable.phar +mv composer-stable.phar /usr/bin/composer +chmod +x /usr/bin/composer +code-insiders "\\wsl.localhost\Ubuntu-LibreNMS" +# +# America/Phoenix +# nano /etc/php/8.1/fpm/php.ini +# nano /etc/php/8.1/cli/php.ini +nano /etc/mysql/mariadb.conf.d/50-server.cnf +``` + +```conf +innodb_file_per_table=1 +lower_case_table_names=0 +``` + +```bash +systemctl enable mariadb +systemctl restart mariadb +mysql -u root +``` + +```sql +CREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; +CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'password'; +GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost'; +exit +``` + +```bash +cp /etc/php/8.1/fpm/pool.d/www.conf /etc/php/8.1/fpm/pool.d/librenms.conf +nano /etc/php/8.1/fpm/pool.d/librenms.conf +nano /etc/nginx/conf.d/librenms.conf +rm /etc/nginx/sites-enabled/default +systemctl restart nginx +systemctl restart php8.1-fpm +# http://localhost/install/checks +``` + +```bash +wsl --export Ubuntu-LibreNMS "L:\Ubuntu\Ubuntu-LibreNMS-003.tar" +wsl --unregister Ubuntu-LibreNMS +wsl --import Ubuntu-LibreNMS Ubuntu-LibreNMS "L:\Ubuntu\Ubuntu-LibreNMS-003.tar" +``` + +```bash +# http://localhost +ln -s /opt/librenms/lnms /usr/bin/lnms +cp /opt/librenms/misc/lnms-completion.bash /etc/bash_completion.d/ +cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf +nano /etc/snmp/snmpd.conf +curl -o /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro +chmod +x /usr/bin/distro +systemctl enable snmpd +systemctl restart snmpd +cp /opt/librenms/dist/librenms.cron /etc/cron.d/librenms +cp /opt/librenms/dist/librenms-scheduler.service /opt/librenms/dist/librenms-scheduler.timer /etc/systemd/system/ +systemctl enable librenms-scheduler.timer +systemctl start librenms-scheduler.timer +cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms +chown librenms:librenms /opt/librenms/config.php +exit +exit +``` diff --git a/_-Review/maas.md b/_-Review/maas.md new file mode 100644 index 0000000..bf54c23 --- /dev/null +++ b/_-Review/maas.md @@ -0,0 +1,75 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.043Z" +updated: "2024-01-06T01:25:36.043Z" +--- + +# MAAS + +```bash +# https://maas.io/docs/fresh-installation-of-maas +sudo -i +snap install --channel=3.4/edge maas +systemctl disable --now systemd-timesyncd +``` + +```bash +sudo -i +apt update -y +apt install -y postgresql +``` + +```postgresql +mikepharesjr = ___________ +1178 = ___________ +maas = ___________ +localhost = _________ +``` + +```bash +sudo -i -u postgres psql +drop database maas with (force); +sudo -i -u postgres psql -c "CREATE USER \"mikepharesjr\" WITH ENCRYPTED PASSWORD '1178'" +sudo -i -u postgres createdb -O "mikepharesjr" "maas" +cat /etc/postgresql/15/main/pg_hba.conf +nano /etc/postgresql/15/main/pg_hba.conf +``` + +```conf +host maas mikepharesjr 0/0 md5 +``` + +```bash +maas init region+rack --database-uri "postgres://mikepharesjr:1178@localhost/maas" +maas status +maas init --help +maas createadmin +ufw allow from 192.168.0.0/24 comment "04) 192.168.0.0/24" +maas config-tls enable /etc/nginx/localhost.key /etc/nginx/localhost.crt --port YYYY +``` + +```bash +http://phares3757.ddns.net:5240/MAAS +gh:mikepharesjr +``` + +```bash +snap stop maas +systemctl stop postgresql.service +~~systemctl stop maas-dhcpd.service~~ +~~systemctl stop maas-rackd.service~~ +~~systemctl stop maas-regiond.service~~ +``` + +```bash +snap stop maas +snap remove --purge maas +systemctl enable --now systemd-timesyncd +``` + +```bash +systemctl disable --now systemd-timesyncd +snap install --channel=3.4/edge maas +maas init region+rack --database-uri "postgres://mikepharesjr:1178@localhost/maas" +maas status +``` diff --git a/_-Review/mac-address.md b/_-Review/mac-address.md new file mode 100644 index 0000000..07a1326 --- /dev/null +++ b/_-Review/mac-address.md @@ -0,0 +1,32 @@ +--- +type: "note" +created: "2024-04-01T21:06:55.003Z" +updated: "2024-04-01T21:30:11.439Z" +--- + +# MAC Address + +- [choosing-your-own-mac-address](https://blog.yaakov.online/choosing-your-own-mac-address/) + +#### Locally Administered Addresses are defined by one particular bit out of the 6 bytes - specifically, the second-least-significant bit of the first octet. This means that you can choose any MAC addresses that you want, as long as it matches one of: + +- X2‑XX-XX-XX-XX-XX +- X6‑XX-XX-XX-XX-XX +- XA‑XX-XX-XX-XX-XX +- XE‑XX-XX-XX-XX-XX + +### Regex Simple + +- [0-9A-Fa-f]2:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2} +- [0-9A-Fa-f]6:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2} +- [0-9A-Fa-f]A:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2} +- [0-9A-Fa-f]E:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2}:[0-9A-Fa-f]{2} + +### Regex Complex + +- ([0-9A-Fa-f]{1}2[:-])([0-9A-Fa-f]{2}[:-]){4}([0-9A-Fa-f]{2}) +- ([0-9A-Fa-f]{1}6[:-])([0-9A-Fa-f]{2}[:-]){4}([0-9A-Fa-f]{2}) +- ([0-9A-Fa-f]{1}A[:-])([0-9A-Fa-f]{2}[:-]){4}([0-9A-Fa-f]{2}) +- ([0-9A-Fa-f]{1}E[:-])([0-9A-Fa-f]{2}[:-]){4}([0-9A-Fa-f]{2}) + +#### If you want to know why you can use 2, 6, A, and E, but not 3, 7, B, or F, that's because the latter ones are reserved for Multicast whereas the former are Unicast. diff --git a/_-Review/mesa-printer.md b/_-Review/mesa-printer.md new file mode 100644 index 0000000..9d6d5ef --- /dev/null +++ b/_-Review/mesa-printer.md @@ -0,0 +1,12 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.043Z" +updated: "2024-01-06T01:25:36.043Z" +--- + +# Mesa Printer + +```bash +\\messp1002.na.infineon.com\MESZBRPRT007 +\\messp1003.infineon.com\MESZBRPRT007 +``` diff --git a/_-Review/microsoft.md b/_-Review/microsoft.md new file mode 100644 index 0000000..95e069c --- /dev/null +++ b/_-Review/microsoft.md @@ -0,0 +1,13 @@ +--- +type: "note" +created: "2024-03-31T15:07:31.358Z" +updated: "2024-03-31T15:17:41.516Z" +--- + +# Microsoft + +- [Portal](https://portal.azure.com/#home) +- [AEX](https://aex.dev.azure.com/me?mkt=en-US) +- [MyAccount](https://myaccount.microsoft.com/) +- [Benefits](https://my.visualstudio.com/Benefits?mkt=en-us) +- [Microsoft365](https://www.microsoft365.com/?auth=2&home=1) diff --git a/_-Review/mklink.md b/_-Review/mklink.md new file mode 100644 index 0000000..2f526f3 --- /dev/null +++ b/_-Review/mklink.md @@ -0,0 +1,211 @@ +--- +type: "topic" +created: "2024-01-14T02:18:22.233Z" +updated: "2024-01-23T16:40:21.999Z" +--- + +# mklink + +```bash +# https://www.elevenforum.com/t/find-all-symbolic-links-and-junction-points-in-windows.4225/ +DIR /AL /S "D:\5-Other-Small\Kanban" +DIR /AL /S "L:\Git" > "%localAppData%\IFXApps\mklinks-L-Git.txt" +DIR /AL /S "L:\DevOps" > "%localAppData%\IFXApps\mklinks-L-DevOps.txt" +DIR /AL /S "D:\Documents" > "%localAppData%\IFXApps\mklinks-D-Documents.txt" +``` + +```bash Mon Jan 15 2024 15:49:34 GMT-0700 (Mountain Standard Time) +dir /AL /S C:\ +mklink /J "C:\Documents and Settings" "C:\Users" +mklink /J "C:\Program Files (x86)\Common Files\Oracle\Java\javapath" "C:\Program Files (x86)\Common Files\Oracle\Java\javapath_target_12149562" +mklink /J "C:\ProgramData\Application Data" "C:\ProgramData" +mklink /J "C:\ProgramData\Desktop" "C:\Users\Public\Desktop" +mklink /J "C:\ProgramData\Documents" "C:\Users\Public\Documents" +mklink /J "C:\ProgramData\Start Menu" "C:\ProgramData\Microsoft\Windows\Start Menu" +mklink /J "C:\ProgramData\Templates" "C:\ProgramData\Microsoft\Windows\Templates" +mklink /J "C:\Users\All Users\Application Data" "C:\ProgramData" +mklink /J "C:\Users\All Users\Desktop" "C:\Users\Public\Desktop" +mklink /J "C:\Users\All Users\Documents" "C:\Users\Public\Documents" +mklink /J "C:\Users\All Users\Start Menu" "C:\ProgramData\Microsoft\Windows\Start Menu" +mklink /J "C:\Users\All Users\Templates" "C:\ProgramData\Microsoft\Windows\Templates" +mklink /J "C:\Users\Default\Application Data" "C:\Users\Default\AppData\Roaming" +mklink /J "C:\Users\Default\Cookies" "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCookies" +mklink /J "C:\Users\Default\Local Settings" "C:\Users\Default\AppData\Local" +mklink /J "C:\Users\Default\My Documents" "C:\Users\Default\Documents" +mklink /J "C:\Users\Default\NetHood" "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Network Shortcuts" +mklink /J "C:\Users\Default\PrintHood" "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Printer Shortcuts" +mklink /J "C:\Users\Default\Recent" "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent" +mklink /J "C:\Users\Default\SendTo" "C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo" +mklink /J "C:\Users\Default\Start Menu" "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu" +mklink /J "C:\Users\Default\Templates" "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Templates" +mklink /J "C:\Users\Default\AppData\Local\Application Data" "C:\Users\Default\AppData\Local" +mklink /J "C:\Users\Default\AppData\Local\History" "C:\Users\Default\AppData\Local\Microsoft\Windows\History" +mklink /J "C:\Users\Default\AppData\Local\Temporary Internet Files" "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache" +mklink /J "C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files" "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache" +mklink /J "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache\Content.IE5" "C:\Users\Default\AppData\Local\Microsoft\Windows\INetCache\IE" +mklink /J "C:\Users\Default\Documents\My Music" "C:\Users\Default\Music" +mklink /J "C:\Users\Default\Documents\My Pictures" "C:\Users\Default\Pictures" +mklink /J "C:\Users\Default\Documents\My Videos" "C:\Users\Default\Videos" +mklink /J "C:\Users\phares\Application Data" "C:\Users\phares\AppData\Roaming" +mklink /J "C:\Users\phares\Cookies" "C:\Users\phares\AppData\Local\Microsoft\Windows\INetCookies" +mklink /J "C:\Users\phares\Local Settings" "C:\Users\phares\AppData\Local" +mklink /J "C:\Users\phares\My Documents" "C:\Users\phares\Documents" +mklink /J "C:\Users\phares\NetHood" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\Network Shortcuts" +mklink /J "C:\Users\phares\PrintHood" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\Printer Shortcuts" +mklink /J "C:\Users\phares\Recent" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\Recent" +mklink /J "C:\Users\phares\SendTo" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\SendTo" +mklink /J "C:\Users\phares\Start Menu" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\Start Menu" +mklink /J "C:\Users\phares\Templates" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\Templates" +mklink /J "C:\Users\phares\AppData\Local\Application Data" "C:\Users\phares\AppData\Local" +mklink /J "C:\Users\phares\AppData\Local\History" "C:\Users\phares\AppData\Local\Microsoft\Windows\History" +mklink /J "C:\Users\phares\AppData\Local\Temporary Internet Files" "C:\Users\phares\AppData\Local\Microsoft\Windows\INetCache" +mklink /J "C:\Users\phares\AppData\Local\IFXApps\nginx-1.20.1\conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf" +mklink /J "C:\Users\phares\AppData\Local\Microsoft\Windows\Temporary Internet Files" "C:\Users\phares\AppData\Local\Microsoft\Windows\INetCache" +mklink /J "C:\Users\phares\AppData\Local\Microsoft\Windows\INetCache\Content.IE5" "C:\Users\phares\AppData\Local\Microsoft\Windows\INetCache\IE" +mklink /J "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\.git" "L:\Git\Syncthing-Secrets\.git" +mklink /J "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\.kanbn" "D:\5-Other-Small\Kanban\Phares" +mklink /J "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\.LocalSystem" "C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\UserSecrets" +mklink /J "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\.PSReadLine" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine" +mklink /J "C:\Users\phares\Documents\My Music" "C:\Users\phares\Music" +mklink /J "C:\Users\phares\Documents\My Pictures" "C:\Users\phares\Pictures" +mklink /J "C:\Users\phares\Documents\My Videos" "C:\Users\phares\Videos" +mklink /J "C:\Users\Public\Documents\My Music" "C:\Users\Public\Music" +mklink /J "C:\Users\Public\Documents\My Pictures" "C:\Users\Public\Pictures" +mklink /J "C:\Users\Public\Documents\My Videos" "C:\Users\Public\Videos" +mklink /J "C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5" "C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\IE" +``` + +```bash Mon Jan 15 2024 15:49:34 GMT-0700 (Mountain Standard Time) +dir /AL /S D:\ +mklink /J "D:\5-Other-Small\Kanban\.git" "L:\Git\Notes-Kanban\.git" +mklink /J "D:\5-Other-Small\Notes\EC-Documentation\.git" "L:\Git\Notes-EC-Documentation\.git" +mklink /J "D:\5-Other-Small\Notes\EC-Documentation\.kanbn" "D:\5-Other-Small\Kanban\EC-Documentation" +mklink /J "D:\5-Other-Small\Notes\EC-Documentation\incoming" "D:\5-Other-Small\Notes\EC-Documentation\port" +mklink /J "D:\5-Other-Small\Notes\EC-Documentation\outgoing" "D:\5-Other-Small\Notes\EC-Documentation\port" +mklink /J "D:\5-Other-Small\Notes\Infineon\.Applications" "L:\DevOps\Mesa_FI\FI-Operations\Applications" +mklink /J "D:\5-Other-Small\Notes\Infineon\.BarcodeHost" "D:\5-Other-Small\Kanban\Barcode-Host\tasks" +mklink /J "D:\5-Other-Small\Notes\Infineon\.DevOps" "L:\DevOps\Mesa_FI\FI-Operations\DevOps" +mklink /J "D:\5-Other-Small\Notes\Infineon\.Fab" "L:\DevOps\Mesa_FI\FI-Operations\Fab" +mklink /J "D:\5-Other-Small\Notes\Infineon\.git" "L:\Git\Notes-Infineon\.git" +mklink /J "D:\5-Other-Small\Notes\Infineon\.kanbn" "D:\5-Other-Small\Kanban\Infineon" +mklink /J "D:\5-Other-Small\Notes\Infineon\.port" "L:\Git\Notes-EC-Documentation\EC-Documentation\port" +mklink /J "D:\5-Other-Small\Notes\Network\.etc" "C:\Windows\System32\drivers\etc" +mklink /J "D:\5-Other-Small\Notes\Network\.git" "L:\Git\Notes-Network\.git" +mklink /J "D:\EAF\EAF Runtime Agent\Bin" "D:\EAF\EAF Runtime Agent\v2.25.1\Bin" +mklink /J "D:\EAF\EAF Runtime Agent\Configuration" "D:\EAF\EAF Runtime Agent\v2.25.1\Configuration" +mklink /J "D:\EAF\EAF Runtime Agent\Logs" "D:\EAF\EAF Runtime Agent\v2.25.1\Logs" +mklink /J "D:\net6.0\BaGet\Server" "D:\net6.0\BaGet\e58883f-968285-BaGet-Release\Server" +mklink /J "D:\net7.0\BaGet\Worker" "D:\net7.0\BaGet\e58883f-968285-BaGet-Release\Worker" +mklink /J "D:\Tmp\phares\TP-Link" "D:\5-Other-Small\Notes\Network\.vscode\helper" +mklink /J "D:\Tmp\phares\www\NGINdeX.io" "L:\DevOps\Mesa_FI\NGINdeX.io" +mklink /J "D:\Tmp\phares\www\pictures" "D:\Documents\Pictures" +mklink /J "D:\Tmp\phares\www\Verdaccio" "L:\Verdaccio\storage" +mklink /J "D:\vsts-agent-win-x64-2.170.1-Phares\bin" "D:\vsts-agent-win-x64-2.170.1-Phares\bin.2.210.1" +mklink /J "D:\vsts-agent-win-x64-2.170.1-Phares\externals" "D:\vsts-agent-win-x64-2.170.1-Phares\externals.2.210.1" +``` + +```bash Mon Jan 15 2024 15:49:34 GMT-0700 (Mountain Standard Time) +dir /AL /S L:\ +mkdir "D:\5-Other-Small\Kanban\MET08AWCT" +mkdir "D:\5-Other-Small\Kanban\METCLIMATEC" +mklink /J "L:\DevOps\Mesa_FI\Fab-2-Approval-System" "L:\Workspaces\33_CS29_79_72\Mesa_FI\Fab2ApprovalSystem\Fab2ApprovalSystem-branch-Prod20190626\Fab2ApprovalSystem" +mklink /J "L:\DevOps\Mesa_FI\APC-Viewer\.vscode\UserSecrets" "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\a71ebef9-7685-4ccf-b098-f5a2e119480a" +mklink /J "L:\DevOps\Mesa_FI\Baget\src\BaGet\.vscode\UserSecrets" "C:\Windows\System32\config\SystemProfile\AppData\Roaming\Microsoft\UserSecrets\0841ecbb-394c-4690-bb0e-1c5c48a1297a" +mklink /J "L:/DevOps/Mesa_FI/Barcode-Host/Server.Tests/.kanbn" "D:\5-Other-Small\Kanban\Barcode-Host" +mklink /J "L:\DevOps\Mesa_FI\Barcode-Host\.vscode\UserSecrets" "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets\02dce973-df1d-4325-962a-ed549af8d4c5" +mklink /J "L:\DevOps\Mesa_FI\EDA-Viewer\EDA Viewer.Tests\.kanbn" "D:\5-Other-Small\Kanban\EDA-Viewer" +mklink /J "L:\DevOps\Mesa_FI\File-Folder-Helper\.kanbn" "D:\5-Other-Small\Kanban\File-Folder-Helper" +mklink /J "L:\DevOps\Mesa_FI\OI-Metrology\Tests\.kanbn" "D:\5-Other-Small\Kanban\OI-Metrology" +mklink /J "L:\Git\AA\Shared\.kanbn" "D:\5-Other-Small\Kanban\View-by-Distance" +mklink /J "L:\Git\Notes-Cyberpunk-Red\Cyberpunk-Red" "D:\5-Other-Small\Notes\Cyberpunk-Red" +mklink /J "L:\Git\Notes-EC-Documentation\.EC-Documentation" "D:\5-Other-Small\Notes\EC-Documentation" +mklink /J "L:\Git\Notes-EC-Documentation\.EC-Documentation\.git" "L:\Git\Notes-EC-Documentation\.git" +mklink /J "L:\Git\Notes-EC-Documentation\.EC-Documentation\.kanbn" "D:\5-Other-Small\Kanban\EC-Documentation" +mklink /J "L:\Git\Notes-EC-Documentation\.EC-Documentation\incoming" "D:\5-Other-Small\Notes\EC-Documentation\port" +mklink /J "L:\Git\Notes-EC-Documentation\.EC-Documentation\outgoing" "D:\5-Other-Small\Notes\EC-Documentation\port" +mklink /J "L:\Git\Notes-Infineon\.Infineon" "D:\5-Other-Small\Notes\Infineon" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.Applications" "L:\DevOps\Mesa_FI\FI-Operations\Applications" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.BarcodeHost" "D:\5-Other-Small\Kanban\Barcode-Host\tasks" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.DevOps" "L:\DevOps\Mesa_FI\FI-Operations\DevOps" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.Fab" "L:\DevOps\Mesa_FI\FI-Operations\Fab" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.git" "L:\Git\Notes-Infineon\.git" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.kanbn" "D:\5-Other-Small\Kanban\Infineon" +mklink /J "L:\Git\Notes-Infineon\.Infineon\.port" "L:\Git\Notes-EC-Documentation\EC-Documentation\port" +mklink /J "L:\Git\Notes-Kanban\.Kanban" "D:\5-Other-Small\Kanban" +mklink /J "L:\Git\Notes-Kanban\.Kanban\.git" "L:\Git\Notes-Kanban\.git" +mklink /J "L:\Git\Notes-Network\.Network" "D:\5-Other-Small\Notes\Network" +mklink /J "L:\Git\Notes-Network\.Network\.etc" "C:\Windows\System32\drivers\etc" +mklink /J "L:\Git\Notes-Network\.Network\.git" "L:\Git\Notes-Network\.git" +mklink /J "L:\Git\Syncthing-Secrets\.UserSecrets" "C:\Users\phares\AppData\Roaming\Microsoft\UserSecrets" +mklink /J "L:\Git\Syncthing-Secrets\.UserSecrets\.git" "L:\Git\Syncthing-Secrets\.git" +mklink /J "L:\Git\Syncthing-Secrets\.UserSecrets\.kanbn" "D:\5-Other-Small\Kanban\Phares" +mklink /J "L:\Git\Syncthing-Secrets\.UserSecrets\.LocalSystem" "C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\UserSecrets" +mklink /J "L:\Git\Syncthing-Secrets\.UserSecrets\.PSReadLine" "C:\Users\phares\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine" +mklink /J "L:\Git\VS-Code-Settings\.omnisharp" "C:\Users\phares\.omnisharp" +mklink /J "L:\Git\VS-Code-Settings\app-code" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code\resources\app" +mklink /J "L:\Git\VS-Code-Settings\app-codium" "C:\Users\phares\AppData\Local\Programs\VSCodium\resources\app" +mklink /J "L:\Git\VS-Code-Settings\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app" +mklink /J "L:\Git\VS-Code-Settings\User" "C:\Users\phares\AppData\Roaming\Code\User" +mklink /J "L:\Git\VS-Code-Settings-Insider\.omnisharp" "C:\Users\phares\.omnisharp" +mklink /J "L:\Git\VS-Code-Settings-Insider\app-code" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code\resources\app" +mklink /J "L:\Git\VS-Code-Settings-Insider\app-codium" "C:\Users\phares\AppData\Local\Programs\VSCodium\resources\app" +mklink /J "L:\Git\VS-Code-Settings-Insider\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app" +mklink /J "L:\Git\VS-Code-Settings-Insider\User" "C:\Users\phares\AppData\Roaming\Code - Insiders\User" +mklink /J "L:\Git\VS-Code-Settings-OSS\.omnisharp" "C:\Users\phares\.omnisharp" +mklink /J "L:\Git\VS-Code-Settings-OSS\app-code" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code\resources\app" +mklink /J "L:\Git\VS-Code-Settings-OSS\app-codium" "C:\Users\phares\AppData\Local\Programs\VSCodium\resources\app" +mklink /J "L:\Git\VS-Code-Settings-OSS\app-insiders" "C:\Users\phares\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app" +mklink /J "L:\Git\VS-Code-Settings-OSS\User" "C:\Users\phares\AppData\Roaming\VSCodium\User" +mklink /J "L:\Git\YO-VSCode\.kanbn" "D:\5-Other-Small\Kanban\Type-Script-Helper" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIASM\06_SourceCode\DEP08SIASM\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIASM" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIHTRPLC\06_SourceCode\DEP08SIHTRPLC\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIHTRPLC" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\.kanbn" "D:\5-Other-Small\Kanban\MESAFIBACKLOG" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08AFMD3100\06_SourceCode\MET08AFMD3100\.kanbn" "D:\5-Other-Small\Kanban\MET08AFMD3100" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08ANLYSDIFAAST230\06_SourceCode\MET08ANLYSDIFAAST230\.kanbn" "D:\5-Other-Small\Kanban\MET08ANLYSDIFAAST230" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08AWCT\06_SourceCode\MET08AWCT\.kanbn" "D:\5-Other-Small\Kanban\MET08AWCT" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08DDUPSFS6420\06_SourceCode\MET08DDUPSFS6420\.kanbn" "D:\5-Other-Small\Kanban\MET08DDUPSFS6420" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08DDUPSP1TBI\06_SourceCode\MET08DDUPSP1TBI\.kanbn" "D:\5-Other-Small\Kanban\MET08DDUPSP1TBI" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\.kanbn" "D:\5-Other-Small\Kanban\MET08RESIHGCV" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESIMAPCDE\06_SourceCode\MET08RESIMAPCDE\.kanbn" "D:\5-Other-Small\Kanban\MET08RESIMAPCDE" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESISRP2100\06_SourceCode\MET08RESISRP2100\.kanbn" "D:\5-Other-Small\Kanban\MET08RESISRP2100" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRQS408M\06_SourceCode\MET08THFTIRQS408M\.kanbn" "D:\5-Other-Small\Kanban\MET08THFTIRQS408M" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\.kanbn" "D:\5-Other-Small\Kanban\MET08THFTIRSTRATUS" +mklink /J "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\METCLIMATEC\06_SourceCode\METCLIMATEC\.kanbn" "D:\5-Other-Small\Kanban\METCLIMATEC" +``` + +```bash Mon Jan 15 2024 15:49:34 GMT-0700 (Mountain Standard Time) +dir /AL /S T:\ +# +mklink /J "T:\cellInstanceVersion.EdaConnection.PortNumber" "D:\Tmp\cellInstanceVersion.EdaConnection.PortNumber" +mklink /J "T:\Context Data" "L:\Workspaces\33_CS29_79_72\Mesa_FI\Infineon\Mesa\OpenInsight\Library\Framework\4\ContextData" +mklink /J "T:\DEP08EGANAIXG5" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08EGANAIXG5" +mklink /J "T:\DEP08SIASM" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIASM" +mklink /J "T:\DEP08SIHTRPLC" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\DEP08SIHTRPLC" +mklink /J "T:\Keyboard Simulator" "L:\Workspaces\33_CS29_79_72\Mesa_FI\Infineon\Mesa\OpenInsight\Library\Framework\4\KeyboardSimulator" +mklink /J "T:\Library" "L:\Workspaces\33_CS29_79_72\Mesa_FI\OI GaN Viewer\Library" +mklink /J "T:\MESAFIBACKLOG" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MESAFIBACKLOG" +mklink /J "T:\MET08AWCT" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08AWCT" +mklink /J "T:\MET08ANLYSDIFAAST230" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08ANLYSDIFAAST230" +mklink /J "T:\MET08DDUPSFS6420" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08DDUPSFS6420" +mklink /J "T:\MET08DDUPSP1TBI" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08DDUPSP1TBI" +mklink /J "T:\MET08RESIHGCV" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESIHGCV" +mklink /J "T:\MET08RESIMAPCDE" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESIMAPCDE" +mklink /J "T:\MET08RESISRP2100" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08RESISRP2100" +mklink /J "T:\MET08THFTIRQS408M" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRQS408M" +mklink /J "T:\MET08THFTIRSTRATUS" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\MET08THFTIRSTRATUS" +mklink /J "T:\METCLIMATEC" "L:\Workspaces\33_CS29_79_72\MIT_EAF_Adaptations\Trunk\METCLIMATEC" +# +mklink /J "T:\DEP08SIASM\06_SourceCode\DEP08SIASM\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIASM" +mklink /J "T:\DEP08SIHTRPLC\06_SourceCode\DEP08SIHTRPLC\.kanbn" "D:\5-Other-Small\Kanban\DEP08SIHTRPLC" +mklink /J "T:\MESAFIBACKLOG\06_SourceCode\MESAFIBACKLOG\.kanbn" "D:\5-Other-Small\Kanban\MESAFIBACKLOG" +mklink /J "T:\MET08ANLYSDIFAAST230\06_SourceCode\MET08ANLYSDIFAAST230\.kanbn" "D:\5-Other-Small\Kanban\MET08ANLYSDIFAAST230" +mklink /J "T:\MET08AWCT\06_SourceCode\MET08AWCT\.kanbn" "D:\5-Other-Small\Kanban\MET08AWCT" +mklink /J "T:\MET08DDUPSFS6420\06_SourceCode\MET08DDUPSFS6420\.kanbn" "D:\5-Other-Small\Kanban\MET08DDUPSFS6420" +mklink /J "T:\MET08DDUPSP1TBI\06_SourceCode\MET08DDUPSP1TBI\.kanbn" "D:\5-Other-Small\Kanban\MET08DDUPSP1TBI" +mklink /J "T:\MET08RESIHGCV\06_SourceCode\MET08RESIHGCV\.kanbn" "D:\5-Other-Small\Kanban\MET08RESIHGCV" +mklink /J "T:\MET08RESIMAPCDE\06_SourceCode\MET08RESIMAPCDE\.kanbn" "D:\5-Other-Small\Kanban\MET08RESIMAPCDE" +mklink /J "T:\MET08RESISRP2100\06_SourceCode\MET08RESISRP2100\.kanbn" "D:\5-Other-Small\Kanban\MET08RESISRP2100" +mklink /J "T:\MET08THFTIRQS408M\06_SourceCode\MET08THFTIRQS408M\.kanbn" "D:\5-Other-Small\Kanban\MET08THFTIRQS408M" +mklink /J "T:\MET08THFTIRSTRATUS\06_SourceCode\MET08THFTIRSTRATUS\.kanbn" "D:\5-Other-Small\Kanban\MET08THFTIRSTRATUS" +mklink /J "T:\METCLIMATEC\06_SourceCode\METCLIMATEC\.kanbn" "D:\5-Other-Small\Kanban\METCLIMATEC" +``` diff --git a/_-Review/moved-bee.md b/_-Review/moved-bee.md new file mode 100644 index 0000000..0d9526e --- /dev/null +++ b/_-Review/moved-bee.md @@ -0,0 +1,338 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.042Z" +updated: "2024-01-06T01:25:36.042Z" +--- + +# moved-bee + +```bash +apt-get update +apt-get upgrade +apt-get install links unzip net-tools ufw nginx git ncdu -y +reboot + + + + + +ip a +lsb_release -a +ufw enable +ufw allow from 192.168.0.0/24 comment "04) 192.168.0.0/24" +ufw status numbered +cd /home/ubuntu/ +wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh +chmod +x ./dotnet-install.sh +./dotnet-install.sh --channel 8.0 +ln -s /home/ubuntu/.dotnet/dotnet /usr/local/bin/dotnet +dotnet --info +export DOTNET_ROOT=$HOME/.dotnet +export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools +dotnet --info +timedatectl set-timezone America/Phoenix +snap install dashkiosk +snap restart dashkiosk +snap install ubuntu-frame wpe-webkit-mir-kiosk +snap set wpe-webkit-mir-kiosk url=http://localhost:9400/receiver +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +/snap/wpe-webkit-mir-kiosk/current/bin/setup.sh +wpe-webkit-mir-kiosk.cog http://localhost:9400/receiver +snap set ubuntu-frame daemon=true +apt-get install -y ca-certificates +openssl s_client -showcerts -connect DESKTOP-H6JG91B:443 /dev/null|openssl x509 -outform PEM >DESKTOP-H6JG91B.crt +apt-get install nano +nano /etc/hosts +nano /etc/nginx/sites-available/default +echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default +``` + +```conf +server { + listen 80 default_server; + listen [::]:80 default_server; + root /var/www/html; + index index.html index.htm index.nginx-debian.html; + server_name _; + location / { + try_files $uri $uri/ =404; + } +} +server { + ssl_certificate 'localhost.crt'; + ssl_certificate_key 'localhost.key'; + listen 443 default_server ssl http2; + ssl_protocols TLSv1.2 TLSv1.1 TLSv1; + listen [::]:443 default_server ssl http2; + server_name _; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://localhost:3000/; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + } +} +``` + +```bash +systemctl restart nginx +nginx -t +nginx -s reload +nano /home/ubuntu/localhost.conf +echo >/home/ubuntu/localhost.conf && nano /home/ubuntu/localhost.conf +``` + +```conf +[req] +default_bits = 2048 +default_keyfile = localhost.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = US +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = Arizona +localityName = Locality Name (eg, city) +localityName_default = Mesa +organizationName = Organization Name (eg, company) +organizationName_default = Infineon Technologies Americas Corp. +organizationalUnitName = organizationalunit +organizationalUnitName_default = Development +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = phares3757.ddns.net +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = phares3757.ddns.net +DNS.2 = beelink +DNS.3 = localhost +DNS.4 = 127.0.0.1 +``` + +```bash +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/localhost.key -out /etc/nginx/localhost.crt -config /home/ubuntu/localhost.conf +ls /etc/nginx +apt install update-manager-core +exit +do-release-upgrade +exit +adduser gogs +cd /home/gogs +wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz +tar -xvzf gogs_0.13.0_linux_amd64.tar.gz +rm gogs_0.13.0_linux_amd64.tar.gz +cd gogs +ufw status numbered +./gogs web +mkdir /home/gogs/gogs-repositories +chown gogs /home/gogs -R +chgrp gogs /home/gogs -R +nano /home/gogs/gogs/custom/conf/app.ini +nano /etc/systemd/system/gogs-daemon.service +systemctl enable gogs-daemon +systemctl start gogs-daemon +systemctl status gogs-daemon.service +systemctl daemon-reload +journalctl -fu gogs-daemon.service +journalctl --rotate +journalctl --vacuum-time=1s +cd /home/gogs +git clone https://github.com/Kos-M/GogsThemes +exit +cp ~/.bash_history /home/ubuntu/bash-history-2023-10-17.txt +chown mike /home/ubuntu -R +chgrp mike /home/ubuntu -R +exit +adduser pi-hole +cd pi-hole +curl -sSL https://install.pi-hole.net | bash +``` + +```conf +# http://pi.hole/admin +# http://192.168.0.118/admin +fUiY4SYS +``` + +```conf +nano /etc/lighttpd/lighttpd.conf +``` + +```conf +server.port = 8005 +``` + +```conf +service lighttpd restart +pihole -a -p 4hink +apt install unbound +; https://docs.pi-hole.net/guides/dns/unbound/ +nano /etc/unbound/unbound.conf.d/pi-hole.conf +``` + +```conf +server: + # If no logfile is specified, syslog is used + # logfile: "/var/log/unbound/unbound.log" + verbosity: 0 + + interface: 127.0.0.1 + port: 5335 + do-ip4: yes + do-udp: yes + do-tcp: yes + + # May be set to yes if you have IPv6 connectivity + do-ip6: no + + # You want to leave this to no unless you have *native* IPv6. With 6to4 and + # Terredo tunnels your web browser should favor IPv4 for the same reasons + prefer-ip6: no + + # Use this only when you downloaded the list of primary root servers! + # If you use the default dns-root-data package, unbound will find it automatically + #root-hints: "/var/lib/unbound/root.hints" + + # Trust glue only if it is within the server's authority + harden-glue: yes + + # Require DNSSEC data for trust-anchored zones, if such data is absent, the zone becomes BOGUS + harden-dnssec-stripped: yes + + # Don't use Capitalization randomization as it known to cause DNSSEC issues sometimes + # see https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378 for further details + use-caps-for-id: no + + # Reduce EDNS reassembly buffer size. + # IP fragmentation is unreliable on the Internet today, and can cause + # transmission failures when large DNS messages are sent via UDP. Even + # when fragmentation does work, it may not be secure; it is theoretically + # possible to spoof parts of a fragmented DNS message, without easy + # detection at the receiving end. Recently, there was an excellent study + # >>> Defragmenting DNS - Determining the optimal maximum UDP response size for DNS <<< + # by Axel Koolhaas, and Tjeerd Slokker (https://indico.dns-oarc.net/event/36/contributions/776/) + # in collaboration with NLnet Labs explored DNS using real world data from the + # the RIPE Atlas probes and the researchers suggested different values for + # IPv4 and IPv6 and in different scenarios. They advise that servers should + # be configured to limit DNS messages sent over UDP to a size that will not + # trigger fragmentation on typical network links. DNS servers can switch + # from UDP to TCP when a DNS response is too big to fit in this limited + # buffer size. This value has also been suggested in DNS Flag Day 2020. + edns-buffer-size: 1232 + + # Perform prefetching of close to expired message cache entries + # This only applies to domains that have been frequently queried + prefetch: yes + + # One thread should be sufficient, can be increased on beefy machines. In reality for most users running on small networks or on a single machine, it should be unnecessary to seek performance enhancement by increasing num-threads above 1. + num-threads: 1 + + # Ensure kernel buffer is large enough to not lose messages in traffic spikes + so-rcvbuf: 1m + + # Ensure privacy of local IP ranges + private-address: 192.168.0.0/16 + private-address: 169.254.0.0/16 + private-address: 172.16.0.0/12 + private-address: 10.0.0.0/8 + private-address: fd00::/8 + private-address: fe80::/10 +``` + +```conf +service unbound restart +# http://beelink:8005/admin/settings.php?tab=dns +# https://docs.pi-hole.net/guides/dns/unbound/ +127.0.0.1#5335 +``` + +```bash +apt-get install syncthing +apt-get install apt-transport-https +adduser syncthing +cat /etc/passwd | cut -d: -f1 +systemctl enable syncthing@syncthing.service +systemctl start syncthing@syncthing.service +systemctl status syncthing@syncthing.service +journalctl -e -u syncthing@syncthing.service +nano /home/syncthing/.config/syncthing/config.xml +``` + +```xml +
0.0.0.0:8384
+``` + +```bash +systemctl restart syncthing@syncthing.service +chown syncthing /home/syncthing -R +chgrp syncthing /home/syncthing -R +``` + +```bash +ufw allow from 192.168.0.0/24 to any port 22 comment "01) SSH" +ufw allow to 0.0.0.0/0 port 80 comment "02) HTTP" +ufw allow to 0.0.0.0/0 port 443 comment "03) HTTPS" +ufw allow from 192.168.0.0/24 to any port 8005 comment "04) Pi-hole" +ufw allow from 192.168.0.0/24 to any port 53 comment "05) DNS" +ufw allow from 192.168.0.0/24 to any port 67 comment "06) Unknown" +ufw allow from 192.168.0.0/24 to any port 9400 comment "07) dashkiosk" +ufw allow from 192.168.0.0/24 to any port 3000 comment "08) gogs" +ufw allow from 192.168.0.0/24 to any port 8384 comment "09) syncthing" +ufw allow from 192.168.0.0/24 to any port 22000 comment "10) syncthing" +``` + +```conf +To Action From +-- ------ ---- +22 ALLOW IN 192.168.0.0/24 # 01) SSH +80 ALLOW IN Anywhere # 02) HTTP +443 ALLOW IN Anywhere # 03) HTTPS +8005 ALLOW IN 192.168.0.0/24 # 04) Pi-hole +53 ALLOW IN 192.168.0.0/24 # 05) DNS +67 ALLOW IN 192.168.0.0/24 # 06) Unknown +9400 ALLOW IN 192.168.0.0/24 # 07) dashkiosk +3000 ALLOW IN 192.168.0.0/24 # 08) gogs +8384 ALLOW IN 192.168.0.0/24 # 09) syncthing +22000 ALLOW IN 192.168.0.0/24 # 10) syncthing + +``` + +```bash +echo >/etc/hosts && nano /etc/hosts +``` + +```conf +127.0.0.1 localhost +127.0.0.1 beelink +127.0.1.1 phares3757.ddsn.net +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +``` + +```bash +adduser twingate +curl -s https://binaries.twingate.com/client/linux/install.sh | bash +twingate setup +twingate start + + +curl "https://binaries.twingate.com/connector/setup.sh" | sudo TWINGATE_ACCESS_TOKEN="eyJhbGciOiJFUzI1NiIsImtpZCI6IjlZSlNUMGR6YU5pRDhZR0h5SUdyTG1SVDZKTmMwbHJGMVFsNklseVJ6X1UiLCJ0eXAiOiJEQVQifQ.eyJudCI6IkFOIiwiYWlkIjoiMTczMDc3IiwiZGlkIjoiMTAwMzc4OSIsImp0aSI6IjIyNTJmMjIwLWNkNjQtNDlhYy04YjRhLTE0NDFjOWUyM2U5ZSIsImlzcyI6InR3aW5nYXRlIiwiYXVkIjoicGhhcmVzIiwiZXhwIjoxNjk4MDE0Mzc4LCJpYXQiOjE2OTgwMTA3NzgsInZlciI6IjQiLCJ0aWQiOiI1NzgzOSIsInJudyI6MTY5ODAxMTA3OCwicm5ldGlkIjoiNzIyNzcifQ.aQnQMUGqM5fBEbR781u-lCPjltfmb1TdZUJTNJ_GYiiSJiemJiIrVK80xHQlIpPB2kot34nxmpvVK4kZK64X3w" TWINGATE_REFRESH_TOKEN="AWOLHa11QFXENAyov_w-KQ5ZC-keHm2w_ActZP8M7hBpy2NOC7EDT2bkEpBCO-YLTd40Pp-pdplIJu0lvdvNBAGINHopYnX2XOgaMxS5tbPPTsHRlnQpckaXYuOwu28W0ORs8g" TWINGATE_NETWORK="phares" bash + +curl "https://binaries.twingate.com/connector/setup.sh" | TWINGATE_ACCESS_TOKEN="eyJhbGciOiJFUzI1NiIsImtpZCI6IjlZSlNUMGR6YU5pRDhZR0h5SUdyTG1SVDZKTmMwbHJGMVFsNklseVJ6X1UiLCJ0eXAiOiJEQVQifQ.eyJudCI6IkFOIiwiYWlkIjoiMTczMjIxIiwiZGlkIjoiMTAwNDI3NCIsImp0aSI6ImQxMWIwYWIzLWJjZTgtNDIxZS05MzAwLTA1ZmFkZDk5YjllMiIsImlzcyI6InR3aW5nYXRlIiwiYXVkIjoicGhhcmVzIiwiZXhwIjoxNjk4MDM3MTgzLCJpYXQiOjE2OTgwMzM1ODMsInZlciI6IjQiLCJ0aWQiOiI1NzgzOSIsInJudyI6MTY5ODAzMzg4Mywicm5ldGlkIjoiNzIyNzcifQ.7YqB5iz1lzsfb6adLPx53NNA3dJ1NnuzmNhyyi4FzPdMTGxn3qbHD1olvWpEEi69D8gAvF5K77DPwE1BHxo4Qw" TWINGATE_REFRESH_TOKEN="HypbNsUdue5Dh3s5W4ePR9RIkFDsjEGiNJFJDf_cLdixkn94ieMypUZMH_XIc4-13L_PuQ61M7RWG5rF21ZRAgFf1MuIMf5kJGhuQq_VG7_E_6Q8NMLAajP5W05jTofB-sY3Ig" TWINGATE_NETWORK="phares" bash +``` diff --git a/_-Review/musnotificationux.md b/_-Review/musnotificationux.md new file mode 100644 index 0000000..6f91a72 --- /dev/null +++ b/_-Review/musnotificationux.md @@ -0,0 +1,30 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.042Z" +updated: "2024-01-06T01:25:36.042Z" +--- + +# MusNotificationUx + +```bash Administrator +# https://superuser.com/questions/972038/how-to-get-rid-of-updates-are-available-message-in-windows-10 +cd /d "%Windir%\System32" +takeown /F MusNotification.exe +icacls MusNotification.exe /deny Everyone:(X) +takeown /F MusNotificationUx.exe +icacls MusNotificationUx.exe /deny Everyone:(X) +rem +``` + +```bash Undo +cd /d "%Windir%\System32" +icacls MusNotification.exe /remove:d Everyone +icacls MusNotification.exe /grant Everyone:F +icacls MusNotification.exe /setowner "NT SERVICE\TrustedInstaller" +icacls MusNotification.exe /remove:g Everyone +icacls MusNotificationUx.exe /remove:d Everyone +icacls MusNotificationUx.exe /grant Everyone:F +icacls MusNotificationUx.exe /setowner "NT SERVICE\TrustedInstaller" +icacls MusNotificationUx.exe /remove:g Everyone +rem +``` diff --git a/_-Review/nextcloud.md b/_-Review/nextcloud.md new file mode 100644 index 0000000..7d7dabb --- /dev/null +++ b/_-Review/nextcloud.md @@ -0,0 +1,87 @@ +--- +type: "topic" +created: "2024-01-07T02:07:29.965Z" +updated: "2024-01-07T02:07:29.965Z" +--- + +# Nextcloud + +```bash +wsl.exe --update +wsl.exe --export Ubuntu Ubuntu/Ubuntu-Nexcloud-001.tar +wsl.exe --unregister Ubuntu +wsl.exe --import Ubuntu-Nexcloud Ubuntu-Nexcloud Ubuntu/Ubuntu-Nexcloud-001.tar +wsl.exe -d Ubuntu-Nexcloud +wsl.exe --export Ubuntu Ubuntu/Ubuntu-Nexcloud-002.tar +wsl.exe --unregister Ubuntu-Nexcloud +``` + +```bash Wed Dec 27 2023 15:46:18 GMT-0700 (Mountain Standard Time) +# https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-20-04 +sudo -i +snap remove --purge nextcloud +snap install nextcloud +snap changes nextcloud +snap info nextcloud +snap connections nextcloud +cat /snap/nextcloud/current/meta/snap.yaml +nextcloud.manual-install mikepharesjr@msn.com w1DNt6sm4pP#3Aqv8pwp +# nextcloud.occ user:resetpassword mikepharesjr@msn.com +``` + +```bash +http://phares3757.redirectme.net/.well-known/acme-challenge/IBKnRjtytG-16XUhhnWxXqNsOCZxot4R91iK2QidKXo +https://localhost/index.php/login?direct=1&user=admin +``` + +```bash Fri Jan 05 2024 11:06:01 GMT-0700 (Mountain Standard Time) +snap stop nextcloud +nano /etc/hosts +ls /var/snap/nextcloud/current/certs/live +# ufw allow 80,443/tcp +# nextcloud.enable-https lets-encrypt +# nextcloud.enable-https self-signed +# ufw allow 80,443/tcp +nextcloud.disable-https +snap set nextcloud ports.http=8081 +snap set nextcloud php.memory-limit=-1 +snap get nextcloud php.memory-limit +# https://github.com/nextcloud-snap/nextcloud-snap +snap connect nextcloud:removable-media +mv /var/snap/nextcloud/common/nextcloud/data /mnt/d +# cat /var/snap/nextcloud/current/nextcloud/config/config.php +nano /var/snap/nextcloud/current/nextcloud/config/config.php +snap start nextcloud +nextcloud.occ config:system:set overwrite.cli.url --value=https://nextcloud.laundry.phares.myftp.org +nextcloud.occ config:system:set overwriteprotocol --value=https +nextcloud.occ config:system:get trusted_domains +nextcloud.occ config:system:set trusted_domains 1 --value=nextcloud.laundry.phares.myftp.org +nextcloud.occ config:system:get trusted_domains +nextcloud.mysql-client +nextcloud.export -b +snap restart nextcloud +``` + +```conf +'check_data_directory_permissions' => false, +'datadirectory' => '/mnt/d/data', +``` + +```bash +snap start nextcloud +nextcloud.occ files:scan --all +nextcloud.occ preview:generate-all -vvv +nextcloud.export -b +nextcloud.import -b /var/snap/nextcloud/common/backups/20240106-185539 +``` + +```bash Wed Dec 27 2023 15:46:18 GMT-0700 (Mountain Standard Time) +# https://help.nextcloud.com/t/tutorial-nextcloud-on-wsl2-windows-10-20h2/102198 +# Open an Notepad in Windows and post the following block. +``` + +```bash +wsl --export Ubuntu-Nexcloud Ubuntu-Nexcloud-002.tar +wsl --unregister Ubuntu-Nexcloud +wsl -d Ubuntu-Nexcloud +``` diff --git a/_-Review/nginx.md b/_-Review/nginx.md new file mode 100644 index 0000000..41ba918 --- /dev/null +++ b/_-Review/nginx.md @@ -0,0 +1,104 @@ +--- +type: "topic" +created: "2024-01-14T02:18:17.191Z" +updated: "2024-04-08T16:54:45.140Z" +--- + +# nginx + +```Replace +{machine} = ______ +oi-metrology-viewer-prod = ______ +IFXApps = ______ +DevOps\Mesa_FI = ______ +https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf = ______ +``` + +```bash Mon Nov 20 2023 11:10:42 GMT-0700 (Mountain Standard Time) +mkdir "C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps" +powershell -command "Expand-Archive C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nssm-2.24.zip C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps" +L: +mkdir "L:\DevOps" +mkdir "L:\DevOps\Mesa_FI" +git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf "L:\DevOps\Mesa_FI\NGINX-Conf" +cd "L:\DevOps\Mesa_FI\NGINX-Conf" +git checkout -q -b {machine} --no-track +git reset --soft "59d2ef6e445c5535736729915dd38d686ecc5a97" +git reset -q HEAD -- . +powershell -command "Expand-Archive C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nginx-1.20.1.zip L:\DevOps\Mesa_FI\NGINX-Conf" +rmdir /s /q "L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\conf" +mklink /J "L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf" +move "L:\DevOps\Mesa_FI\NGINX-Conf\conf\localhost.conf" "L:\DevOps\Mesa_FI\NGINX-Conf\conf\oi-metrology-viewer-prod.conf" +code "L:\DevOps\Mesa_FI\NGINX-Conf" +``` + +```bash +# https://webscoot.io/blog/create-self-signed-certificate-ubuntu-windows-nginx/ +cd "C:\Program Files\git\usr\bin" +openssl +``` + +```bash openssl csr +req -newkey rsa:2048 -keyout "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.key" -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.csr" -config "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.conf" +https://intranet.infineon.com/ +# iqs-prod.mes.infineon.com Commit: a52cb36cd25f0850212f8a6442263da5671e8894 +# oi-metrology-viewer-prod.mes.infineon.com Commit: ??? +``` + +```https ssa +https://ssa.eu.infineon.com/wm/app-SelfServicePortal/search-page/6cac2957-1ae1-e511-dd9b-74d02b9d869c/structure/ +``` + +```bash Administrator +L: +cd "L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1" +nginx -t +"C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nssm-2.24\win64\nssm.exe" install nginx +``` + +```yml NSSM-Application +Path: L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\nginx.exe +Startup Directory: L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1 +``` + +```yml NSSM-Details +Startup type: Automatic (Delay Start) +``` + +```yml NSSM-I/O +Input (stdin): start nginx +Output (stdout): L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\logs\service.out.log +Error (stderr): L:\DevOps\Mesa_FI\NGINX-Conf\nginx-1.20.1\logs\service.error.log +``` + +```bash Administrator +sc start nginx +sc query nginx +sc stop nginx +sc start nginx +``` + +```bash openssl crt +req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.key" -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.crt" -config "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.conf" +``` + +```bash openssl key +pkcs12 -in "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.pfx" -nocerts -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.key" +``` + +```bash openssl crt +pkcs12 -in "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.pfx" -clcerts -nokeys -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\oi-metrology-viewer-prod.crt" +``` + +```bash +git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/NGINX-Conf "L:\DevOps\Mesa_FI\NGINX-Conf" +git reset --hard 59d2ef6e445c5535736729915dd38d686ecc5a97 +``` + +```bash Sun Apr 07 2024 21:28:52 GMT-0700 (Mountain Standard Time) +openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/music3757.ddns.net.key -out /etc/nginx/music3757.ddns.net.crt -config /home/pi3/raspberry.server.conf +``` + +```bash +ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default +``` diff --git a/_-Review/nmap.md b/_-Review/nmap.md new file mode 100644 index 0000000..608508f --- /dev/null +++ b/_-Review/nmap.md @@ -0,0 +1,537 @@ +--- +type: "topic" +created: "2024-01-06T01:25:36.042Z" +updated: "2024-01-06T01:25:36.042Z" +--- + +# NMap + +```bash +# https://www.stationx.net/nmap-cheat-sheet/ +# https://hackertarget.com/nmap-cheatsheet-a-quick-reference-guide/ +"C:\Program Files (x86)\Nmap\nmap.exe" +``` + +```yml +Nmap 7.94 ( https://nmap.org ) +Usage: nmap [Scan Type(s)] [Options] {target specification} +TARGET SPECIFICATION: + Can pass hostnames, IP addresses, networks, etc. + Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.0-255.1-254 + -iL : Input from list of hosts/networks + -iR : Choose random targets + --exclude : Exclude hosts/networks + --excludefile : Exclude list from file +HOST DISCOVERY: + -sL: List Scan - simply list targets to scan + -sn: Ping Scan - disable port scan + -Pn: Treat all hosts as online -- skip host discovery + -PS/PA/PU/PY[portlist]: TCP SYN/ACK, UDP or SCTP discovery to given ports + -PE/PP/PM: ICMP echo, timestamp, and netmask request discovery probes + -PO[protocol list]: IP Protocol Ping + -n/-R: Never do DNS resolution/Always resolve [default: sometimes] + --dns-servers : Specify custom DNS servers + --system-dns: Use OS's DNS resolver + --traceroute: Trace hop path to each host +SCAN TECHNIQUES: + -sS/sT/sA/sW/sM: TCP SYN/Connect()/ACK/Window/Maimon scans + -sU: UDP Scan + -sN/sF/sX: TCP Null, FIN, and Xmas scans + --scanflags : Customize TCP scan flags + -sI : Idle scan + -sY/sZ: SCTP INIT/COOKIE-ECHO scans + -sO: IP protocol scan + -b : FTP bounce scan +PORT SPECIFICATION AND SCAN ORDER: + -p : Only scan specified ports + Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080,S:9 + --exclude-ports : Exclude the specified ports from scanning + -F: Fast mode - Scan fewer ports than the default scan + -r: Scan ports sequentially - don't randomize + --top-ports : Scan most common ports + --port-ratio : Scan ports more common than +SERVICE/VERSION DETECTION: + -sV: Probe open ports to determine service/version info + --version-intensity : Set from 0 (light) to 9 (try all probes) + --version-light: Limit to most likely probes (intensity 2) + --version-all: Try every single probe (intensity 9) + --version-trace: Show detailed version scan activity (for debugging) +SCRIPT SCAN: + -sC: equivalent to --script=default + --script=: is a comma separated list of + directories, script-files or script-categories + --script-args=: provide arguments to scripts + --script-args-file=filename: provide NSE script args in a file + --script-trace: Show all data sent and received + --script-updatedb: Update the script database. + --script-help=: Show help about scripts. + is a comma-separated list of script-files or + script-categories. +OS DETECTION: + -O: Enable OS detection + --osscan-limit: Limit OS detection to promising targets + --osscan-guess: Guess OS more aggressively +TIMING AND PERFORMANCE: + Options which take