Skip to content

Instantly share code, notes, and snippets.

@numbnet
numbnet / ComputerName.ps1
Last active April 8, 2021 13:14
Net core app
Rename-Computer -NewName NN -Force
Restart-Computer -ComputerName NN -Confirm -Force
##*************************************************
New-Item -Path $env:SYSTEMDRIVE\ -Name 'PS\OpenSSH' -ItemType Directory
##====================================================
### ARH OS and Download OpenSSH x64 or x86
echo "******** Start Download OpenSSH v8.1.0.0p1-Beta .......... *********";
echo " "
if ((Get-WmiObject win32_operatingsystem | select osarchitecture).osarchitecture -like "64*")
{
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
@numbnet
numbnet / biot.xml
Created March 15, 2021 22:24
Export
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE yml_catalog SYSTEM "shops.dtd">
<yml_catalog date="2011-07-20 14:58">
<shop>
<name>Bionic-House</name>
<company>Научно Производственное Предприятие Бионик-Хаус</company>
<url>http://bionic-house.com.ua</url>
<currencies>
<currency id="UAH" rate="1"/></currencies>
<categories>
@numbnet
numbnet / TABLEBASH-POWERSHELL.ps1.sh
Created March 13, 2021 18:27
Alternative using commands --[BASH=POWERSHELL]--
##=====================
Таьлица соответствии
## BASH ====|====POWERSHELL
## pwd ====|===== Get-Location
@numbnet
numbnet / VariantsSearch.md
Last active April 11, 2021 18:02
Search Variable

Примеры регулярных выражений ##

Поиск точной фразы Поиск слова или фразы из списка Поиск слова в разных вариантах написания или со специальными символами Поиск любого адреса электронной почты в определенном домене Поиск любого IP-адреса в определенном диапазоне Поиск буквенно-цифровой строки

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div>
<div id="DivID" class="btQuoteGBlock " data-eval="" data-paypal_label="" style="display: block;"></div>
<script>
var W = 0;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Название документа</title>
</head>
<style>tr > td:nth-child(1) {background-color: #f00;}tr>td:nth-child(2) {background-color: #0006ff;}</style>
<body>
<button onclick="foo()">Создать абзац</button>
@numbnet
numbnet / 325332.html
Last active February 21, 2021 22:22
WEB
<div class="btQuoteGBlock " data-eval="" data-paypal_label="" id="tabGroup1" style="display: block;"><h3>Диференциальный</h3></div>
<div class="btQuoteGBlock " data-eval="" data-paypal_label="" id="tabGroup0" style="display: block;"><h3>Аннуитетный</h3>
<table id="tab1" class="sortable">
<thead><tr><th>Период</th><th>Сумма</th></tr></thead>
<tbody></tbody>
</table>
<script>
function getListContent() {
var sum = 1024;
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript Array Methods</h2>
<h2>push()</h2>
<p>The push() method returns the new array length.</p>