home.social

#dotenv — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #dotenv, aggregated by home.social.

  1. Hint: When using something like vlucas/phpdotenv, which populates a superglobal, there's no need of attribution, you can just isolate the return of createX and chain methods.

    Intead of:
    $env = Dotenv::createImmutable($yourPath);
    $env->load(); // $_ENV becomes populated

    You can do:
    (Dotenv::createImmutable($yourPath))->load(); // $_ENV becomes populated

    **#php** **#phpdotenv** **#env** **#dotenv**

  2. Hint: When using something like vlucas/phpdotenv, which populates a superglobal, there's no need of attribution, you can just isolate the return of createX and chain methods.

    Intead of:
    $env = Dotenv::createImmutable($yourPath);
    $env->load(); // $_ENV becomes populated

    You can do:
    (Dotenv::createImmutable($yourPath))->load(); // $_ENV becomes populated

    **#php** **#phpdotenv** **#env** **#dotenv**

  3. Hint: When using something like vlucas/phpdotenv, which populates a superglobal, there's no need of attribution, you can just isolate the return of createX and chain methods.

    Intead of:
    $env = Dotenv::createImmutable($yourPath);
    $env->load(); // $_ENV becomes populated

    You can do:
    (Dotenv::createImmutable($yourPath))->load(); // $_ENV becomes populated

    **#php** **#phpdotenv** **#env** **#dotenv**

  4. 클로드 소스 유출로 배우는 보안

    앤트로픽 Claude Code 소스코드 유출 사태를 계기로, 내 AI 프로젝트에서 API 키를 안전하게 관리하는 방법을 실습합니다. .env 설정부터 유출 시 복구 절차까지, 지금 바로 따라 할 수 있는 보안 습관을 익혀보세요.

    #API보안 #깃허브보안 #앤트로픽 #환경변수 #dotenv #블로그 #ODOB

  5. #Varlock#dotenv files built for sharing, powered by @ env-spec decorator comments #opensource #devtools #nodejs #ai

    🔐 Adds declarative schema to your .env files using JSDoc-style @ env-spec comments – validation, type safety & IntelliSense included

    🛡️ Protects sensitive config values with log redaction & leak prevention built right into the workflow

    🌐 Flexible multi-environment management: automatically loads .env.xxx files based on your APP_ENV flag

    🧵 👇

  6. #Varlock#dotenv files built for sharing, powered by @ env-spec decorator comments #opensource #devtools #nodejs #ai

    🔐 Adds declarative schema to your .env files using JSDoc-style @ env-spec comments – validation, type safety & IntelliSense included

    🛡️ Protects sensitive config values with log redaction & leak prevention built right into the workflow

    🌐 Flexible multi-environment management: automatically loads .env.xxx files based on your APP_ENV flag

    🧵 👇

  7. #Varlock#dotenv files built for sharing, powered by @ env-spec decorator comments #opensource #devtools #nodejs #ai

    🔐 Adds declarative schema to your .env files using JSDoc-style @ env-spec comments – validation, type safety & IntelliSense included

    🛡️ Protects sensitive config values with log redaction & leak prevention built right into the workflow

    🌐 Flexible multi-environment management: automatically loads .env.xxx files based on your APP_ENV flag

    🧵 👇

  8. #Varlock#dotenv files built for sharing, powered by @ env-spec decorator comments #opensource #devtools #nodejs #ai

    🔐 Adds declarative schema to your .env files using JSDoc-style @ env-spec comments – validation, type safety & IntelliSense included

    🛡️ Protects sensitive config values with log redaction & leak prevention built right into the workflow

    🌐 Flexible multi-environment management: automatically loads .env.xxx files based on your APP_ENV flag

    🧵 👇

  9. #Varlock#dotenv files built for sharing, powered by @ env-spec decorator comments #opensource #devtools #nodejs #ai

    🔐 Adds declarative schema to your .env files using JSDoc-style @ env-spec comments – validation, type safety & IntelliSense included

    🛡️ Protects sensitive config values with log redaction & leak prevention built right into the workflow

    🌐 Flexible multi-environment management: automatically loads .env.xxx files based on your APP_ENV flag

    🧵 👇

  10. So, Mr. Dayvi Schuster managed to "accidentally" invent a #Zig #dotenv #parser while actually trying to do something else entirely. 🙄 Bravo, #genius — it's like discovering penicillin while searching for a lost sock. 🙃 Maybe next, you'll stumble upon cold fusion while making a sandwich. 🥪✨
    dayvster.com/blog/accidentally #invention #accidental #coding #humor #innovation #HackerNews #ngated

  11. So, Mr. Dayvi Schuster managed to "accidentally" invent a #Zig #dotenv #parser while actually trying to do something else entirely. 🙄 Bravo, #genius — it's like discovering penicillin while searching for a lost sock. 🙃 Maybe next, you'll stumble upon cold fusion while making a sandwich. 🥪✨
    dayvster.com/blog/accidentally #invention #accidental #coding #humor #innovation #HackerNews #ngated

  12. So, Mr. Dayvi Schuster managed to "accidentally" invent a #Zig #dotenv #parser while actually trying to do something else entirely. 🙄 Bravo, #genius — it's like discovering penicillin while searching for a lost sock. 🙃 Maybe next, you'll stumble upon cold fusion while making a sandwich. 🥪✨
    dayvster.com/blog/accidentally #invention #accidental #coding #humor #innovation #HackerNews #ngated

  13. So, Mr. Dayvi Schuster managed to "accidentally" invent a #Zig #dotenv #parser while actually trying to do something else entirely. 🙄 Bravo, #genius — it's like discovering penicillin while searching for a lost sock. 🙃 Maybe next, you'll stumble upon cold fusion while making a sandwich. 🥪✨
    dayvster.com/blog/accidentally #invention #accidental #coding #humor #innovation #HackerNews #ngated

  14. Counting versioned templates, non-versioned local files and different purposes/environments... a project I work on has 10 .env* files. 🥺
    #dotenv #softwaredevelopment

  15. Counting versioned templates, non-versioned local files and different purposes/environments... a project I work on has 10 .env* files. 🥺
    #dotenv #softwaredevelopment

  16. Counting versioned templates, non-versioned local files and different purposes/environments... a project I work on has 10 .env* files. 🥺
    #dotenv #softwaredevelopment

  17. Found out about a new secret handling standard called .

    Has some nice simplicity with . And integrates with . 😎

    I have workloads doing this stuff all over the place. So it's definitely nice maybe not reinventing the same wheel for the 42nd time. 🫠

    secretspec.dev/

  18. Found out about a new secret handling standard called #secretspec.

    Has some nice simplicity with #dotenv. And integrates with #1password. 😎

    I have workloads doing this stuff all over the place. So it's definitely nice maybe not reinventing the same wheel for the 42nd time. 🫠

    secretspec.dev/

  19. Found out about a new secret handling standard called #secretspec.

    Has some nice simplicity with #dotenv. And integrates with #1password. 😎

    I have workloads doing this stuff all over the place. So it's definitely nice maybe not reinventing the same wheel for the 42nd time. 🫠

    secretspec.dev/

  20. Found out about a new secret handling standard called #secretspec.

    Has some nice simplicity with #dotenv. And integrates with #1password. 😎

    I have workloads doing this stuff all over the place. So it's definitely nice maybe not reinventing the same wheel for the 42nd time. 🫠

    secretspec.dev/

  21. Found out about a new secret handling standard called #secretspec.

    Has some nice simplicity with #dotenv. And integrates with #1password. 😎

    I have workloads doing this stuff all over the place. So it's definitely nice maybe not reinventing the same wheel for the 42nd time. 🫠

    secretspec.dev/

  22. Как провести пользовательское исследование без пользователей: пошаговый гайд с PyAutoGen

    Если вы продюсер, методист или менеджер образовательного продукта без техбэкграунда — и у вас нет UX-исследователя, времени и бюджета — это статья для вас. Я расскажу, как провела синтетическое исследование без респондентов, но с результатом, используя AutoGen — фреймворк от Microsoft, который позволяет моделировать диалоги между ИИ-агентами. Здесь не будет сложного кода. Только пошаговая инструкция, минимум настроек и максимум пользы, чтобы вытащить из AI внятные сценарии поведения пользователей.

    habr.com/ru/articles/910244/

    #chatgpt #OpenAI_API #ииагенты #LLMинтеграции #env #dotenv #User_Research #EdTech #Продуктовая_аналитика #PyAutoGen

  23. Как пересылать сообщения из Telegram в SMS с помощью бота

    Всем привет! У платформы

    habr.com/ru/companies/exolve/a

    #nodejs #telegram #sms_api #dotenv #botfather #telegrambot

  24. Totally like the #ANSI theme and idea:

    Magic .env files built for sharing: Human-first, #AI-friendly. #varlock can be used as a direct replacement for #dotenv in most projects. Opt out of analytics with $ varlock opt-out

    varlock.dev/

  25. direnv-dotenx - plugin for direnv to load environment using dotenvx - an encrypted env file manager

    github.com/chenasraf/direnv-do

  26. First time using the #DotEnv feature in #Just today. Known it was there for a while, but not had need until now. Got to say it's really bloody useful

  27. The #FileCoffee #FileHost is neato. Check it out:
    github.com/filecoffee/filehost

    Only spent 45 mins w/ it prob, but .ejs
    You'd know more than I. I couldn't get the Docker image to work. It was easy to deploy on NGINX w/ NPM or something.

    #edit that's right. They suggest deploy using Railway railway.app/template/pv_x6t?re

    So #RubyOnRails. (I never ventured into that rabbit hole. and that's $$$ service) . But I have it going local dev (sort of). prob installed ruby modules via apt then because i dont recall specifically setting up my server for Ruby. I do recall trying to do that in the past w/ ChatGPT, but failed. Lack of interest most likely.

    Connect to #S3 via #dotenv #configfile

    @chriscoyier @ppk @Catweazle @ShareX @bluemix @chrispederick

  28. dotenvx

    清一清 tab... 兩個禮拜前還在日本時在 Hacker News 的「Show HN: From dotenv to dotenvx – better config management (dotenvx.com)」看到的東西,原文在推廣 dotenvx:「From dotenv to dotenvx: Next Generation Config Management」。

    從 GitHub 的文件上可以看到幾個用法,一種是直接用,像是一般的 dotenv 的用法:

    // index.js
    require('@dotenvx/dotenvx').config()
    console.l

    blog.gslin.org/archives/2024/0

    #Computer #Library #Murmuring #Programming #Security #Software #env #dotenv #dotenvx #secret #security #vault #zero

  29. Starting from version 20.6.0, Node.js allows the use of the --env-file flag when executing scripts. This flag specifies a path to an .env file that Node.js will read before running the specified script.

    nodejs.org/en/learn/command-li

    #webDev #javaScript #nodeJs #env #dotenv #environment

  30. Whoaaaa ! - NodeJS >= 20.6.0 supports loadings mutliple .env files at startup:

    node --env-file=.env --env-file=.env.local main.mjs

    francoisbest.com/posts/2023/do

  31. The {dotenv} #rstats 📦 automatically loads values defined in a .env file into your R environment. (The .env file has to be in your current working directory.) Handy if you're mixing R and Python in the same project! By @gaborcsardi

    Pkg doc says #dotenv parses these formats:

    VARIABLE=value
    VARIABLE2="quoted value"
    VARIABLE3='another quoted variable'
    # Comment line
    export EXPORTED="exported variable"
    export EXPORTED2=another

    github.com/gaborcsardi/dotenv

    @rstats

  32. For a while I've noticed that many people use #dotenv in a suboptimal way, so this morning I took the time to write a short article about better usage patterns (pretty basic stuff, so if you are an expert it's likely that you will find it boring):

    blog.coderspirit.xyz/blog/2023

    #javascript #webdev #backend #nodejs

  33. Hoy les comparto nuevo post en el blog de @juncotic!

    @AndreaCNavarroM nos explica cómo manejar variables de entorno en nuestras apps #Python usando el módulo #dotenv.

    La semana que viene voy a complementar este artículo con algo sobre #envvars en #gnu #linux, estén atentos! :-)
    ---
    RT @juncotic
    ¡¡Nuevo artículo en el blog!!

    Hoy otra entrada sobre #programación en #python :D

    Aprenderemos los conceptos principales de variables de entorn…
    twitter.com/juncotic/status/16

  34. Totally like the #ANSI theme and idea:

    Magic .env files built for sharing: Human-first, #AI-friendly. #varlock can be used as a direct replacement for #dotenv in most projects. Opt out of analytics with $ varlock opt-out

    varlock.dev/

  35. Totally like the #ANSI theme and idea:

    Magic .env files built for sharing: Human-first, #AI-friendly. #varlock can be used as a direct replacement for #dotenv in most projects. Opt out of analytics with $ varlock opt-out

    varlock.dev/

  36. Totally like the #ANSI theme and idea:

    Magic .env files built for sharing: Human-first, #AI-friendly. #varlock can be used as a direct replacement for #dotenv in most projects. Opt out of analytics with $ varlock opt-out

    varlock.dev/