Skip to content

Instantly share code, notes, and snippets.

@ScottHelme
ScottHelme / lists.txt
Created January 13, 2021 10:57
My Pi-hole blocklist list.
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts https://mirror1.malwaredomains.com/files/justdomains http://sysctl.org/cameleon/hosts https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt https://hosts-file.net/ad_servers.txt https://v.firebog.net/hosts/AdguardDNS.txt https://adaway.org/hosts.txt https://v.firebog.net/hosts/Easyprivacy.txt https://v.firebog.net/hosts/Prigent-Ads.txt https://zerodot1.gitlab.io/CoinBlockerLists/hosts https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt https://raw.githubusercontent.com/ScottHelme/revocation-endpoints/master/ocsp.txt https://raw.githubusercontent.com/ScottHelme/revocation-endpoints/master/crl.txt https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts https://www.malwaredomainlist.c
@ivanbuzyka
ivanbuzyka / CollectBasicAzureInfo.ps1
Last active September 2, 2019 09:03
Collect basic Sitecore Azure PaaS setup information for web apps, hosting plans, Azure SQL DBs, Redis Cache and Azure Search. [ProjectReview]
### PREREQUISITES
### In order to run this script you need to install new Az PowerShell module including Az.Search module
################# Functions
function Get-WebAppsBasicInfo {
param (
[string]$ResourceGroupName,
[string]$OutputCsvFilePath
)
@jraps20
jraps20 / PublishDeployedItemsWithPublishingQueue.cs
Last active July 19, 2018 11:09
TDS Post Deploy Action to publish items via publishing queue instead of native solution
[Description("Publishes deployed items after deployment using publishing queue.\nPublishing targets are specified in the Parameter as a comma separated list.")]
public class PublishDeployedItemsWithPublishingQueue : IPostDeployAction
{
/// <summary>
/// Borrowed directly from HedgehogDevelopment.SitecoreProject.PackageInstallPostProcessor.BuiltIn.PublishDeployedItems, HedgehogDevelopment.SitecoreProject.PackageInstallPostProcessor
/// </summary>
private static Database[] GetPublishingTargetDatabases(string parameters)
{
if (string.IsNullOrEmpty(parameters))
{
@scjunkie
scjunkie / Cut Down Development Time with SPE PowerShell Scripts
Last active August 29, 2015 14:10
Cut Down Development Time with SPE PowerShell Scripts
#=============================================================
#Verbs and commands
#=============================================================
Get-Verb
Get-Command -Verb Get
#=============================================================
#Create Items
#=============================================================