Skip to content

Red Hatยค

My FOSS

Thank you, FOSS!

As a way to give back to the FOSS community, I have created and maintained a Copr repository for scientific packages, coprs/thangckt/foss, to keep up-to-date builds of various cutting-edge packages for the latest RedHat based distros.

The repository includes even essential daily-use packages, such as mail client, office stuff, to critical scientific applications like Ovito, Zotero, VScodium, SSH client, and many others.

To install the packages, simply enable the Copr repository:

sudo dnf copr enable thangckt/foss
sudo dnf install ovito zotero  # or other packages

Or add repo file:

sudo dnf config-manager addrepo --overwrite --from-repofile=https://copr.fedorainfracloud.org/coprs/thangckt/foss/repo/fedora-42/thangckt-thang_foss-fedora-42.repo
sudo dnf install ovito

Some available packages:

Package Description
ovito Open Visualization Tool for Scientific data visualization and analysis
zotero Reference management software
vscodium Open-source build of Visual Studio Code
github-desktop-plus GitHub desktop client for version control
electerm SSH client and terminal emulator
tailscale A modern, zero-config VPN service built on the WireGuard protocol
remmina Remote desktop client supporting multiple protocols
onlyoffice Open-source office suite for document editing
goldendict-ng A feature-rich dictionary application
freefilesync Folder comparison and synchronization software
freecad Open-source parametric 3D modeling software
... ... and many more

VSCode extension for LAMMPS script

LAMMPS Script Syntax

A minimal VSCode extension concisely for highlighting LAMMPS input files.

This extension is originally derived from lammps_vscode, which strips off uncommon features to minimizes memory usage and dependencies.

I made it to fit my personal usage and resources. If you need more features, I recommend to use the original one.

Features

  • Highlight the keywords in LAMMPS input files.
  • Recognizes *.lmp, *.lmps, *.lammps, and in.* files as LAMMPS input files.
  • Folding possible between Markers #[ and #]

Extension Settings

  • lammps.AutoComplete.Setting: Controls the behaviour of the autocompletion feature. This setting may influence the performance of the extension.
  • lammps.Hover.Detail: Control the length of the displayed description in the hover popup.
  • lammps.Hover.Enabled: Display command information in a popup when hovering over a command or keyword.
  • lammps.Hover.Examples: Display example usage in the hover popup.

Usage

Syntax Highlighting

VSCode extension for Regular Expression Alignment

Align Regex

This extension is originally based on vscode-align-by-regex

This extension aligns multiple lines of text by regular expressions. It can align anything, e.g., trailing comments, key-value pairs, or any text patterns defined by regular expressions.

Features

  • Align multiple lines of text by regular expressions.
  • Store regular expressions as templates for repeated use.
  • Run alignment from the editor context menu.
  • Support aligning multiple line selections and cursors simultaneously.

Extension Settings

  • align.regex.templates: Templates for regular expressions used for alignment. The default built-in templates are:
    {
        "align.regex.templates": {
            "Multiple signs": "=|,|:",
            "Trailing comments #": "(?<=\\S.*)\\s+#",
            "Trailing comments //": "(?<=\\S.*)\\s+//",
            "Trailing comments %": "(?<=\\S.*)\\s+%",
        }
    }
    

Usage

  • Select multiple lines or multiple cursors
  • Right-click on the editor, and choose Align Regex
  • Select templates or input Regular Expression.

Example 1