create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
// Simple JS snippet to bulk unwatch (stop watching, un-watch) issues in JIRA. | |
// Written and tested for JIRA 5.2, but should work for all 5+ versions. | |
// WHAT IT DOES: | |
// 1. Gets list of issues you watch using JQL search via REST API. You can modify JQL per your needs. | |
// 2. For each issue found, triggers REST API call to unwatch this issue for current user. | |
// HOWTO: | |
// 1. Go to JIRA in your browser, log in. | |
// 2. Open your browser JavaScript console. |
// zod schema | |
z.object({ | |
// valid if string or: | |
optional: z.string().optional(), // field not provided, or explicitly `undefined` | |
nullable: z.string().nullable(), // field explicitly `null` | |
nullish: z.string().nullish(), // field not provided, explicitly `null`, or explicitly `undefined` | |
}); | |
// type | |
{ |
/** | |
* Move WooCommerce Related Products to a tab | |
* | |
* Copy code to theme functions.php | |
*/ | |
// Remove standard Related Products section | |
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 ); | |
/** |
/** | |
* Подключение скриптов и стилей только на страницах WooCommerce | |
* | |
* @testedwith WooCommerce 7.0 | |
* @verphp 7.4 | |
* @author Artem Abramovich | |
*/ | |
function art_connection_css_js_only_woocommerce_pages() { | |
if ( ! class_exists( 'Woocommerce' ) ) { |
const notice = (msg) => new Notice(msg, 5000); | |
const log = (msg) => console.log(msg); | |
const parser = new DOMParser(); | |
const API_URL = "https://api.geekdo.com/xmlapi2"; | |
module.exports = { | |
entry: start, | |
settings: { | |
name: "BoardGameGeek", |
<?php | |
//SalesGen.io | |
//remove reviews and additional_information tab | |
add_filter( 'woocommerce_product_tabs', 'salesgen_remove_product_tabs', 98 ); | |
function salesgen_remove_product_tabs( $tabs ) { | |
if(is_product()){ | |
unset( $tabs['additional_information'] ); // Remove the additional information tab | |
unset( $tabs['reviews'] ); // Remove the additional information tab |
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX
with /dev/sdX
or your device as needed.