Skip to content

Section Archive

Posts

Browse posts with filtering, metadata, and links to related material.

Entries 109
Categories 23
Tags 190

12 entries on this page

OpenAI Whisper Speech Recognition Guide

Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multi-task model that can perform multilingual speech recognition as well as speech translation and language identification. GitHub Repository Installation pip install git+https://github.com/openai/whisper.git Fix CUDA not detecting GPU Whisper will default to the CPU if a GPU is not detected, which is considerably slower. pip uninstall torch pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 Example usage # Transcribe whisper input.mp3 --model medium.en --language en --task transcribe # Translate whisper japanese.wav --model large --language Japanese --task translate Available models and languages There are five model sizes, four with English-only versions, offering speed and accuracy tradeoffs. Below are the names of the available models and their approximate memory requirements and relative speed.

OpenAI Whisper Speech Recognition Guide

Microsoft Teams PowerShell Management Guide

PowerShell scripts for Microsoft Teams stuff. Get all owners of all teams and team channels ## Documentation: https://learn.microsoft.com/en-us/powershell/module/teams/?view=teams-ps # Run the following command to install the latest PowerShellGet: Install-Module -Name PowerShellGet -Force -AllowClobber # Install the Teams PowerShell Module. Install-Module -Name MicrosoftTeams -Force -AllowClobber # To start working with Microsoft Teams PowerShell module, sign in with your Azure credentials. Connect-MicrosoftTeams $user =Read-Host -Prompt 'Input the user name' $teams = Get-Team -User $user $teamMemberships=@() $teamChannels=@() $teamChannelMemberships=@() $i = 1 $teamMemberships = foreach ($team in $teams) { $GroupId = $team.GroupId Get-TeamUser -GroupId $GroupId | Select-Object *,@{Name="GroupId";Expression={$GroupId}} $channels = Get-TeamAllChannel -GroupId $GroupId | Select-Object *,@{Name="GroupId";Expression={$GroupId}} $teamChannels += $channels $teamChannelMemberships += foreach ($channel in $channels) { $channelDisplayName = $channel.DisplayName Get-TeamChannelUser -GroupId $GroupId -DisplayName $channelDisplayName | Select-Object *,@{Name="GroupId";Expression={$GroupId}} } $percent = [Math]::Round((100 * $i) / $teams.Length) Write-Progress -Activity "Search in Progress" -Status "$percent% complete" $i++ } $teams | Export-Csv -Path "teams.csv" -NoTypeInformation $teamMemberships | Export-Csv -Path "team-memberships.csv" -NoTypeInformation $teamChannels | Export-Csv -Path "team-channels.csv" -NoTypeInformation $teamChannelMemberShips | Export-Csv -Path "team-channel-memberships.csv" -NoTypeInformation

Microsoft Teams PowerShell Management Guide

Managing Windows User Accounts with net user Command

The “net user” command is a Command Prompt (Shell) command used to manage user accounts on a Windows operating system. It can be used to create, modify, or delete user accounts, as well as to change passwords and manage group memberships. Syntax net user [username [password | *] [options]] [/DOMAIN] net user username {password | *} /ADD [options] [/DOMAIN] net user username [/DELETE] [/DOMAIN] net user username [/TIMES:{times | ALL}] net user username [/ACTIVE: {YES | NO}] Add a user To add a new user account:

Managing Windows User Accounts with net user Command

Windows Driver Management with pnputil

You can uninstall third-party drivers (such as the WAVES MaxxAudio Pro driver) from the Command Prompt (CMD) by using the “pnputil.exe” utility. Here’s the basic process: Open Command Prompt as administrator: Press the Windows key + X, and then select “Command Prompt (Admin)”. Type the following command and press Enter: pnputil.exe -e # or export the list to a file pnputil.exe -e > !drivers.csv This command lists all the third-party drivers installed on your system.

Windows Driver Management with pnputil

Phishing Email Decoding Tools

