Method 1: Go to registry editor by running regedit in the run box.
Go to this key: HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Explorer\Advanced
In the right hand area, double click hidden and change the value to 1.
Now you’re all set to go. Check it in your tools menu if the changes have taken effect.
Method 2: 1. Click “Start” -> “Run…” (or press Windows key + R)
2. Type “regedit” and click “Ok”.
3. Find the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer \ Advanced\Folder\Hidden\SHOWALL
4. Look at the “CheckedValue” key… This should be a DWORD key. If it isn’t, delete the key.
5. Create a new key called “CheckedValue” as a DWORD (hexadecimal) with a value of 1.
6. The “Show hidden files & folders” check box should now work normally. Enjoy!
Show hidden files/folder in Win XP after virus infection.
11-06-09Virtual Box and USB Hard Disk – Fedora 10
31-05-091) add user running VBox to vboxusers group
2) edit /etc/fstab and add following line to it:
none /sys/bus/usb/drivers usbfs devgid=<vboxusers group ID>,devmode=664 0 0
3) make sure running closed source version of VBox, open source version will not work
4) Start VBox, edit machine then create USB filter (see Vbox document)
@fedora forum
Web server của mầy, name server của bọ!!!
15-05-09Web server của tụi mầy muốn làm gì thì làm, name server của bọ, bọ
làm gì kệ bọ, nếu bọ mà là admin cái name server thì bọ trỏ quách nó về
đầu giường. mấy ông Cục Chưởng Cục CNTT giả nhời như !@$#@#@#
Xem ở đây: http://www.bbc.co.uk/vietnamese/vietnam/2009/05/090514_vnwebsite_chinapolicies.shtml
Blog Osin ở đây: http://www.blogosin.org/?p=898
blog Bui Thanh ở đây: http://blog.360.yahoo.com/blog-CIrwXUUzbq_T38SajGABjc_c?p=2449
éo gì bị nó lừa từ mấy thứ thủ tục hành chính vớ vẩn này lừa đi
nhịn éo nổi !!!
![]()
[quote]
$ dig @208.67.222.222 www.vietnamchina.gov.vn A
; <> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <> @208.67.222.222 www.vietnamchina.gov.vn A
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31350
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.vietnamchina.gov.vn. IN A
;; ANSWER SECTION:
www.vietnamchina.gov.vn. 86317 IN A 211.88.5.96
;; Query time: 214 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Fri May 15 09:22:20 2009
;; MSG SIZE rcvd: 57
[/quote]
[quote]
$ dig @208.67.222.222 vietnamchina.gov.vn NS
; <> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <> @208.67.222.222 vietnamchina.gov.vn NS
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20244
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;vietnamchina.gov.vn. IN NS
;; ANSWER SECTION:
vietnamchina.gov.vn. 85190 IN NS hcm-server1.vnn.vn.
vietnamchina.gov.vn. 85190 IN NS vdc-hn01.vnn.vn.
;; Query time: 212 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Fri May 15 09:22:57 2009
;; MSG SIZE rcvd: 90
[/quote]
Thay Space trong File name với Underscore
11-03-09for f in *;
do
file=$(echo $f | tr ‘ ‘ )
[ ! -f $file ] && mv “$f” $file
done

Mount remote samba share as guest
13-01-09mount //samba-server/share-name /path/to/mount/point -t cifs -o guest,rw
required: smb.conf need to set security=share
Bash for n00b #01
16-10-08có thư mục dạng
dir0/dir1
dir0/dir2
………
giờ muốn chown cho toàn bộ các thư mục trong dir0 với owner là user có cùng tên với các thư mục trong dir0.
#cd /path/to/dir0
#dir0 $>for i in * ; do chown $i.$i; done
vài thư mục thì chown từng phát còn đỡ ngại chứ có độ chục chú là cái này cũng vui ra phết. đỡ khối!
–tiếp nhá –
tạo 1 loạt thư mục/file:
for i in `seq 1 10`; do touch $i; done
nếu tạo thư mục thì thay touch $i thành mkdir $i
Powered by ScribeFire.
Đếm số kí tự trong 1 string
17-08-08#echo ’string’ | wc -c
Như các cụ đã nói, trăm hay không bằng tay quen! mà các cụ nói cấm có sai bao giờ
Cám ơn ‘cái tay quen’ của co`i
Posted by chairuou
Posted by chairuou
Posted by chairuou 


