2015-06-16 23:00:53.706 MyIOSPackage[823:280049] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefin...
分类:
移动开发 时间:
2015-06-17 00:35:34
阅读次数:
132
本文分析FFmpeg的libavcodec中的HEVC解码器的CTU解码(CTU Decode)部分的源代码。FFmpeg的HEVC解码器调用hls_decode_entry()函数完成了Slice解码工作。hls_decode_entry()则调用了hls_coding_quadtree()完成了CTU解码工作。由于CTU解码部分的内容比较多,因此将这一部分内容拆分成两篇文章:一篇文章记录PU的解码,另一篇文章记录TU解码。本文记录TU的解码过程。...
分类:
其他好文 时间:
2015-06-16 19:20:06
阅读次数:
201
#coding=GB2312
import os
import sys
import subprocess
import _winreg
LOCAL_CONNECT_NAME = '本地连接'
WIFI_CONNECT_NAME = '无线网络连接'
INTERNET_SETTING_REG = r'Software\Microsoft\Windows\CurrentVersion\Int...
分类:
编程语言 时间:
2015-06-16 19:17:16
阅读次数:
182
部分代码:# -*- coding: utf-8 -*-"""Module implementing PortScan."""from PyQt4.QtCore import pyqtSignaturefrom PyQt4.QtGui import QDialogfrom PyQt4 import ...
分类:
其他好文 时间:
2015-06-16 16:30:30
阅读次数:
95
国际化是指在代码设计上加入能方便的移植到其他国家和地区的特性, 给Pyqt 添加国际化支持需要五步一.编写GUI.py在要被翻译的text上用tr方法括起来# -*- coding: utf-8 -*-from PyQt4 import QtCore, QtGuiclass Mwindow(QtGu...
分类:
编程语言 时间:
2015-06-16 16:05:38
阅读次数:
1738
#!/usr/bin/python
#-*-coding:utf-8-*-
importlogging
#创建一个logger
logger=logging.getLogger(‘mytest‘)
logger.setLevel(logging.DEBUG)
#创建一个handler,用于写入日志文件
fh=logging.FileHandler(‘test.log‘)
fh.setLevel(logging.DEBUG)
#再创建一个handler,..
分类:
编程语言 时间:
2015-06-16 11:13:27
阅读次数:
148
#-*-coding=utf-8from selenium import webdriverimport os,timedriver= webdriver.Firefox()driver.get("http://www.baidu.com")#进入搜索设置页driver.find_element_b...
分类:
其他好文 时间:
2015-06-16 10:54:09
阅读次数:
110
部份代码:::# -*- coding: utf-8 -*-"""Module implementing CreateKey."""from PyQt4.QtCore import pyqtSignaturefrom PyQt4.QtGui import QDialogfrom PyQt4 impo...
分类:
其他好文 时间:
2015-06-16 10:45:39
阅读次数:
123
#!/usr/bin/envpython
#date:2015-06
#Author:ley
#Curthenginx‘saccess_log
#-*-coding:UTF-8-*-
importos,time
path=[‘/var/log/nginx/‘,‘/var/run/nginx/nginx.pid‘,‘access.log‘]
time=time.strftime(‘%Y-%m-%d‘)
command="cd%s&&/bin/cp%s%s&&/bin/kil..
分类:
编程语言 时间:
2015-06-16 01:26:05
阅读次数:
141
本文分析FFmpeg的libavcodec中的HEVC解码器的CTU解码(CTU Decode)部分的源代码。FFmpeg的HEVC解码器调用hls_decode_entry()函数完成了Slice解码工作。hls_decode_entry()则调用了hls_coding_quadtree()完成了CTU解码工作。由于CTU解码部分的内容比较多,因此将这一部分内容拆分成两篇文章:一篇文章记录PU的解码,另一篇文章记录TU...
分类:
其他好文 时间:
2015-06-15 18:44:20
阅读次数:
246