Skip to content

Instantly share code, notes, and snippets.

View KaleabTessera's full-sized avatar
🎯
Focusing

Kale-ab Tessera KaleabTessera

🎯
Focusing
View GitHub Profile

Installing Ubuntu on my Nvidia RTX2060 Laptop (Lenovo Legion Y7000SE)

Procrastinated for three years, I finally decided to buy my very first "first-hand" computer. Now I am bankrupted. I got it from the school's notebook ownership program which is rather worth it given the OP spec. With just 12000 HKD, I got 1TB SSD, Gen 9 i7 intel CPU core, Nvidia RTX 2060, 32GB RAM, HD screen, as well as a gigantic power supply yay~. As a professional IT dog, the very first thing I need to do is to install linux dual boot on it, but it has been cries and tears doing so. Took me several days TAT.

1. Install Nvidia Driver

I cant directly install from desktop images as it will enter a broken screen as the computer don't have Nvidia driver at fresh install.

Therefore I install ubuntu by first installing a ubuntu server, install the Nvidia driver manually, finally install the desktop.

@betandr
betandr / dijkstra.py
Last active November 15, 2021 20:43
Dijkstra's Shortest Path Algorithm in Python
from decimal import Decimal
class Node:
def __init__(self, label):
self.label = label
class Edge:
def __init__(self, to_node, length):
self.to_node = to_node
self.length = length
@sheharyarn
sheharyarn / mongo_backup.sh
Last active August 28, 2024 08:18
Mongodump Shell Script for Cronjob
#!/bin/bash
MONGO_DATABASE="your_db_name"
APP_NAME="your_app_name"
MONGO_HOST="127.0.0.1"
MONGO_PORT="27017"
TIMESTAMP=`date +%F-%H%M`
MONGODUMP_PATH="/usr/bin/mongodump"
BACKUPS_DIR="/home/username/backups/$APP_NAME"
@rxaviers
rxaviers / gist:7360908
Last active October 1, 2024 22:12
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: