Skip to content

Instantly share code, notes, and snippets.

View sphingu's full-sized avatar
:dependabot:
Focusing

Sumit Hingu sphingu

:dependabot:
Focusing
View GitHub Profile
@sphingu
sphingu / EnumExtensions.cs
Last active February 16, 2016 11:31
Enum Extension
[Flags]
public enum Status
{
Success = 1<<0, //1
Fail = 1<<1, //2
Unknown = 1<<2, //4
isNotFail = Success | Unknown
}
public static bool HasFlag(this int status, int flag)
@sphingu
sphingu / shortcuts
Last active March 11, 2018 05:42
Elementary OS Shortcuts
⌘+Space App Launcher
Alt+Tab Window Switcher
⇧+Alt+Tab Switch Windows Backwards
⌘+W Window Overview
⌘+A Window Overview (Across All Workspaces)
⌘+Left/Right Switch Workspace
⌘+S Workspace Overview
⌘+0 New Workspace
⇧+⌘+Left/Right Move Window with Workspace
Ctrl+⌘+Left/Right Snap Window to Half of Workspace
@sphingu
sphingu / sublime
Last active March 11, 2018 18:25
Sublime Things
SELECTION
---------
Ctrl + D : select a Word
Ctrl + L : select Line
Ctrl + M : Select whole bracket code
Ctrl + Shift + P : Command Patelle
Ctrl + P : list all files
1) SideBarEnhancements
@sphingu
sphingu / info.md
Last active October 29, 2021 18:41
About OpenID Connect and OAuth
@sphingu
sphingu / VIM-Notes.md
Last active December 27, 2021 15:19
Mastering the vi and Vim Editors on the Linux, Unix, Mac, and Windows Operating Systems

Essential Navigation Commands

:q - quit :q! - force quit

:wq - write & quit

:23 - go to line No. 23

:$ - go to last line

@sphingu
sphingu / shortcuts.md
Last active December 28, 2021 07:18
WINDOW TERMINAL
ctrl + shift + = => new pan on side
ctrl + shift + - => new pan on bottom
ctrl + shift + w => close pan

alt + arrow => move focus pan
alt + shift + arrow => resize pan

ctrl + , => open settings
ctrl + shift + p =&gt; command pattele
@sphingu
sphingu / tmux.md
Last active November 9, 2024 13:13
Vim Cheet Sheet