Skip to content

Instantly share code, notes, and snippets.

View UndeadDemidov's full-sized avatar

nick UndeadDemidov

View GitHub Profile
@UndeadDemidov
UndeadDemidov / cdp.md
Created September 4, 2024 07:18 — forked from jacksluong/cdp.md
An interactive way to navigate directories in a terminal

cdp: Change Directory Pro

recording How do you navigate in your terminal? Do you chain sequences of cd commands together, or copy a file path and paste it? Sometimes to a destination directory that's not adjacent to your current one?

cdp might be the solution for you. It's a command that activates an interactive way to navigate directories smoothly and easily. Compatible with bash and zsh.

Controls

  • cdp to activate
  • ↑/↓ to change the selected subdirectory
  • ← to move into the parent subdirectory (disallowed when in $HOME)
@UndeadDemidov
UndeadDemidov / cdp.md
Created September 4, 2024 07:18 — forked from jacksluong/cdp.md
An interactive way to navigate directories in a terminal

cdp: Change Directory Pro

recording How do you navigate in your terminal? Do you chain sequences of cd commands together, or copy a file path and paste it? Sometimes to a destination directory that's not adjacent to your current one?

cdp might be the solution for you. It's a command that activates an interactive way to navigate directories smoothly and easily. Compatible with bash and zsh.

Controls

  • cdp to activate
  • ↑/↓ to change the selected subdirectory
  • ← to move into the parent subdirectory (disallowed when in $HOME)
@UndeadDemidov
UndeadDemidov / tokens.md
Created December 26, 2022 19:11 — forked from zmts/tokens.md
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
@UndeadDemidov
UndeadDemidov / iterm2-solarized.md
Created March 31, 2020 10:20 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k