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
command! -nargs=* Make call Ant(<f-args>) | |
" 映射编译快捷键 | |
cmap <F11> Make fdb 0 | |
map <F11> :Make fdb 0<CR> | |
map <S-F11> :Make 0 0<CR> | |
cmap <F12> Make ftp 0 | |
map <F12> :Make ftp 0<CR> | |
function! GetMainFile(...) |
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/bash | |
############################## | |
# cut a mp3 file | |
# @author rzeng | |
# @date 2017-02-12 | |
# @requirements ffmpeg | |
############################## | |
if ! [ "$(which ffmpeg)" ];then | |
echo "Install ffmpeg first!" |
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
<?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 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 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
# 设置FLEX SDK的路径 | |
FLEX_HOME=D:/flex_sdks/4.5.1 | |
# 设置源文件路径 | |
# {$basedir} 就是本文件所在的目录 | |
SRC_DIR =${basedir}/src | |
# libs目录,一般用来放swc文件 | |
LIBS_DIR =${basedir}/libs | |
# 用于部署的文件夹 |
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
#Flex SDK 路径 | |
FLEX_HOME=D:\\flex\\flex_sdk_4.1.0.16076_mpl | |
#根目录 | |
#APP_ROOT=G:\\riasource\\0.trunk | |
#ANT 安装目录 | |
ANT_HOME=D:\\apache-ant-1.8.2 | |
#本地部署目录(wamp/www) | |
#DEPLOY_DIR=E:/wamp/www/ihaveu2 |
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 python | |
############################ | |
# 解析 m3u8 格式并下载 | |
# | |
# @created: 2022-05-17 | |
# @author: zrong | |
############################ | |
import m3u8 | |
import click | |
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
//////////////////////////////////////// | |
// 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 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 | |
############################## | |
# dnspodsh v0.3 | |
# 基于dnspod api构架的bash ddns客户端 | |
# 作者:zrong(zengrong.net) | |
# 详细介绍:http://zengrong.net/post/1524.htm | |
# 创建日期:2012-02-13 | |
# 更新日期:2012-03-11 | |
############################## |
OlderNewer