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
env MALLOC_CONF='background_thread:true,metadata_thp:auto,retain:true,percpu_arena:phycpu,dirty_decay_ms:30000,muzzy_decay_ms:30000' LD_PRELOAD=/usr/lib/libjemalloc.so GAMEMODERUNEXEC=prime-run gamemoderun |
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 | |
# Caches the output of a binary initialization command, to avoid the time to | |
# execute it in the future. | |
# | |
# Usage: _evalcache <command> <generation args...> | |
# shellcheck disable=3006,3043 | |
# default cache directory |
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
if &compatible | |
set nocompatible | |
endif | |
function! PackInit() abort | |
packadd minpac | |
call minpac#init() | |
call minpac#add('k-takata/minpac', {'type': 'opt'}) |
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
autoload -Uz up-line-or-beginning-search | |
autoload -Uz down-line-or-beginning-search | |
zle -N up-line-or-beginning-search | |
zle -N down-line-or-beginning-search | |
bindkey "^[[A" up-line-or-beginning-search | |
bindkey "^[[B" down-line-or-beginning-search |
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
command_timeout = 1000 | |
[aws] | |
symbol = " " | |
[battery] | |
full_symbol = "" | |
charging_symbol = "" | |
discharging_symbol = "" |
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
if &compatible | |
set nocompatible | |
endif | |
function! PackInit() abort | |
packadd minpac | |
call minpac#init() | |
call minpac#add('k-takata/minpac', {'type': 'opt'}) |
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/zsh | |
GOPATH="$(go env GOPATH)" | |
PATH="$GOPATH/bin:/usr/lib/ccache/bin:$PATH" | |
LESS="-RF" | |
EDITOR=vim | |
DOCKER_BUILDKIT=1 | |
COMPOSE_DOCKER_CLI_BUILD=1 |
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
# `sheldon` configuration file | |
# ---------------------------- | |
# | |
# You can modify this file directly or you can use one of the following | |
# `sheldon` commands which are provided to assist in editing the config file: | |
# | |
# - `sheldon add` to add a new plugin to the config file | |
# - `sheldon edit` to open up the config file in the default editor | |
# - `sheldon remove` to remove a plugin from the config file | |
# |
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
#!/bin/sh | |
set -e | |
PAPER_VERSION=1.18.1 | |
PAPER_BUILD_ID=187 | |
exec java -server -Xms48G -Xmx48G -XX:+UnlockExperimentalVMOptions -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UseCondCardMark -XX:+UseTransparentHugePages -XX:+UseZGC -XX:-ZUncommit -XX:MaxGCPauseMillis=5 -jar "paper-${PAPER_VERSION}-${PAPER_BUILD_ID}.jar" --nogui "$@" |
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
type User { | |
username: String! @search(by: [hash]) @id | |
dateCreated: DateTime! | |
posts: [Post!]! @hasInverse(field: user) | |
comments: [Comment!]! @hasInverse(field: user) | |
} | |
type Post { | |
id: ID! | |
user: User! |