2012记录整理

来源:互联网 发布:潮流相机软件 编辑:程序博客网 时间:2024/06/06 11:42
75楼 XiaJing200607212012-12-28 11:00发表 [回复] [引用][举报] [删除]
scrolling web browser and capture like snagit.
gnome-web-photo :GNOME Web Photographer is a tool to generate full-size image files and thumbnails from HTML files and web pages. It can also be used to print those.

Shutter is a feature-rich screenshot program. Its scrolling capturing is based on gnome-web-photo.
74楼 XiaJing200607212012-12-21 15:27发表 [回复] [引用][举报] [删除]
old web:
http://web.archive.org/web/20041204092934/http://emlib.jpl.nasa.gov/
73楼 XiaJing200607212012-12-21 15:17发表 [回复] [引用][举报] [删除]
http://math.ucr.edu/home/baez/physics/
72楼 XiaJing200607212012-12-19 11:48发表 [回复] [引用][举报] [删除]
Compare two directory:
$vimdiff <(ls -l dir1) <(ls -l dir2)

If execute
$vimdiff < (ls -l dir1) <(ls -l dir2)
will get the error,
bash: syntax error near unexpected token `('

the blank after the first "<" causes the problem
71楼 XiaJing200607212012-12-11 23:58发表 [回复] [引用][举报] [删除]
python:when there are many 'nan's in a return list, there is sth wrong,mostly. ie, read wav file with wrong format, 32bit float instead of 16bit int.
import numpy as np
a=float('nan') #represent nan
type(a) # float
print a # nan
a==a # False
b=np.arange(10)*1.0
b[3]=np.nan
b[np.isnan(b)]=np.inf # bool list as index, b[3] will be inf
70楼 XiaJing200607212012-11-28 09:48发表 [回复] [引用][举报] [删除]
Associate ed2k to firefox.Register protocol for firefox.
Firefox 3.5 and above
Type about:config into the Location Bar (address bar) and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.foo -> Value -> false (Replace foo with the protocol you're specifying)
Next time you click a link of protocol-type foo you will be asked which application to open it with

------http://kb.mozillazine.org/Register_protocol
Re: XiaJing200607212012-11-28 09:50发表 [回复] [引用][举报] [删除]
After association,file mimeTypes.rdf changed a lot.
69楼 XiaJing200607212012-11-26 12:11发表 [回复] [引用][举报] [删除]
Extract the matched pattern.In this case, just remove the cn character.

中文名称EnglishNameNo1AuthorName中文作者.ext
中文名称EnglishNameNo2AuthorName中文作者.ext
中文名称EnglishNameNo3AuthorName中文作者.ext
for i in *.ext;do f=$(echo $i | sed 's/.*\(E.*me\).*/\1/'); echo $f.ext ; done
for i in *.ext;do f=$(echo $i | grep -o E.*me);echo $f.ext;done
68楼 XiaJing200607212012-11-25 00:11发表 [回复] [引用][举报] [删除]
DjVu viewer djview can export DjVu file to pdf format.
67楼 XiaJing200607212012-11-12 15:28发表 [回复] [引用][举报] [删除]
Use wget to get all the files and sub folders under one of the folder on the ftp site.

wget -r ftp://usr:pass@ftpsiteroot/folder1/folder2
-r
--recursive
Turn on recursive retrieving. The default maximum depth is 5.

-m
--mirror
Turn on options suitable for mirroring. This option turns on recursion and time-stamping, sets infinite recursion depth
and keeps FTP directory listings. It is currently equivalent to -r -N -l inf --no-remove-listing.
66楼 XiaJing200607212012-11-12 12:10发表 [回复] [引用][举报] [删除]
sum,cksum,cksfv,rar

sum - checksum and count the blocks in a file.sum computes a 16-bit checksum for each given FILE.-r use BSD sum algorithm, use 1K blocks. -s, --sysv use System V sum algorithm, use 512 bytes blocks

cksum - checksum and count the bytes in a file.Print CRC checksum and byte counts of each FILE.`cksum' prints the CRC checksum for each file along with the number of bytes in the file.

cksfv is a tool for verifying CRC32 checksums of files.

rar l xx.rar will display CRC check sum same as cksfv.
65楼 XiaJing200607212012-11-07 23:54发表 [回复] [引用][举报] [删除]
In waveguide:
Vgroup=v*cos(\psi)=d\omega/d\belta
Vphase=v/cos(\psi)
Vgroup*Vphase=v^2

