Skip to content

Instantly share code, notes, and snippets.

View Vinny94051's full-sized avatar

Uladzislau Kiryanau Vinny94051

View GitHub Profile
@lopspower
lopspower / README.md
Last active July 17, 2024 12:58
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@christophewang
christophewang / QuickSort.cpp
Last active June 15, 2024 21:37
Quick Sort in C++
#include <iostream>
void printArray(int *array, int n)
{
for (int i = 0; i < n; ++i)
std::cout << array[i] << std::endl;
}
void quickSort(int *array, int low, int high)
{