Skip to content

Instantly share code, notes, and snippets.

public static class QueryableExtensions
{
public static IQueryable<JoinMapper<TA, TB>> Join<TA, TB, TKey>(
this IQueryable<TA> outer,
IQueryable<TB> inner,
Expression<Func<TA, TKey>> outerSelector,
Expression<Func<TB, TKey>> innerSelector
)
{
return outer.Join(
set-option -g default-shell $SHELL
set -g set-clipboard on
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
set -g base-index 1
set -g pane-base-index 1
@SteffenBlake
SteffenBlake / PropertyWatcherBase.cs
Last active August 3, 2023 04:57
PropertyWatcherBase
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Transactions;
namespace Assets.Scripts.Imports
{
internal static class ExpressionExtensions
@SteffenBlake
SteffenBlake / Pixxelkicks RF Jugg League start plan.md
Last active March 8, 2023 07:19
PixxelKicks Ruthless Lightning -> RF Jugg League start plan.md

Run 1: Shadow

Enemy at the Gate -> Stormblast Mine
Breaking some Eggs -> Orb of Storms

  • Buy and pickup ALL normal ilvl 4 to 7 sceptres you can get your grubby paws on

Mercy Mission -> Quicksilver #1
The Caged Brute -> Clarity
Siren's Cadence -> Fire Trap

ACT 1

Vendor String: g-g-r|g-r|nne

Enemy at the Gate

  • Lv 2 - Splitting Steel (support with bleed)

Breaking Some Eggs

  • Lv 2+ - Dash
  • $$$ - Steelskin
@SteffenBlake
SteffenBlake / 3.18PoisonConcRangerStart.md
Last active May 10, 2022 17:24
PoE 3.18 Poisonous Concoction Ranger League Start

Tips

Vendor String:

Remember: 8x Whetstones = 1x Bauble (Act 3 on)

Save 4 baubles for lv 42 to use on Hallowed Life Flask and lv 61 to use on Divine Life Flask

Socket Links:

@SteffenBlake
SteffenBlake / ControlPlane.yaml
Last active September 15, 2021 06:03
Example Control Plane cloud config
# CONTROL PLANE
ssh_authorized_keys:
- <YOUR SSH-RSA KEY HERE> ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQ........... etc etc
hostname: <CONTROL_PLANE_NAME_HERE>
## SET TO YOUR LOCAL TIMEZONE BELOW
run_cmd:
- "touch /etc/localtime"
- "cp /usr/share/zoneinfo/Canada/Mountain /etc/localtime"
private int[] PlayerBroadcasters = new int[0];
[SerializeField] private Toggle BroadcastToggle;
public void OnBroadcastToggle()
{
BroadcasterId = Networking.LocalPlayer.playerId;
Broadcast = BroadcastToggle.isOn;
Networking.SetOwner(Networking.LocalPlayer, gameObject);
@SteffenBlake
SteffenBlake / gist:93d442c0413425112e17de8e13642215
Last active March 11, 2024 21:51
Security Camera handy links

Cheap gear to get the job done

  1. Reolink PoE 5MP RLC-522 - https://www.amazon.ca/gp/product/B01AL5D85W/ref=ppx_yo_dt_b_asin_title_o06_s00
  2. Mokerlink 1 to 4 port PoE switch - https://www.amazon.ca/MokerLink-Ethernet-Support-IEEE802-3af-Fanless/dp/B07SGBQNLM/ref=sr_1_4
  3. (Kind of works) Raspberry Pi 4 - https://www.amazon.ca/CanaKit-Raspberry-Starter-Kit-4GB/dp/B07WRMR2CX/ref=sr_1_4 3a. (Recommended) Nanopi R4S (Way better performance but likely has to ship from China, but it is the far superior device for same price)
  4. Recommended: Also get yourself a USB 3.0 portable hard drive, preferably 2TB+, of your preferred brand

Also likely needed:

@SteffenBlake
SteffenBlake / RollSeeds
Created March 27, 2021 00:20
Simple example program for comparing seed rolling algs
using System;
using System.Collections.Generic;
namespace ConsoleApp3
{
class Program
{
const double Thresh1 = 0.6;
const double Thresh2 = 0.7;
const double Thresh3 = 0.8;