Skip to content

Instantly share code, notes, and snippets.

View sarojkh's full-sized avatar

Saroj Khatiwada sarojkh

  • Kathmandu, Nepal
View GitHub Profile
#!/usr/bin/env bash
if [ -n "$1" ]; then
cat <<EOS
[NAME] $(basename $0) -- A Tool To Start Session With AWS Sessios Manager
[SYNOPSIS]
$(basename $0)
[NOTE]
- 'session-manager-plugin' has to be installed (See. https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html).
EOS
@juanca
juanca / github_load_all_diffs.js
Created March 2, 2017 18:42
Github PR bookmarklet: Load all file diffs
javascript:
document.querySelectorAll('.load-diff-button').forEach(node => node.click())
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 1, 2024 03:34
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname