Fetch channels from WASU IPTV box web API and generate m3u8 from return data.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ENV_PATH="$(dirname "$(dirname "$(which pip)")")" | |
SYSTEM_VIRTUALENV="$(which -a virtualenv|tail -1)" | |
echo "Ensure the root of current virtualenv:" | |
echo " $ENV_PATH" | |
read -p "‼️ Say no if you are not sure (y/N) " -n 1 -r | |
echo | |
PYEXC_DEF="$(sed -n '1s/^#!//p' $SYSTEM_VIRTUALENV)" | |
read -p "🐍 Choose which python to use? [$PYEXC_DEF] " PYEXC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
# | |
# Copyright (C) 2016 Jian Chang <aa65535@live.com> | |
# Copyright (C) 2016 Evian Zhow <evianzhow@gmail.com> | |
# | |
# This is free software, licensed under the GNU General Public License v3. | |
# See /LICENSE for more information. | |
# | |
START=90 |
STEPS
-
Click on Help menu
-
Select Enter License
-
Then paste given KEY given at bottom
-
Finally click on Use License
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sbin/db_mgmt_cpe_dictionary.py b/sbin/db_mgmt_cpe_dictionary.py | |
index 4c904cf..37cd9c8 100755 | |
--- a/sbin/db_mgmt_cpe_dictionary.py | |
+++ b/sbin/db_mgmt_cpe_dictionary.py | |
@@ -31,6 +31,7 @@ from lib.ProgressBar import progressbar | |
from lib.Toolkit import toStringFormattedCPE | |
from lib.Config import Configuration | |
import lib.DatabaseLayer as db | |
+from time import time | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH=/Users/u/.oh-my-zsh | |
# Bullet train needs powerline fonts unavailable in VSCode | |
# ps -p `ps -o pid,ppid | awk "/^ *$$/ {print \$2}"` | grep -q "Visual Studio Code" && ZSH_THEME="random" | |
[[ -n "$VSCODE_PID" ]] && ZSH_THEME="random" || ZSH_THEME="bullet-train" | |
plugins=(git brew virtualenv osx zsh-completions) | |
# DISABLE_AUTO_UPDATE="true" | |
# export UPDATE_ZSH_DAYS=13 | |
BULLETTRAIN_CUSTOM_MSG="Rabbit!" |
NewerOlder