Skip to content

Instantly share code, notes, and snippets.

View RamAndKrishna's full-sized avatar
🎯
Focusing

Ramakrishna RamAndKrishna

🎯
Focusing
  • Badvel,Andhra Pradesh
View GitHub Profile
% octave cheatsheet
% not equals(~=)
1 ~=2 % => 1
% change prompt
PS1('>> ');
% search path
setpath('~/some/path')
@RamAndKrishna
RamAndKrishna / mac-setup-redis.md
Created July 9, 2019 10:47 — forked from tomysmile/mac-setup-redis.md
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@RamAndKrishna
RamAndKrishna / octave.md
Created June 17, 2019 16:55 — forked from obstschale/octave.md
An Octave introduction cheat sheet.

Octave CheatSheet

GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)

Basics

  • not equal ~=
  • logical AND &&

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor