Skip to content

Instantly share code, notes, and snippets.

unraze / elegoo_neptune_3.def.json
Created August 24, 2022 03:45
Official Elegoo Neptune 3 Cura Machine Profile
View elegoo_neptune_3.def.json
"version": 2,
"name": "ELEGOO NEPTUNE 3",
"inherits": "fdmprinter",
"metadata": {
"visible": true,
"author": "ELEGOO",
"manufacturer": "ELEGOO",
"category": "ELEGOO",
"file_formats": "text/x-gcode",
palewire /
Last active March 29, 2023 15:25
How to push tagged Docker releases to Google Artifact Registry with a GitHub Action

How to push tagged Docker releases to Google Artifact Registry with a GitHub Action

Here's how I configured a GitHub Action so that a new version issued by GitHub's release interface will build a Dockerfile, tag it with the version number and upload it to Google Artifact Registry.

Before you attempt the steps below, you need the following:

  • A GitHub repository that contains a working Dockerfile
  • The Google Cloud SDK tool gcloud installed and authenticated

Create a Workload Identity Federation

andrebrait /
Last active April 1, 2023 00:01
Keychron keyboards on Linux + Bluetooth fixes

Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.

Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

tomhicks / plink-plonk.js
Last active January 18, 2023 15:57
Listen to your web pages
View plink-plonk.js
hmanzur /
Last active January 31, 2022 15:25
Beanstalk Environments to Docker container build in .env file
"AWSEBDockerrunVersion": "1",
"Logging": "/tmp/app",
"Image": {
"Update": "true"
Xaero252 /
Last active May 26, 2019 02:17
Enable nvdec support for plex dockers on unraid
johndatserakis /
Last active March 13, 2023 15:39
Install imagick In Docker FROM php:7.1-fpm-alpine


RUN set -ex \
    && apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS imagemagick-dev libtool \
    && pecl install imagick-3.4.3 \
    && docker-php-ext-enable imagick \
    && apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
 && apk del .phpize-deps
Jobarion /
Last active November 6, 2022 03:26
THX Deep Note Generator
MIT License
Copyright (c) 2018 Jonas Balsfulland
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
kitze / store.js
Created January 24, 2018 13:14
simplified redux
View store.js
import produce from 'immer';
import {createStore} from 'redux';
const handleActions = (actionsMap, defaultState) => (
state = defaultState,
{type, payload}
) =>
produce(state, draft => {
const action = actionsMap[type];
action && action(draft, payload);
MaxXor /
Created October 29, 2017 14:47
Arch GPU Passthrough Summary

Arch Linux GPU-Passthrough

A quick guide on how to setup a GPU-Passthorugh. Below are some of my Resources

The Arch Wiki is the goto place for additional information and performance tweaks like CPU-Pinning.


  • IGPU or second dedicated GPU for Host system (unless you want to go the hard way and use one GPU for HOST and GUEST)