STEPS
-
Click on Help menu
-
Select Enter License
-
Then paste given KEY given at bottom
-
Finally click on Use License
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!" |
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 | |
STEPS
Click on Help menu
Select Enter License
Then paste given KEY given at bottom
Finally click on Use License
#!/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 |
Fetch channels from WASU IPTV box web API and generate m3u8 from return data.
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- | |
-- Modified to work with files as well, cd-ing to their container folder | |
on run {input, parameters} | |
tell application "Finder" | |
set my_file to first item of input | |
set is_folder to (do shell script "file -b " & quoted form of (POSIX path of my_file)) | |
if is_folder ends with "directory" then |
https://github.com/Dreamacro/clash-dashboard
Save codes below as Dockerfile.
FROM node:lts-stretch
COPY . .
diff --git a/Makefile.flags b/Makefile.flags | |
index cff935ff5..e5818f5db 100644 | |
--- a/Makefile.flags | |
+++ b/Makefile.flags | |
@@ -152,7 +152,7 @@ CRYPT_AVAILABLE := $(shell echo 'int main(void){return 0;}' >crypttest.c; $(CC) | |
ifeq ($(CRYPT_AVAILABLE),y) | |
LDLIBS += m rt crypt | |
else | |
-LDLIBS += m rt | |
+LDLIBS += m |
FROM ubuntu:20.04 | |
RUN apt-get update && apt-get install -y wget | |
ARG url="https://dl-cdn.oray.com/hsk/linux/phddns-5.0.0-amd64.deb" | |
RUN wget "$url" -O phddns.deb && \ | |
dpkg -i phddns.deb && \ | |
rm phddns.deb |
# The following is adapted from https://github.com/reswitched/loaders/blob/master/nxo64.py | |
# | |
# =========================================================================================== | |
# | |
# Copyright 2017 Reswitched Team | |
# | |
# Permission to use, copy, modify, and/or distribute this software for any purpose with or | |
# without fee is hereby granted, provided that the above copyright notice and this permission | |
# notice appear in all copies. | |
# |