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 / pipeline_v3.cmd
Created October 5, 2026 13:56
RexGlue compile pipeline template
:: Доп инфа
:: в CMakeLists.txt
:: set(REXSDK_DIR "D:/TEMP/1/5841128F/rexglue-sdk" CACHE PATH "Path to rexglue-sdk source tree")
::
:: в terrariarecomp_manifest.toml
::
::[functions]
::# Указываем, что функция начинается по адресу 0x823520D0 и имеет размер, например, 0x1000 байт (нужно уточнить)
::"0x823520D0" = { name = "sub_823520D0", size = 0x1000 }
::# Аналогично для других функций
@DartPower
DartPower / Program.cs
Last active September 17, 2026 17:28
XNA Ressurector - Project restore
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
@DartPower
DartPower / get_casaos.sh
Created August 15, 2026 12:27
get_casaos.sh
#!/usr/bin/bash
#
# CasaOS Installer Script v0.4.16#
# GitHub: https://github.com/IceWhaleTech/CasaOS
# Issues: https://github.com/IceWhaleTech/CasaOS/issues
# Requires: bash, mv, rm, tr, grep, sed, curl/wget, tar, smartmontools, parted, ntfs-3g, net-tools
#
# This script installs CasaOS to your system.
# Usage:
#
@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;