Uses HTML, CSS, and JS to create a Google Translate combobox/dropdown at the bottom-right side of any webpage.
Example:
Advanced REST Client | |
Agouti | |
Andoid Debug Bridge (adb) | |
ANTs p2p | |
Apache JMeter | |
ApacheBench | |
aria2 | |
aria2c | |
asciinema | |
axel |
<?php | |
$user_agent = $_SERVER['HTTP_USER_AGENT']; | |
$browsers = array( | |
'Firefox', 'Chrome', 'Safari', 'Opera', 'Internet Explorer', 'Edge', 'Android Browser', 'Samsung Internet', 'UC Browser', 'Yandex Browser', 'Brave', 'Vivaldi', 'Maxthon', 'SeaMonkey', 'Pale Moon', 'Mozilla', 'Netscape', 'Konqueror', 'Epiphany', 'Midori', 'Links', 'Lynx', 'w3m', 'Dillo', 'iCab', 'OmniWeb', 'Camino', 'Shiira', 'Flock', 'Galeon', 'K-Meleon', 'SlimBrowser', 'GreenBrowser', 'Avant Browser', 'Iron', 'RockMelt', 'Comodo Dragon', 'Coowon', 'Sleipnir', 'Sputnik Browser', 'Maxthon Nitro', 'Cyberfox', 'Waterfox', 'Basilisk', 'Iridium', 'Puffin', 'Tor Browser' | |
); | |
$cliBased = array( | |
'Advanced REST Client', 'Agouti', 'Andoid Debug Bridge (adb)', 'ANTs p2p', 'Apache JMeter', 'ApacheBench', 'aria2', 'aria2c', 'asciinema', 'axel', 'blackfire', 'BlackWidow', 'browsh', 'cadaver', 'clamav-milter', 'Clink', 'curl', 'cURLie', 'davix', 'davtest', 'DirBuster', 'Drupwn', 'DVCS-autosync', 'dwdiff', 'el-get', 'elinks', 'etckeeper', 'FastHttp', 'feed |
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | |
$fileName = "$toolsDir\PowerToysSetup-0.68.1-x64.exe" | |
$version = "0.68.1" | |
$WindowsVersion=[Environment]::OSVersion.Version | |
if ($WindowsVersion.Major -ne "10") { | |
throw "This package requires Windows 10." | |
} | |
$IsCorrectBuild=[Environment]::OSVersion.Version.Build |
@echo off | |
:: Relaunch script as admin if needed | |
NET FILE > NUL 2>&1 || POWERSHELL -ex Unrestricted -Command "Start-Process -Verb RunAs -FilePath '%ComSpec%' -ArgumentList '/c \"%~fnx0\" %*'" && EXIT /b | |
:: Code | |
echo. | |
if exist "C:\Program Files (x86)\Webroot\WRSA.exe" "C:\Program Files (x86)\Webroot\WRSA.exe" -poll & echo POLLED: "C:\Program Files (x86)\Webroot\WRSA.exe" | |
if exist "C:\Program Files\Webroot\WRSA.exe" "C:\Program Files\Webroot\WRSA.exe" -poll & echo POLLED: "C:\Program Files\Webroot\WRSA.exe" | |
echo. |
function Get-OSInfo { | |
<# | |
.SYNOPSIS | |
Retrieves detailed information about the operating system version and architecture. | |
.DESCRIPTION | |
This function queries both the Windows registry and the Win32_OperatingSystem class to gather comprehensive information about the operating system. It returns details such as the release ID, display version, name, type (Workstation/Server), numeric version, edition ID, version (object that includes major, minor, and build numbers), and architecture (OS architecture, not processor architecture). | |
.EXAMPLE | |
Get-OSInfo |
# See this for more info: | |
# https://stackoverflow.com/questions/4825967/environment-setenvironmentvariable-takes-a-long-time-to-set-a-variable-at-user-o | |
function Set-EnvironmentVariable { | |
<# | |
.SYNOPSIS | |
Instantly sets an environment variable in the machine or user environment by updating the registry. | |
.DESCRIPTION | |
Instantly sets an environment variable in the machine or user environment by updating the registry. |
Retrieves the Intel process generation. CPU generation as described here.
/* | |
This script checks a URL for a new version of an EXE and sends an alert if a new version is available (via GET request). It is intended to run on a schedule, | |
whether cron, Task Scheduler, or a service like Apify. It uses the puppeteer-extra-plugin-stealth package to avoid issues with Cloudflare and other anti-bot measures. | |
How to use: | |
- Set the CURRENT_VERSION environment variable to the current version number you want to compare against | |
- Set the FILE_URL environment variable to the URL of the file you want to check | |
- Set the SECRET_URL environment variable to the URL of the secret page you want to send an alert to | |
- Adjust the full SECRET_URL as needed, the one provided is just an example method of sending an alert, you can of course use any method you want |
function Write-Section { | |
<# | |
.SYNOPSIS | |
Prints a text block surrounded by a section divider for enhanced output readability. | |
.DESCRIPTION | |
This function takes a message input and prints it to the console, surrounded by a section divider made of hash characters. | |
It enhances the readability of console output by categorizing messages based on the Type parameter. | |
.PARAMETER Message |