This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bipul.App.Web.NextJs | |
on: | |
push: | |
paths: | |
- 'Bipul.App/Bipul.App.Web.NextJs/**' | |
branches: | |
- main | |
workflow_dispatch: |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make sure all the pages are loaded before you run the script from browser console. | |
var images = Array.from(document.getElementsByTagName('main')[0].getElementsByTagName('img')); | |
console.log(images); | |
images.forEach(eachImg => { | |
if (eachImg.alt.startsWith('page')) { | |
var download = document.createElement('a'); | |
download.href = eachImg.src; | |
download.download = eachImg.alt + '.png'; | |
download.click(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
To install software in bulk | |
.DESCRIPTION | |
To install software in bulk through Chocolaty | |
.NOTES | |
Created by: Bipul Raman @BipulRaman | |
Modified by: Bipul Raman @BipulRaman | |
Modified: 30/06/2020 10:00 AM IST | |
.EXAMPLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Script to Create Self Signed Certificate. | |
.DESCRIPTION | |
Script to Create Self Signed X.509 Certificate and add to trusted root. This certificate can be used for certificate based authnetication in Azure App Registration. | |
This Script has been released under the MIT (OSI) License as per the LICENSE file stored here: https://github.com/BipulRaman/PowerShell/blob/master/LICENSE | |
.NOTES | |
Created by: @BipulRaman | |
Modified by: @BipulRaman | |
Modified: April 5, 2019 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$TargetFolder = "D:\DevTest\SampleExecutable" | |
Get-ChildItem -Recurse $TargetFolder |%{ | |
Write-host Unblocking $_.FullName | |
gci $_.FullName | Unblock-File | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Script for bulk emailing by getting data from CSV | |
Author: Bipul Raman | |
#> | |
$MailingList = Import-Csv E:\MailingList.csv | |
#SMTP Server and port may differ for different email service provider | |
$SMTPServer = "smtp.gmail.com" | |
$SMTPPort = "587" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View> | |
<Query> | |
<Where> | |
<Eq> | |
<FieldRef Name="Title" /> | |
<Value Type="Text">Test</Value> | |
</Eq> | |
</Where> | |
<OrderBy> | |
<FieldRef Name="Title" Ascending="True" /> |
NewerOlder