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 / Open files, folder or links from terminal in linux using xdg-open.md
Last active October 19, 2024 10:44
Open files, folder or links from terminal in linux using xdg-open
@rajibdpi
rajibdpi / reset-trial-navicat.sh
Created October 9, 2024 19:40 — forked from nakamuraos/reset-trial-navicat.sh
Reset trial Navicat 15, Navicat 16, Navicat 17 on Linux
#!/bin/bash
# Author: NakamuraOS <https://github.com/nakamuraos>
# Latest update: 06/24/2024
# Tested on Navicat 15.x, 16.x, 17.x on Debian, Ubuntu.
BGRED="\e[1;97;41m"
ENDCOLOR="\e[0m"
echo -e "${BGRED} ${ENDCOLOR}"
@rajibdpi
rajibdpi / build4123.sublime4.key
Created October 6, 2024 20:05 — forked from skoqaq/build4123.sublime4.key
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@rajibdpi
rajibdpi / SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'.md
Last active October 5, 2024 17:20
phpMyAdmin Cannot log in to the MySQL server. and it showing SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'

phpMyAdmin Cannot log in to the MySQL server. and it showing SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'

sudo mysql -u root
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new_password';
@rajibdpi
rajibdpi / apache-permission.sh
Created September 22, 2024 18:36 — forked from v1shwa/apache-permission.sh
Ubuntu: Fix for Permissions denied on /var/www/html
# 1. Change owner of /var/www/html directory to apache user, here: www-data
sudo chown -R www-data:www-data /var/www/html
# 2. Allow Group to edit
sudo chmod -R 775 /var/www/html
# 3. Add yourself to apache group(www-data)
sudo usermod -a -G www-data ${USER}
@rajibdpi
rajibdpi / 1724319998.txt
Created August 22, 2024 09:46
Created with Copy to Gist
Microsoft Software Download Listing 🏳️‍🌈
Source code on GitHub

Use innovation to start or grow your business

Create a more innovative business: top tips

Guide Innovation is fundamental in growing and improving any business. But coming up with fresh ideas and turning them into successful new products or services rarely happens spontaneously. Here's what you can do to help grow your capacity to innovate and use it to drive your business forward.

  1. Start small
    Radical ideas and game-changing inventions are great, but if you're new to innovation, you may be reluctant to jump in at the deep end. Instead, try focusing your efforts on small, incremental changes that have the potential to improve your existing products, services or business processes. Begin by examining your business and current offering, and identifying areas where small improvements can make the biggest difference. See more on generating innovative ideas.

  2. Think differently
    If everyone in your industry is doing the same things the same way, think about going against the grain. Can you offer

@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"