This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout_mamba() { | |
# initialize micromamba | |
eval "$(micromamba shell hook --shell=bash)" | |
# check if environment name is specified | |
if [ -n "$1" ]; then | |
# Explicit environment name from layout command. | |
local env_name="$1" | |
# activate environment | |
micromamba activate ${env_name} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ case "${container_manager}" in | |
+ command -v podman | |
+ container_manager=podman | |
+ command -v podman | |
+ '[' 1 -ne 0 ']' | |
+ container_manager='podman --log-level debug' | |
+ '[' 0 -ne 0 ']' | |
+ container_home=/home/lars | |
+ container_path=/home/lars/.micromamba/condabin:/home/lars/.local/share/zinit/polaris/bin:/usr/lib/ccache/bin:/home/lars/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/home/lars/.dotnet/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/lars/.local/bin:/home/lars/.cargo/bin | |
+ '[' 0 -ne 0 ']' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDArbkXoTmVrJP7G9MEzewOy8ga4RBlFSK1H8FTvprhjUlyNiKkOa0+2uCdRg0jc0cxhZc6YJ/WpMw5zc8O5BcqA3nJD+H5MMgHKn3OQLO5OAJZ3flhJo3cYyb8WOEuyuhQN70B7SuBbqEKKjJtIYKfxg8LrpjwlwgeA4dOiIEU6FfY//cT47wyQl6qooHeiSrTAdAIjpQpuUY6tcKN84ptDxIeAMVfUUOpeNH1KUyIlal5Yp3wzr/4VI0LT+9gqwsBhdSoaHdDsXnHeBKcfmEMUoCF09tH3Kh+4x3TfLFfcc9TKK4H6WRODHanTBzzNYufHpq7lujhpyGjiJPJKSgz6lYVR0CFXalOKmz/0waAkUUbDxEU6caQNNtwphTNhzCTCurw7j9CGmx8lh9UyJtBlpSJY12myWY5xK1xpCXtEmTFf6K+RVXuZDwXH4zGbTIss/vG59KQBvtzAwZg0/5EAL/ABbfeQX/jyR/75Vw4czf8OOPT7K3iWECVNw8UT50= seb" >> ~/.ssh/authorized_keys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
var="abcdefghijklmnopqrstuvwxyz" | |
key1="${var:$(( RANDOM % ${#var} )):1}" | |
key2="${var:$(( RANDOM % ${#var} )):1}" | |
echo "Changing keys $key1 and $key2" | |
code1=$(xmodmap -pk | grep "($key1)" | awk '{print $1}') | |
code2=$(xmodmap -pk | grep "($key2)" | awk '{print $1}') | |
echo "Changing keys $key1 ($code1) and $key2 ($code2)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include QMK_KEYBOARD_H | |
enum layer_names { | |
_QWERTZ, | |
_FNARROW, | |
_FNNUM, | |
_SPECIAL, | |
}; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import math | |
class EmotionSequence(tf.keras.utils.Sequence): | |
def __init__(self, batchSize=32, augment=False, usage='train'): | |
self.batchSize = batchSize | |
self.emotions = None | |
self.pixels = None | |
self.usage = usage | |
self._readFiles() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LANG=en_US.UTF-8 | |
LANGUAGE=en_US | |
LC_ADDRESS=de_DE.UTF-8 | |
LC_COLLATE=C | |
LC_CTYPE=en_US.UTF-8 | |
LC_IDENTIFICATION=en_US.UTF-8 | |
LC_MEASUREMENT=de_DE.UTF-8 | |
LC_MESSAGES=en_US.UTF-8 | |
LC_MONETARY=de_DE.UTF-8 | |
LC_NAME=de_DE.UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------- | |
# | |
# Project created by QtCreator 2015-12-04T16:04:34 | |
# | |
#------------------------------------------------- | |
QT += core gui | |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
struct buffer | |
{ | |
void *b_buffer; | |
size_t b_buffersize; | |
}; | |
struct buffer *buffers; |