Skip to content

Instantly share code, notes, and snippets.

View shaikotahmed19's full-sized avatar
๐Ÿ™„

Shaikot Ahmed shaikotahmed19

๐Ÿ™„
View GitHub Profile
@shaikotahmed19
shaikotahmed19 / gist:fb8e1c8d0bcac5fcf4551d400233c230
Created September 25, 2024 17:38
cooling system enable and disable in windows 11
System Cooling Policy is missing in Windows? System Cooling Policy lets you change the cooling mode of your system. If you couldnโ€™t see the System Cooling Policy option under the Power Options of Control Panel, you need to tweak the registry settings. In this article, weโ€™ll show you how to restore the missing System Cooling Policy option in Windows 11, 10, and 7.
๐Ÿ‘‰ Open Notepad. Copy and paste the code below into Notepad, then save it as a .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\94D3A615-A899-4AC5-AE2B-E4D8F634367F]
"Attributes"=dword:00000002
๐Ÿ‘‰ If you want to remove the System Cooling Policy option again, repeat the steps above to import the following registry settings:
@shaikotahmed19
shaikotahmed19 / index.html
Last active July 14, 2023 17:44
Back to top with js
<div class="progress-bar" />
<button class="back-to-top hidden">
<svg xmlns="http://www.w3.org/2000/svg" class="back-to-top-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 11l5-5m0 0l5 5m-5-5v12" />
</svg>
</button>
<div class="progress-bar" />
<k-label>{{ getJsMessage("'integration.partner.function'") }}</k-label>
{ field: 'Name', title: this.getJsMessage('name'), cell: 'NameTemplate'},
<k-checkbox :label="getJsMessage('checkbox.label')"/>
<checkbox :label="this.i18n('add.a.note.for.this.action')" />
<AppAccordionSwitch :title="getJsMessage('big.commerce')" v-model="AppAccordionSwitchChecker1">
xx
@shaikotahmed19
shaikotahmed19 / style.css
Created December 7, 2021 12:03
Material Icons before after
a::after {
font-family: 'Material Icons';
content: "link";
-webkit-font-feature-settings: 'liga';
}
@shaikotahmed19
shaikotahmed19 / style.css
Created June 24, 2021 11:04
font bold in safari
.example {
-moz-osx-font-smoothing: grayscale; /* Firefox */
-webkit-font-smoothing: antialiased; /* WebKit */
}
@shaikotahmed19
shaikotahmed19 / index.html
Created January 30, 2020 03:42
search modal bootstrap 4
<div class="hr-search">
<span class="icon" type="button" data-toggle="modal" data-target=".search-modal"><img src="<?php echo get_template_directory_uri() .'/assets/img/search.png' ?>" alt=""></span>
<div class="modal fade search-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<span class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times-circle"></i></span>
<div class="modal-dialog">
<div class="modal-content">
<form action="#">
<div class="modal-input-box">
<input type="text" placeholder="Search Here">
<button><i class="fas fa-search"></i></button>
@shaikotahmed19
shaikotahmed19 / style.css
Created January 26, 2020 06:36
image color change by css
transform: scale(1.1);
filter: invert(42%) sepia(47%) saturate(4688%) hue-rotate(131deg) brightness(94%) contrast(101%);
@shaikotahmed19
shaikotahmed19 / tools.php
Last active May 24, 2021 11:22
wp tools
<!-- img link -->
<img src="<?php echo get_template_directory_uri() .'/assets/img/related-3.png' ?>" alt="">
<!-- link -->
<a href="<?php esc_url(home_url('/'))?>"></a>
<a href="<?php echo home_url('/contact-us'); ?>" target="_blank">Request a Demo</a>
@shaikotahmed19
shaikotahmed19 / index.htm
Created October 16, 2019 06:24
rating star
<ul class="stars">
<li class="star full"></li>
<li class="star full"></li>
<li class="star full"></li>
<li class="star half"></li>
<li class="star empty"></li>
</ul>
@shaikotahmed19
shaikotahmed19 / index.js
Last active October 6, 2019 06:50
preventDefault disable by jquery
$(document).ready(function(){
$(".wc-cart-contents").on('click', function(event){
event.preventDefault();
});
});
$(document).ready(function(){
$("a").click(function(event){
event.preventDefault();
});