Software

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

eXtplorer : PHP, AJAX File Manager

แนะนำ file manager น่าใช้ครับ ใช้ร่วมกับ Joomla ได้ด้วย
eXtplorer

eXtplorer is a web-based File Manager. You can use it to

* browse directories & files on the server and
* edit, copy, move, delete files,
* search, upload and download files,
* create and extract archives,
* create new files and directories,
* change file permissions (chmod) and much more…

You can even use eXtplorer to login to the FTP server (like net2ftp) and work as if you were using an FTP client. Access via WebDAV is also possible (requires some extra work and a database!).

eXtplorer is released under a dual-license: You can choose wether you want to use eXtplorer under the Mozilla Public License (MPL 1.1) or under the GNU General Public License (GNU/GPL). Note that if you decide to distribute/use eXtplorer under the MPL, you are not allowed to use the ExtJS Javascript library.

eXtplorer needs at least PHP 4.3 on the server and an up-to-date browser with Javascript enabled to run.

http://extplorer.sourceforge.net

Written by Komkid on December 6th, 2009 with no comments.
Read more articles on Admin and Internet and Software.

Open Visio file with Dia

Dia เปิดไฟล์ของ Visio (*.vsd) ตรง ๆ ไม่ได้ แต่เปิด XML Drawing (*.vdx) ได้
ดังนั้นก็ง่าย ๆ ด้วยการเปิดไฟล์ Visio แล้ว Save as เป็น XML Drawing (*.vdx) ดังตัวอย่าง
visio_xml_drawing
dia_xml_drawing

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

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.

เล่นกับ phpbb3 #02 LDAP Authentication

หลังจากติดตั้งเสร็จแล้ว เพื่อความสะดวกในการจัดการกับ User ก็จัดการให้ใช้ LDAP ในการติดต่อไป Authenticate กับ Active Directory ซึ่งเป็น Windows 2003 โดยเข้าไปในส่วนของ Administration Control Panel ในส่วนของ Authentication แล้วก็ตั้งค่า ดังรูป
phpbb3_ldap_authen

* Select an authentication method: เลือก LDAP
* LDAP server name: ระบุ LDAP Server เช่น server ชื่อ ldap โดเมนชื่อ sci.com ก็ระบุเป็น ldap.sci.com
* LDAP server port: ค่า defalut คือ 389 ซึ่ง Active Directory ก็ใช้ port นี้อยู่แล้ว
* LDAP base dn: ถ้า โดเมนชื่อ sci.com ก็ใส่เป็น DC=SCI,DC=COM
* LDAP uid:สำหรับ Active Directory ใส่เป็น sAMAccountName
* LDAP user dn:ป้อน User สำหรับให้ phpbb ใช้ในการ login เพื่อตรวจสอบการ login ของ User อื่น ๆ ในรูปแบบของ ldap เช่น จะใช้ User ชื่อ Admin ก็ระบุเป็น CN=Admin,CN=Users,DC=SCI,DC=COM

แถมท้ายด้วยโปรแกรมสำหรับใช้ติดต่อกับ Active Directory เพื่อเรียกดูข้อมูลแบบ LDAP ครับ
1.อันแรกก็ LDAP Admin ครับ Open Source

Ldap Admin is free Win32 administration tool for LDAP directory management. This application lets you browse, search, modify, create and delete objects on LDAP server. It also supports more complex operations such as directory copy and move between remote servers and extends the common edit functions to support specific object types (such as groups and accounts).

ldap_admin

2.Softerra LDAP Administrator 2008.1 ตัวนี้ให้ทดลองใช้ 30 วันหรือ run 250 ครั้ง

Softerra LDAP Administrator is a premier Explorer-like LDAP client designed for Windows. If you are a professional software developer or system administrator, Softerra LDAP Administrator will let you view and analyze LDAP directories easily and effectively.

Softerra LDAP Administrator presents a convenient intuitive interface, a unique entry creation wizard, full support of all of the most popular LDAPv3 servers and many other powerful features. In process of Softerra LDAP Administrator development we paid special attention to making sure the application works fast with large amounts of data, which is crucial when trying to come out with a viable e-business solution.

ldap_administrator

3.LDAP Browser ตัวนี้เป็นรุ่นน้องของ LDAP Administrator เจ้าเดียวกันครับ แต่ตัวนี้ให้ใช้ฟรี แน่นอนว่า function การทำงานต้องลดลง แต่ก็เอาน่า ของฟรีนี่นา
ldap_browser

Written by Komkid on February 2nd, 2009 with no comments.
Read more articles on Admin and Internet and Software.

Free Text Editor for Windows

รวบรวม Text Editor สำหรับ Windows มาให้ใช้กันแบบฟรี ๆ ครับ เป็นทางเลือกนอกเหนือจาก EditPlus

1.TinyEdit ตัวนี้ Tiny สมชื่อครับ เล็กจริง ๆ ไฟล์เดียว Double Click ก็ใช้ได้เลย

Features
* Powerful and easy to use
* Syntax highlighting for more than 26 scripts
* Multiple document interface
* Unlimited undo/redo capability
* Text can be automatically word-wrapped
* Line number, Powerful search and replace
* Only one executable file (no need install)
* Freeware for both personal and commercial use

Supported Syntax Highlighting:
* PHP
* CSS
* HTML
* Java
* Java Script
* VB Script
* XML
* Perl
* Python
* Ruby
* C#
* SQL
* Tcl/Tk
* GW-TEL Scripts
* UNIX Shell Scripts
* Semanta DD
* Standard ML
* Vrml97/X3D
* AWK Scripts
* MS-DOS Batch
* C/C++
* COBOL
* Visual Basic
* Pascal
* Modula-3
* Fortran

2.RJ TextEd ตัวนี้ต้องใช้ .NET ครับ Function เยอะ แต่ผมว่าทำงานช้าไปนิดนึง

Features
* Auto completion.
* Code folding.
* Column mode.
* Handles both ASCII and binary files.
* Html wizards.
* Use TopStyle Lite as your CSS editor if installed.
* FTP client with synchronization.
* File explorer, text clips, code explorer, project manager…
* Convert between code pages, Unicode formats and text formats.
* Unicode and ANSI code page detection.
* Open/Save UTF-8 encoded files without a signature (BOM).
* Unicode file paths and file names.
* Html validation, format and repair.
* Tools available like syntax editor, color picker, charmap…

3.NOTEPAD++ อีกตัวที่น่าสนใจครับ ชื่อมี ++ ก็เพราะพัฒนามาจาก C++ ครับ

Features
* Syntax Highlighting and Syntax Folding
* WYSIWYG
* User Defined Syntax Highlighting
* Auto-completion
* Multi-Document
* Multi-View
* Regular Expression Search/Replace supported
* Full Drag ‘N’ Drop supported
* Dynamic position of Views
* File Status Auto-detection
* Zoom in and zoom out
* Multi-Language environment supported
* Bookmark
* Brace and Indent guideline Highlighting
* Macro recording and playback

4.PlainEdit Text Editor สัญชาติ เยอรมัน ครับ

Features:
* Various functions to convert text
* Easily switch between ANSI (Windows) and ASCII (DOS)
* Syntax highlighting for the most popular Web, scripting and programming languages
* Automatic replacement of special characters in the corresponding HTML coding
* Finding a Incremental text (forward and backward)
* Customizable templates enable the rapid creation of files
* Page Setup (margins, headers and footers), and a print preview
* Insert document templates and content templates
* PlainEdit can be extended with plugins

5.Notepad2 Icon ของเค้าเหมือน NotePad ของ Windows เลย แล้วก็เป็นไฟล์เดียวโดด ๆ ใช้งานได้เลย

Features
* Syntax highlighting: HTML, XML, PHP, ASP (JS, VBS), CSS, JavaScript, VBScript, C/C++, C#, Resource Script, Makefiles, Java, Visual Basic, Pascal, Assembly, SQL, Perl, Python, Configuration Files, Apache Config Files, Batch Files, Diff Files
* Drag & drop text editing inside and outside Notepad2
* Basic regular expression search and replace
* Useful word, line and block editing shortcuts
* Rectangular selection (Alt+Mouse)
* Brace matching, auto indent, long line marker, zoom functions
* Support for Unicode, UTF-8, Unix and Mac text files
* Open shell links
* Mostly adjustable

เป็นตัวสุดท้ายเลยมีเทคนิคมาฝากซะหน่อย คือ ชื่อกับ Icon ก็คล้ายกันอยู่แล้ว หนำซ้ำยังเป็นไฟล์เดียวโดด ๆ งั้นก็ใช้แทน NotePad ของ Windows ซะเลย
ว่าแล้วก็ Rename เอา 2 ออกกลายเป็น Notepad.exe แล้วก็เอาไปวางทับใน C:\Windows
เท่านี้ก็สำเร็จ แต่ได้แค่เดี๋ยวเดียว เพราะ Windows จะเอาไฟล์ Notepad.exe เดิมมาทับ จะทำกี่ครั้งก็เหมือนเดิม
สืบค้นดูทำให้ได้รู้ว่า

“Windows จะมีรายชื่อไฟล์ที่สงวนไว้เป็นของตัวเองอยู่ หากมีการเปลี่ยนแปลงก็จะพยายามดึงจาก Cache หรือจากแผ่นติดตั้งกลับมาเสมอ”

อ้อ ดึงมาจาก Cache งั้นก็เอาเข้าไปทับใน Cache ซะด้วยสิ ก็พอรู้อยู่แล้วว่า Cache มันอยู่ที่ C:\WINDOWS\System32\dllcache

ปรากฎว่าลองแล้ว ก็ไม่สำเร็จครับท่าน มันยังกลับมาได้

สืบค้นต่อไปถึงได้รู้ว่า มันมีอยู่หลายที่ ตามนี้ครับ
* C:\WINDOWS\System32\dllcache
* C:\WINDOWS\ServicePackFiles\i386
* C:\WINDOWS\System32
* C:\WINDOWS
ก็เลยต้อง copy ไปทับให้ครบ
แต่ถ้าทำมือจะไม่สำเร็จครับ เพราะระหว่างที่ copy ไปทับอันนึง อันอื่น ๆ ก็จะเอากลับแทนซะก่อน หรือว่าผมทำช้าก็ไม่รู้ ถ้าใครทำมือเองได้ก็แจ้งให้ทราบด้วยนะครับ

ก็เลยต้องสร้าง Batch File ไว้ช่วยงาน ตามนี้ครับ
copy /-y notepad.exe C:\WINDOWS\System32\dllcache
copy /-y notepad.exe C:\WINDOWS\ServicePackFiles\i386
copy /-y notepad.exe C:\WINDOWS\System32
copy /-y notepad.exe C:\WINDOWS

Written by admin on November 17th, 2008 with no comments.
Read more articles on Software.

« Older articles

No newer articles