Skip to content

Instantly share code, notes, and snippets.

View devinus's full-sized avatar

Devin Alexander Torres devinus

View GitHub Profile
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
#!/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
if &compatible
set nocompatible
endif
function! PackInit() abort
packadd minpac
call minpac#init()
call minpac#add('k-takata/minpac', {'type': 'opt'})
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
command_timeout = 1000
[aws]
symbol = " "
[battery]
full_symbol = ""
charging_symbol = ""
discharging_symbol = ""
if &compatible
set nocompatible
endif
function! PackInit() abort
packadd minpac
call minpac#init()
call minpac#add('k-takata/minpac', {'type': 'opt'})
#!/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
# `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
#
#!/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 "$@"
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!