Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
In the Zone

Azeez Abass ducklin5

💻
In the Zone
View GitHub Profile
View .tmux.conf
set -g default-terminal "screen-256color"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'jimeh/tmux-themepack'
run '~/.tmux/plugins/tpm/tpm'
View .vimrc
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" Plugins ---------------------------------------------------------------------
call plug#begin('~/.vim/plugged')
Plug 'mhinz/vim-startify'
View .zshrc
if [ "$TMUX" = "" ]; then
export PATH="${PATH}:/home/cmput274/.gem/ruby/2.5.0/bin:/home/cmput274/.local/bin";
exec tmux;
fi
export PYTHONPATH="/home/cmput274/.local/lib/python3.5/site-packages/"
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
@ducklin5
ducklin5 / CustomTextureProgress.gd
Created Jun 30, 2019
A custom textureprogress node for godot
View CustomTextureProgress.gd
extends Container
class_name CustomTextureProgress
tool
export(Texture) var textureUnder setget setUnderTexture
export(Texture) var textureProgress setget setProgressTexture
export(Texture) var textureOver setget setOverTexture
export(int) var stretchMarginLeft setget setStretchMarginLeft
export(int) var stretchMarginTop setget setStretchMarginTop
View .vimrc
" Evironmental variables ------------------------------------------------------
" let $PYTHONPATH='/usr/lib/python3.6/site-packages'
set rtp+=/usr/lib/python3.6/site-packages/powerline/bindings/vim/
" Plugins ---------------------------------------------------------------------
set nocompatible " be iMproved, required
filetype off " required
View .vimrc
" Evironmental variables ------------------------------------------------------
" let $PYTHONPATH='/usr/lib/python3.6/site-packages'
set rtp+=/usr/lib/python3.6/site-packages/powerline/bindings/vim/
" Plugins ---------------------------------------------------------------------
set nocompatible " be iMproved, required
filetype off " required
@ducklin5
ducklin5 / GodotSmearFrame2D.shader
Last active Jun 1, 2018
Godot 2D remake of LuggLD's and cjacobwade's SmearFrame Effect
View GodotSmearFrame2D.shader
shader_type canvas_item;
uniform float texSizeLength = 1.0 ;
uniform vec2 prev_pos = vec2(1.0,1.0) ;
uniform vec2 current_pos = vec2(1.0,1.0);
uniform float prev_rot = 0.0;
uniform float current_rot = 10.0;
uniform float _NoiseHeight = 64;
uniform float _NoiseScale = 5.0;
float rand(vec2 n) {
You can’t perform that action at this time.