Skip to content

Instantly share code, notes, and snippets.

View arafatkhan's full-sized avatar
💭
Life is beautiful...

ARAFAT KHAN arafatkhan

💭
Life is beautiful...
View GitHub Profile
@arafatkhan
arafatkhan / gitcheats.txt
Created November 29, 2021 17:19 — forked from chrismccoy/gitcheats.txt
git cheats
# get list of all author's emails of the repo
git log --format="%ae" | uniq
# shortform git commands
alias g='git'
# show contents of all git objects in a git repo
find .git/objects/ -type f \| sed 's/\.git\/objects\/\///' | sed 's/\///g' | xargs -n1 -I% echo echo "%" \$\(git cat-file -p "%"\) \0 | xargs -n1 -0 sh -c
# push all branches to all remotes
@arafatkhan
arafatkhan / git commands.md
Created November 28, 2021 00:27 — forked from scootcho/git commands.md
git commands #git #commands

initialize git depository in the current directory

git init .

display the git remote/origin

cat .git/config
@arafatkhan
arafatkhan / dynamic result.php
Created February 16, 2017 17:31 — forked from safaroque7/dynamic result.php
dynamic result
<?php
/*
Template Name: একাডেমিক রেজাল্ট ডাইনামিক
*/
get_header();?>
<!--start maincontent-->
<div class="maincontent fix">
<div class="fix amader_kotha">