First of all, you need to have AwesomeWM installed and running.
I'm using awesome-git
, the development release.
I'm not sure whether this would work on the stable release.
Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.
These steps may not be required if NixOS/nix#2374 is resolved.
These commands are required for both Fedora Workstation and Fedora Silverblue
### | |
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places. | |
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of | |
###. things to watch out for: | |
### - Check out the `nix-darwin` instructions, as they have changed. | |
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026 | |
### | |
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs). | |
# So here's a minimal Gist which worked for me as an install on a new M1 Pro. |
At the end of 2020, Discord introduced a new feature that is available to bots: Slash Commands.
Slash Commands belong to a new feature category called "Interactions" which finally allows bots to
enhance the Discord UI. As such, the way slash commands (and upcoming interactions such as clickable buttons aka. "components")
work is quite different from other parts of the API.
Slash commands are Discord entities that you can create, edit and delete through requests. Registered commands have a name
and a description
and are accessible in Discord clients by typing /name
.
There are two types of commands: guild and global. As the names indicate, commands of the former type are only accessible in one specific guild
Ever wanted to put your Rapsberry Pi cluster to great use? Our team is working remotely, so we started to play Minecraft. I decided I would host the Minecraft server on my Raspberry Pi cluster. This gist will guide you through the steps I took to get a k3s cluster up with k3sup and later installed Minecraft as well as metrics exporter and Prometheus Operator
Quoniam Possumus - Because we can
cp ~/.docker/machine/certs/ca.pem ~/.docker/machine/machines/pc/ca.pem | |
cp ~/.docker/machine/certs/key.pem ~/.docker/machine/machines/pc/key.pem | |
cp ~/.docker/machine/certs/cert.pem ~/.docker/machine/machines/pc/cert.pem | |
cd ~/.docker/machine/machines/pc | |
openssl genrsa -out server-key.pem 4096 | |
openssl req -subj "/CN=Alpine Linux Docker" -sha256 -new -key server-key.pem -out server.csr | |
# Might comment out | |
# openssl x509 -req -days 3650 -in server.csr -CA ~/.docker/machine/certs/ca.pem -CAkey ~/.docker/machine/certs/ca-key.pem -out server.pem |
import React from 'react'; | |
export class StateDispatcher extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = props.state || {}; | |
this._dispatch = this.dispatch.bind(this); | |
} | |
dispatch(action) { |
- Install VirtualBox https://www.virtualbox.org/
- Install Vagrant https://www.vagrantup.com/
- Install Git for Windows https://git-scm.com/download/win - this will also install MinGW shell
To run shell, press the Windows Key and run git bash
# The initial version | |
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi | |
# My favorite from the comments. Thanks @richarddewit & others! | |
set -a && source .env && set +a |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache
as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08: