Skip to content

Instantly share code, notes, and snippets.

View Adam-S-Amir's full-sized avatar
😵‍💫
:godmode:

Adam $. Amir Adam-S-Amir

😵‍💫
:godmode:
View GitHub Profile
@Adam-S-Amir
Adam-S-Amir / Dir.py
Created October 15, 2023 23:52
Folder File Tree to JSON
# This file is made to create a JSON with the current folder's
# file's in a file tree that look like this:
# "Images": {
# "Apple.png": null,
# "Banana.png": null,
# "Orange.png": null,
# "Grape.png": null,
# "Blueberry.png": null
# }
import os
@Adam-S-Amir
Adam-S-Amir / README.md
Last active July 30, 2023 09:37
Install NVIDIA drivers Linux

Linux is overly stupid, so heres an easy way to install NVIDIA drivers despite what all those other websites say you should do. This way is quick and easy.

sudo apt-get update &&

sudo apt-get -y full-upgrade &&

sudo apt-get -y autoremove &&

sudo reboot

@Adam-S-Amir
Adam-S-Amir / README.md
Last active May 1, 2023 16:43
Cookie remover for brainly.com

Get unlimted answers on Brainly.com with this quick add-on.

Download the chrome extension Tamper Monkey.

Click the icon.

Click create a new script...

Replace everything in the editor with:


@Adam-S-Amir
Adam-S-Amir / README.md
Last active May 2, 2023 04:46
NaCL Browser Compatibility Checker

NaCL Chrome plugin checker Add this to HTML

<style>
    * {
      overflow: hidden;
    }
    #Selection {
      display: block;
 position: absolute;