Skip to content

Instantly share code, notes, and snippets.

View itsazzad's full-sized avatar
🎯
Focusing

Sazzad Hossain (Tushar) Khan itsazzad

🎯
Focusing
View GitHub Profile
@itsazzad
itsazzad / NEW_CODESPACE_SETUP.md
Last active September 25, 2026 05:52
New Codespace Setup for Git Signatures and Commit Identity

New Codespace Setup for Git Signatures and Commit Identity

This document explains the exact setup required when starting a fresh GitHub Codespace for this repository.

The root issue is not your Git config alone. In Codespaces, the remote VS Code extension host can inherit environment variables that override git config. In particular, GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL can force Git to use GitHub <noreply@github.com> even when your personal Git config is correct.

This can cause:

  • commit committer metadata to appear as GitHub <noreply@github.com>
  • SSH-signed commits to appear as unverified on GitHub
@itsazzad
itsazzad / keybase.md
Last active October 16, 2024 05:45
keybase.md

Keybase proof

I hereby claim:

  • I am itsazzad on github.
  • I am itsazzad (https://keybase.io/itsazzad) on keybase.
  • I have a public key ASCN37NGZH8p1RcsvH8uurHkxUeGk8QDvh9mOkEGPTFd5Ao

To claim this, I am signing this object:

@itsazzad
itsazzad / clone-all.sh
Created November 16, 2022 04:38
Clone Forge Examples
git clone --depth 1 git@bitbucket.org:atlassian/atlassian-support-assistant.git
git clone --depth 1 git@bitbucket.org:atlassian/confluence-recent-edits-overview
git clone --depth 1 git@bitbucket.org:atlassian/connect-on-forge-alpha
git clone --depth 1 git@bitbucket.org:atlassian/devday-2021-new-in-forge
git clone --depth 1 git@bitbucket.org:atlassian/forge-and-bitbucket-pipelines
git clone --depth 1 git@bitbucket.org:atlassian/forge-app-events-confluence-marco
git clone --depth 1 git@bitbucket.org:atlassian/forge-attachment-count-custom-field
git clone --depth 1 git@bitbucket.org:atlassian/forge-byline-dynamicproperties
git clone --depth 1 git@bitbucket.org:atlassian/forge-compass-component-details
git clone --depth 1 git@bitbucket.org:atlassian/forge-compass-webtrigger
#!/usr/bin/zsh
github="itsazzad"
target="atlassian-forge-create-templates"
templates=("blank" "compass-admin-page-custom-ui" "compass-admin-page-ui-kit" "compass-component-page-custom-ui" "compass-component-page-ui-kit" "compass-data-provider" "compass-global-page-custom-ui" "compass-global-page-ui-kit" "compass-team-page-custom-ui" "compass-team-page-ui-kit" "confluence-content-action-custom-ui" "confluence-content-action-ui-kit" "confluence-content-byline-custom-ui" "confluence-content-byline-ui-kit" "confluence-context-menu-custom-ui" "confluence-context-menu-ui-kit" "confluence-global-page-custom-ui" "confluence-global-page-ui-kit" "confluence-global-settings-custom-ui" "confluence-global-settings-ui-kit" "confluence-homepage-feed-custom-ui" "confluence-homepage-feed-ui-kit" "confluence-macro-custom-ui" "confluence-macro-typescript-ui-kit" "confluence-macro-ui-kit" "confluence-space-page-custom-ui" "confluence-space-page-ui-kit" "confluence-space-settings-custom-ui" "confluence-space-settings-ui-kit" "ji
@itsazzad
itsazzad / laravel-build-8.x.sh
Last active July 30, 2022 14:13
laravel.build
docker info > /dev/null 2>&1
# Ensure that Docker is running...
if [ $? -ne 0 ]; then
echo "Docker is not running."
exit 1
fi
echo "Starting..."
@itsazzad
itsazzad / hourbyhour.js
Last active February 9, 2022 14:29
weather.com hourbyhour
var details = document.querySelectorAll("[id*='detailIndex']")
var data = {
daypart: [],
temperature: [],
UVIndex: [],
}
for (let i = 0; i < details.length; i++) {
details[i].toggleAttribute("open")
data.daypart.push(details[i].querySelector("[data-testid='daypartName']").textContent)
@itsazzad
itsazzad / brand-names.js
Last active February 7, 2022 21:11
medex.com.bd
const average = (array) => array.reduce((a, b) => a + b) / array.length;
var packages = document.querySelectorAll("tr:not(.hidden) .package-container")
const prices = [];
for (let i = 0; i < packages.length; i++) {
const pack = packages[i].innerText;
prices.push(Number(/৳\s([^\s(]+)/.exec(pack)[1]))
}
const min = Math.min(...prices);
const max = Math.max(...prices);
@itsazzad
itsazzad / install-openssl.sh
Last active November 29, 2021 10:52 — forked from estshorter/install-openssl.sh
Install openssl on raspberry pi
#!/bin/bash -eu
OPENSSL_VER=3.0.0
mkdir openssl
cd openssl
wget https://www.openssl.org/source/openssl-${OPENSSL_VER}.tar.gz
tar xf openssl-${OPENSSL_VER}.tar.gz
cd openssl-${OPENSSL_VER}
./config zlib shared no-ssl3
@itsazzad
itsazzad / git-org-status.sh
Last active August 25, 2021 01:36
Git Organization: Status
for f in *; do
if [ -d "$f" ]; then
cd $f
pwd
git status
cd ..
fi
done
@itsazzad
itsazzad / git-org-add-commit-push.sh
Last active August 25, 2021 01:31
Git Organization Add Commit Push
echo "Message:"
read message
for f in *; do
if [ -d "$f" ]; then
cd $f
pwd
echo "$upstream/$f"
git add --all
git commit -m "$message"
git push upstream