This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<Color x:Key="SystemBackground">#000000</Color> | |
<Color x:Key="SecondarySystemBackground">#1C1C1E</Color> | |
<Color x:Key="TertiarySystemBackground">#2C2C2E</Color> | |
<Color x:Key="SystemGroupedBackground">#000000</Color> | |
<Color x:Key="SecondarySystemGroupedBackground">#1C1C1E</Color> | |
<Color x:Key="TertiarySystemGroupedBackground">#2C2C2E</Color> | |
<Color x:Key="Label">#FFFFFF</Color> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<Color x:Key="SystemBackground">#FFFFFF</Color> | |
<Color x:Key="SecondarySystemBackground">#F2F2F7</Color> | |
<Color x:Key="TertiarySystemBackground">#FFFFFF</Color> | |
<Color x:Key="SystemGroupedBackground">#F2F2F7</Color> | |
<Color x:Key="SecondarySystemGroupedBackground">#FFFFFF</Color> | |
<Color x:Key="TertiarySystemGroupedBackground">#F2F2F7</Color> | |
<Color x:Key="Label">#000000</Color> |
This file contains 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
private static string FormatPhone(string phoneString) | |
{ | |
if (string.IsNullOrWhiteSpace(phoneString)) return phoneString; | |
var phoneReplaced = phoneString.Replace(" ", "").Replace("-", "").Replace(")", "").Replace("(", "").Replace("+", ""); | |
if (phoneReplaced.Length == 10 && (phoneReplaced[0] == '9')) return "+7" + phoneReplaced; | |
else if ((phoneReplaced.Length == 11 && (phoneReplaced[0] == '8'))) return "+7" + phoneReplaced.Substring(1); | |
else return phoneReplaced.StartsWith("7") ? $"+{phoneReplaced}" : phoneReplaced; | |
} |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_USERS\.DEFAULT\Control Panel\Mouse] | |
"MouseSensitivity"="4" | |
"MouseSpeed"="0" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System] | |
"EnableSmartScreen"=dword:00000000 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] |
This file contains 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
Set-ExecutionPolicy Bypass | |
cmd /c "bcdedit /set {default} bootmenupolicy legacy" | |
irm https://git.io/fjbwi -UseBasicParsing -OutFile $env:TEMP\win10.reg; cmd /c "regedit /s %temp%\win10.reg" | |
Install-PackageProvider -Name chocolatey | |
Install-PackageProvider -Name ChocolateyGet | |
Set-PackageSource -Name chocolatey -trusted | |
Install-Package googlechrome | |
Install-Package 7zip | |
Install-Package everything | |
Install-Package qbittorrent |