Skip to content

Instantly share code, notes, and snippets.

View shamiul94's full-sized avatar
πŸ’­
How you doin?

Shamiul Hasan shamiul94

πŸ’­
How you doin?
View GitHub Profile
@matheustguimaraes
matheustguimaraes / install-cuda-cudnn.md
Last active March 20, 2023 05:08
Install CUDA 10.0 and cuDNN v7.4.2 on Ubuntu 16.04

Install CUDA 10.0 and cuDNN v7.4.2 on Ubuntu 16.04

Install the latest NVIDIA driver

Update package lists, download and install NVIDIA driver

sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-410
@acamino
acamino / README.md
Last active July 18, 2025 03:28
Shortcuts to Improve Your Bash & Zsh Productivity

Shortcut β€” Action

  • CTRL + A β€” Move to the beginning of the line
  • CTRL + E β€” Move to the end of the line
  • CTRL + [left arrow] β€” Move one word backward (on some systems this is ALT + B)
  • CTRL + [right arrow] β€” Move one word forward (on some systems this is ALT + F)
  • CTRL + U β€” (bash) Clear the characters on the line before the current cursor position
  • CTRL + U β€”(zsh) If you're using the zsh, this will clear the entire line
  • CTRL + K β€” Clear the characters on the line after the current cursor position
  • ESC + [backspace] β€” Delete the word in front of the cursor

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@egel
egel / auto-remove-sublime-license-popup
Last active April 14, 2025 09:58
Auto-remove Sublime's license popup
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sublime_plugin
import subprocess
from time import sleep
import sys
cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
log = lambda message: sys.stderr.write("Log: %s\n" % message)