- Enable proper repositories:
subscription-manager repos --disable="*" \
--enable=rhel-7-server-rpms \
--enable=rhel-7-server-extras-rpms
/********************************************************************* | |
* | |
* Name: user.js | brainfucksec | |
* Date: 2024-10-20 | |
* Version: 0.23.0 | |
* Descr.: Mozilla Firefox configuration file: `user.js` | |
* URL: https://gist.github.com/brainfucksec/68e79da1c965aeaa4782914afd8f7fa2 | |
* Maintainer: brainf+ck | |
* | |
* INFO: |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
If you want to run docker as non-root user then you need to add it to the docker group. | |
1. Create the docker group if it does not exist | |
$ sudo groupadd docker | |
2. Add your user to the docker group. | |
$ sudo usermod -aG docker $USER | |
3. Run the following command or Logout and login again and run (that doesn't work you may need to reboot your machine first) | |
$ newgrp docker | |
4. Check if docker can be run without root | |
$ docker run hello-world | |
Windows Registry Editor Version 5.00 | |
; Windows terminal | |
[-HKEY_CLASSES_ROOT\Directory\shell\MenuWindowsTerminal] | |
[-HKEY_CLASSES_ROOT\Directory\background\shell\MenuWindowsTerminal] | |
[-HKEY_CLASSES_ROOT\Directory\LibraryFolder\shell\MenuWindowsTerminal] |
yum updateinfo | less -NFiX | |
yum check-update --security | |
yum updateinfo --security | |
yum updateinfo list --security | less -NFiX | |
yum updateinfo list updates | grep Critical | |
yum list available kernel | |
uname -r | |
yum update --security | |
reboot | |
yum update-minimal --advisory RHSA-2018:1965 --security |
Windows Registry Editor Version 5.00 | |
;Remove 'Give access to' Context Menu in Windows 10 | |
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Sharing] | |
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ModernSharing] | |
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Sharing] | |
[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Sharing] | |
[-HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandlers\Sharing] | |
[-HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\Sharing] | |
[-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Sharing] |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Add React in One Minute</title> | |
</head> | |
<body> | |
<h2>Add React in One Minute</h2> | |
<p>This page demonstrates using React with no build tooling.</p> |