Skip to content

Instantly share code, notes, and snippets.

@Blackshome
Blackshome / sensor-light.yaml
Last active April 27, 2026 23:54
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# 💡 Sensor Light
**Version: 8.5**
Your lighting experience, your way - take control and customize it to perfection! 💡✨
@matthewjberger
matthewjberger / configuration.nix
Created June 22, 2021 03:52
/etc/nixos/configuration.nix minimal configuration for using kde plasma
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@alexalouit
alexalouit / readme.txt
Last active April 7, 2023 22:07
OpenWRT as reliable and secure SFTP server
$ opkg update
$ opkg install openssh-server openssh-sftp-server
# disable built-in dropbear
$ /etc/init.d/dropbear disable
$ /etc/init.d/dropbear stop
# enable full openssh server
$ /etc/init.d/sshd enable
$ /etc/init.d/sshd start
@cetinajero
cetinajero / 1-network-tools.md
Last active July 25, 2022 22:52
Network tools & list of interface bandwidths

SSH Port Forwarding

SSH Port Forwarding, aka SSH Tunneling.

Local Forwarding

Local forwarding is used to forward a port from the client machine to the server machine. Basically, the SSH client listens for connections on a configured port, and when it receives a connection, it tunnels the connection to an SSH server. The server connects to a configurated destination port, possibly on a different machine than the SSH server.

ssh -L <local-listening-port>:<remote-destination-host>:<remote-destination-port> <ssh-server>

I bundled these up into groups and wrote some thoughts about why I ask them!

If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email carl.vitullo@gmail.com

Onboarding and the workplace

https://blog.vcarl.com/interview-questions-onboarding-workplace/

  • How long will it take to deploy my first change? To become productive? To understand the codebase?
  • What kind of equipment will I be provided? Will the company pay/reimburse me if I want something specific?
function ConvertTo-ChocoPackage {
<#
.SYNOPSIS
Convert a PowerShell module into a chocolatey package.
.DESCRIPTION
Convert a PowerShell module into a chocolatey package.
.EXAMPLE
Find-Module pester | ConvertTo-ChocoPackage
Find the module pester on a PS repository and convert the module to a chocolatey package.