Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

ltcodes (1) Versions 0.1.0

Installs ltcodes, a command that checks Lithuanian personal codes, company codes, VAT numbers and IBANs

Policyfile
Berkshelf
Knife
cookbook 'ltcodes', '~> 0.1.0', :supermarket
cookbook 'ltcodes', '~> 0.1.0'
knife supermarket install ltcodes
knife supermarket download ltcodes
README
Dependencies
Changelog

ltcodes cookbook

Installs ltcodes, a small command that checks Lithuanian personal codes (asmens kodas), company codes (juridinio asmens kodas), VAT numbers (PVM mokÄ—tojo kodas) and IBANs. Handy on servers that import customer or supplier data and need a quick check in scripts.

$ ltcodes 33309240064 123033512 "LT12 1000 0111 0100 1000" 33309240164
33309240064: valid personal code, born 1933-09-24
123033512: valid company code, VAT number
LT12 1000 0111 0100 1000: valid IBAN
33309240164: invalid

The exit status is 0 when every code is valid, 1 when any is invalid.

Platforms

The cookbook downloads the prebuilt binary from the GitHub release and checks its SHA-256:

  • Linux on x86_64 (Debian, Ubuntu, RHEL and compatible, Amazon Linux, Fedora, SUSE)
  • macOS on Apple Silicon
  • Windows on x86_64 (the folder is added to PATH)

Usage

Add recipe[ltcodes] to the run list, or from another recipe:

include_recipe 'ltcodes'

Attributes

Attribute Default Meaning
node['ltcodes']['version'] 0.2.1 release to install
node['ltcodes']['checksums'] checksums of 0.2.1 SHA-256 of each release archive
node['ltcodes']['install_dir'] /opt/ltcodes, C:\ltcodes where the binary goes; on Linux and macOS it is linked from /usr/local/bin

When you pin another version, set its checksums too.

What is checked

  • Personal code: 11 digits, the first digit gives the century and sex, the next six the birth date, and the last one is a check digit.
  • Company code: 9 digits with a check digit.
  • VAT number: 9 or 12 digits, with or without the LT prefix.
  • IBAN: 20 characters that start with LT, checked with the MOD-97 rule.

The check digit only proves that a code is well formed, not that it was issued to anyone.

Made by KokybiskaSvetaine.lt. Licence: MIT.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

ltcodes cookbook changelog

0.1.0

  • First release: installs the ltcodes 0.2.1 command on Linux (x86_64), macOS (Apple Silicon) and Windows (x86_64).
Copyright © 2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.

Progress and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.
See Trademarksfor appropriate markings. All rights in any other trademarks contained herein are reserved by their respective owners and their inclusion does not imply an endorsement, affiliation, or sponsorship as between Progress and the respective owners.

Code of Conduct Terms and Conditions of Use Privacy Policy Cookie Policy Trademark Policy Status