Skip to content

Instantly share code, notes, and snippets.

View sebasptsch's full-sized avatar
🇦🇺
Down Under

Sebastian Pietschner sebasptsch

🇦🇺
Down Under
View GitHub Profile
{
"version": 1,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "system76/launch_1",
"keymap": "system76_launch_1_layout_mine",
"layout": "LAYOUT",
"layers": [
[
"KC_ESC",

Welcome to the ProgSoc Discord!

📓 Official Rules 📓 Don't break these or I'll be mad and stuff <:angery:350612768942063616>

  1. Wheaton's Law <:wheaton:550251356624257035>: Don't be a Dick. Pretty simple, but the most effective one in this list.
  2. No hate speech of any kind, please. Not even if you think it's some edgy joke.
  3. No baiting or looking for loopholes.
  4. Nothing too nsfw. Excessive Gore or Nudity can get you banned from both this server and discord itself.
@sebasptsch
sebasptsch / .bashrc
Created October 14, 2022 00:37
SSH Agent
SSH_ENV="$HOME/.ssh/agent-environment"
function start_agent {
echo "Initialising new SSH agent..."
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
echo succeeded
chmod 600 "${SSH_ENV}"
. "${SSH_ENV}" > /dev/null
/usr/bin/ssh-add;
}
@sebasptsch
sebasptsch / keybase.md
Created April 30, 2022 01:15
keybase.md

Keybase proof

I hereby claim:

  • I am sebasptsch on github.
  • I am sebasptsch (https://keybase.io/sebasptsch) on keybase.
  • I have a public key ASCNLc9lh3QIQuQtFHv23TP6b1fh3pfHkTmTMV9Hu3lP9Qo

To claim this, I am signing this object:

<ref *2> {
type: 'GUILD_VOICE',
guild: <ref *1> {
id: '911510714198401044',
name: 'Dynamica',
icon: 'f1e6a363d540a6199f687ebfe42a4110',
features: [ 'COMMUNITY', 'WELCOME_SCREEN_ENABLED', 'NEWS' ],
commands: { permissions: [Object], guild: [Circular *1] },
members: { guild: [Circular *1] },
channels: { guild: [Circular *1] },

sensor.powerwall_battery_now value: -3.38

state_class: measurement
frequency: 50
energy_exported_(in_kW): 4841.9
energy_imported_(in_kW): 5414
instant_average_voltage: 225.5
instant_total_current: 73.9
is_active: true
unit_of_measurement: kW
blueprint:
name: Zone Notification
description: Send a notification to a device when a person leaves a specific zone.
domain: automation
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml
input:
person_entity:
name: Person
selector:
entity:
@sebasptsch
sebasptsch / printer.cfg
Last active November 28, 2021 08:13
Printer Config
[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
microsteps: 16
# endstop_pin: ^ar3
endstop_pin: tmc2130_stepper_x:virtual_endstop
position_endstop: 0
rotation_distance: 40
microsteps: 16