IT Tips

You are currently browsing the articles from KomKid.Net matching the category IT Tips.

OpenOffice : Rows to repeat at top

เวลาจะพิมพ์โดยให้มีแถวใดขึ้นอยู่บนหัวกระดาษทุกหน้า
ใน Excel จะเข้าไปที่
1.File > Page Setup…
2.แล้วก็คลิก tab Sheet
3.ในกลุ่มของ Print titles เลือก Rows to repeat at top ดังรูป

rows_to_repeat_at_top

ใน OpenOffice เข้าไปที่
1.Format > Print Ranges > Edit…
2.แล้วก็เลือกตรง Rows to repeat

print_range_edit

Written by Komkid on September 3rd, 2009 with no comments.
Read more articles on IT Tips and OpenOffice.

Cleanse the free space on a logical disk

เอาพื้นที่ของฉันคืนมา!
ทั้งที่ ๆ ลบไฟล์ออกแล้ว แต่พื้นที่ว่างกลับไม่เพิ่มขึ้นซักเท่าไหร่ มาลองวิธีนี้ดูครับ

วิธีที่ 1.
download file จาก http://download.sysinternals.com/Files/SDelete.zip
แตกไฟล์แล้วเรียก run ผ่าน cmd

sdelete -c drive

เช่น

sdelete -c c:/

จาก http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx

วิธีที่ 2.
download file จาก http://www.feyrer.de/g4u/nullfile-1.02.exe

แล้วก็ Double Click จากนั้นก็รอจนโปรแกรมทำเสร็จ

จาก http://kakku.wordpress.com/2008/06/23/virtualbox-shrink-your-vdi-images-space-occupied-disk-size/

Written by Komkid on September 3rd, 2009 with no comments.
Read more articles on IT Tips and Software.

Ubuntu : Run as root in GUI

ใช้สิทธิเป็น root ชั่วคราว ใน GUI เพื่อความสะดวกได้โดยใช้คำสั่ง คล้าย ๆ กับ Run as … ใน Windows

gksudo nautilus

gksu nautilus

sudo nautilus

เลือกเอาอันใดอันนึง

หรือทำเป็น Shortcut ไว้เลย โดยคลิกขวาที่ Desktop แล้วเลือก Create Launcher…
Type : Application
Name : Nautilus (แล้วแต่จะตั้ง)
Command : gksudo /usr/bin/nautilus (ใช้ whereis nautilus หาดู)
Comment : Nautilus with root permission(อะไรก็ได้)

nautilus-with-root-permission

Written by Komkid on August 28th, 2009 with no comments.
Read more articles on IT Tips and Ubuntu.

Set IP from command line

netsh interface ip

Usage:
set address [name=]
[[source=]dhcp | [source=] static [addr=]IP address [mask=]IP subnet mask]
[[gateway=]|none [gwmetric=]integer]

Parameters:
* name – The name of the interface.
* source – One of the following values:
o dhcp: Sets DHCP as the source for configuring IP addresses for the specific interface.
o static: Sets the source for configuring IP addresses to local static configuration.
* gateway – One of the following values:
o : A specific default gateway for the static IP address you are setting.
o none: No default gateways are set.
* gwmetric – The metric for the default gateway. This field should not be set if gateway is set to ‘none’.

The following options are used only if source is ‘static’:
* addr – An IP address for the specified interface.
* mask – The subnet mask for the specified IP address.

Remarks:
Used to change the IP address configuration mode from either DHCP to static mode or static mode to DHCP. Adds IP addresses on an interface with static IP address or adds default gateways.

Examples:

* set address name=”Local Area Connection” source=dhcp
* set address local static 10.0.0.9 255.0.0.0 10.0.0.1 1

netsh interface ip set address name=”Local Area Connection” static 192.168.0.250 255.255.255.0 192.168.0.1 1

Written by Komkid on April 16th, 2009 with 2 comments.
Read more articles on Admin and IT Tips and Networking.

Manage Stored User Names and Passwords

Windows สามารถช่วยจำ User name กับ Password ที่เราใช้งานผ่านเครือข่ายต่าง ๆ ได้
โดยให้เราคลิกที่ Remember my password
remember_username_password

ซึ่งบางทีเราก็ลืมไปแล้วว่าได้บันทึกอะไรไว้บ้าง
Windows ได้เตรียมหน้าต่่างสำหรับจัดการ Stored User Names and Passwords นี้ไว้แล้ว
โดยพิมพ์ใน Command line ว่า

rundll32.exe keymgr.dll, KRShowKeyMgr

ก็จะได้หน้าต่าง ดังรูป
stored_username_password

Written by Komkid on April 16th, 2009 with no comments.
Read more articles on IT Tips.

« Older articles

Newer articles »