由买买提看人间百态

topics

全部话题 - 话题: directory
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
t******e
发帖数: 2009
1
【 以下文字转载自 PDA 讨论区 】
发信人: theodore (陀螺), 信区: PDA
标 题: 在G1上装froyo-----长,复杂,绝对慎入
发信站: BBS 未名空间站 (Wed Dec 29 04:28:36 2010, 美东)
应朋友的要求写了个攻略,好辛苦,版主给个包子吧。
所有的攻略都是来自于xda,我只是做了搜索和整理,翻译和写了解释性的语言和自己
的感受。
我自己按照这个攻略刷机成功了。
1. downgrade OS
要装froyo,必须要有root的权限,要变成root,必须要寻找有安全漏洞的版本,一般来
说,RC30
以上的版本都把已知漏洞给补上了,所以第一步一般是downgrad到RC29的版本。
步骤如下:
1.1 Format your phone's SD card to FAT32 mode
1.2 Download and unzip the RC29 image file. Copy the DREAIMG.nbh file
to the SD card root.
http://www.megaupload.com/?d=EMY1HI... 阅读全帖
m*******r
发帖数: 8950
2
来自主题: WashingtonDC版 - 有熟悉Burke一带房子的吗?
不要看评分,自己去找学校的数据。
---
http://commweb.fcps.edu/directory/bylevel.cfm?level=Elementary
http://commweb.fcps.edu/directory/bylevel.cfm?level=Middle
http://commweb.fcps.edu/directory/bylevel.cfm?level=High
---
找到你要的小学,初高中。。。 CLICK “profile"。。。 CLICK ”Demographics“看
种族构成,看LOW INCOME的比例。。。 CLICK”Test Results“看成绩。。。
w**a
发帖数: 4743
3
来自主题: WaterWorld版 - 拍照秀某些方黑智商
下面是某个智力低下的可怜虫回复我的内容,甚至都没瞧一眼我给出的网页。
也罢,我就再贴一下directory info的定义:
Directory information includes:
•your full name
•mailing and permanent address(es) and telephone number(s)
•e-mail address
•the fact that you are or ever were enrolled
•enrollment status (e.g., full-time, half-time or less than half-time)
•class level and majors/minors
•dates of attendance
•degrees, honors or awards received
•cumulative credit hours
•participation in officia... 阅读全帖
G****e
发帖数: 11198
4
【 以下文字转载自 Arizona 讨论区 】
发信人: greenlands (sunflower), 信区: Arizona
标 题: InfoSys被告上法庭:印度人百般刁难其他族裔,我经历多了 (转载
发信站: BBS 未名空间站 (Thu Mar 20 16:17:06 2014, 美东)
我们华人软件工程师也应该去那个网发言!Brenda的事对我就是小菜一碟,我受印度人
集体的刁难比这个多多了
brightfuturejobs.com就是揭露印度人卑鄙行径的!妄想垄断北美软件职位,哼!
The suit alleges Brenda Koehler, a VMware Certified Professional network
engineer with a Master’s in Information Systems, was denied a Lead VMware/
Windows Administrator position at Infosys. Court documents state that
during the interview, “Infos... 阅读全帖
y***i
发帖数: 92
5
Hi:
I have found the following error in my apache server's
error_log
file.
[Mon Feb 12 15:10:35 2001] [error] [client XXX.XXX.XXX.XXX]
Symbolic link not allowed: /home/httpd/cgi-bin/tmpfiles/
Please tell me how to solve this problem? urgent.
BTW, the "tmpfiles" directory is only a link to any other
directory in order to protect the data.
I use " ln -s /data/tmpfiles tmpfiles" command under
/home/httpd/cgi-bin directory.
Thanks a lot
Appreciate your help, tommy.
Yanzi
s**o
发帖数: 584
6
来自主题: BuildingWeb版 - 再问一个问题:password protected
Step 1. By creating a file ".htaccess" in your homework directory
(~JohnDoe/www/hwk), all files in that directory will be protected by the
password. Here is what you need to put in the .htaccess file.
AuthUserFile /your-full-path-name/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic

require user whatever

The file refers to a password file which you can put anywhere you like
in your directory system. You have to use the full path name o
s**********i
发帖数: 711
7
1, put all the files which should have same protection under
one directory.
2, in server configuration, make sure this directory allows
override.
3, setup username and password in a .htpasswd file, using
htpasswd program or online htpasswd generator.
4, write a .htaccess file to use this .htpassed file. google
for examples. this .htaccess file should be in same directory
as the files you want to protect.
f**u
发帖数: 559
8
来自主题: BuildingWeb版 - Clean URL, any guru know?
I will give a try tonight.
I checked Options Indexes
"If a URL which maps to a directory is requested, and the there is no
DirectoryIndex (e.g., index.html) in that directory, then the server will
return a formatted listing of the directory."
I wish it works with .htaccess foward feature.
thanks.fufu
p**c
发帖数: 543
9
来自主题: BuildingWeb版 - Strange problem with CGI
I have a CGI which is no longer work. When I execute it within cgi-bin, it
gives me segmentation fault.
I didn't find anything wrong. But I recompiled it. I then found out the same
program runs fine anywhere other than in cgi-bin directory. But whenever I
put it into cgi-bin directory,it gives segmentation fault error. My other cgi
in the same cgi-bin directory runs fine too.
Anyone knows what's wrong here?
m****c
发帖数: 8
10
来自主题: DotNet版 - Re: DotNetNuke2.04, Could you pls expla
If you want to manually install a module. You have to do this.
1. If your webform is not in the DNN project, compile it and you will get a
DLL, copy this DLL into bin directory of DNN (In fact, it shouldn't be a
webform, you should have one web control file .ascx)
2. create one directory under desktopmodules for example:
desktopmodules/TestModule/
3. Copy all your ascx and other files into that directory.
4. Then go to host, add new module definition, it must be named as:
TestModule,
5. Then cli
x*********n
发帖数: 28013
11
来自主题: EmergingNetworking版 - 为什么删不掉?
DC4500-colocation#sh bootflash:
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time-------
-- name
1 .. image 07861B02 119B02C 39 17936300 Feb 14 2011 10:38:40 -06:
00 cat4500-entservicesk9-mz.122-53.SG2.bin
2 .D image 33259397 21416E4 38 16410168 Mar 15 2011 18:20:05 -05:
00 cat4500-entservicesk9-mz.122-44.SG.bin
DC4500-colocation#dir bootflash:
Directory of bootflash:/
1 -rwx 17936300 Feb 14 2011 10:38:40 -06:00 cat4500-entservicesk9-
mz.122-53... 阅读全帖
l*******e
发帖数: 3584
12
来自主题: Hardware版 - 还有人用dockstar+debian的吗?
我就想共享一些照片什么的,
谁来给讲讲我哪里错了。
Preparing directories and users

Create directories for Samba to use with Windows

#mkdir samba

Now we need to create users to access this directiory
#useradd pcguest
Now create a password for this user

#smbpasswd -a pcguest
root@debian:~# smbpasswd -a pcguest
New SMB password:
Retype new SMB password:
Added user pcguest.

configure samba configuration file
... 阅读全帖
p*******m
发帖数: 20761
13
If you wish to install Mediatomb UPNP Media Server on the PBO just download
the file at this link: http://downloads.sourceforge.net/med...mips2el.tar.gz
This packages can be used as an addon to the existing vendor firmware (no
reflashing required) on various embedded devices. There are absolutely no
dependencies on external packages, the binaries are statically linked and
have no dependencies.
What does that mean? It means that you only have to extract that file
anywhere you want on the PBO; yea... 阅读全帖
b*g
发帖数: 644
14
By default, cookies are accessible to every HTTP request for
the current
directory, and any subdirectories. Now on most web servers
and servlet engines,
servlets are located in a special directory. For example,
when using
servletrunner (which ships with the Java Servlet Development
Kit), servlets
must be invoked under the /servlet/ directory.
http://webserver/servlet/servletname
If you want your cookies to be accessible elsewhere, you
must specify the
root path of your webserver, using the
javax
c*****t
发帖数: 562
15
来自主题: Java版 - Question on classpath
I have a class which extends an abstract class, they are in the same
directory. The abstract class compiled fine, but I have to add the current
directory to the classpath or the extended class won't be able to find the
abstract class.
Is this normal? I thought java should be able to find and use anything in the
same directory. Or is it because it extends another class?
s****s
发帖数: 42
16
For example if the input is:
513-assn.xml
CreditCardCheckDigitValidation.htm
calculator_2.jsp
code [directory]
dhtml_events_5.jsp
first_jsp_4 [directory]
first_jsp_4.jsp
first_jsp_5 [directory]
getting_started.jsp
jnotes.txt
luhn.xls
How to group each type of file separately?
Thanks a lot.
l****o
发帖数: 207
17
well..actually I have figured out how, but I could not explain why.
I usually deploy the war file in this way: stop tomcat, clean all previous
version directory and file in both webapps and work directories, copy the
new version war file into webapps and restart tomcat.
While I deploied abc.war as described, it has the error of http 404 complaining that the resource is not available. I have noticed that the "org/apache/.." directory was not created under work/Catalina/localhost/abc as well.
Late
c*****t
发帖数: 1879
18
来自主题: Java版 - Complaint about Java class package
I disagree. When you get multiple source directories etc, it is often
difficult and confusing to know the root of the package directory without
some pointers. The directory structure and the package decla help the
recognition of the package structure pretty easily. Besides, good IDEs
take care of new class file creation and refactoring etc.
g*****g
发帖数: 34805
19
You need to find out where this path is. Use
File.getAbsolutePath() to determine that. My guess is this
pointing to a shared tomcat directory that's not writtable, not
the app home directory.
Or you may append a temp directory before the hardcoded filename.
System.getProperty("java.io.tmpdir"));

);
y****e
发帖数: 19
20
我的理解是 /.aMule/ 下面还有两个目录 分别是 Temp 和 Incoming 的权限
不对.
然后按照之前的做法弄一下就是这样了 ..
ellery@ellery-Ubuntu:~/.aMule$ sudo chown ellery:ellery /.aMule
chown: cannot access `/.aMule': No such file or directory
ellery@ellery-Ubuntu:~/.aMule$ sudo chown ellery:ellery /.aMule/
chown: cannot access `/.aMule/': No such file or directory
ellery@ellery-Ubuntu:~/.aMule$ sudo chown ellery:ellery /.aMule/
chown: cannot access `/.aMule/': No such file or directory
ellery@ellery-Ubuntu:~/.aMule$ cd ~/.aMul
w****g
发帖数: 597
21
That is a nice idea.
However, it does not really helps if I want generate a long long list of
directory, for example, the a CD directories, or Linux kernel source code
directories. For that purpose, a software tool will really helps.
I heard that there are some UML or CASE tools have similar functions, but I am not familiar those tools.

GUI
w****g
发帖数: 597
22
I take screenshots. But, how can I take many screenshots manually when the
directories are very very long ?
for example, a DVD's long list of directories, or a Linux kernel source
code directories, maybe 1000 screenshots? :) . Software tools should do
better job.
e*****n
发帖数: 124
23
KERNEL查不多就是你说的那个意思。
ROOT FILE SYSTEM没听说过,是不是ROOT DIRECTORY?从WIKI抄了下面一段
Unix-like operating systems create a virtual file system, which makes all
the files on all the devices appear to exist in a single hierarchy. This
means, in those systems, there is one root directory, and every file
existing on the system is located under it somewhere. Unix-like systems can
use a RAM disk or network shared resource as its root directory.
l********0
发帖数: 283
24
来自主题: Linux版 - 一个非常烦人的problem
有一个目录是/share/apps
我想在share里创建reference目录,但是:
mkdir /share/reference
mkdir: cannot create directory `/share/reference': No such file or directory
然后我想删除share目录,重现创建,但是:
rm -rf /share/
rm: cannot remove directory `/share//apps': Device or resource busy
~~~~我不知道为什么出现了两个/
另外查看share的信息时,size是0,好像这个也不正常:
drwxr-xr-x 3 root root 0 Dec 11 11:24 share
请大家指教。谢谢。
a*******e
发帖数: 3021
25
来自主题: Linux版 - u盘的自动sync?
I think I figured it out.
In short: place .autorun, autorun, or autorun.sh on root dir of usb drive,
it will be autostarted after mount in GNOME.
The first line in autorun.sh has to be #!/bin/bash to avoid "EXEC format
error".
any sync scripts can be included in the autorun.
====================================================
Autostart Of Applications After Mount
When a desktop environment mounts a new medium, the medium may contain an
Autostart file that can suggest to start an application or ... 阅读全帖
z****t
发帖数: 1090
26
标题是起着玩的,吸引眼球。 但还是头一次碰到问题网上找不到任何线索来解决了。

用了10.10几天没什么问题, 今天突然用软件中心或新立得安装删除软件时 突然有了
这个错误 dpkg: version
'uname -r' has bad syntax
取不到内核版本,导致后面的错误。 还以为是dpkg的问题,但试着重装过dpkg不行,
同样的错误; 试着从live
cd重装dpkg也是同样的错误。 现在怀疑是shell的问题, shell执行的时候'uname
-r' 没有当成命令执行。 但
不知道可以怎么解决, 换个shell吗 有没有问题。 ubuntu默认的shell是 /bin/bash
dpkg: version 'uname -r' has bad syntax: version string has embedded spaces
dpkg: version 'uname -r' has bad syntax: version string has embedded spaces
dpkg: version 'uname -r' has bad synt... 阅读全帖
S*A
发帖数: 7142
27
来自主题: Linux版 - strange behavior about chmod 777 -R
Yah, she always lies. No matter who she is.
I guess if she does not own that directory, or she does not
have the permission to change the attribute of that directory.
This can happen. The file inside that directory can be own
by her.
f******e
发帖数: 582
28
来自主题: Linux版 - ask one command in ubuntu
Using UbuntuI. have some files F1 under directory A. I have some other files
F2 under directory B. There are some overlap and difference between F1 and
F2.
Now, I want to copy all those files which are in F1 but not in F2 to another
directory. What can I do? Thanks a lot.
t**********n
发帖数: 68
29
A simple C-script like blow:
Try to go through each directory and like the files under each list
But when I run the script
foreach a (`ls -d *`)
echo $a
cd $a
cd ..
end
The output is like:
^[[0m^[[01;34m2008.001^[[0m: No such file or directory.
cannot "cd" direcoty
but echo shows the right directory.
Anyone confronted this kind problem under ubuntu
c*****m
发帖数: 1160
30
最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
分没有上传上来的话,unzip -v 会说:
unzip -v a1.zip
Archive: a1.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of a1.zip or
a1.zip.zip, and cannot find a1.zip.ZIP, period.
(Exit code = 9)
而用python的 zi... 阅读全帖
s**********r
发帖数: 340
31
来自主题: Programming版 - should the .dll and .lib have the same name?
In Visual Studio 2005, I should set C/C++ -> General -> additional include
directories with the "include" directory for the .h files. I also have to
set the Linker -> General -> additional library depedencies with the "lib"
directory. Right?
How did the compiler know where to find the .dll files? What's the .lib file
for? .dll and .lib could have different names?
When should I explicit set the Linker -> Input -> Additional Dependencies
with some .lib files?
Any information is welcome!
p**c
发帖数: 543
32
来自主题: Programming版 - Strange problem with CGI (转载)
【 以下文字转载自 BuildingWeb 讨论区 】
发信人: ppfc (pp), 信区: BuildingWeb
标 题: Strange problem with CGI
发信站: BBS 未名空间站 (Wed Jan 30 13:36:44 2008)
I have a CGI which is no longer work. When I execute it within cgi-bin, it
gives me segmentation fault.
I didn't find anything wrong. But I recompiled it. I then found out the same
program runs fine anywhere other than in cgi-bin directory. But whenever I
put it into cgi-bin directory,it gives segmentation fault error. My other cgi
in the same cgi-bin directory run
y******e
发帖数: 359
33
来自主题: Programming版 - 急问:VS2008里如何调用DLL

If you don't specify the absolute path for the dll.
The sequence to find the dll:
1. The directory where the exe is located.
2. The current directory set by SetCurrentDirectory API. (Many other
programs could change the "current directory".
3. %windir%
4. %windir%\system32
5. the folders in the environment variale %PATH%
You could specify the absolute path to the dll then you can be sure the
right dll is loaded.
M*****a
发帖数: 2054
34
来自主题: Programming版 - 问一个shell脚本的题目
WRITE a script for searching a text john in entire directories (one
directory can contain another directory) and replace it with TOM
N*n
发帖数: 456
35
来自主题: Programming版 - Taobao TFS 架构及开源项目
看不太懂前两句。
淘光节是2010 11/11 开始的。
秒杀不清楚何时开始。
in-line data.简单查了一下
Inline Data
The inline data feature was designed to handle the case that a file's data
is so tiny that it readily fits inside the inode, which (theoretically)
reduces disk block consumption and reduces seeks. If the file is smaller
than 60 bytes, then the data are stored inline in inode.i_block. If the rest
of the file would fit inside the extended attribute space, then it might be
found as an extended attribute "system.data" within the... 阅读全帖
c*****m
发帖数: 1160
36
最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
分没有上传上来的话,unzip -v 会说:
unzip -v a1.zip
Archive: a1.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of a1.zip or
a1.zip.zip, and cannot find a1.zip.ZIP, period.
(exit code=9)
而用python的 zipf... 阅读全帖
h******b
发帖数: 6055
37
来自主题: Programming版 - 十个包子求助:NodeJS多线程?
var directory = require('fs');
function processFile(filename) {
// dependencies
var fs = require('fs');
var zlib = require('zlib');
var csv = require('csv');
// filenames
var sourceFileName = filename;
mainFileName = 'main_' + filename;
// streams
var reader = fs.createReadStream(__dirname + '/original/' + sourceFileName),
writer = fs.createWriteStream(__dirname + '/transformed/' + mainFileName),
gunzip = zlib.createGunzip(),
gzip = zlib.createGzip();
//Main File
csv()
.from.stream(reader.pipe(g... 阅读全帖
p******g
发帖数: 347
38
================================================================debug3:
authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/nowhere7/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-
with-mic,password
debug1: Trying private key: /home/nowhere7/.ssh/id_dsa
debug3: no such identity: /home/nowhere7/.ssh/id_dsa: No such file ... 阅读全帖
d****e
发帖数: 3
39
来自主题: Security版 - FTPD 的安全问题
HPUX permits SITE CHMOD. That means an anonymous ftp user can change
access right owned by account "ftp".Particularly, the ~ftp directory.
I am not sure what an cracker can do by exploiting this. Basically, they can
modify the files in you ftp directory and inject a trojan in some files. When
sbd else gets those files, bad things may happen.
I don't know how to disable SITE CHMOD. But you can simply change the owner of
the ftp home directory from "ftp" to "root". Also, you may want to keep two
r***i
发帖数: 3
40
来自主题: Security版 - What's wrong with this server?
we use WINDOWS NT4.0,we have two servers
byserver3 is master, byserver1 is slave.
now,in byserver1--the slave server has a problem
i wanna limit the level of some appointed directory,in common times
i click right button on the specific directory,use "share" funciton,and then
i add some users,give these right,such as:ONLY READ,DENIED,ABSOLUTE
CONTROL,ETC
but now all of my designation is invalidation .
now i can only use "EVERYONE",AND use different rights to access this
directory.
but in master s
m**i
发帖数: 89
41
来自主题: Software版 - Internet/eBusiness的新进展(三)
趋势四 目录服务
目录服务(Directory)用于资源的定位。早期比较成功的目录服务是
Novell的。另外,Netscape也自认为其目录服务比较成功。它在把
它一系列产品Ship到Linux上时,除了浏览器,第一个产品就是Netscape
Directory Server.
微软在目录服务方面,也不落后人。它的目录服务的名称是Micrsoft
Active Directory,最早出现在Microsoft的Site Server中。但现在,
它已经是Windows 2000最为核心的技术,是构造新型Mircosoft Domain
网络的根本。
目录服务的标准,现在采用的是LDAP,有v2, v3等不同版本。LDAP是X.500
的简化。不过这世界,简化的东西往往比复杂的流行。SMTP很简单,X400
就比不上它。HTML也比SGML有名得多.
在电子商务的运用中,目录服务用来定位各服务和对象的位置。这里有
两层概念。一是接受服务的对象的定位,如用户的姓名、地址和其它信息。
这些信息可以存在传统的DB中,也可存在LDAP服务器中。Windows 2000的
用户信息,如果采用新的
s*******k
发帖数: 71
42
来自主题: Software版 - Re: UNIX下中文问题

Okay, the detailed instruction :-))
(1) CXTERM should come with font files named:
gb16fs.pcf/gb16st.pcf (GB), and hku16et.pcf (BIG5)
(2) create a directory, say /homes/flguy/fonts, put these font files
there, use chmod 755 to make this directory and font files world accessible.
(3) create a file called fonts.alias with the following content (three lines)
the file has to be in the same directory.
hanzigb16st "-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.
1980-0"
hanzigb16fs "-isas-fa
b**n
发帖数: 289
43
Also you can
1) make a directory called : texmf under your home directory
2) copy the .cls file to that directory
3) run : texhash
o********e
发帖数: 474
44
比如我下载的字体宏包psnfss, 安装说明说
Obtain the archive files lw35nfss.zip and freenfss.zip from
CTAN:macros/latex/required/psnfss. If the file system
layout of your TeX system complies with TDS, unzip them in
the texmf root directory (usually named texmf) of your TeX
system; all files will be unpacked into the right
directories then. Otherwise you have to sort out manually
the files from the .zip archives and copy them to the
appropriate directories of your TeX system.
但我找不到texmf这个目录。怎么办?
还有一般的安装思路步骤是什么,大
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)