metebalci / simplehelpers

simple things that improves using the computer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simplehelpers

simple helper scripts

bash functions/scripts:

  • ls_mv_last.sh: list (ll) last 10 files and move (mvll) last modified files to another dir
  • cdgr.sh: change directory (cd) to git (repository) root
  • list_modified_files_of_packages.sh: lists the modified files installed with (deb, apt) packages
  • strip_whitespaces.sh: removes some whitespaces such as the line feed and space characters in stdin
  • todec_tohex.sh: convert the argument to/from hex to from/to decimal
  • lx-login.sh: login to lxc container as ubuntu, with bash completion

i3 config:

  • config.i3: some lines from my config

vim config:

  • vimrc: some lines from my config

lxd config:

  • lxd.default.profile: default profile supporting X apps, for idmap to work echo "root:$UID:1" | sudo tee -a /etc/subuid /etc/subgid

dpdk:

  • build-dpdk.sh: builds dpdk (dpdk src under dpdk dir, build output in dpdk-build folder), tested on Ubuntu 22.04 with DPDK 22.11.1 (LTS)
  • iommugroups.sh: shows which PCI device is under which IOMMU group

other:

  • petalinux_env_packages_ubuntu.sh: packages to install for a Peta Linux environment.
  • gnss-sdr-download-agnss.sh: download GPS AGNSS data to be used with GNSS-SDR, requires cddis.nasa.gov account
  • set_reset_method.sh: sets the (bus) reset method of a PCI device. it can be used with cron with @reboot for EPYC SATA controllers etc.

About

simple things that improves using the computer

License:GNU General Public License v3.0


Languages

Language:Shell 84.1%Language:Modula-3 10.0%Language:Vim Script 5.9%