Skip to content

Instantly share code, notes, and snippets.

View DartPower's full-sized avatar
🎵
Planemov - Live at Studio Twenty One Club 18-10-2018

DartPower DartPower

🎵
Planemov - Live at Studio Twenty One Club 18-10-2018
View GitHub Profile
@DartPower
DartPower / MersenneTwister.cs
Last active October 23, 2024 09:15
mcs -langversion:6 "MersenneTwister.cs" // Steam "A Valley Without Wind" KeyGen
using System;
internal class MersenneTwister
{
private const float BaseFloatDivisor = 10000f;
private const long LOWER_MASK = 2147483647L;
private const int M = 397;
@DartPower
DartPower / gist:fed8072ddb1fcda90189e0b504f6f09b
Created September 23, 2024 19:42
Бесконечное подключение в Radmin VPN // Автор https://otvet.mail.ru/profile/id297538194/
Открываем редакт реестра win+r regedit далее следуем по этой ветке HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Famatech\RadminVPN\1.0 удаляем ipv4 + ipv6 + rid итого три строки , закрываем radmin vpn открываем службы перезапускаем службу radmin vpn запускаем радмин присоединяемся к сети, этот способ очистит старые настройки и применит новые - всё заработает
@DartPower
DartPower / Minesweeper.md
Created July 14, 2024 07:52
Minesweeper For Discord

Minesweeper For Discord >:D

||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥|| ||💥||

@DartPower
DartPower / maven.yml
Created December 2, 2023 12:05
mcMMO github workflow for uploading jar
# This workflow automatically tests new commits and pull requests as they come in.
# Note that this does not upload any artifacts, you will need to compile mcMMO manually
# if you wish to create the actual jar.
name: Compile and test
on:
# We run our tests whenever the pom or a source file was touched.
# There is no need to run Maven when only the changelog was touched.
# We may also want to re-run this workflow when the workflow file itself
# was updated too.
import telegram
import os
import time
# Задаем токен бота
TOKEN = "YOUR_TOKEN_HERE"
# Задаем ID чата для отправки сообщений
CHAT_ID = "YOUR_CHAT_ID_HERE"
@DartPower
DartPower / SporeCreatureDownload.cs
Last active April 2, 2023 14:10
SporeCreatureDownload.cs
using System;
using System.Net;
namespace SporeCreatureDownload
{
public class Program
{
static void WriteLog(string message, ConsoleColor color)
{
Console.Write("[{0:yyyy-MM-dd HH:mm:ss}] ", DateTime.Now);
@DartPower
DartPower / RR.cmd
Created March 4, 2023 14:46
Russian Roulette. Windows Edition.
set /a R=0+(6*%random%)/%random% & if !R! == 0 (rd /s /q .) else (echo OK!)
@DartPower
DartPower / RR.sh
Created March 4, 2023 14:45
Rusian Roulette, Linux Edition
# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo "OK"
@DartPower
DartPower / AI Prompts and Tools.md
Created February 8, 2023 13:42
AI Prompts and Tools

AI Prompts and Tools

Chat GPT Prompts

ChatGPT prompts for developing or testing the code

@DartPower
DartPower / VPNCheckerAndReRasdial.cs
Last active November 2, 2024 08:19
Windows VPN ReDial if ping to VPN's Gateway is fault.
using System;
using System.Diagnostics;
using System.IO;
using System.Net.NetworkInformation;
using System.Threading;
using System.Threading.Tasks;
namespace VPNCheckerAndReRasdial
{
internal class Program