Skip to content

Instantly share code, notes, and snippets.

View SudarshanSMD's full-sized avatar

Sudarshan Muralidhar Devardekar SudarshanSMD

View GitHub Profile
@SudarshanSMD
SudarshanSMD / switch-wifi.sh
Last active October 20, 2020 16:58
Gist to switch wifi if one of it goes down
#!/bin/bash
# set the profile name/ ssid of your wifi for a and b
# a preferably be the SSID/profile that you are already connected
# tip: to check the wifi profile you can use command "netsh wlan show profiles"
declare a="SMD"
declare b="pinjar"
declare c=$b
echo "scrip started"
@SudarshanSMD
SudarshanSMD / SqlServer_change_db_owner
Created June 13, 2017 13:49
To change own er of db
USE [DB Name]
GO
EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false
GO