Skip to content

Instantly share code, notes, and snippets.

View totsteps's full-sized avatar
🦀
status.await?

Gagandeep Singh (Gagan) totsteps

🦀
status.await?
View GitHub Profile
@totsteps
totsteps / README.md
Last active June 6, 2021 23:19
VP Pseudocode for change propagation

Pseudocode

procedure PropagateAsset(S, T, R, F):
    sourceAssetType <- S.assetType

    match on sourceAssetType
        case FileType: Perform File Level Propagation
 case ClassType: Perform Class Level Propagation
@totsteps
totsteps / keybase.md
Created April 4, 2020 21:09
Keybase proof

Keybase proof

I hereby claim:

  • I am totsteps on github.
  • I am totsteps (https://keybase.io/totsteps) on keybase.
  • I have a public key whose fingerprint is E6B4 589B FB22 53F1 BEDC 5318 2245 2711 F89B 93B2

To claim this, I am signing this object:

Last login: Sat Jun 15 15:49:42 on ttys000

▶ [~] set -x > a.txt
+omz_termsupport_precmd:1> emulate -L zsh                                                           
+omz_termsupport_precmd:3> [[ '' == true ]]
+omz_termsupport_precmd:7> title '%15<..<%~%<<' %n@%m
+title:1> emulate -L zsh
+title:2> setopt prompt_subst
+title:4> [[ '' == *term* ]]
@totsteps
totsteps / HashChangeHandler.jsx
Created April 13, 2018 13:06 — forked from ryanditjia/HashChangeHandler.jsx
Gatsby smooth scroll
/*
* import to your layout/index.js
*/
import { PureComponent } from 'react'
import { performScroll, scrollToHref } from '../../utils/helpers/scroll'
const handleHashChange = () => {
if (window.location.hash) {
scrollToHref(window.location.hash)
" Plug {{{
call plug#begin('~/.config/nvim/plugged')
" Autocomplete
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
Plug 'roxma/nvim-completion-manager'
Plug 'roxma/python-support.nvim'
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
@totsteps
totsteps / tmux.conf
Created May 7, 2017 23:31 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000