Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile

Avaya Contact Recorder (ACR) Password Reset

Windows edition

  1. Check which port PostgreSQL db is listening on

    netstart -ano | findstr 432

  2. Login to db using eware account

    psql -U eware -h 127.0.0.1 -p 6432

{
"version": "2.25",
"description": "A mini sftp server with simple GUI controls",
"homepage": "http://www.coreftp.com/server/",
"license": "Freeware",
"architecture": {
"64bit": {
"url": "http://www.coreftp.com/server/download/mini-sftp-server.x64.exe",
"hash": "656ed613e9d963af8bb243141370810b39f3baa6f9828f87406c5d68af483607",
"shortcuts": [
@mark05e
mark05e / readme-demo.md
Last active July 16, 2020 04:48
demo of github.com/anuraghazra/github-readme-stats

Anurag's github stats

Mark's github stats

@mark05e
mark05e / scoop-update-issue.md
Last active August 26, 2020 12:30
Scoop update error - Your local changes to the following files would be overwritten by merge

Scoop Update Issue

Cannot update extra bucket

I constantly kept getting this error - Your local changes to the following files would be overwritten by merge

PS C:\Users\Mark> scoop update
  
Updating Scoop...  
Updating 'extras' bucket...  

error: Your local changes to the following files would be overwritten by merge:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\voidtools\Everything]
"InstallService"=dword:00000000
"InstallChooseVolumes"=dword:00000000
"InstallQuickLaunchShortcut"=dword:00000000
"InstallUpdateNotification"=dword:00000000
"InstallLanguage"=dword:00000409
"InstallRunAsAdmin"=dword:00000000
@mark05e
mark05e / elevate-this-script.cmd
Created January 15, 2021 22:24
Use this on the header of your script to self-elevate for UAC prompt
::#################################################################################################################################
:: Elevate this script #
:: https://superuser.com/questions/1110448/how-to-run-batch-file-command-with-elevated-permissions/1310459#1310459 #
::#################################################################################################################################
(
:: Check Admin rights and create VBS Script to elevate
>nul fsutil dirty query %SYSTEMDRIVE% 2>&1 || (
:: Very little red console
[CmdletBinding(SupportsShouldProcess=$True)]
param(
)
#The download URL for the Teams Machine-Wide Installer for x64 systems.
$teamsInstallDownloadUri = "https://teams.microsoft.com/downloads/desktopurl?env=production&plat=windows&arch=x64&managedInstaller=true&download=true"
# -- Begin searching for a current install of Teams --
Write-Verbose "Looking for a current installation of Teams Machine-Wide Installer."
@mark05e
mark05e / Install-Chrome.ps1
Last active April 1, 2021 17:18 — forked from mattwoolnough/Install-Chrome.ps1
Chrome install one-liner
$Path = $env:TEMP;
$Installer = "chrome_installer.exe";
Invoke-WebRequest "https://dl.google.com/chrome/install/latest/chrome_installer.exe" -OutFile "$Path$Installer";
Start-Process -FilePath "$Path$Installer" -Args "/silent /install" -Verb RunAs -Wait;
Remove-Item "$Path$Installer"
@mark05e
mark05e / installMsEdge.ps1
Created March 24, 2021 15:42 — forked from stanionascu/installMsEdge.ps1
Install MS Edge via PowerShell
$LocalTempDir = $env:TEMP;
$EdgeInstaller = "MSEdgeInstaller.exe";
(new-object System.Net.WebClient).DownloadFile('https://c2rsetup.officeapps.live.com/c2r/downloadEdge.aspx?ProductreleaseID=Edge&platform=Default&version=Edge&source=EdgeStablePage&Channel=Stable&language=en', "$LocalTempDir\$EdgeInstaller");
& "$LocalTempDir\$EdgeInstaller" /silent /install;
$Process2Monitor = "MSEdgeInstaller";
Do {
$ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name;
If ($ProcessesFound) {
"Still running: $($ProcessesFound -join ', ')" | Write-Host; Start-Sleep -Seconds 2
} else {