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
| #EXTM3U name="bj-unicom-iptv" | |
| #EXTINF:-1 group-title="CCTV;高清",CCTV-1 综合 高清 | |
| http://ea6350.lan:4022/udp/239.3.1.129:8008 | |
| #EXTINF:-1 group-title="CCTV;高清",CCTV-2 财经 高清 | |
| http://ea6350.lan:4022/udp/239.3.1.60:8084 | |
| #EXTINF:-1 group-title="CCTV;高清",CCTV-4 中文国际 高清 | |
| http://ea6350.lan:4022/udp/239.3.1.105:8092 | |
| #EXTINF:-1 group-title="CCTV;高清",CCTV-5+ 体育赛事 高清 | |
| http://ea6350.lan:4022/udp/239.3.1.130:8004 | |
| #EXTINF:-1 group-title="CCTV;高清",CCTV-7 国防军事 高清 |
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
| #EXTM3U name="bj-telecom-iptv" | |
| #EXTINF:-1 group-title="CCTV",CCTV-1 综合 高清 | |
| http://tew823dru.lan:4022/udp/225.1.8.1:8008 | |
| #EXTINF:-1 group-title="CCTV",CCTV-2 财经 高清 | |
| http://tew823dru.lan:4022/udp/225.1.8.2:8084 | |
| #EXTINF:-1 group-title="CCTV",CCTV-3 综艺 高清 | |
| http://tew823dru.lan:4022/udp/225.1.8.88:8000 | |
| #EXTINF:-1 group-title="CCTV",CCTV-4 中文国际 高清 | |
| http://tew823dru.lan:4022/udp/225.1.8.4:8092 | |
| #EXTINF:-1 group-title="CCTV",CCTV-5 体育 高清 |
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/python | |
| import sys | |
| _, ip, user, passwd = sys.argv | |
| CLI_PROMPT = r'[\[<][^>\]]+[\]>]' | |
| ssh = spawn('ssh %s@%s' % (username, ip)) | |
| if not ssh: | |
| return | |
| ssh.expect('password') |
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
| 用黑苹果有一段时间了,由于把mac安装到了第二硬盘上,所以我一直用的win版变色龙。然而win变色龙不会加载mac分区上/Extra/modules目录里的内容,因此我需要重新打包wowpc.iso,直接修改是不行的,用TransMac直接编辑iso文件的话,修改下plist还是可以的,但是如果增加modules,会提示空间不足。用ultraISO也不行,变色龙的iso文件和普通iso是不一样的,UltraISO制作不出来。 | |
| 其实方法网上已经有了:(在mac下操作) | |
| “ | |
| 1.新建bootmedia文件夹并放到用户目录(图标是一间尖顶小房子的文件夹)2.把wowpc.iso(mac能直接打开ISO)里面文件释放出来修改,然后把修改好的文件全部拖进bootmedia文件夹3.替换你的文件(主题、org.chameleon.Boot.plist等) | |
| 4.打开终端输入命令生成引导iso文件,需要密码 | |
| sudo hdiutil makehybrid -o wowpc.iso bootmedia/ -iso -hfs -joliet -eltorito-boot bootmedia/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "Chameleon" -joliet-volume-name "Chameleon" -iso-volume-name "Chameleon" | |
| 然后你就会在用户目录那里看到一个新生成的wowpc.iso了 | |
| ” |
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
| # | |
| # /etc/sysctl.conf - Configuration file for setting system variables | |
| # See /etc/sysctl.d/ for additonal system variables | |
| # See sysctl.conf (5) for information. | |
| # | |
| #kernel.domainname = example.com | |
| # Uncomment the following to stop low-level messages on console | |
| #kernel.printk = 3 4 1 3 |
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
| # webm | |
| ffmpeg -i IN -f webm -vcodec libvpx -acodec libvorbis -ab 128000 -crf 22 -s 640x360 OUT.webm | |
| # mp4 | |
| ffmpeg -i IN -acodec aac -strict experimental -ac 2 -ab 128k -vcodec libx264 -vpre slow -f mp4 -crf 22 -s 640x360 OUT.mp4 | |
| # ogg (if you want to support older Firefox) | |
| ffmpeg2theora IN -o OUT.ogv -x 640 -y 360 --videoquality 5 --audioquality 0 --frontend |