atob() obfuscation This p5.js script is designed to find and decode base64-encoded strings that are nested within one another. The script has several functions that work together to achieve this goal: isBase64(str): This function checks if a given string str is a valid base64-encoded string. It uses a regular expression to test the string and the atob() function to try decoding the string. If the decoding is successful, the function returns true; otherwise, it returns false.

Phishing Email Decoding Tools

PowerShell Script for Azure AD Synchronization Management

This PowerShell script performs the following actions: It retrieves the Windows identity and security principal of the current user account. It then retrieves the security principal for the Administrator role. It checks if the current user is running as an administrator. If the user is not running as an administrator, the script relaunches itself as an elevated process. If the user is running as an administrator, the script displays a menu with three options: “Delta Sync”, “Full Sync”, and “Exit”. The user is prompted to select an option by entering the corresponding number. Based on the user’s selection, the script runs the appropriate command using the Start-ADSyncSyncCycle cmdlet with either the Delta or Initial policy type. If the user selects “Exit”, the script exits. Finally, the script displays a message indicating that it is running and to check the “miisclient” to confirm. It then pauses for 10 seconds using the Start-Sleep cmdlet. $myWindowsID = [System.Security.Principal.WindowsIdentity]::GetCurrent() $myWindowsPrincipal = New-Object System.Security.Principal.WindowsPrincipal($myWindowsID) $adminRole = [System.Security.Principal.WindowsBuiltInRole]::Administrator if (-not $myWindowsPrincipal.IsInRole($adminRole)) { $newProcess = New-Object System.Diagnostics.ProcessStartInfo "PowerShell" $newProcess.Arguments = $myInvocation.MyCommand.Definition $newProcess.Verb = "runas" [System.Diagnostics.Process]::Start($newProcess) exit } Write-Host '1) Delta Sync (Recommended, unless told to do a full sync)' Write-Host '2) Full Sync' Write-Host '3) Exit' $selected_menu_item = Read-Host 'Which number would you like to run (1 or 2)? (Enter Number and Press Enter)' switch ($selected_menu_item) { 1 { Start-ADSyncSyncCycle -PolicyType Delta } 2 { Start-ADSyncSyncCycle -PolicyType Initial } 3 { Write-Host 'Exit'; exit } default { Write-Host 'Incorrect Input' -ForegroundColor Red } } Write-Host 'Running Now.... Check miisclient to confirm' Start-Sleep -s 10

PowerShell Script for Azure AD Synchronization Management

Microsoft 365 Email Security Management Guide

Block Unwanted Emails Objective: Prevent sending or receiving emails from specific external email addresses or domains. Action: Navigate to the Tenant Allow/Block List in the Microsoft Security Center. Configure the settings to block specific email addresses or domains. For direct access, use this link: Tenant Allow/Block List. Review Past Week of Sign-In History Objective: Review sign-in history to identify any unusual user activity. Action: Access the Azure portal’s sign-in history section. Specify the user of interest and examine their sign-in locations and activities. Access the portal here: Azure Sign-In History.

Microsoft 365 Email Security Management Guide

MiDaS Depth Estimation Guide

GitHub Repository During installation, I ran into an issue where the CUDA package wasn’t found. Had to modify environment.yaml to: name: midas-py310 channels: - pytorch - defaults dependencies: - nvidia::cuda-toolkit=11.7.0 - python=3.10.8 - pytorch::pytorch=1.13.0 - torchvision=0.14.0 - pip=22.3.1 - numpy=1.23.4 - pip: - opencv-python==4.6.0.66 - imutils==0.5.4 - timm==0.6.12 - einops==0.6.0 Commands that were helpful for troubleshooting CUDA:

MiDaS Depth Estimation Guide

More to Browse

Adjacent collections

  1. Posts109
  2. Prompts2
  3. Archive16
  4. Categories23
  5. Tags190

Relationship Map

Memory Field

Use the relationship map to follow related categories, tags, and entries beyond the current list.

Categories 0
Tags 0
Posts 0