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 / Program.cs
Last active June 27, 2026 15:27
FTP Server with Tower of Babel functional implementation
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace BabelFTP
@DartPower
DartPower / Program.cs
Last active June 19, 2026 07:50
XBox One some Emu proto...
// Program.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System.Security;
@DartPower
DartPower / installer.sh
Last active March 25, 2026 11:56
Custom Hiddify Core Installer
#!/bin/bash
# Hiddify Core & CLI Installer
# Minimalistic version for Service functionality
set -e
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
#!/usr/bin/env bash
#
# install_server.sh - hysteria server install script
# Try `install_server.sh --help` for usage.
#
# SPDX-License-Identifier: MIT
# Copyright (c) 2023 Aperture Internet Laboratory
#
set -e
@DartPower
DartPower / 7z2john.py
Created February 15, 2026 13:59
7z2john.py for Python3
#!/usr/bin/env python3
#
# Copyright (c) 2013 by Dhiru Kholia, <dhiru (at) openwall.com>
# ... (licenses preserved) ...
#
# Modified for Python 3.10+ compatibility
from binascii import unhexlify
from datetime import datetime
from struct import pack, unpack
@DartPower
DartPower / hosts
Last active March 7, 2026 04:57
hosts additional for Zapret 1/2
# Default OpenWrt
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# Взято с - https://lolz.live/threads/7884871/
# Немного про инсту - да, снова костыль, но хотя-бы быстро работает. А вообще можно банально вхуярить перенаправление IP в роутер если он прошит, и тогда инста будет доступна не только на одном компе -
@DartPower
DartPower / SpeechLib.txt
Created December 31, 2025 10:27
SpeechLib C#
Сперва нужна SAPI DLL совместимая с .NET
SpeechLib.dll был сделан так (на ошибки не обращаем внимание)
"C:\Program Files\Microsoft.NET\SDK\v2.0\bin\tlbimp.exe" "C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll" /out:SpeechLib.dll /namespace:SpeechLib
Делаю в C# Project -> Add Reference... и кликаю по DLL.
Ниже пример голоса на английском. Код using... заносим на шапку программы, а 2 строки в код вызывающийся по клику кнопки.
using SpeechLib;
@DartPower
DartPower / GitCommitExporter.cs
Created December 29, 2025 16:28
Git Commit History Exporter in C# (Экспорт истории Git)
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text;
using System.Xml;
namespace GitCommitExporter
{
@DartPower
DartPower / Main.cs
Created December 29, 2025 11:11
Main.cs GMod1061
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
@DartPower
DartPower / package3_splash_injector.py
Created December 9, 2025 17:28
splash boot for package3 injector (by lRaphtalial)
from PIL import Image
import sys, os
from struct import pack as pk
from math import floor
SPLASH_SCREEN_WIDTH = 1280
SPLASH_SCREEN_HEIGHT = 720
SPLASH_SCREEN_STRIDE = 768