#!/bin/bash
# =============================================================================
# Install Cloudlflare daemon (cloudflared) on Linux (Ubuntu) - DNS-over-HTTPS
# https://developers.cloudflare.com/1.1.1.1/dns-over-https/cloudflared-proxy/
# https://developers.cloudflare.com/argo-tunnel/downloads
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
#!/usr/bin/env bash | |
# | |
# https://github.com/P3TERX/warp.sh | |
# Description: Cloudflare WARP Installer | |
# System Required: Debian, Ubuntu, Fedora, CentOS, Oracle Linux, Arch Linux | |
# Version: beta39 | |
# | |
# MIT License | |
# | |
# Copyright (c) 2021-2022 P3TERX <https://p3terx.com> |
A curated list of awesome honeypots, plus related components and much more, divided into categories such as Web, services, and others, with a focus on free and open source projects.
There is no pre-established order of items in each category, the order is for contribution. If you want to contribute, please read the guide.
Discover more awesome lists at sindresorhus/awesome.
class Software { | |
[string]$Name | |
[string]$Id | |
[string]$Version | |
[string]$AvailableVersion | |
} | |
$upgradeResult = winget upgrade | Out-String | |
$lines = $upgradeResult.Split([Environment]::NewLine) |
Docker Desktop for Windows v2, which uses WSL2, stores all image and container files in a separate virtual volume (vhdx). This virtual hard disk file can automatically grow when it needs more space (to a certain limit). Unfortunately, if you reclaim some space, i.e. by removing unused images, vhdx doesn't shrink automatically.
wsl --shutdown
Optimize-VHD -Path "$($env:LOCALAPPDATA)\Docker\wsl\data\ext4.vhdx" -Mode Full
#!/bin/bash | |
####### Configuration ##### | |
# Azure Setup: https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows | |
AzureSubscriptionKey="" | |
AzureEndpoint="" | |
# IFTTT Setup: https://ifttt.com/maker_webhooks | |
IFTTTKey="" | |
IFTTTEventName="" |
Recently WooCommerce has added a lot of improvements to the plugin which we really appriciate but at the same time a lot of bloated features has alos been added to the plugin like Marketing Hub, a completely useless menu taking extra space among the other important menu items. Now if you find Marketing Hub to be useful, you can keep it.
But just in case you are looking for a way to remove these features that you no longer need from your WordPress Admin menus, take a look at the following code snippets. Please note: though I will show you how you can remove the Marketing Hub from your WP Admin menu list completely and make sure WooCommerce doesn't execute codes for that feature you don't need, you can do the same for other WooCommerce features as well like Analytics.
If you are using WooCommerce <= v4.2, you can simple add this one line of code in your theme's functions.php
f
import json | |
import socket | |
CANARY_FILE = "opencanary.log" | |
INFORMATION_LOG = 1001 | |
BRUTE_FORCE_LOG = 6001 | |
PORT_SCAN_LOG = 5001 | |
HTTP_SCAN_LOG = 3000 |