Skip to content

Instantly share code, notes, and snippets.

@VerosK
VerosK / centos_bstick.sh
Created August 22, 2017 12:06 — forked from vkanevska/centos_bstick.sh
Custom CentOS 7 bootable ISO / Support UEFI & Secure boot
#!/bin/bash
# create custom bootable iso for CentOS 7 with kickstart
if [ $# -lt 2 ]
then
echo "Usage1: $0 path2iso path2kickstart"
exit 1
else
if [ ! -f $1 ]
then
@JesterEE
JesterEE / agileesof.service
Last active June 4, 2018 18:20
RHEL7 agileesofd License Server systemd service
[Unit]
Description=agileesofd License Daemon
After=network.target network.service
[Service]
User=flexlm
WorkingDirectory=/opt/Keysight/flexnet
ExecStart=/opt/Keysight/flexnet/lmgrd -c ./licenses/agileesofd.lic -l ./log/agileesofd.log
Restart=always
RestartSec=30
@emiller
emiller / git-mv-with-history
Last active April 17, 2024 21:06
git utility to move/rename file or folder and retain history with it.
#!/bin/bash
#
# git-mv-with-history -- move/rename file or folder, with history.
#
# Moving a file in git doesn't track history, so the purpose of this
# utility is best explained from the kernel wiki:
#
# Git has a rename command git mv, but that is just for convenience.
# The effect is indistinguishable from removing the file and adding another
# with different name and the same content.