Skip to content

Instantly share code, notes, and snippets.

@mbhushan
mbhushan / README.md
Created August 18, 2016 17:44 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@mbhushan
mbhushan / gist:1946905aaa0c716a845035292b01b1c8
Created September 28, 2016 04:13
[JAVA] MD5 hash for input String
private MessageDigest md = MessageDigest.getInstance("MD5");;
public String getMD5(String input) {
this.md.reset();
this.md.update(input.getBytes());
byte [] bytes = this.md.digest();
StringBuffer sb = new StringBuffer();
for (byte b: bytes) {
sb.append(String.format("%02x", b));
}
@mbhushan
mbhushan / tmux-cheatsheet.markdown
Created March 5, 2019 04:41 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@mbhushan
mbhushan / iterm2.md
Created March 10, 2019 17:57 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@mbhushan
mbhushan / AwesomeCourses.md
Created April 28, 2020 17:10 — forked from nurimelih/AwesomeCourses.md
List of awesome university courses for learning Computer Science!

Awesome Courses Awesome

Introduction

There is a lot of hidden treasure lying within university pages scattered across the internet. This list is an attempt to bring to light those awesome courses which make their high-quality material i.e. assignments, lectures, notes, readings & examinations available online for free.

Table of Contents