- First, open Lists you have setup to track cohorts of people
- Then open list members
Paste this code in browser DevTools (F12) below. It will give youi
<# | |
.SYNOPSIS | |
Copies a file to multiple destinations matching a wildcard path pattern. | |
.DESCRIPTION | |
This script copies a specified source file to multiple target directories defined | |
by a wildcard-based destination pattern. Use '*' in any folder segment to match | |
any directory name. Existing files are not overwritten unless you use -Force. | |
.PARAMETER SourcePath |
This gist resolves newline symbol missing in Macrodroid HTTP GET searchParams
.
This is a template created for dedicated purpose - to copy them raw and paste without modifications to Macrodroid HTTP GET searchParams
modal window. By pasting as raw without any modification, you will get a message with newlines, preserved for HTTP GET method.
This is a simple URL proxy script that forwards requests to a target URL specified by the url
query parameter. If no URL is provided or if the URL is invalid, the script returns a 400 error.
PUSHGATEWAY_URL= # PushGateway server URL | |
PUSHGATEWAY_USER= # Basic auth username to PushGateway server | |
PUSHGATEWAY_PASS= # Basic auth password to PushGateway server | |
INSTANCE= # Your string to name host instance. For the sake of readability, should be unique | |
TIMEOUT= # Dunno what is this for, no clear description of it |
Let's assume I do not like to set and maintain MongoDB GPG keys and their repsitory lists in my Ubuntu host. I just need to download binaries and they should work.
This script only download a .tgz
archive that contains requested binaries, to directory this script was run from.
#!/bin/bash | |
# This script downloads specific asset that may be not included in the latest release | |
# but could be found in some other tag (version). | |
# You can set DEBUG=true ./download_asset.sh comnmand to enable debug messages. | |
# Requires curl, jq and head installed. | |
# You can set GitHub Personal Access token in $GITHUB_TOKEN to avoid API rate limiting. Look below. | |
# Constants (replace with your repo details) | |
OWNER="repo-owner-account" # GitHub username or organization |
# Requires ImageMagick to be installed: winget install -e --id ImageMagick.ImageMagick --source winget --accept-source-agreements --accept-package-agreements | |
# Ask the user for the input file path | |
$imagePath = Read-Host "Enter the path to the image file" | |
# Ask the user for the number of horizontal splits | |
$numParts = [int](Read-Host "Enter the number of horizontal parts to split the image into") | |
# Validate inputs | |
if (!(Test-Path $imagePath)) { | |
Write-Host "The file does not exist. Exiting." -ForegroundColor Red |
// Helper function to check if all characters in a string are the same | |
function allSame(str) { | |
return str.split('').every(char => char === str[0]); | |
} | |
// Helper function to check if a string is a palindrome | |
function isPalindrome(str) { | |
return str === str.split('').reverse().join(''); | |
} |
// ==UserScript== | |
// @name InoReader get Habr stats | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0.1 | |
// @description Shows comments and rating counter for Habr articles | |
// @author Kenya-West | |
// @grant GM_registerMenuCommand | |
// @grant GM_unregisterMenuCommand | |
// @match https://*.inoreader.com/feed* | |
// @match https://*.inoreader.com/article* |