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
filetype plugin indent on | |
syntax on | |
runtime macros/matchit.vim | |
" -- NETRW --- | |
let netrw_banner=0 | |
let g:netrw_altv=1 | |
let g:netrw_keepdir=0 | |
let g:netrw_hide=0 | |
let g:netrw_winsize=20 | |
let g:netrw_liststyle=3 |
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
class_name PlayerJuiceComponent extends Node | |
@onready var player: Player = get_parent() | |
@export_group("General") | |
@export var LERP_SPEED: float = 10 | |
@export_group("Bob") | |
@export var BOB_AMPLITUDE: Vector2 = Vector2.ONE * 0.01; | |
@export var BOB_FREQ: Vector2 = Vector2.ONE * 0.01; | |
@export_group("Tilt") | |
@export var HEAD_ROTATION_AMOUNT: float = 0.04; |
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
class_name Player extends CharacterBody3D | |
@onready var head: Node3D = $Head | |
@onready var arms: Node3D = $Head/Camera3D/Arms | |
@onready var head_default_pos: Vector3 = head.position | |
@onready var arms_default_pos: Vector3 = arms.position | |
@export var SPEED: float = 10 | |
@export var JUMP_VELOCITY: float = 4.5 | |
@export var HEAD_LERP_SPEED: float = 10 | |
@export var MAX_STEP_HEIGHT: float = 0.3 |
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
# DILBERT | |
# Add this to your .bashrc or if you are using oh-my-zsh add a functions.zsh file under your oh-my-zsh/custom folder. | |
# Requirements: | |
# - Kitty terminal | |
# - ripgrep | |
# - ImageMagick | |
function dilbert () { | |
officialUrl=https://dilbert.com |
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
# XKCD | |
# Add this to your .bashrc or if you are using oh-my-zsh add a functions.zsh file under your oh-my-zsh/custom folder. | |
# Requirements: | |
# - Kitty terminal | |
# - jq | |
# - ImageMagick | |
function xkcd () { | |
comicNum=$1 |