Automating Retweets using Python & Tweepy

Python is cool and easy. Its interpreted like PHP (Which I really miss after moving to MS world)

That being said, in the below article, I will list out the steps required to write a Python script using which you can automate retweets based on a hashtag. This scripts helps mainly during promotions of products on Twitter platform or sometimes can be used for a good cause.

FYI: I am a beginner in Python 🙂

Continue reading “Automating Retweets using Python & Tweepy”

Link your MS Flows within SharePoint lists\libraries

Have you ever wondered why its difficult to trigger a MS Flow for a SharePoint list\library once its modernized?

In olden days, we could just easily select the item then Ribbon > Files\Items > Workflows > Initiate required workflow.

Continue reading “Link your MS Flows within SharePoint lists\libraries”

Your own item_commonitem_body.html


Change default Item_commonitem_body.html

Before we move in the display template, let’s first look at how to change the default item_commonitem_body and use our own. The following steps list the detail (the steps will be same for On-Premise SharePoint although I use SPO as a example):

  • Go to display template folder under master page gallery at your search center on SPO.

Continue reading “Your own item_commonitem_body.html”

Use JQuery inside HTML5 Web Worker


Web workers are game changers in terms of how they can offload work from the browser’s main thread. Given that the current trend is about implementing a page which is dynamic in nature, one has to fallback to using ASYNC jobs.

Even then, the browser chokes and your users may end up with longs page loads and their system, browsers hanging.

Continue reading “Use JQuery inside HTML5 Web Worker”

Run Powershell as Admin with another user account

Have you ever wanted to run the Powershell window impersonating another user?

You can easily do that using Shift + R-Click on the Powershell.exe. But this opens up the window in non-admin mode.

So, to combine both impersonation and admin capabilities, use below inside your current PS1 window:

Start-Process powershell.exe -Credential “domain\anotherUser” -NoNewWindow -ArgumentList “Start-Process powershell.exe -Verb runAs”

I do not remember from where I got the above command, but you have it.