Skip to content

Instantly share code, notes, and snippets.

View anilahir's full-sized avatar
🏠
Working from home

Anil Ahir anilahir

🏠
Working from home
View GitHub Profile
@chetanppatil
chetanppatil / Robo3T-Installation-Menu.sh
Last active May 10, 2023 03:54
Robo mongo 3t installation and creating shortcut
#!/bin/bash
set -e
ROBO_VERSION="1.2.1"
ROBO_FILE="robo3t-$ROBO_VERSION-linux-x86_64-3e50a65.tar.gz"
ROBO_URL="https://download.robomongo.org/$ROBO_VERSION/linux/$ROBO_FILE"
ROBO_DIR="/opt/RoboMongo"
echo "Downloading Robomongo..."
@GabrielCzar
GabrielCzar / DOCKER_COMPOSE.md
Last active March 16, 2024 21:42
Docker compose samples

Scripts to run specific services

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 10, 2025 17:42
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@lifehome
lifehome / webhook.gs
Created August 24, 2016 14:48
Google Forms + Webhook : JSON example
function onFormSubmit(e) {
var data = {
"form": {
"id": e.source.getId(),
"title": e.source.getTitle() ? e.source.getTitle() : "Untitled Form",
"is_private": e.source.requiresLogin(),
"is_published": e.source.isAcceptingResponses(),
},
"response": {
"id": e.response.getId(),
@joseluisq
joseluisq / terminal-git-branch-name.md
Last active February 9, 2025 02:05
Add Git Branch Name to Terminal Prompt (Linux/Mac)

Add Git Branch Name to Terminal Prompt (Linux/Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {
@jtdp
jtdp / gist:5443297
Last active April 2, 2025 22:15
See changes before pulling from remote git repository
# fetch the changes from the remote
git fetch origin
# show commit logs of changes
git log master..origin/master
# show diffs of changes
git diff master..origin/master
# apply the changes by merge..