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
| #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 |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| gid:UYdxAzduMf9AceWtUQAcp |
| 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 : |
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]; |
| // 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; |