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
<tr > | |
<td> | |
<div class="d-flex align-items-center"> | |
<div> | |
<strong>Pete Foster</strong><br> | |
<small>Age: 50</small> | |
</div> | |
</div> | |
</td> |
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
<style> | |
.dropdown-header { | |
display: block; | |
padding: 5px 16px; | |
font-size: 14px; | |
line-height: 1.5; | |
color: #535353; |
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
{% execute type:'class' %} | |
using Rock; | |
using Rock.Data; | |
using Rock.Model; | |
public class MyScript | |
{ | |
public string Execute() { | |
System.Threading.Thread.Sleep(4000); | |
return ""; |
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
SELECT TOP (1000) | |
[PersonId] | |
,[Points] | |
,[VotePoints] | |
, [NickName] | |
, [Lastname] | |
FROM [RockRMS-Spark].[dbo].[_org_sparkDevNetwork_QandA_Author] a | |
INNER JOIN [Person] p ON p.[Id] = a.[PersonId] | |
WHERE [Points] < 10000 | |
ORDER BY [Points] DESC |
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
SELECT TOP (1000) | |
dv.[Value] | |
,[Description] | |
,CONVERT(INT, av.[ValueAsNumeric]) as [Points] | |
FROM [RockRMS-Spark].[dbo].[DefinedValue] dv | |
INNER JOIN [AttributeValue] av ON av.[EntityId] = dv.[Id] AND av.[AttributeId] = 3599 | |
WHERE [DefinedTypeId] = 74 | |
ORDER BY [Points] desc |
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
// note that the queryable must be ToList'ed | |
var sortedItems = qryGroupMembers.ToList().OrderBy(a => a.GetAttributeValue("Priortity").AsInteger()) |
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
qryGroupMembers = qryGroupMembers.WhereAttributeValue( rockContext, a => a.Attribute.Key == "IsAwesome" && a.ValueAsBoolean == true ); |
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
<%@ Page Language="C#" MasterPageFile="Site.Master" AutoEventWireup="true" Inherits="Rock.Web.UI.RockPage" %> | |
<%@ Import Namespace="Rock.Web.UI" %> | |
<%@ Import Namespace="Rock.Web.Cache" %> | |
<script runat="server"> | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
var page = (RockPage)this.Page; | |
//var page = PageCache.Read(((RockPage)this.Page).PageId); |
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
git fetch origin pull/ID/head:BRANCHNAME |
NewerOlder