Skip to content

Instantly share code, notes, and snippets.

View rajibdpi's full-sized avatar
💻
Always try to discover something new

Rajib Ahmed rajibdpi

💻
Always try to discover something new
View GitHub Profile
@rajibdpi
rajibdpi / guide.txt
Created May 2, 2024 03:45 — forked from ArbenP/guide.txt
How to get HEVC Video Extensions from Device Manufacturer on Windows 10/11 for free in 2023
How to get HEVC Video Extensions from Device Manufacturer for free 2023:
1: Go to https://store.rg-adguard.net/
2: Select ProductID and paste in 9n4wgh0z6vhq then press ✔ to search
3: Select right one for your cpu type and download the .appx file then install by clicking on the file
enjoy
@rajibdpi
rajibdpi / ShowSecondsInSystemClock.reg
Created April 9, 2024 15:22
How Add Show Seconds In Taskbar System Clock
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=dword:00000001
@rajibdpi
rajibdpi / artifacts...build-info...a31e146ad80c6044f19d26bb2741793e.json
Created March 13, 2024 18:49
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
{
"id": "a31e146ad80c6044f19d26bb2741793e",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"index.sol": {
"content": "// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.7;\r\ncontract calculator {\r\n // addition\r\n function add(uint x, uint y) external pure returns(uint) {\r\n return x+y;\r\n }\r\n // multiply\r\n function mul(uint x, uint y) external pure returns(uint) {\r\n return x*y;\r\n }\r\n // division\r\n function div(uint x, uint y) external pure returns(uint) {\r\n return x/y;\r\n }\r\n // subtrhuction\r\n function sub(uint x, uint y) external pure returns(uint) {\r\n return x-y;\r\n }\r\n}\r\n"
@rajibdpi
rajibdpi / artifacts...build-info...a31e146ad80c6044f19d26bb2741793e.json
Created March 13, 2024 18:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
{
"id": "a31e146ad80c6044f19d26bb2741793e",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.7",
"solcLongVersion": "0.8.7+commit.e28d00a7",
"input": {
"language": "Solidity",
"sources": {
"index.sol": {
"content": "// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.7;\r\ncontract calculator {\r\n // addition\r\n function add(uint x, uint y) external pure returns(uint) {\r\n return x+y;\r\n }\r\n // multiply\r\n function mul(uint x, uint y) external pure returns(uint) {\r\n return x*y;\r\n }\r\n // division\r\n function div(uint x, uint y) external pure returns(uint) {\r\n return x/y;\r\n }\r\n // subtrhuction\r\n function sub(uint x, uint y) external pure returns(uint) {\r\n return x-y;\r\n }\r\n}\r\n"
@rajibdpi
rajibdpi / artifacts...HelloWorld.json
Created March 13, 2024 17:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
@rajibdpi
rajibdpi / windows_and_office_kms_setup.adoc
Created January 31, 2024 09:08 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@rajibdpi
rajibdpi / GVLKs for KMS.txt
Created November 19, 2023 18:42 — forked from riy/GVLKs for KMS.txt
Microsoft Office 2019 Build 10730.20102 RTM
Source:
https://docs.microsoft.com/en-us/DeployOffice/vlactivation/gvlks
GVLKs for Office 2019
=====================
Office Professional Plus 2019
NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
Office Standard 2019
@rajibdpi
rajibdpi / designLinedList.cs
Created October 27, 2023 18:02
designLinedList
public class ListNode
{
public int Val;
public ListNode Next;
public ListNode(int x = 0, ListNode Next = null)
{
Val = x;
Next = Next;
}
}
@rajibdpi
rajibdpi / Adding a directory to the PATH environment variable in Windows.md
Last active October 20, 2023 08:26
Adding a directory to the PATH environment variable in Windows
  1. You can permanently add a user PATH to PATH with the setx command:
setx PATH "C:\flutter\bin;%PATH%"
  1. Add the /M flag if you want to set the system PATH instead of the user PATH.
    You need run the cmd Run as Administrator
setx /M PATH "C:\flutter\bin;%PATH%"
@rajibdpi
rajibdpi / GPG error solved of mod-pagespeed EXPKEYSIG 78BD65473CB3BD13 Google Inc.md
Last active October 17, 2023 15:01
GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures were invalid: EXPKEYSIG 78BD65473CB3BD13 Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com> error solve.

GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures were invalid: EXPKEYSIG 78BD65473CB3BD13 Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com error solve.

I'm checked on Ubuntu/Debian, might be slightly different on others distro.

Open Terminal/SSH Client

sudo nano /etc/apt/sources.list.d/mod-pagespeed.list       
# before: deb http://dl.google.com/linux/mod-pagespeed/deb/ stable main      
# after: #deb http://dl.google.com/linux/mod-pagespeed/deb/ stable main