Skip to content

Instantly share code, notes, and snippets.

View webbson's full-sized avatar
🎮
Focusing

Tom Stevens webbson

🎮
Focusing
View GitHub Profile
@robearlam
robearlam / profile.ps1
Last active June 6, 2023 23:19
PowerShell profile definition
#requires -Version 6
function Get-BranchName
{
$default = "n/a"
$currentPath = $ExecutionContext.SessionState.Path.CurrentLocation
while ($true)
{
try
@varunvns
varunvns / install-solr.ps1
Last active May 10, 2019 09:57
Install As Many Solr instances on the same machine you want!
Param(
$solrVersion = "6.6.2",
$installFolder = "c:\solr\SC902",
$solrPort = "9393",
$solrHost = "solr",
$solrSSL = $true,
$nssmVersion = "2.24",
$JREVersion = "1.8.0_111",
$solrInstanceName ="solrSC902"
)
@developit
developit / *valoo.md
Last active November 13, 2023 08:39
🐻 Valoo: just the bare necessities of state management. 150b / 120b. https://npm.im/valoo

🐻 valoo

just the bare necessities of state management.

Usage

Hotlink it from https://unpkg.com/valoo.

See Interactive Codepen Demo.

@jammykam
jammykam / SelectRendering.xml
Created December 22, 2015 20:32
Tabbed Rendering Selector
<?xml version="1.0" encoding="utf-8" ?>
<control xmlns:def="Definition" xmlns="http://schemas.sitecore.net/Visual-Studio-Intellisense">
<Sitecore.Shell.Applications.Dialogs.SelectRendering>
<FormDialog ID="Dialog" Icon="Core/32x32/open_document.png" Header="Open Item"
Text="Select the item that you wish to open. Then click the Open button." OKButton="Open">
<Stylesheet Src="SelectItemWithThumbnails.css" DeviceDependant="true" />
<CodeBeside Type="MyProject.CMS.Custom.Dialogs.SelectRenderingTabbed.SelectRenderingForm, ARM.CMS.Custom"/>
<DataContext ID="DataContext" Root="/"/>