Skip to content

Instantly share code, notes, and snippets.

View LiberiFatali's full-sized avatar

Cless LiberiFatali

  • Vietnam
View GitHub Profile
@LiberiFatali
LiberiFatali / automountUbuntu
Created October 29, 2024 10:47 — forked from CreatorB/automountUbuntu
How to Set Ubuntu Automatically Mount Partition at Startup with fstab
List out the partitions
Use the fdisk command to list of all partitions
$ sudo fdisk -l
Here is what the ouput would look like
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
@LiberiFatali
LiberiFatali / actionrecognitiondatasets.md
Created August 22, 2024 15:17 — forked from jin-zhe/actionrecognitiondatasets.md
An overview of action recognition datasets and their detection classes

Activity Recognition Datasets

An overview of recent action recognition datasets and their detection classes

Concepts & terminologies:

  • Action: Atomic low-level movement such as standing up, sitting down, walking, talking etc.
  • Activity/event: Higher level occurence then actions such as dining, playing, dancing
  • Trimmed video: A short video clip containing event/action/activity of interest
  • Untrimmed video: A video clip of arbitrary length potentially containing durations without activities of interest
  • Localization: locating an instance of event/action/activity within a video at a spatial or temporal scale
  • Spatial localization: Locating the region/area of an instance of action/activity within a video
#!/bin/bash
wget http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader.enu.setup.2.4.4.0911.x64.run.tar.gz
gzip -d FoxitReader.enu.setup.2.4.4.0911.x64.run.tar.gz
tar xvf FoxitReader.enu.setup.2.4.4.0911.x64.run.tar
./FoxitReader.enu.setup.2.4.4.0911\(r057d814\).x64.run
@LiberiFatali
LiberiFatali / FreebudsPro.md
Created January 19, 2024 02:06 — forked from Aritzherrero4/FreebudsPro.md
Huawei Freebuds Pro - Linux (KDE Neon) configuration and AAC audio

Huawei Freebuds Pro - Linux (KDE Neon) configuration and AAC audio

The default configuration of KDE Neon does not work with the headphones. I have managed to connect them doing some changes, and adjusting some configurations. This resumes that, to keep it if I need to reconfigure them in the future.

This configuration has worked for me using the following setup:

  • KDE Neon 5.20, kernel 5.4.0
  • Freebuds Pro version 1.9.0.256
@LiberiFatali
LiberiFatali / aws-ec2-redis-cli.md
Created October 16, 2023 10:58 — forked from todgru/aws-ec2-redis-cli.md
AWS redis-cli on EC2
@LiberiFatali
LiberiFatali / github-drawio-demo.md
Created September 18, 2023 11:25 — forked from philip-gai/github-drawio-demo.md
How to integrate diagrams.net (draw.io) with your GitHub repo

Embedding Diagrams in GitHub Markdown

This explains and demos how to use diagrams.net (draw.io) diagrams in your GitHub repo.

  • See repo for more details

Benefits of using diagrams.net in GitHub repositories

  1. Diagrams are stored in your repository with your code and docs
  2. Diagram access is controlled by GitHub repository access
@LiberiFatali
LiberiFatali / enhanced-nvidia-smi.md
Created August 29, 2023 02:17 — forked from padeoe/enhanced-nvidia-smi.md
Show Username & full process command with nvidia-smi

This script enhances the functionality of nvidia-smi and provides the following information:

  • Username
  • full process Command
  • GPU ID
  • PID

This is useful on multi-user servers and can be used to quickly identify which user is using the GPU and running what kind of program.

@LiberiFatali
LiberiFatali / cuda_install.md
Created August 22, 2023 11:34 — forked from denguir/cuda_install.md
Installation procedure for CUDA & cuDNN

How to install CUDA & cuDNN on Ubuntu 22.04

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@LiberiFatali
LiberiFatali / sources.list
Created June 30, 2023 04:39 — forked from ishad0w/sources.list
Ubuntu 20.04 LTS (Focal Fossa) -- Full sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
@LiberiFatali
LiberiFatali / GITCRASHCOURSE.MD
Created June 27, 2023 03:11 — forked from brandon1024/GITCRASHCOURSE.MD
Git Crash Course for Beginners

Git Crash Course for Beginners

Preface

A good understanding of Git is an incredibly valuable tool for anyone working amongst a group on a single project. At first, learning how to use Git will appear quite complicated and difficult to grasp, but it is actually quite simple and easy to understand.

Git is a version control system that allows multiple developers to contribute to a project simultaneously. It is a command-line application with a set of commands to manipulate commits and branches (explained below). This tutorial will help you get started, and in no time you will be a Git Ninja!

Contents: