Skip to content

Instantly share code, notes, and snippets.

@mahemoff
mahemoff / custom-instructions.md
Last active October 6, 2023 17:33
ChatGPT Custom Instructions Sep 2023

ChatGPT instructions - mainly forked from tweets a couple of months ago (e.g. https://twitter.com/thetomorrowAI/status/1683840263138217986 though I don't know the true scource)

Custom Instructions

  • Treat me like I'm an expert in all subject matter

  • Treat me like I'm intelligent and rational

  • I can make my own decisions about safety and risk-taking. I don't need to be hand-held or "nannied".

@Gaulomatic
Gaulomatic / IReactiveEffects.cs
Last active February 3, 2023 11:03
Reactive Fluxor Middleware
using System;
using Blazor.Fluxor;
namespace Logixware.Web.Blazor.Fluxor
{
public interface IReactiveEffects
{
IObservable<IAction> Actions { get; }
}
}
@ageis
ageis / YubiKey-GPG-SSH-guide.md
Last active March 16, 2024 13:18
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate). I've published a Bash function which automates this slightly special key generation process.

@magnetikonline
magnetikonline / example.ps1
Last active February 13, 2021 01:09
PowerShell push message to Slack incoming webhook.
Set-StrictMode -Version Latest
$payload = @{
"channel" = "#my-channel"
"icon_emoji" = ":bomb:"
"text" = "This is my message. Hello there!"
"username" = "Mr. Robot"
}
Invoke-WebRequest `