This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
# Config for GNU GRand Unified Bootloader (GRUB) (2) | |
# /boot/grub2/grub.cfg | |
# or | |
# /boot/grub/grub.cfg | |
# Mostly only 'legacy' CSM/BIOS boot methods currently. | |
# Unable to boot loop entries with Secure Boot | |
# Notes: | |
# Description: | |
# This grub.cfg file was created by Lance http://www.pendrivelinux.com |
dsquery * "OU=User Accounts,DC=your,DC=domain,DC=com" -filter "(samaccountname=USER)" -attr * |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
/** | |
* Copyright (c) 2019 Wouter van den Broek https://github.com/wbroek/ | |
* All rights reserved. | |
*/ | |
const axios = require('axios'); | |
const ntlm = require('./ntlm'); | |
// NODE JS | |
const https = require('https'); | |
const httpsAgent = new https.Agent({ keepAlive: true }); |
# Use systemd for managing NVIDIA driver suspend in drivers ====>>> PRIOR to version 470 <<<===== | |
# https://download.nvidia.com/XFree86/Linux-x86_64/450.66/README/powermanagement.html | |
# https://forums.developer.nvidia.com/t/unable-to-set-nvidia-kernel-module-parameters/161306 | |
# Please note: In Fedora Linux you may need to just install the xorg-x11-drv-nvidia-power pakage | |
# as sugested by @goombah88 in the comments below. | |
TMP_PATH=/var/tmp | |
TMPL_PATH=/usr/share/doc/nvidia-driver-460/ | |
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=${TMP_PATH}" | sudo tee /etc/modprobe.d/nvidia-power-management.conf |
<?php | |
namespace PHP81_BC; | |
/** | |
* Locale-formatted strftime using \IntlDateFormatter (PHP 8.1 compatible) | |
* This provides a cross-platform alternative to strftime() for when it will be removed from PHP. | |
* Note that output can be slightly different between libc sprintf and this function as it is using ICU. | |
* | |
* Usage: | |
* use function \PHP81_BC\strftime; |
<?php | |
$authorizationHeader = "Authorization: Bearer <YOUR_ACCESS_TOKEN>"; | |
/* | |
Steps to get Authentication Bearer : | |
1.Got to Google OAuth Playground: https://developers.google.com/oauthplayground | |
2.In the "Input your own scopes" for FCM use this url: https://www.googleapis.com/auth/firebase.messaging | |
3.Tap Authorize API. | |
4.Pick correct user for authorisation and allow access. |