Skip to content

Instantly share code, notes, and snippets.

View cobaohieu's full-sized avatar

Hieu C B cobaohieu

View GitHub Profile
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active November 11, 2025 09:09
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@DSamuylov
DSamuylov / Install_OpenCV4_CUDA10.md
Created October 27, 2019 23:50 — forked from raulqf/Install_OpenCV4_CUDA12.6_CUDNN8.9.md
How to install OpenCV 4.1 with CUDA 10.0 in Ubuntu 18.04

How to install OpenCV 4.1.0 with CUDA 10.0 in Ubuntu distro 18.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

@docPhil99
docPhil99 / opencv_qt_label.md
Last active July 3, 2025 22:26
How to display opencv video in pyqt apps

The code for this tutorial is here

Opencv provides are useful, but limited, method of building a GUI. A much more complete system could be acheived using pyqt. The question is, how do we display images. There are quite a few possible routes but perhaps the easiest is to use QLabel since it has a setPixmap function. Below is some code that creates two labels. It then creates a grey pixmap and displays it one of the labels. code: staticLabel1.py

from PyQt5.QtWidgets import QWidget, QApplication, QLabel, QVBoxLayout
from PyQt5.QtGui import QPixmap, QColor
import sys
@pknowledge
pknowledge / detector.py
Created August 22, 2019 20:14
Road Lane Line Detection with OpenCV
import matplotlib.pylab as plt
import cv2
import numpy as np
image = cv2.imread('road.jpg')
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
print(image.shape)
height = image.shape[0]
width = image.shape[1]
@tikurahul
tikurahul / OpenCV.md
Last active July 22, 2021 03:04
OpenCV 4.1 + Tensorflow on Jetson Nano

Step 1: Setup CUDA on Jetson Nano

  • Setup some environment variables so nvcc is on $PATH. Add the following lines to your ~/.bashrc file.
# Add this to your .bashrc file
export CUDA_HOME=/usr/local/cuda
# Adds the CUDA compiler to the PATH
export PATH=$CUDA_HOME/bin:$PATH
# Adds the libraries
@raulqf
raulqf / Install_OpenCV4_CUDA12.6_CUDNN8.9.md
Last active October 31, 2025 10:08
How to install OpenCV 4.10 with CUDA 12 in Ubuntu 24.04

Install OpenCV 4.10 with CUDA 12.6 and CUDNN 8.9 in Ubuntu 24.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

#include<iostream>
#include<queue>
using namespace std;
struct Node{
int data;
struct Node* left;
struct Node* right;
};
Node* newNode(int val){
Node *temp = new Node();
//MERGE SORT
#include<stdio.h>
#include<conio.h>
int merge(int a[],int lower1,int upper1,int lower2,int upper2)
{
int p,q,j,n,d[100];
p=lower1;
q=lower2;
n=0;
while((p<=upper1) && (q<=upper2))
<?php
$url = "http://www.phimmoi.net/phim/huyen-thoai-cua-ngay-mai-phan-4-7585/xem-phim.html";
$ch = curl_init();
{
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active November 5, 2025 04:45
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat