http://twitter.com/share?text=<TITLE>&url=<URL>
E.g. http://twitter.com/share?text=This+is+google+a+search+engine&url=https%3A%2F%2Fwww.google.com
http://www.facebook.com/sharer.php?u=&p[title]=
SET NOCOUNT ON | |
USE [database_name] | |
GO | |
DECLARE @loop INT | |
DECLARE @USER sysname | |
DECLARE @sqlcmd NVARCHAR(500) = '' | |
IF OBJECT_ID('tempdb..#Orphaned') IS NOT NULL | |
BEGIN |
trigger: | |
- master | |
pool: 'Hosted Windows 2019 with VS2019' | |
variables: | |
buildConfiguration: 'Release' | |
stages: | |
- stage: build_pack |
$cert = New-SelfSignedCertificate -DnsName "localhost", "localhost" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(5) | |
$thumb = $cert.GetCertHashString() | |
For ($i=44300; $i -le 44399; $i++) { | |
netsh http delete sslcert ipport=0.0.0.0:$i | |
} | |
For ($i=44300; $i -le 44399; $i++) { | |
netsh http add sslcert ipport=0.0.0.0:$i certhash=$thumb appid=`{214124cd-d05b-4309-9af9-9caa44b2b74a`} | |
} |
@{ | |
var pageSize = 8; | |
if(Model.Content.HasValue("numberOfItemsPerPage")){ | |
pageSize = Model.Content.GetPropertyValue<int>("numberOfItemsPerPage");} | |
var page = 1; int.TryParse(Request.QueryString["page"], out page); | |
var items = Umbraco.TypedContent(Model.Content.Id).Children.Where(x => x.DocumentTypeAlias == "exampleAlias" && x.IsVisible()).OrderByDescending(x => x.CreateDate); | |
var totalPages = (int)Math.Ceiling((double)items.Count() / (double)pageSize); | |
if (page > totalPages) |