Balanis, Advanced Engineering Electromagnetics, 2nd Ed. , 2012, pp 136, 370-371.
64楼 XiaJing200607212012-11-07 23:38发表 [回复] [引用][举报] [删除]
pgf/Tikz:use math function(sin,cos...) to define coordinate point.
\def\xjtheta{33}
\def\xja{3}
%This code won't be compiled.
\coordinate (A) at (cot(\xjtheta)*\xja*2 cm,0);

%You should use this one:
\coordinate (A) at ([xshift=cot(\xjtheta)*\xja*2 cm] 0,0);
63楼 XiaJing200607212012-10-29 22:07发表 [回复] [引用][举报] [删除]
1.Engineering Mechanics:
(1).Engineering Mechanics:statics
Cengage_Engineering Mechanics Statics 3rd Ed. Andrew Pytel 2010
Cengage_Engineering Mechanics Statics 3rd Ed. SI_Andrew Pytel 2010
Prentice Hall_Engineering Mechanics Statics 12th Ed. Hibbeler
Wiley_Engineering Mechanics Volume 1 Statics 7th Ed._Meriam 2012
Vector Mechanics for Engineers Statics 9th ed. Ferdinand Beer
(2).Engineering Mechanics:dynamics
Prentice Hall_Engineering Mechanics Dynamics 13rd Ed. Hibbeler
Vector Mechanics for Engineers Dynamics 9th ed. Ferdinand Beer
(3).Mechanics of Materials
Cengage_Mechanics of Materials 2nd ed._Andrew Pytel 2012
Cengage_Mechanics of Materials 7TH ed._James M. Gere 2009
Cengage_Mechanics of Materials BRIEF EDITION_James M. Gere 2012
McGraw-Hill_MECHANICS OF MATERIALS 6th ed._Ferdinand P. Beer 2012
Prentice Hall_Mechanics of Materials 8th ed._Hibbeler 2011
2.Quantum Mechanics:
3.Fluid Mechanics:
4.Electrodynamics:
5.Thermodynamics:
62楼 XiaJing200607212012-10-21 11:58发表 [回复] [引用][举报] [删除]
python:
import time
for i in range(10):
print time.strftime("%Y-%m-%d",time.gmtime(time.mktime((2012,10,3,12,0,0,0,0,0))-60*60*24*7*i))

2012-10-03
2012-09-26
2012-09-19
2012-09-12
2012-09-05
2012-08-29
2012-08-22
2012-08-15
2012-08-08
2012-08-01
mktime(...)
mktime(tuple) -> floating point number
gmtime(...)
gmtime([seconds]) -> (tm_year, tm_mon, tm_mday, tm_hour, tm_min, tm_sec, tm_wday, tm_yday, tm_isdst)
time.strftime
strftime(...)
strftime(format[, tuple]) -> string
61楼 XiaJing200607212012-10-20 10:16发表 [回复] [引用][举报] [删除]
Transcalc is an analysis and synthesis tool for calculating the
electrical and physical properties of different kinds of RF and
microwave transmission lines.
60楼 XiaJing200607212012-10-18 10:55发表 [回复] [引用][举报] [删除]
Introduction to Finite Element Methods http://www.colorado.edu/engineering/cas/courses.d/IFEM.d/
59楼 XiaJing200607212012-10-15 17:33发表 [回复] [引用][举报] [删除]
calibre can not open large prc or mobi files.
http://www.mobileread.com/forums/showthread.php?t=192272
58楼 XiaJing200607212012-10-15 17:19发表 [回复] [引用][举报] [删除]
NetHogs is a small 'net top' tool. Instead of breaking the traffic down
per protocol or per subnet, like most such tools do, it groups band‐
width by process - and does not rely on a special kernel module to be
loaded. So if there's suddenly a lot of network traffic, you can fire
up NetHogs and immediately see which PID is causing this, and if it's
some kind of spinning process, kill it.

iftop - display bandwidth usage on an interface by host
57楼 XiaJing200607212012-10-15 17:18发表 [回复] [引用][举报] [删除]
Fedora was installed after ubuntu, so the grub menu is Fedora's.
Fedora does not suit me, so Fedora will be removed and grub will be recovery.

$ ls -l /dev/disk/by-label/

