Skip to content

Instantly share code, notes, and snippets.

View joymon's full-sized avatar

Joy George Kunjikkuru joymon

View GitHub Profile

Status - Closed

Overview

  • Reported on - 2023-12-18
  • Last updated on - 2023-12-26
  • Environment - All
  • Investigators
    • Joy George Kunjikkuru

Description

@joymon
joymon / connect-azaccount-service-principal.ps1
Last active September 15, 2021 04:20
Connect-AzAccount using Service principal
################ Azure login params ###################
$ServicePrincipalCertificateThumbprint = ''
$TenantId = '' #This is AAD Tenant Id where the below app registration is created, not Subscription Id
$ApplicationId = '' #THis is the application registration id sometimes called clientId. Make sure this app registration has permission to send message.
################# One time install ####################
$azAccountsInstalled = Get-InstalledModule Az.Accounts
# Target Filder where files should be moved to. The script will automatically create a folder for the year and month.
$sourcePath = 'd:\Media'
$targetPath = 'd:\Media'
# Get the files which should be moved, without folders
$files = Get-ChildItem $sourcePath | where {!$_.PsIsContainer}
foreach ($file in $files)
{
# Get year and Month of the file. Used LastWriteTime.
$date = "{0:00}" -f $file.LastWriteTime.Day
@joymon
joymon / Home NAS Comparison.md
Last active September 8, 2020 01:39
Home NAS Comparison

The comparison is done based on 5 years usage and 1TB of storage. Below are the rationale

  • Most hard drives has warranty till 5 years
  • After 5 years some revolutionary technology may replace existing
  • 1 TB is a good amount of data a beginner YouTuber will produce.

Assumptions

  • If the 1 TB storage need changes the comparison would be void.
  • Also this excludes the taxes as it changes by geography and time.
@joymon
joymon / comparison_of_saas_workflow_automation_tools.md
Last active May 6, 2020 13:39
Comparison of free hosted SaaS workflow automation tools

Criteria

  • Has free tier
  • Social media login
Name Mobile? Connectors available Connectors not available Limits Comments
Zapier No Only 2 steps,5 workflows,100 tasks/month Youtube new video auth require posting video permission
Microsoft flow / Power Automate Android, iOS 15mins frequency, unlimited workflows, 750 tasks/month Need Microsoft account
Integromat Android YouTube¹ Unlimited workflows, 1000 tasks/month Have generic HTTP SOAP and JSON connectors
Automate Blogger, YouTube 5 workflows, 250 tasks/month
@joymon
joymon / scientific_debugging_hdd_attached_to_optimum_router_isnot_visible.md
Last active April 24, 2020 16:05
scientific_debugging_hdd_attached_to_optimum_router_isnot_visible.md

Status - [Closed]

Overview

  • Reported on - 2020-04-23
  • Last updated on - 2020-04-24
  • Environment - All
  • Investigators
    • Joy George K

Description

Connected external hard disk to Optimum provided router model D-Link DIR-868L into its USB 3.1 port. But its not visible to Win 10 machines in the network.

@joymon
joymon / scientific_debugging_template.md
Last active May 21, 2024 19:17
Scientific debugging template to track progress

Status - [Open/Closed]

Overview

  • Reported on - [Date]
  • Last updated on - [Date]
  • Environment - [All/Staging/Prod/QA/Dev]
  • Investigators
    • Person 1
    • Person 2

Description

@joymon
joymon / SQL_Server_HADR_Solutions_Comparison.md
Last active January 3, 2020 16:34
SQL Server High Availability & Disaster Recovery technologies and comparison

Comparison of SQL Server HA & DR solutions and comparison

No SQL FCI with S2D Alwasy On AG Description
1 MSDTC is not in pre Azure Win 2019 Available from SQL 2016 SP2 onwards Official link
2 Good for large no of database MSFT only tested upto 100 DBs
3 Fail over 30+secs Fail over 1 secs
4 Required shared storage Each node stores
5 DR to be done separately One async node can be for DR
6 FileStream needs non CSV volumne Works natively

Comparison of features of entry level free video editors

Criteria to choose

  • Free
  • Definition of free
    • 1080P min export size
    • No limits on export such as
      • Resolution
  • File size
@joymon
joymon / DotNet_WebApp_Performance_Performance_Counters.md
Last active November 22, 2019 20:36
.Net Web App Performance - Important performance counters

System

Applies to - Web Server, Application Server & Database server

Counter Instance Object Description
Processor Queue Length System Official link
% Processor Time _Total Processor Information
Available MBytes Memory
% Processor time w3wp## Process