Skip to content

Instantly share code, notes, and snippets.

View bkanhu's full-sized avatar

B Kanhu Charan bkanhu

View GitHub Profile
@bkanhu
bkanhu / EnableCommandPrompt.reg
Created July 7, 2019 10:52
Add 'Command Prompt' to the Windows Explorer context menu. Just download the script and run once.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Command Prompt\command]
@="C:\\Windows\\System32\\cmd.exe"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Command Prompt\command]
@="C:\\Windows\\System32\\cmd.exe"
@bkanhu
bkanhu / beginners_ubuntu.md
Last active June 2, 2024 14:13
A Beginners Guide on Things To Do After Installing Ubuntu.

Beginners Ubuntu

A Beginners Guide To Things To Do After Installing Ubuntu.

1. Check For Updates

sudo apt update && sudo apt upgrade

2. Enable additional repositories for more software

Ubuntu has several repositories from where it provides software for your system. Enabling all these repositories will give you access to more software and proprietary drivers.

@bkanhu
bkanhu / wifi_driver.md
Last active June 23, 2019 08:18
[SOLVED][SOLUTION]: Wi-Fi not working on Lenovo ThinkPad 330 (Realtek RTL8821CE)

A temporary internet connection will be required for downloading packages and driver

Open up a terminal and type the following lines:

git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh
@bkanhu
bkanhu / dart.json
Last active March 18, 2021 09:28
Flutter snippets for making stateful and stateless widgets. Open Visual Studio Code press "Control+Shift+P", Search for Snippet, then choose dart. and paste this code to that "dart.json" file and save it.
{
"stateless": {
"prefix": "stless",
"body": [
"class $1 extends StatelessWidget {",
"\t@override",
"\tWidget build(BuildContext context) {",
"\t\treturn Container(",
"\t\t\t$2",
"\t\t);",