$ sudo grub-install /dev/xxx
xxx will be sdb or sda
$cat /boot/grub/grub.cfg
will show the menu list.
56楼 XiaJing200607212012-10-15 10:35发表 [回复] [引用][举报] [删除]
convert 305 png files to one pdf file.
the method 1 cost too many pc resources(about 2G memory), so the method 2 is preferred.
method 1:
$convert *.png 2.pdf
method 2:
$for i in {000..304};do convert TCV$i.png TCV$i.pdf;done
$pdftk TCV*.pdf output 2.pdf
55楼 XiaJing200607212012-10-14 12:02发表 [回复] [引用][举报] [删除]
Springer_Onboard Computers, Onboard Software and Satellite Operations An Introduction Jens Eickhoff 2012
54楼 XiaJing200607212012-10-13 19:22发表 [回复] [引用][举报] [删除]
References
[1] Li, K., Electromagnetic fields in stratified media. Springer, 2009.
[2] Leger, A. & Deschamps, M., Ultrasonic wave propagation in non homogeneous media. Springer, 2009.
[3] Jin, Y. (Ed.), Wave propagation, scattering and emission in complex media. Singapore: World Scientific, 2004.
[4] Akdagli, A. (Ed.), Behaviour of Electromagnetic Waves in Different Media and Structures. Rijeka, Croatia: InTech, 2011.
[5] Chew, W., Waves and fields in inhomogeneous media. New York: IEEE press, 1995.
[6] Fouque, J.; Garnier, J.; Papanicolaou, G. & Solna, K., Wave propagation and time reversal in randomly layered media. Springer, 2007.
[7] Nayfeh, A., Wave Propagation in Layered Anisotropic Media: With Application to Composites. Amsterdam, The Netherlands: ELSEVIER, 1995.
53楼 XiaJing200607212012-10-13 17:30发表 [回复] [引用][举报] [删除]
Conditional output

Some static output might only make sense if a specific field is set. For instance, say we want to follow the editor names with the text (Ed.). This can be done with the following text:

\format[HTMLChars,AuthorFirstFirst]{\editor} (Ed.)

However, if the editor field has not been set - it might not even make sense for the entry being exported - the (Ed.) would be left hanging. This can be prevented by instead using the \begin and \end commands:

\begin{editor}
\format[HTMLChars,AuthorFirstFirst]{\editor} (Ed.)
\end{editor}

The \begin and \end commands make sure the text in between is printed if and only if the field referred in the curly braces is defined for the entry being exported.

----http://jabref.sourceforge.net/help/CustomExports.php
52楼 XiaJing200607212012-10-13 10:34发表 [回复] [引用][举报] [删除]
video foxnews
51楼 XiaJing200607212012-10-13 10:25发表 [回复] [引用][举报] [删除]
CAS:
s1:[x3-x,y3-y];
s2:[x2-x,y2-y];
s3:matrix(s2,s1);
s4:determinant(s3);
r1:expand(s4);
r2:determinant(matrix([1,x,y],[1,x2,y2],[1,x3,y3]));
expand(r1-r2);

