This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 в роутер если он прошит, и тогда инста будет доступна не только на одном компе - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Сперва нужна 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Xml; | |
| namespace GitCommitExporter | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
NewerOlder