Skip to content

Instantly share code, notes, and snippets.

View si618's full-sized avatar
💭
and miles to go before I sleep

Simon McKenna si618

💭
and miles to go before I sleep
  • 618
  • 19:03 (UTC +09:30)
View GitHub Profile
@si618
si618 / GrowingChillies.md
Created January 7, 2024 02:15
Growing Chillies

Growing Chillies

Courtesy of Regan Parkinson on Chilli Growers of Adelaide

Fertilizing

Growth Phase

Re-pot into 300mm pots. Use the best potting mix you can find (Gardeners Friend Premium in TAS), mix in 1 litre of coarse perlite, for each 300mm pot.

@si618
si618 / atomic-utc.omp.json
Last active August 7, 2023 04:26
Atomic UTC
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#0077c2",
"foreground": "#ffffff",
"leading_diamond": "\u256d\u2500\ue0b6",
@si618
si618 / si-fi.omp.json
Last active November 25, 2023 06:23
Variation of Atomic Oh-my-posh theme with ISO8601 date and UTC time added + 👽
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#0077c2",
"foreground": "#ffffff",
"leading_diamond": "\u256d\u2500\ue0b6",
@si618
si618 / NormalizeDemo.cs
Created March 10, 2022 22:14
REPL friendly version of Dylan Beattie's normalization gist
// Refactored from https://gist.github.com/dylanbeattie/336b6b8990f0db6dd00d238ad114092a
using System.Text;
NormalizationForm[] forms = new[] {
NormalizationForm.FormC, NormalizationForm.FormD,
NormalizationForm.FormKC, NormalizationForm.FormKD
};
void Compare(string s1, string s2)
{
@si618
si618 / alien.txt
Created May 22, 2020 01:41
ASCII Alien
. . . . . . . . . + .
. . : . .. :. .___---------___.
. . . . :.:. _".^ .^ ^. '.. :"-_. .
. : . . .:../: . .^ :.:\.
. . :: +. :.:/: . . . . . .:\
. : . . _ :::/: . ^ . . .:\
.. . . . - : :.:./. . .:\
. . . :..|: . . ^. .:|
. . : : ..|| . . . !:|
. . . . ::. ::\( . :)/
@si618
si618 / profile.ps1
Last active April 28, 2021 12:26
Powershell profile
Import-Module lolcat
$alien = Join-Path $HOME "\Google Drive\Documents\Geek\Powershell\profile-alien.txt"
lolcat $alien
Import-Module cowsay
Import-Module posh-git
$GitPromptSettings.DefaultPromptBeforeSuffix = '`n'
$GitPromptSettings.BranchColor.ForegroundColor = 'Cyan'
Set-Alias -Name k -Value kubectl.exe
@si618
si618 / git.config
Last active August 15, 2016 00:11
Github flow aliases thanks to Phil Haack http://haacked.com/archive/2014/07/28/github-flow-aliases/
[alias]
co = checkout
ec = config --global -e
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
cob = checkout -b
cm = !git add -A && git commit -m
save = !git add -A && git commit -m 'SAVEPOINT'
wip = !git add -u && git commit -m 'WIP'
undo = reset HEAD~1 --mixed
amend = commit -a --amend
@si618
si618 / Subject
Created March 4, 2016 04:41 — forked from mikeobrien/Subject
Build duration in TeamCity email notification subject
Gribble CI v1.3.45.0 Succeeded (3:15)
@si618
si618 / Boxstarter-Win64.ps1
Last active March 1, 2017 03:07
Boxstarter - Windows x64
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
#Enable-RemoteDesktop
# Utilities
cinst chocolatey -y
cinst 7zip.install -y
cinst agentransack -y
cinst ccleaner -y
cinst dropbox -y
cinst f.lux -y