[1]Volakis, J.; Chatterjee, A. & Kempel, L. Finite Element Method Electromagnetics: Antennas, Microwave Circuits, and Scattering Applications Wiley, p42-43, 1998
50楼 XiaJing200607212012-10-09 22:30发表 [回复] [引用][举报] [删除]
vlc --input-slave alsa://plughw:0,0 screen:// --sout "#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:file{mux=ogg,dst=tttttest.ogg}"
49楼 XiaJing200607212012-10-09 22:16发表 [回复] [引用][举报] [删除]
vlc alsa://plughw:0,0
48楼 XiaJing200607212012-10-08 23:33发表 [回复] [引用][举报] [删除]
psi:Pounds per square inch
1 pound= 0.45359237 kg
26X1.5 (inch) tire 50psi recommended
Re: XiaJing200607212012-10-08 23:44发表 [回复] [引用][举报] [删除]
auto(Golf 6) tire pressure 2.2-2.4
47楼 XiaJing200607212012-10-07 12:42发表 [回复] [引用][举报] [删除]
Iperf is a modern alternative for measuring TCP and UDP bandwidth performance, allowing the tuning of various parameters and characteristics.
46楼 XiaJing200607212012-10-06 15:41发表 [回复] [引用][举报] [删除]
bibTex格式中的双花括号,如author = {{ABC Technologies}},可以避免在文章后的reference中自动变成缩写。如果是单花括号,参考文献中为Technologies A. 这是不希望的。
45楼 XiaJing200607212012-10-06 10:27发表 [回复] [引用][举报] [删除]
遍历目录进行校验:
$find | while read line ; do sha1sum "$line" ;done
校验文件夹下的文件是否一致:
$cd dir1
$find | while read line ; do sha1sum "$line" >> cksum1.txt ;done
$cd dir2
$find | while read line ; do sha1sum "$line" >> cksum2.txt ;done
$diff -y cksum1.txt cksum2.txt
44楼 XiaJing200607212012-09-27 12:54发表 [回复] [引用][举报] [删除]
大自然启示录2,蓝闪蝶,反射,干涉,微波
43楼 XiaJing200607212012-09-27 10:36发表 [回复] [引用][举报] [删除]
Andrea Cataldo, Egidio De Benedetto, Giuseppe Cannazza, "Broadband Reflectometry for Enhanced Diagnostics and Monitoring Applications"
Springer | 2011 | ISBN: 3642202322 !!!!!!!!!!!
42楼 XiaJing200607212012-09-19 21:23发表 [回复] [引用][举报] [删除]
ubuntu11.04下因为firefox和chrome的java plugin有问题,于是在http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html下载最新的JDK,jdk-7u7-linux-i586.tar.gz,即可开发也可运行,解压后手工安装plugin。对于firefox,找到其plugin目录,/usr/lib/mozilla/plugins,其下的符号链接文件libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so,继续得到mozilla-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so,更改mozilla-javaplugin.so -> 解压得到的新的库,如~/jdk1.7.0_07/jre/lib/i386/libnpjp2.so。对于Chrome ,在/opt/google/chrome/下 mkdir plugins,在/opt/google/chrome/plugins/下建立符号链接libnpjp2.so ->解压得到的新库,如 ~/jdk1.7.0_07/jre/lib/i386/libnpjp2.so。
41楼 XiaJing200607212012-09-16 10:28发表 [回复] [引用][举报] [删除]
Sketch is a simple system for producing line drawings of
three-dimensional objects and scenes.
40楼 XiaJing200607212012-09-16 08:50发表 [回复] [引用][举报] [删除]
VHF/UHF/Microwave Radio Propagation: A Primer for Digital Experimenters

-http://www.tapr.org/ve3jf.dcc97.html
39楼 XiaJing200607212012-09-13 23:05发表 [回复] [引用][举报] [删除]
SPLAT! is an RF (S)ignal (P)ropagation, (L)oss, (A)nd (T)errain analysis tool for the spectrum between 20 MHz and 20 GHz.
-http://www.qsl.net/kd2bd/splat.html
38楼 XiaJing200607212012-09-13 12:03发表 [回复] [引用][举报] [删除]
Radio Linux
http://linux.softpedia.com/get/Science-and-Engineering/Electronic-Design-Automation-EDA-/RF-Toolbox-4396.shtml

http://radio.linux.org.au/?sectpat=New%2FUpdated&ordpat=title
37楼 XiaJing200607212012-09-13 11:32发表 [回复] [引用][举报] [删除]
xiajing@xjpc:~$ apt-cache search antenna
antennavis - antenna radiation pattern visualization software
cassbeam - A program for Cassegrain antenna modelling
gcb - Utility to calculate long and short path to a location
gpredict - Satellite tracking program
grig - graphical user interface to the Ham Radio Control Libraries
libnecpp-dev - development files for libnecpp
libnecpp0 - library to use NEC2++
nec - NEC2 Antenna Modelling System
necpp - NEC2 Evolution Antenna Modelling System
openbmap-logger - gsm/gps-data logger for the openBmap project
predict - Satellite Tracking Program with Optional Voice Output
python-necpp - Python module for using NEC2++
qantenna - Qt based program for viewing antennas as described by NEC files
xnec2c - calculate and display radio antenna properties
xnecview - NEC structure and gain pattern viewer
yagiuda - software to analyse performance of Yagi-Uda antennas
36楼 XiaJing200607212012-09-13 11:19发表 [回复] [引用][举报] [删除]
synopsys spw
http://www.synopsys.com/Systems/BlockDesign/DigitalSignalProcessing/Pages/Signal-Processing.aspx
35楼 XiaJing200607212012-09-12 11:31发表 [回复] [引用][举报] [删除]
jsMath: A Method of Including Mathematics in Web Pages
-http://www.math.union.edu/~dpvc/jsMath/
34楼 XiaJing200607212012-09-08 15:03发表 [回复] [引用][举报] [删除]
用eclipse3.7.2 pydev2.6.0 ,出现“Undefined variable from import: xxx”错误。xxx包含所有的numpy里的函数。原因是eclipse没有正确导入python库,重启eclipse解决该问题。
33楼 XiaJing200607212012-09-07 18:21发表 [回复] [引用][举报] [删除]
Source-highlight - convert source code to syntax highlighted document
-i, --input=filename
input file. default std input
-o, --output=filename
output file. default std output (when the third invocation form is used). If STDOUT is specified, the output is directed to standard output
-s, --src-lang=STRING
source language (use --lang-list to get the complete list). If not specified, the source language will be guessed from the file extension.
--lang-list
list all the supported language and associated language definition file
--outlang-list
list all the supported output language and associated language definition file
-f, --out-format=STRING
output format (use --outlang-list to get the complete list) (default=`html')
32楼 XiaJing200607212012-09-05 10:13发表 [回复] [引用][举报] [删除]
OpenOffice/LibreOffice plugin for JabRef
http://jabref.sourceforge.net/OOPlugin-jabref.php
31楼 XiaJing200607212012-09-03 23:33发表 [回复] [引用][举报] [删除]
GNU Guile is an interpreter for the Scheme programming language. It implements R5RS, providing additional features necessary for real-world use.
30楼 XiaJing200607212012-08-29 09:11发表 [回复] [引用][举报] [删除]
The Elmer multiphysics simulation package includes physical models of fluid dynamics, structural mechanics, electromagnetics, heat transfer, and acoustics, among others. These are described by partial differential equations which Elmer solves by the Finite Element Method (FEM).
29楼 XiaJing200607212012-08-26 17:40发表 [回复] [引用][举报] [删除]
向丹表示,一是社会上的收入差距较大,统计局发布的是平均数,低收入群体被高收入群体拉高现象肯定存在。“更重要的是,统计的工资总额是税前工资,且包括个人交纳的养老、医疗、住房等个人账户的基金;这和老百姓实际的到账工资肯定会有差距。”

  据国家统计局官网显示,工资总额是指各单位在一定时期内直接支付给本单位全部职工的劳动报酬总额。不论是否计入成本,不论是以货币形式还是以实物形式支付,均包括在内。“补贴、实物类的福利都要计算在内,所以有所不同。”
-----为何平均工资发布感觉有落差?市统计局详解
http://cd.focus.cn/news/2012-08-25/2291444.html
28楼 XiaJing200607212012-08-26 10:23发表 [回复] [引用][举报] [删除]
xj@x:~/gpg$gpg --verify MD5SUMS.gpg MD5SUMS
gpg: Signature made Fri 24 Aug 2012 08:47:36 AM CST using DSA key ID FBB75451
gpg: Can't check signature: public key not found

xj@x:~/gpg$gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0xFBB75451
gpg: requesting key FBB75451 from hkp server keyserver.ubuntu.com
gpg: /home/xj/.gnupg/trustdb.gpg: trustdb created
gpg: key FBB75451: public key "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1

xj@x:~/gpg$gpg --verify MD5SUMS.gpg MD5SUMS
gpg: Signature made Fri 24 Aug 2012 08:47:36 AM CST using DSA key ID FBB75451
gpg: Good signature from "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: C598 6B4F 1257 FFA8 6632 CBA7 4618 1433 FBB7 5451
Re: XiaJing200607212012-08-26 10:25发表 [回复] [引用][举报] [删除]
https://help.ubuntu.com/community/VerifyIsoHowto
27楼 XiaJing200607212012-08-26 09:40发表 [回复] [引用][举报] [删除]
GPG
key size: 1024bits
In [15]: str(2**1024)
Out[15]: '179769313486231590772930519078902473361797697894230657
2734300811577326758055009631327084773224075360211201138798713933
5765878976881441662249284743063947412437776789342486548527630221
9601246094119453082952085005768838150682342462881473913110540827
237163350510684586298239947245938479716304835356329624224137216'
In [16]: len(Out[15])
Out[16]: 309
The world's population: seven billion
Assuming Each one has storage size of 1 TB。
The Global storage size is 7e+21 Bytes
For storing all the keys pairs(2kB) we need 1.8e309*2*1024/8/(7e+21) earth, about 6.6e289.

In [32]: len(str(2**1024*2*1024/int(7e21)/8))
Out[32]: 289
26楼 XiaJing200607212012-08-23 21:25发表 [回复] [引用][举报] [删除]
scipy.signal.hilbert: Hilbert变换后两端失真,原因是有不连续点。比如1024个采样点,1000Sps,20Hz的正弦信号。
25楼 XiaJing200607212012-08-23 13:45发表 [回复] [引用][举报] [删除]
Constantine A. Balanis, "Advanced Engineering Electromagnetics" Publisher: Wiley; 2 edition ISBN: 0470589485 2012 1018 pages
24楼 XiaJing200607212012-08-18 20:44发表 [回复] [引用][举报] [删除]
xiajing@HPLAPTOP:/$ sudo du --max-depth=1 | sort -n
du: cannot access `./proc/2536/task/2536/fd/4': No such file or directory
du: cannot access `./proc/2536/task/2536/fdinfo/4': No such file or directory
du: cannot access `./proc/2536/fd/4': No such file or directory
du: cannot access `./proc/2536/fdinfo/4': No such file or directory
du: cannot access `./home/xiajing/.gvfs': Permission denied
0 ./proc
0 ./sys
4 ./cdrom
4 ./media
4 ./mnt
4 ./selinux
16 ./lost+found
64 ./tmp
860 ./root
1192 ./dev
6764 ./bin
8108 ./sbin
17348 ./etc
22016 ./boot
158780 ./lib
237036 ./opt
561712 ./var
5340696 ./srv
6421752 ./usr
45816120 ./home
58593732 .
Re: XiaJing200607212012-09-05 10:20发表 [回复] [引用][举报] [删除]
2012.09.05
xiajing@xiajing-HP:/$ sudo du --max-depth=1 | sort -n
[sudo] password for xiajing:
du: cannot access `./proc/3719/task/3719/fd/4': No such file or directory
du: cannot access `./proc/3719/task/3719/fdinfo/4': No such file or directory
du: cannot access `./proc/3719/fd/4': No such file or directory
du: cannot access `./proc/3719/fdinfo/4': No such file or directory
du: cannot access `./home/xiajing/.gvfs': Permission denied
0 ./proc
0 ./sys
4 ./cdrom
4 ./media
4 ./mnt
4 ./selinux
16 ./lost+found
140 ./tmp
920 ./root
988 ./dev
6700 ./bin
8108 ./sbin
17604 ./etc
22016 ./boot
158780 ./lib
237036 ./opt
1054120 ./var
5351812 ./srv
7715020 ./usr
44531048 ./home
59105576 .
Re: XiaJing200607212012-09-26 15:08发表 [回复] [引用][举报] [删除]
2012.09.26
0 ./proc
0 ./sys
4 ./cdrom
4 ./media
4 ./mnt
4 ./selinux
16 ./lost+found
64 ./tmp
972 ./dev
1056 ./root
6700 ./bin
8108 ./sbin
17612 ./etc
22016 ./boot
158784 ./lib
237040 ./opt
1119412 ./var
5361168 ./srv
8258832 ./usr
44414688 ./home
59607736 .
Re: XiaJing200607212012-08-18 21:09发表 [回复] [引用][举报] [删除]
回复XiaJing20060721:用了一年的系统
23楼 XiaJing200607212012-08-18 20:34发表 [回复] [引用][举报] [删除]
xiajing@x:/$ sudo du -d 1 | sort -n
du: cannot access `./proc/9017/task/9017/fd/4': No such file or directory
du: cannot access `./proc/9017/task/9017/fdinfo/4': No such file or directory
du: cannot access `./proc/9017/fd/4': No such file or directory
du: cannot access `./proc/9017/fdinfo/4': No such file or directory
du: cannot access `./home/xiajing/.gvfs': Permission denied
0 ./proc
0 ./sys
4 ./cdrom
4 ./dev
4 ./media
4 ./mnt
4 ./opt
4 ./selinux
16 ./lost+found
56 ./tmp
792 ./root
1204 ./run
8636 ./bin
8860 ./sbin
15744 ./etc
51444 ./boot
286160 ./lib
344568 ./srv
908028 ./var
4731612 ./usr
11133476 ./home
17490624 .
Re: XiaJing200607212012-08-18 21:10发表 [回复] [引用][举报] [删除]
刚用一个月的系统
22楼 XiaJing200607212012-08-18 11:42发表 [回复] [引用][举报] [删除]
Kenneth K. Clarke, Donald T. Hess, "Communication Circuits: Analysis and Design"
Krieger Publishing Company | 1994 | ISBN: 0894648632 | 670 pages | PDF | 18 MB
21楼 XiaJing200607212012-08-18 09:15发表 [回复] [引用][举报] [删除]
1.TeXlipse is a plugin that adds Latex support to the Eclipse IDE.
2.The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform.
3.PyDev is a Python IDE for Eclipse.
20楼 XiaJing200607212012-08-16 21:39发表 [回复] [引用][举报] [删除]
编译的a.so共享库中调用另外的libb.a或libb.so库,但在link时没有给出库名参数lb,虽然编译通过,但用mono的c#调用时却出现System.DllNotFoundException,设置了LD_LIBRARY_PATH也无效,当link时给出库名参数lb后,则C#调用无异常。
19楼 XiaJing200607212012-08-15 21:35发表 [回复] [引用][举报] [删除]
$diff -y leftfile rightfile
-y, --side-by-side
output in two columns
18楼 XiaJing200607212012-08-15 10:25发表 [回复] [引用][举报] [删除]
TREE(1)
NAME
tree - list contents of directories in a tree-like format.
xiajing@xiajingU:~/git/gitlibv$ tree -a
.
├── .git
│   ├── branches
│   ├── config
│   ├── HEAD
│   ├── hooks
│   ├── logs
│   │   └── refs
│   │   └── heads
│   ├── objects
│   │   ├── info
│   │   └── pack
│   └── refs
│   ├── heads
│   └── tags
└── libvibaa
├── .cdtbuild
├── .cdtproject
├── .cproject
├── Debug
│   ├── libv.a
│   ├── makefile
│   ├── objects.mk
│   ├── sources.mk
│   ├── src
│   │   └── subdir.mk
│   ├── subdir.mk
│   ├── v.d
│   └── v.o
├── .project
├── .settings
│   ├── org.eclipse.cdt.core.prefs
│   └── org.eclipse.cdt.managedbuilder.core.prefs
└── src
├── v.c
└── v.h
Re: XiaJing200607212012-08-15 11:16发表 [回复] [引用][举报] [删除]
回复XiaJing20060721:$find .
17楼 XiaJing200607212012-08-14 20:14发表 [回复] [引用][举报] [删除]
printf:
The field width
An optional decimal digit string (with nonzero first digit) specifying a minimum field width. If the converted value has fewer characters than the field width, it will be padded with spaces on the left (or right, if the left-adjustment flag has been given). Instead of a decimal digit string one may write "*" or "*m$" (for some decimal integer m) to specify that the field width is given in the next argument, or in the m-th argument, respectively, which must be of type int. A negative field width is taken as a '-' flag followed by a positive field width. In no case does a nonexistent or small field width cause truncation of a field; if the result of a conversion is wider than the field width, the field is expanded to contain the conversion result.
--http://man7.org/linux/man-pages/man3/printf.3.html
16楼 XiaJing200607212012-08-13 15:48发表 [回复] [引用][举报] [删除]
books[req]:
1, This Book Made Me Do It,
2, Weather Projects for Young Scientists: Experiments and Science Fair Ideas
15楼 XiaJing200607212012-08-13 15:19发表 [回复] [引用][举报] [删除]
C2059 Error Using extern "C" in .C Source Files
Use of "extern "C"" in source files that have a .C extension causes error C2059, and results in this error message:
error C2059:syntax error:'string'

CAUSE:
In the C language, the string-literal "C" is not recognized. It is used in C++ to prevent name decoration.

RESOLUTION:
Remove the string-literal "C" in extern declarations, or use the following in the function declaration:
#ifdef __cplusplus
extern "C"
#endif

--support.microsoft.com/?scid=kb%3Ben-us%3B133070&x=4&y=16
14楼 XiaJing200607212012-08-13 11:56发表 [回复] [引用][举报] [删除]
Dynamic-Link Library Search Order
Standard Search Order for Desktop Applications
Windows XP: Safe DLL search mode is disabled by default.
If SafeDllSearchMode is disabled, the search order is as follows:
1. The directory from which the application loaded.
2. The current directory.
3. The system directory. Use the GetSystemDirectory function to get the path of this directory.
4. The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched.
5. The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
6. The directories that are listed in the PATH environment variable. Note that this does not include the per-application path specified by the App Paths registry key. The App Paths key is not used when computing the DLL search path.

--http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586%28v=vs.85%29.aspx
13楼 XiaJing200607212012-08-10 23:13发表 [回复] [引用][举报] [删除]
Mono is a platform for running and developing applications based on the ECMA/ISO Standards. Mono is an open source effort led by Novell.
12楼 XiaJing200607212012-08-10 21:40发表 [回复] [引用][举报] [删除]
Elsevier_Eargle_s Microphone Book From Mono to Stereo to Surround_3rd Ed_Ray A. Rayburn 2012
11楼 XiaJing200607212012-08-09 20:12发表 [回复] [引用][举报] [删除]
alsamixer - soundcard mixer for ALSA soundcard driver, with ncurses interface
10楼 XiaJing200607212012-08-08 18:24发表 [回复] [引用][举报] [删除]
amule , There are several results for the hash (black dot in front of it), so when you doubleclick it it expands the tree instead of adding the download.

---http://forum.amule.org/index.php?topic=17537.45;wap2
9楼 XiaJing200607212012-08-08 17:46发表 [回复] [引用][举报] [删除]
AMSAT-UK is working on a new amateur satellite project – The FUNcube Project– that features a 435 to 145 MHz Linear Transponder for SSB/CW operation.
--http://www.uk.amsat.org/
--http://funcube.org.uk/
8楼 XiaJing200607212012-08-08 14:26发表 [回复] [引用][举报] [删除]
http://www.museumoftechnology.org.uk/military.php?cab=milcomms#k509
7楼 XiaJing200607212012-08-04 22:22发表 [回复] [引用][举报] [删除]
Everyday Practical Electronics (EPE)
6楼 XiaJing200607212012-08-04 16:43发表 [回复] [引用][举报] [删除]
1975年 电影 “碧海红波”
5楼 XiaJing200607212012-08-02 17:06发表 [回复] [引用][举报] [删除]
Show GB18030 coded characters in Rhythmbox2.96.
Add " export GST_ID3_TAG_ENCODING=GBK:UTF-8:GB18030" and "export GST_ID3V2_TAG_ENCODING=GBK:UTF-8:GB18030" to ~/.profile
4楼 XiaJing200607212012-08-02 16:51发表 [回复] [引用][举报] [删除]
4 Ways of Executing a Shell Script in UNIX / Linux

(1). Execute Shell Script Using File Name
[plain] view plaincopyprint?
  1. $ ./scriptfile  
$ ./scriptfile

(2). Execute Shell SCript by Specifying the Interpreter
[plain] view plaincopyprint?
  1. $ bash scriptfile  
$ bash scriptfile

(3). Execute Shell Script Using . ./ (dot space dot slash),it will execute the script in the current shell without forking a sub shell.
[plain] view plaincopyprint?
  1. $ .  scriptfile  
$ .  scriptfile

(4). Execute Shell Script Using Source Command
[plain] view plaincopyprint?
  1. $ source scriptfile  
$ source scriptfile

http://www.thegeekstuff.com/2010/07/execute-shell-script/
3楼 XiaJing200607212012-08-01 21:56发表 [回复] [引用][举报] [删除]
The GNU plotutils package contains software for both programmers and technical users. ---www.gnu.org/software/plotutils/
[plain] view plaincopyprint?
  1. $echo 0 1 1 -3 2 3 3 1 4 9 5 0 | graph -T x  
$echo 0 1 1 -3 2 3 3 1 4 9 5 0 | graph -T x

The above command will plot lines pass points (0,1) (1,-3) (2,3) (3,1) (4,9) (5,0)
2楼 XiaJing200607212012-08-01 21:54发表 [回复] [引用][举报] [删除]
$apt-cache rdepends libgsl0ldbl 查看依赖libgsl0ldbl包运行的软件 或者 $apt-cache rdepends --installed
1楼 XiaJing200607212012-08-01 21:53发表 [回复] [引用][举报] [删除]
eclipse 可以通过Import->Select General->Existing Projects into Workspace 导入以前的projects 包括cdt开发的。
原创粉丝点击