Skip to content

Instantly share code, notes, and snippets.

View IamMohaiminul's full-sized avatar
💭
I may be slow to respond.

Muhd Mohaiminul Islam IamMohaiminul

💭
I may be slow to respond.
View GitHub Profile
@IamMohaiminul
IamMohaiminul / PostgreSQL.md
Last active September 9, 2019 08:26
Install PostgreSQL stable 11.4 (bottled) in macOS Mojave v10.14.6 (18G87) using Homebrew

Update homebrew formulaes

➜ brew update

To install

➜ brew install postgresql

To configure with postgres superuser

@IamMohaiminul
IamMohaiminul / CloneGitHubRepo.sh
Last active May 7, 2020 07:38
Clone all repositories for user and organisation specified at once from GitHub
#!/bin/bash
username=""
token=""
organization=""
suffix=".git"
# clone all repositories for specifed user
for repo in `curl https://api.github.com/user/repos?type=owner\&per_page=100 -u ${username}:${token} | jq .[].ssh_url | sed -e 's/^"//' -e 's/"$//'`
do
@IamMohaiminul
IamMohaiminul / .travis.yml
Last active May 14, 2020 10:16
Travis CI config for Golang
branches:
only:
- master
os:
- linux
- osx
language: go
@IamMohaiminul
IamMohaiminul / reset-jetbrains.sh
Last active June 21, 2026 18:31
Reset JetBrains for macOS
#!/bin/zsh
# 1. Close all JetBrains applications
echo "Closing running JetBrains instances..."
jbs=(phpstorm pycharm intellij webstorm datagrip clion goland rider)
for app in "${jbs[@]}"; do
pkill -fi "$app" 2>/dev/null
done
# 2. Define Base Directories

Setup SonarQube Community using Docker Compose

URL: http://localhost:9001
Login: admin
Password: admin
// compose.yaml