Skip to content

Instantly share code, notes, and snippets.

View h2kyaw's full-sized avatar

Hein Htet Kyaw h2kyaw

View GitHub Profile
h2kyaw / gist:26160df0d34ff1528872df5017f77341
Created September 28, 2023 01:22 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
h2kyaw / .bashrc
Last active September 12, 2023 20:17
As a bonus, I thought that sharing git aliases might also benefit you. The list below might seem to be quite broad but I added comments explaining what each of them is meant to be doing. #searchedresult
a = add # Add file contents to the index
ai = add --interactive # Add modified contents in the working tree interactively to the index.
b = branch
ba = branch --all # List both remote-tracking branches and local branches.
bav = branch --all --verbose # When in list mode, show sha1 and commit subject line for each head, along with relationship to upstream branch (if any)
bd = branch --delete # Delete a branch. The branch must be fully merged in its upstream branch, or in HEAD if no upstream was set with --track or --set-upstream-to.
bdd = branch -D # Shortcut for --delete --force.
bm = branch --move # Move/rename a branch and the corresponding reflog.
h2kyaw / .bashrc
Last active September 21, 2023 03:39
.bash record
#My aliases
alias gs='git status -sb'
alias gaa='git add --all'
alias gc='git commit -m $2'
alias gp='git push'
alias gpo='git push origin'
alias gpl='git pull'
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias ls='ls -F --color=auto --show-control-chars'
Edit wampmanager.ini in wamp installed folder

Keybase proof

I hereby claim:

  • I am h2kyaw on github.
  • I am heinhtetkyaw ( on keybase.
  • I have a public key ASCCakTQgO_gbqX1qS3qva882vmKftkx-RJ8DtA-JGHCwAo

To claim this, I am signing this object:

h2kyaw / error
Created May 31, 2021 13:23
Bootstrap: fontawesome in button of a tag.
Button icon is small.
<button class="btn btn-postbit me-1 dropdown-toggle" type="button" id="threadOptions" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-cog"></i></button>
I changed code and Problem soloved.
<button class="btn btn-postbit me-1 dropdown-toggle" type="button" id="threadOptions" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fas fa-cog"></i>
But I got error that can't fix by above method.

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

add_filter( 'woocommerce_gateway_icon', 'custom_payment_gateway_icons', 10, 2 );
function custom_payment_gateway_icons( $icon, $gateway_id ){
foreach( WC()->payment_gateways->get_available_payment_gateways() as $gateway )
if( $gateway->id == $gateway_id ){
$title = $gateway->get_title();
// The path (subfolder name(s) in the active theme)
$path = get_stylesheet_directory_uri(). '/assets/images/payment';
// Setting (or not) a custom icon to the payment IDs
h2kyaw / Blogspot-Font-Embed
Created July 22, 2015 06:26
Blogspot Font Embed
@font-face {
font-family:'MON3 Anonta 1';
src:local('MON3 Anonta 1'),url('');
body,html,p,code,*,table,td,tr,span,div,a,ul,li,input,textarea{font-family:'MON3 Anonta 1'!important;}