Skip to content

Instantly share code, notes, and snippets.

View bplasmeijer's full-sized avatar
⛑️
24x7

Bart Plasmeijer bplasmeijer

⛑️
24x7
View GitHub Profile
@davidfowl
davidfowl / MinimalAPIs.md
Last active October 24, 2024 13:39
Minimal APIs at a glance
@DzeryCZ
DzeryCZ / ReadingHelmResources.md
Last active October 17, 2024 15:44
Decoding Helm3 resources in secrets

Helm 3 is storing description of it's releases in secrets. You can simply find them via

$ kubectl get secrets
NAME                                                TYPE                                  DATA   AGE
sh.helm.release.v1.wordpress.v1                     helm.sh/release.v1                    1      1h

If you want to get more info about the secret, you can try to describe the secret

$ kubectl describe secret sh.helm.release.v1.wordpress.v1
@thinkfreshnick
thinkfreshnick / InstallSitecoreInstallFramework.ps1
Last active May 23, 2019 05:52
Install latest version of the Sitecore Install Framework and remove any previously installed versions
Import-Module SitecoreInstallFramework
$Module = Get-Module SitecoreInstallFramework
Remove-Module $Module.Name
Remove-Item $Module.ModuleBase -Recurse -Force
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
Set-PSRepository -Name SitecoreGallery -InstallationPolicy Trusted
Install-Module SitecoreInstallFramework
Get-Module -Name SitecoreInstallFramework -ListAvailable
@alexellis
alexellis / k8s-pi.md
Last active September 24, 2024 14:36
K8s on Raspbian
@akshaysura
akshaysura / HabitatSolutionScript.ps1
Created January 21, 2017 23:34
Create a Sitecore Helix solution from scratch using PowerShell
#paths to the project templates on your system
$global:classTemplate = "D:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplatesCache\CSharp\Windows Root\Windows\1033\ClassLibrary\csClassLibrary.vstemplate"
$global:webTemplate = "D:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplatesCache\CSharp\Web\1033\WebApplicationProject40\EmptyWebApplicationProject40.vstemplate"
#variable used to store the path for the empty Habitat folder
$global:helixPath =""
#empty variable used to store the solution name
$global:solutionName = ""