Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Node.js 26 is the new LTS, but patch first: node -v shows v24.22.1 on the laptop while the Docker image still runs v24.22.0, because images built before October 21 run an unpatched Node.
Photo, no description
```nix
{
  description = ''
    Example of (ab)using Nix to build attrsets for executing NPM scripts within
    Docker compose containers of a mono-repo.

    Author: S0AndS0.eth
    License: this is your problem now ;-]
  '';

  inputs = {
    # nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
  };

  outputs =
    {
      # nixpkgs,
      ...
    }:
    let
      system = "x86_64-linux";

      pkgs = (import <nixpkgs> { }).pkgs;
      lib = (import <nixpkgs> { }).lib;

      # pkgs = nixpkgs.legacyPackages.${system};
      # lib = pkgs.lib;
    in
    {
      devShells.${system} =
        let
          package_json_script_keys =
            { path, ... }:
            let
              json_data = lib.fromJSON (lib.readFile path);
            in
            if lib.pathExists path && (lib.hasAttr "scripts" json_data) then
              lib.attrsets.attrNames json_data.scripts
            else
              [ ];
        in
        {
          /**
            ```bash
            nix develop --impure .#default
            ```
          */
          default = pkgs.mkShell {
            buildInputs = with pkgs; [
              docker-compose
            ];
          };

          docker-compose = {
            /**
              Add NodeJS/NPM projects of mono-repo to `sub_directories` list

              ```bash
              nix develop .#docker-compose.npm.<sub_dir>.install

              nix develop .#docker-compose.npm.<sub_dir>.run.<script>
              ```
            */
            npm =
              let
                sub_directories = [
                  "api"
                ];

                docker-compose = lib.getExe pkgs.docker-compose;
              in
              lib.attrsets.listToAttrs (
                lib.lists.map (sub_dir: {
                  name = sub_dir;
                  value =
                    let
                      run_script_keys = package_json_script_keys {
                        path = ./${sub_dir}/package.json;
   …
Photo, no description
✨ Worth another look #CodeTrendy → Uplinkly - Branded Short Links

Create branded short links, connect custom domains, host landing pages, and track c
Cover graphic for the week 44 security roundup on heygalatea.com: PHP2Shell and Node2Shell go from patch to exploited.
Photo, no description
e-Fatura React Playground in the browser: on the left, the invoice JSON request (type FTE, emitter and receiver with Cabo Verde tax IDs); on the right, Generate XML, Download ZIP, Check readiness and Open DFA PDF buttons above the generated DFE XML output (6805 bytes), with an "XML generated." notice.
Photo, no description
Συναγερμός στις ΗΠΑ για δύο σοβαρά προβλήματα ασφαλείας που αξιοποιούνται σε επιθέσεις
Cat treat cam snapshot
Photo, no description
Photo, no description
Cat treat cam snapshot
Σοβαρό πρόβλημα ασφαλείας στον κώδικα της Google επηρεάζει Node.js και άλλες εφαρμογές
Una persona posant un 0 a un cartell que posa "Dies sense CVE's"
Load more