Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Hein Htet Kyaw h2kyaw

🎯
Focusing
View GitHub Profile
View WAMP server startup error: "No tray icon was specified"
Edit wampmanager.ini in wamp installed folder
```config
[Config]
ImageList=images_off.bmp
ServiceCheckInterval=1
ServiceGlyphRunning=13
ServiceGlyphPaused=14
ServiceGlyphStopped=15
TrayIconAllRunning=16
View keybase.md

Keybase proof

I hereby claim:

  • I am h2kyaw on github.
  • I am heinhtetkyaw (https://keybase.io/heinhtetkyaw) on keybase.
  • I have a public key ASCCakTQgO_gbqX1qS3qva882vmKftkx-RJ8DtA-JGHCwAo

To claim this, I am signing this object:

@h2kyaw
h2kyaw / error
Created May 31, 2021
Bootstrap: fontawesome in button of a tag.
View error
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>
</button>
But I got error that can't fix by above method.
View License_badges.md

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.

Notes

  • 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)

View woocommerce_gateway_icon
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();
break;
}
// 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
h2kyaw / Blogspot-Font-Embed
Created Jul 22, 2015
Blogspot Font Embed
View Blogspot-Font-Embed
@font-face {
font-family:'MON3 Anonta 1';
src:local('MON3 Anonta 1'),url('http://mmwebfonts.comquas.com/fonts/mon3.ttf');
}
body,html,p,code,*,table,td,tr,span,div,a,ul,li,input,textarea{font-family:'MON3 Anonta 1'!important;}