Что бы переключиться на ветку нужного пулл-реквеста (пусть его номер будет 123) надо
git fetch origin pull/123/head:pull-request/rp-123
git checkout pull-request/rp-123
# ...
git branch -D pull-request/rp-123
Online kms host address: | |
-------- | |
kms.digiboy.ir | |
54.223.212.31 | |
kms.cnlic.com | |
kms.chinancce.com | |
kms.ddns.net | |
franklv.ddns.net | |
k.zpale.com | |
m.zpale.com |
<Project Sdk="Microsoft.NET.Sdk"> | |
<UsingTask TaskName="ZipDir" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v12.0.dll"> | |
<ParameterGroup> | |
<ZipFileName ParameterType="System.String" Required="true" /> | |
<DirectoryName ParameterType="System.String" Required="true" /> | |
</ParameterGroup> | |
<Task> | |
<Reference Include="System.IO.Compression.FileSystem" /> | |
<Using Namespace="System.IO.Compression" /> |
[StructLayout(LayoutKind.Explicit)] | |
readonly ref struct FloatToIntBytesConverter | |
{ | |
[FieldOffset(0)] | |
public readonly float Float; | |
[FieldOffset(0)] | |
public readonly int Int; | |
public FloatToIntBytesConverter(float x) => Float = x; |
using System.Security.Cryptography; | |
using System.Text; | |
using System.Text.Json; | |
using System.Text.Json.Serialization; | |
using RSACryptoServiceProvider rsa = new(); | |
rsa.KeySize = 2048; | |
var xml_private_str = rsa.ToXmlString(true); |
/// <summary>Преобразование отрицательного числа</summary> | |
/// <param name="x">Целое число с битам данных</param> | |
/// <param name="n">Число бит без учёта знакового бита</param> | |
static int GetSignedValueFast(int x, int n) => x < 1 << n ? x : x - (1 << n + 1); | |
static int GetSignedValueFastExplain(int x, int n) | |
{ | |
// Если число бит n = 4. | |
// то значение не может превышать 2^n - т.е. 16. | |
if (x < 1 << n) // Если значение меньше 16 |
var assembly = typeof(ProgramNamespace.Program).GetTypeInfo().Assembly; | |
using var resource = assembly.GetManifestResourceStream("Information.Data.xml"); |
public class MD5 | |
{ | |
private MD5() { } | |
public static byte[] Compute(string str, Encoding? encoding = null) => Compute((encoding ?? Encoding.UTF8).GetBytes(str)); | |
private static void SetLength(byte[] buffer64, ulong length) | |
{ | |
buffer64[^8] = (byte)(length << 3); | |
buffer64[^7] = (byte)(length >> 5); |
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net6.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
</PropertyGroup> | |
<ItemGroup> |