Skip to content

Instantly share code, notes, and snippets.

View DreamerDeLy's full-sized avatar
🔵
///

Dreamer DreamerDeLy

🔵
///
View GitHub Profile
@DreamerDeLy
DreamerDeLy / Journal_Task.cs
Last active March 16, 2022 13:38
Journal task
using System;
using System.Collections.Generic;
using System.Linq;
namespace test_cs
{
class Mark
{
public Mark(int M, string Comment)
{
@DreamerDeLy
DreamerDeLy / Area_Task.cs
Last active March 23, 2022 13:31
Task: find area of rooms with dirfferent shape in collection.
using System;
using System.Collections.Generic;
using System.Linq;
namespace test_prj
{
interface IRoom
{
public double GetRoomArea();
public string ToString();
@DreamerDeLy
DreamerDeLy / ESP8266_GetChipId.ps1
Created August 6, 2022 11:24
Get ChipID of ESP8266 in decimal form by esptool.py
# TO RUN THIS SHIT U NEED TO:
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Write-Host "-----------------"
py -m esptool chip_id > $text
Write-Host $text
$pattern = [Regex]::new("0x[0-9a-f]{8}")
$matches = $pattern.Matches($text)