В Python есть удобный почтовый debug-сервер. Он поможет проверить работу почты вашего web-проекта на этапе разработки без необходимости настраивать внешние сервисы или взаимодействие с реальными серверами Google или Yandex. Этот сервер просто печатает все сообщения в консоль.
Таким образом удобно дебажить одноразовые ссылки активации или просто факт отправки письма по расписанию.
Запускается очень просто:
python3 -m smtpd -n -c DebuggingServer localhost:1025
Теперь настройте ваш проект на использование этого сервера. Например вот так настраивается Django:
# settings.py
if DEBUG:
EMAIL_HOST = 'localhost'
EMAIL_PORT = 1025
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = False
DEFAULT_FROM_EMAIL = '[email protected]'
#django#tricks
初探苹果 Xcode 26.3:一句人话,2 分钟 AI 搞定番茄钟 App
Xcode 26.3更新引入了智能体编程工具,支持大语言模型和 Anthropic Claude Agent 等业界主流模型。智能体不仅减少手动编码时间,还降低开发门槛。新功能包括视觉感知、协议互通和模型上下文协议。
标签:#apple#Xcode
Created by RocM
官方频道:@rocCHL
官方群组:@roctech
官方合作:@rocmmbot
AI Assistant for Xcode Funded
Alex has successfully raised $500K in funding aimed at developing an AI assistant for Xcode, with the funding round concluding on December 4, 2024.
#Funding#AI#Xcode#Tech#Startup
‼️🏝KMP Разработчики не обновляйте XCode до 16.3
В Kotlin 2.1.20 несовместим со свежей версий XCode, поддержка будет в Kotlin 2.1.21. Отложите обновление!
#kotlin#kmp#xcode
#swift#ci#cli#generator#specification#swift#xcode#xcodeproj#xcodeproject#yaml
XcodeGen is a Swift command-line tool that automatically creates your Xcode project based on your folder structure and a simple YAML or JSON configuration file. This means you don’t have to manually manage your Xcode project files, avoiding merge conflicts in Git and keeping your project files always in sync with your folders. It supports complex setups, multiple targets, build settings, and schemes, and works well with CI systems. Using XcodeGen saves you time, reduces errors, and makes collaboration easier by letting you generate and update projects on demand without opening Xcode manually. This helps you focus more on coding and less on project setup.
https://github.com/yonaskolb/XcodeGen