Skip to content

Instantly share code, notes, and snippets.

View iamsaksham's full-sized avatar

Saksham Jain iamsaksham

  • Roadzen
  • New Delhi, India
View GitHub Profile
@nobitagit
nobitagit / iterm2.md
Last active July 30, 2024 01:01
iterm2 cheatsheet

This gist has been moved to its own Github repo, so it's easier to contribute with additions and corrections. Please open a PR there if you see any mistake, I don't track comments on here as there's no notification system for gists AFAIK. Thanks.

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
@asikkema
asikkema / deploy_feature.sh
Created May 19, 2016 13:37
Deploy feature branch to AWS S3 in newly created bucket with website hosting permissions
#!/bin/bash
# codeship exposes the current git branch in $CI_BRANCH. If not available use git to find it.
# codeship specific, not required.
branch=$CI_BRANCH
if [ -z "$CI_BRANCH" ]; then
echo "NO CI_BRANCH env, getting from git."
branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
fi