Skip to content

Instantly share code, notes, and snippets.

View sisrfeng's full-sized avatar
🌝
Working from home

sisrfeng sisrfeng

🌝
Working from home
View GitHub Profile
@sisrfeng
sisrfeng / vim-regexp-verymagic-cheatsheet.txt
Created March 20, 2022 01:38 — forked from nasamuffin/vim-regexp-verymagic-cheatsheet.txt
Cheatsheet for vim regex with \v specified.
Special matching strings
====
^ Start of line
$ End of line
. Any character
~ Match last given substitute string
[...] Match range
[^...] Not range
< Beginning of a word
> End of a word
@sisrfeng
sisrfeng / PowerShell Customization.md
Created February 10, 2023 09:06 — forked from jchandra74/PowerShell Customization.md
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

@sisrfeng
sisrfeng / shell-setup.ps1
Created April 16, 2023 13:03 — forked from mikepruett3/shell-setup.ps1
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@sisrfeng
sisrfeng / ANSI.md
Created April 19, 2023 09:03 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27