GithubHelp home page GithubHelp logo

demodemo's People

demodemo's Issues

Python的uncode 支持

输出一个unicode对象: 

  if isinstance(string, str):
        print(string)
    else:
        print(string.encode('UTF-8'))

Original issue reported on code.google.com by [email protected] on 15 Jan 2009 at 3:09

查看Solaris的硬件信息

在Linux中:

1)查看cpu:cat /proc/cpuinfo

2)查看mem:cat /proc/meminfo

3)查看硬盘的分区等情况:df -k

4)查看硬盘的大小,转速等性能参数:先找到硬盘的生产商和
型号,然后到生产商的
网站上查找其性能参数。

如果硬盘是IDE/ATA的:hdparm -i /dev/xxx

如果是scsi的:cat /proc/scsi/scsi

另外还有命令dmesg,lspci等。

在Solaris中:

1)查看cpu:psrinfo -v 和 /usr/platform/sun4u/sbin/prtdiag –v

2)查看mem:/usr/platform/sun4u/sbin/prtdiag –v 和prtconf -v

3)查看硬盘的分区等情况:df -k

4)查看硬盘的大小,转速等性能参数:先找到硬盘的生产商和
型号,然后到生产商的
网站上查找其性能参数。

iostat -E 

Original issue reported on code.google.com by [email protected] on 11 Feb 2009 at 8:13

JMF---failed to handle a data format change

What steps will reproduce the problem?
1. 使用JMF实现RTP客户端时出现:
RTP Handler internal error:
javax.media.ControllerErrorEvent[source=com.sun.media.content.unknown.Handler@9e
d927,message=Internal
module com.sun.media.BasicRendererModule@1386000: failed to handle a data
format change!]




Original issue reported on code.google.com by [email protected] on 3 Jan 2009 at 11:46

大文件上传很慢。

好像以前一个有ftp工具可以上传文件到google。现在忘记了。��
�个东西还有点安逸呢

Original issue reported on code.google.com by [email protected] on 14 Apr 2008 at 2:45

GlassFish 启动服务和数据库

What steps will reproduce the problem?
#安装
1. 解压文件

2. 运行ant -f setup.xml

3. 启动domain1

# % cd INSTALL_HOME/bin

# % ./asadmin start-domain domain1
It would start the server.

# % ./asadmin start-database
It would start the database.


Original issue reported on code.google.com by [email protected] on 20 Dec 2008 at 1:13

SIP 交换系统

What steps will reproduce the problem?
1. 用户的注册\认证
2. 内网的语音/视频/IM
3. 落地支持/Web在线回拨
4. 与J2EE应用集成.

5. Java 客户端
6. 视频会议

Original issue reported on code.google.com by [email protected] on 20 Dec 2008 at 10:57

常用抓包工具

Ethereal Network Analyzer

Ethereal is a free network protocol analyzer for Unix and Windows. It
allows you to examine data from a live network or from a capture file on
disk. You can interactively browse the capture data, viewing summary and
detail information for each packet. Ethereal has several powerful features,
including a rich display filter language and the ability to view the
reconstructed stream of a TCP session.

Snoop Analyzer Standard

SnoopAnalyzer Standard is a network protocol analyzer based on network data
capturing technology under Microsoft Windows platforms(95/98/Me/2000/NT/XP).

http://netsecurity.about.com/cs/hackertools/a/aafreepacsniff.htm

Original issue reported on code.google.com by [email protected] on 3 Jan 2009 at 9:28

安装Mod_python 在Solaris

bash-2.03# gzip -dv mod_python-3.3.1.tgz
mod_python-3.3.1.tgz:    81.4% -- replaced with mod_python-3.3.1.tar

bash-2.03# tar xvf mod_python-3.3.1.tar

$ ./configure --with-apxs=/usr/local/apache2/bin/apxs
--with-python=/usr/local/bin/python

Original issue reported on code.google.com by [email protected] on 11 Feb 2009 at 9:17

音乐文件Tag

在音乐文件中都包含一个“TAG” 信息来保存, title, artist, 
album等。 Tag有很多
个版本,现在用得最多就是ID3.

下面是关于ID3的资料
http://baike.baidu.com/view/66078.htm

MP3的格式资料
http://en.wikipedia.org/wiki/MP3#File_structure


Original issue reported on code.google.com by [email protected] on 2 Jan 2009 at 2:35

Django学习


#python manage.py syncdb

#python manage.py sql repoting

Original issue reported on code.google.com by [email protected] on 12 Feb 2009 at 7:35

install GUN inetutils.

1. download linkÖ
http://www.gnu.org/software/inetutils/

2. add config file in /etc/inetd.conf.
telnet  stream  tcp4    nowait  root    /usr/kerberos/sbin/telnetd      telnetd

3. start ineted: /usr/local/inetutils/bin/inetd --debug /etc/inetd.conf

4. check error message: /var/log/messages

Original issue reported on code.google.com by [email protected] on 9 Jun 2009 at 8:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.