- Telegram: https://t.me/default_coder
- Skype: artur.mustafin
- Phone: +79175077603
- English: C1
- Citizenship: Russia
- Location: Moscow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VMWare Workstation / Windows Server 2008 R2 SP1 VL (MSDN / Windows Update) | |
1. activate Windows (KMS) | |
2. add role/feature (Application Server/.NET Framework 3.5.1) | |
3. remove floppy device from VMWare virtual machine configuration | |
4. install mozilla Firefox Setup 115.23.0esr (64bit) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"Rounded_Corners@lennart-k":{"/org/gnome/shell/extensions/lennart-k/rounded_corners/":"[/]\ncorner-radius=12"},"[email protected]":{},"[email protected]":{"/org/gnome/shell/extensions/apps-menu/":""},"[email protected]":{"/org/gnome/shell/extensions/audio-selector/":""},"babar-lite@fthx":{},"babar@fthx":{"/org/gnome/shell/extensions/babar/":"[/]\nbottom-panel=false\ndesaturate-icons=false\ndisplay-activities=false\ndisplay-app-grid=true\ndisplay-app-menu=true\ndisplay-dash=true\ndisplay-favorites=false\ndisplay-tasks=true\ndisplay-workspaces=false\nrounded-workspaces-buttons=true"},"[email protected]":{"/org/gnome/shell/extensions/clipboard-indicator/":""},"dashbar@fthx":{},"dock-from-dash@fthx":{"/org/gnome/shell/extensions/dock-from-dash/":""},"[email protected]":{},"[email protected]":{"/org/gnome/shell/extensions/screenshot/":"[/]\nbackend='gnome-screenshot'\nclick-action='sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Add-Path($Path) { | |
# Get the existing PATH and split it into an array | |
$existingPath = [Environment]::GetEnvironmentVariable("PATH", "Machine").Split([IO.Path]::PathSeparator) | |
# Check if the $Path is not in the existing PATH | |
if ($existingPath -notcontains $Path) { | |
# Add the $Path to the array | |
$existingPath += $Path | |
# Join the array into a string using the path separator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
timedatectl set-local-rtc 1 --adjust-system-clock | |
hwclock --hctosys --localtime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$targetFrequency = 2266 # 2266 MHz in MHz | |
# Get the current power plan | |
$currentPlan = powercfg -getactivescheme | |
$guidPattern = "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" | |
$matches = $currentPlan | Select-String -Pattern $guidPattern -AllMatches | |
$guid = $matches.Matches[0].Value | |
# Set the maximum processor frequency | |
powercfg -setacvalueindex $guid 54533251-82be-4824-96c1-47b60b740d00 75b0ae3f-bce0-45a7-8c89-c9611c25e100 $targetFrequency |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "playground/list/list.h" | |
#include "std/common.h" | |
#define MAX_MEMORY 0xffff // 64K bytes | |
/*private */ | |
// global allocated memory | |
static void** ptr = 0; |
Список необходимых книг для программиста по версии Диджитализируй:
- Чистый код. Роберт Мартин
- Идеальный программист. Роберт Мартин
- Чистая архитектура. Роберт Мартин
- Идеальная работа. Роберт Мартин
- Совершенный код. Стив Макконнелл
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cscript c:\Windows\System32\slmgr.vbs -skms kms.digiboy.ir | |
Generic Volume License Keys (GVLK) | |
In the tables that follow, you will find the GVLKs for each version and edition of Windows. LTSC is Long-Term Servicing Channel, while LTSB is Long-Term Servicing Branch. | |
Windows Server (LTSC versions) | |
Windows Server 2022 | |
Operating system edition KMS Client Product Key | |
Windows Server 2022 Datacenter WX4NM-KYWYW-QJJR4-XV3QB-6VM33 | |
Windows Server 2022 Standard VDYBN-27WPP-V4HQT-9VMD4-VMK7H |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import os | |
import pandas as pd | |
import win32api | |
import json | |
import sys | |
from jsondiff import diff | |
#============================================================================== | |
def getFileProperties(fname): |
NewerOlder