Skip to content

Instantly share code, notes, and snippets.

@StanlsSlav
StanlsSlav / flare-vm.config.xml
Created September 17, 2024 20:56
FlareVM Config File
<?xml version="1.0" encoding="utf-8"?>
<config>
<envs>
<env name="VM_COMMON_DIR" value="%ProgramData%\_VM"/>
<env name="TOOL_LIST_DIR" value="%UserProfile%\Desktop\Tools"/>
<env name="RAW_TOOLS_DIR" value="%SystemDrive%\Tools"/>
</envs>
<packages>
<!-- <package name="010editor.vm"/> -->
<package name="7zip.vm"/>
@StanlsSlav
StanlsSlav / Program.cs
Created September 5, 2021 15:36
Longest methods in System c#
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using StreamWriter outFile = new("log.txt", false);
List<(string AsmName, string MethodName)> longestMethods = new();
IEnumerable<Type> systemNamespaces = AppDomain.CurrentDomain
.GetAssemblies()
@StanlsSlav
StanlsSlav / ConsoleColor.cs
Last active May 27, 2021 20:01
Mini tasks I've found interesting or educative
/// Helped by https://gist.github.com/ZacharyPatten/776d46b140452c3c5d569e261a0b464d 's model
/// Although it is pretty much identical
using System;
namespace MyNamespace
{
class MyClass
{
static void Main()
{
@StanlsSlav
StanlsSlav / CharacterCloning.cs
Last active August 31, 2020 09:27
Exercises from w3resource.com which I've found interesting at that moment.
using System;
namespace Test
{
class Program
{
static void Main(string[] args)
{
// Naming the variables
Console.Write("Input your phrase: ");