RESEARCH

Questions : grep package : Ubuntu

File is changelogs.ubuntu.com/changelogs/pool/main/g/grep/grep_3.7-1build1/changelog $ docker run –rm -it -v `pwd`:/host ubuntu:latest bashroot@c45afb5dffac:/# cat /etc/os-releasePRETTY_NAME=”Ubuntu 22.04.3 LTS”NAME=”Ubuntu”VERSION_ID=”22.04″VERSION=”22.04.3 LTS (Jammy Jellyfish)”VERSION_CODENAME=jammyID=ubuntuID_LIKE=debianHOME_URL=”www.ubuntu.com/“SUPPORT_URL=”https://help.ubuntu.com/“BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/“PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy“UBUNTU_CODENAME=jammyroot@c45afb5dffac:/# time (for i in {1..10000}; do grep -q -m 1 -F…Read moreQuestions : grep package : Ubuntu

RESEARCH

bash – RegEx for parsing package name, package version (including release) for Fedora / Red Hat packages

My goal is to parse correctly package names and package versions (including release number) for Fedora or Red Hat packages like this: python39-3.9.16-1.module+el8.8.0+18968+3d7b19f0.1.x86_64 python3.11-3.11.2-2.el9_2.2.aarch64 glibc-2.34-60.el9.aarch64 glib2-2.68.4-6.el9.aarch64 langpacks-core-font-en-3.0-16.el9.noarch p11-kit-trust-0.24.1-2.el9.aarch64 tzdata-2023c-1.el9.noarch Expected…Read morebash – RegEx for parsing package name, package version (including release) for Fedora / Red Hat packages

3D PRINTING RESEARCH

virtual machines – How to enable / disable VRDP access to VirtualBox VM regardless of state

Yes. Listing vms (to get the name) $ VBoxManage list vms “Debian_11_Server_64bit” {3d**6e14-3846-4673-aacb-726****283af} “emptyVM” {8a**643a-f470-4ab0-931a-5da6****5ce4} – Enable/disable VRDP when the VM is OFF # Power off $ vboxmanage controlvm emptyVM…Read morevirtual machines – How to enable / disable VRDP access to VirtualBox VM regardless of state

LOW VOLTAGE IC RESEARCH

Unable to install Python’s Pyrfc library for SAP on Raspberry pi 4

this error message arm-linux-gnueabihf-gcc: error: unrecognized command-line option -minline-all-stringops arm-linux-gnueabihf-gcc is 32bit htis pyrfc setup.py github.com/SAP/PyRFC/blob/main/setup.py # launchpad.support.sap.com/#/notes/2573953 if sys.platform.startswith(“linux”): os.system(‘strings $SAPNWRFC_HOME/lib/libsapnwrfc.so | grep “Patch Level”‘) LIBS = [“sapnwrfc”, “sapucum”]…Read moreUnable to install Python’s Pyrfc library for SAP on Raspberry pi 4

RESEARCH

regular expression – multiple replacement in file using sed and regex

I have a file like this: one line echo number_format($row1[$z+1],2,”,”,”.”); echo “<b><font color=red>”.number_format($mount_01,2,”,”,”.”).”</font></b>”; echo “<b><font color=red>”.number_format($mount_02,2,”,”,”.”).”</font></b>”; other line <td bgcolor=”red”><b><font color=”white”><?echo number_format($general,2,”,”,”.”);?></font></b></td> another line <td><font size=4><b><?echo number_format($sum_total,2,”,”,”.”);?></font></b></td> with this regex:…Read moreregular expression – multiple replacement in file using sed and regex

ACOUSTICS & DSP RESEARCH

How to have Pulseaudio load card specified by an invariant value when starting?

I have this in my default.pa: load-module module-alsa-card device_id=4 name=”Some_card” set-card-profile alsa_card.Some_card output:iec958-stereo+input:mono-fallback load-module module-alsa-card device_id=3 name=”Another_card” set-card-profile alsa_card.Another_card input:iec958-stereo However, sometimes the device_id changes and pulseaudio doesn’t start, probably…Read moreHow to have Pulseaudio load card specified by an invariant value when starting?

3D PRINTING RESEARCH

jq – Use kubectl find out how many Deployments don’t have a container called “main”

[*] The below command would print the deployment name and the container names. grep -v would filter out whatever you need to remove. kubectl get deployment -o custom-columns=””DEPLOYMENT-NAME”:.metadata.name,”CONTAINER-NAME”:.spec.template.spec.containers[*].name” DEPLOYMENT-NAME CONTAINER-NAME…Read morejq – Use kubectl find out how many Deployments don’t have a container called “main”