Skip to content

Instantly share code, notes, and snippets.

View spiderman-idog's full-sized avatar
🦀
Crab crab crab crab crab

spiderman idog spiderman-idog

🦀
Crab crab crab crab crab
  • ~/
  • 15:20 (UTC -03:00)
View GitHub Profile
@spiderman-idog
spiderman-idog / letterboxing.rs
Last active December 12, 2022 21:28 — forked from DGriffin91/letterboxing.rs
Basic Letterboxing
// License: Apache-2.0 / MIT
use bevy::{
core_pipeline::clear_color::ClearColorConfig,
prelude::*,
render::{camera::RenderTarget, render_resource::*, view::RenderLayers},
};
fn main() {
App::new()
@spiderman-idog
spiderman-idog / Spacedust.vim
Last active August 29, 2022 22:26
Quick edit of the PaperColor vim theme to make it look like hallski/spacedust-theme, if the theme looks kinda off to you, try toggling the background or setting the theme to spacedust again
" Theme: Spacedust
" Source: https://gist.github.com/Helaxious/6861267116b9de6fdec030b670ab012d
let s:version = '0.9.x'
" Note on navigating this source code:
" - Use folding feature to collapse/uncollapse blocks of marked code
" zM to fold all markers in this file to see the structure of the source code
" zR to unfold all recursively
" za to toggle a fold
@spiderman-idog
spiderman-idog / .vimrc_after_a_weekend_of_learning
Last active August 29, 2022 01:21
For a weekend, I decided to challenge myself, and finally learn how to use vim, this is my .vimrc after that
syntax on
noremap j gj
noremap k gk
noremap <Up> gk
noremap <Down> gj
imap <silent> <Down> <C-o>gj
imap <silent> <Up> <C-o>gk