Skip to content

Instantly share code, notes, and snippets.

Avatar

Igor Melker IMelker

  • Voximplant
  • Moscow
View GitHub Profile
View VMBox Centos 7 prepare for install VirtualBox Guest Additions [prepare.sh]
#!/bin/bash
# ------------------------------------------------------------
# Centos7 VirtualBox Guest Additions installation
# Update kernel headers and install requirements for it
#
# USAGE sudo prepare.sh
#
# sudo requires for installation, export KERNEL_DIR and reboot
# ------------------------------------------------------------
@IMelker
IMelker / code_format.sh [recursive clang-format]
Last active Jul 26, 2019
clang-format wrapper for multifile ussage [cpp]
View code_format.sh [recursive clang-format]
#!/bin/bash
# ------------------------------------------------------------
# Recursive cpp code formatter based on clang-format
# For base work there is you need to have .clang-format file
#
# USAGE code_format.sh [clang-format-options] [<file|dir> ...]
#
# clang-format-options passes through to clang-format
# ------------------------------------------------------------
@IMelker
IMelker / [DEB] Reconfigure all pacakges. [reconfigure.sh]
Last active Sep 30, 2019
Reconfiguare all installed packages
View [DEB] Reconfigure all pacakges. [reconfigure.sh]
#!/bin/bash
# ------------------------------------------------------------
# Reconfiguare all *.deb installed packages
# Run dpkg-reconfigure for all dpkg -l
#
# USAGE insert next to terminal or run as sh script
#
# Be careful reconfiguration can broke your system
# ------------------------------------------------------------