Skip to content

Instantly share code, notes, and snippets.

#EXTM3U url-tvg="phattai_phattai2003@yahoo.com" tvg-shift=0 m3uautoload=1
#EXTINF:-1 group-title="🇻🇳| Địa phương"tvg-logo="https://i.imgur.com/t9fzARL.png",Da Vinci
https://live.fptplay53.net/fnxhd2/davincihd_vhls.smil/chunklist.m3u8
#EXTINF:-1 group-title="🇻🇳| Địa phương"tvg-logo="https://iptv-pro.github.io/logo/KIX.png",KiX
https://live.fptplay53.net/fnxhd2/kixhd_vhls.smil/chunklist.m3u8
#EXTINF:-1 group-title="🇻🇳| Địa phương"tvg-logo="https://tvbaw-na.s3.us-west-1.amazonaws.com/hb/TVB%20Vietnam%20Banner_Side.jpg",TVB VIỆT NAM
https://amg01868-amg01868c3-tvbanywhere-us-4491.playouts.now.amagi.tv/playlist1080p.m3u8
demo
1. Download latest apktool version.
2. Download the batch file and aapt.exe.
3. Create a folder anywhere in the PC and put all the apktool.jar, aapt.exe and the batch script in that folder.
4. Open command prompt.
5. Navigate to the folder where you placed apktool.jar, batch script and the aapt.exe.
6. Now, you need to install the file using the " IF " command.
7. Type the following command.
apktool if name-of-the-app.apk
@quanghuyhh
quanghuyhh / root-password-MariaDB-docker-compose.md
Created June 13, 2024 07:52 — forked from rordi/root-password-MariaDB-docker-compose.md
Change root password in MariaDB Docker container running with docker-compose

Change root password in MariaDB Docker container running with docker-compose

Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:

entrypoint: mysqld_safe --skip-grant-tables --user=mysql

The start up the Docker Compose stack:

$> docker-compose up -d
@quanghuyhh
quanghuyhh / multiple_ssh_setting.md
Created November 22, 2022 11:28 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
gid:UYdxAzduMf9AceWtUQAcp
@quanghuyhh
quanghuyhh / bluetooth ubuntu
Created February 13, 2022 04:01
How to install unsupported Bluetooth 5.0 Dongle or TPLink on Linux
How to install unsupported Bluetooth 5.0 Dongle on Linux
Ibought a cheap Bluetooth dongle on Amazon without reading the characteristics carefully… and now I must tell you a little story.
The dongle that I bought…
One of my home desktop computers lacks Bluetooth 5.0 support and I needed one because of the dual-mode connection and better speeds.
So I was blind to ordering the cheapest dongle I could find… without researching a little more about my future device.
After it arrives, I couldn't make it to work on my Linux machine.
I tested on another Windows 10 Pro machine and it works.
So I head back to the manufacturer website and then I saw this :
@quanghuyhh
quanghuyhh / gist:59c2b49c74861f21859e4fff2883fb8c
Created December 9, 2021 08:22 — forked from llbbl/gist:b08ed19281c06483242b
Howto Add PhpStorm to Ubuntu Unity Launcher

PhpStorm 7.0x

Create a file ~/.local/share/applications/jetbrains-phpstorm.desktop

With the following value:

public function getListOptions($input)
{
$groups = array_map(function($group) {
$subOptions = array_map(function($subGroup) {
return ['subOptions' => $subGroup];
}, explode("||", $group));
return ['option' => $subOptions];
}, explode("|||", $input));
return ['listOption' => $groups];
@quanghuyhh
quanghuyhh / treeify.js
Created June 17, 2021 02:19 — forked from mikebarnhardt/treeify.js
Hierarchy tree from flat list
// Taken from https://stackoverflow.com/questions/22367711/construct-hierarchy-tree-from-flat-list-with-parent-field
function treeify(list, idAttr, parentAttr, childrenAttr) {
if (!idAttr) idAttr = 'id';
if (!parentAttr) parentAttr = 'parent';
if (!childrenAttr) childrenAttr = 'children';
var treeList = [];
var lookup = {};
list.forEach(function(obj) {
lookup[obj[idAttr]] = obj;