This file contains hidden or 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 | |
| ### BEGIN INIT INFO | |
| # Provides: nginx | |
| # Required-Start: $all | |
| # Required-Stop: $all | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts the nginx web server | |
| # Description: starts nginx using start-stop-daemon |
This file contains hidden or 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 | |
| # | |
| # redis - this script starts and stops the redis-server daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Redis is a persistent key-value database | |
| # processname: redis-server | |
| # config: /etc/redis/redis.conf | |
| # config: /etc/sysconfig/redis | |
| # pidfile: /var/run/redis/redis.pid |
This file contains hidden or 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/lua | |
| -- Using: | |
| -- Deploy this file to openresty | |
| -- and visit host/gift/yourname. | |
| -- E.g http://192.168.18.22/gift/zengrong | |
| -- Will get a gift object for zengrong. | |
| function in_table(t, v) | |
| for key,value in pairs(t) do | |
| if type(value) == 'table' then |
This file contains hidden or 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/bash | |
| # | |
| # Startup script for the pure-ftpd FTP Server $Revision: 1.1 $ | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Pure-FTPd is an FTP server daemon based upon Troll-FTPd | |
| # processname: pure-ftpd | |
| # pidfile: /var/run/pure-ftpd.pid | |
| # config: /etc/pure-ftpd/pure-ftpd.conf |
This file contains hidden or 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
| //////////////////////////////////////// | |
| // Buffer.ts | |
| // extend egret.ByteArray, implement writeInt64 | |
| // @author zrongzrong@gmail.com | |
| // Creation 2015-09-14 | |
| //////////////////////////////////////// | |
| class Buffer extends egret.ByteArray | |
| { | |
| private static SIZE_OF_INT64:number = 8; |
This file contains hidden or 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/bash | |
| ############################## | |
| # shrink the mp3 files | |
| # @author rzeng | |
| # @date 2017-02-12 | |
| # @update 2018-03-06 | |
| # @requirements lame | |
| ############################## | |
| if ! [ "$(which lame)" ];then |
This file contains hidden or 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/bash | |
| ############################## | |
| # cut a mp3 file | |
| # @author rzeng | |
| # @date 2017-02-12 | |
| # @requirements ffmpeg | |
| ############################## | |
| if ! [ "$(which ffmpeg)" ];then | |
| echo "Install ffmpeg first!" |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>KeepAlive</key> | |
| <false/> | |
| <key>Label</key> | |
| <string>zrong.php-fpm</string> | |
| <key>ProgramArguments</key> | |
| <array> |
This file contains hidden or 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 python | |
| ############################ | |
| # 解析 m3u8 格式并下载 | |
| # | |
| # @created: 2022-05-17 | |
| # @author: zrong | |
| ############################ | |
| import m3u8 | |
| import click | |
| import time |
This file contains hidden or 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
| # AFF | |
| # 如果你想支持我,可以通过我的邀请链接购买机场 | |
| # 感谢支持 | |
| # 1. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH | |
| # 2. 一元机场 邀请码: r3f1duds https://xn--4gq62f52gdss.top/#/register?code=r3f1duds | |
| # 一定要填我的邀请码,不填我哭给你看😭 | |
| # mihomo (Clash Meta) 懒人配置 | |
| # 版本 V1.23-251221 |
OlderNewer