Posts

Showing posts from June, 2011

Đặt lịch (schedule) up/down FTP trong windows

Image
Bước 1: Tạo file cấu hình Tạo file .src có nội dung,  VD có nội dung sau open  ‹ IP host  › lcd "D:\" cd   ‹ Thư mục trên máy local  › put testabc.txt get sitemap.xml bye Bước 2: Ðặt lịch Vào   Control Panel => Scheduled Tasks => Add Scheduled Tasks Hết

Cách convert database từ SQL server 2008 xuống SQL server 2005

Image
Yêu cầu Nếu bạn đang cần restore db của phiên bản SQL Server 2008 về SQL Server 2005, bạn sẽ gặp lỗi không tương thích. Để có thể thực thi quá trình restore này, bạn cần phải convert db từ v2008 về v2005. Hãy làm theo các bước sau Bước 1: Bắt đầu convert tự động Mở SQL Server Management Studio2008. trong 'Object Explorer', click chuột phải vào database cần convert. Chọn  'Tasks' > 'Generate Scripts...'. Bước 2:  Click 'Next'. Bước 3: Lựa chọn database và objects Lựa chọn database muốn convert và tick ' Scripts all objects in the selected databases ' Bước 4: Tùy chọn convert Cài đặt tùy chọn: 'Script for Server Version' = 'SQL Server 2005' 'Script Data' = 'True' 'Scirpt Create' = 'True' Bước 4: Tùy chọn đầu ra Hãy lựa chọn tùy chọn 'Script to file', 'Single file' and 'Unicode text'. Bước 6Hoàn thành Khi kết thục quá trình convert, nhấ

Kích hoạt Remote Connection cho SQL Server 2005 / 2008

Image
Khi bạn kết nối đến SQL Server 2008 mà gặp phải các lỗi sau: " Cannot connect to SQL-Server-Instance-Name An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 – Server doesn’t support requested protocol) (Microsoft SQL Server) Cannot connect to SQL-Server-Instance-Name An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (Microsoft SQL Server) Cannot connect to SQL-Server-Instance-Name Login failed for user ‘username‘. (Microsoft SQL Server, Error: 18456)" Kích hoạt Remote Connection cho SQL Server 20

Chế độ ăn cho người bị viêm loét dạ dày - tá tràng

Image
Người mắc bệnh này cần dùng các loại thức ăn giảm tiết dịch vị như chất ngọt, chất béo. Thịt nạc, cá nạc, nước dùng thịt gây tiết nhiều dịch vị nên bệnh nhân cần tránh ăn nhiều. Loét dạ dày - tá tràng chiếm 35% bệnh lý của đường tiêu hóa, nam mắc nhiều hơn nữ. Tuổi thường gặp là 30-60; nguyên nhân là sự mất cân bằng giữa yếu tố bảo vệ và phá hủy niêm mạc dạ dày. Cơ chế sinh bệnh loét dạ dày - tá tràng chủ yếu là tăng toan, tức tăng tiết acid dạ dày. Ăn uống hợp lý có thể làm giảm tiết acid, giảm tác dụng của acid dạ dày tiết ra lên niêm mạc dạ dày. Cần ưu tiên các thức ăn có tác dụng giảm tiết dịch vị; chứa tinh bột, giúp hút thấm niêm mạc dạ dày (như gạo nếp, bột sắn, bánh mì, bánh nếp), ít tác dụng cơ giới (thức ăn mềm) hay kích thích dạ dày. Cụ thể, những thực phẩm nên dùng là: - Cháo, cơm, bánh mì, cơm nếp, bánh chưng; các loại khoai luộc chín hoặc hầm nhừ. - Thịt, cá nạc hấp, luộc, om. - Lá rau non luộc, nấu canh bắp cải, giá đỗ, bầu bí... - Sữa bò hộp, sữa bò t

Nothing is gonna change my love for you

Image
[Mỗi ngày 1 bài hát....] If I had to live my life without you near me The days would all be empty The nights would seem so long With you I see forever oh so clearly I might have been in love before But it never felt this strong Our dreams are young And we both know they"ll take us Where we want to go (Chorus 1) Hold me now Touch me now I don"t want to live without you (Chorus 2) Nothing"s gonna change my love for you You ought know by now how much I love you One thing you can be sure of I"ll never ask for more than your love (Chorus 3) Nothing"s gonna change my love for you You ought know by now how much I love you The world may change my whole life through But nothing"s gonna change my love for you If the road ahead is not so easy, Our love will lead the way for us Like a guiding star I"ll be there for you if you should need me You don"t have to change a thing I love you just the way you are So come wi

[Thủ thuật] SDExplorer – Giúp sử dụng SkyDrive như ổ đĩa mạng

Image
SkyDrive (Windows Live SkyDrive) là dịch vụ lưu trữ trực tuyến có dung lượng miễn phí lớn hàng đầu hiện nay với 25 GB lưu trữ cùng sự ổn định cao, khả năng liên kết với Microsoft Office 2010 lại được cung cấp bởi tập đoàn Microsoft. SkyDrive thật sự là lựa chọn tốt cho những ai cần một dịch vụ sao lưu dữ liệu trực tuyến miễn phí, hiệu quả và tin cậy. Để tiện lợi hơn trong khâu quản lý dữ liệu từ tài khoản SkyDrive của bạn và upload, chia sẻ nhanh hơn. Bài viết xin giới thiệu tiện ích miễn phí SDExplorer, ứng dụng này sẽ giúp việc truy cập vào SkyDrive như một ổ đĩa mạng. Bạn tải SDExplorer tại: http://www.cloudstorageexplorer.com/    , dung lượng 1.6 MB rồi cài đặt vào hệ thống, chương trình tương thích với mọi Windows (cả 32bit và 64bit).  Khi cài đặt xong Windows sẽ xuất hiện thêm thư mục (ổ đĩa) SDExplorer, bạn bấm đôi chuột vào thư mục này rồi nhập tên sử dụng, mật khẩu và bấm  Sign In  để đăng nhập vào tài khoản Windows Live của mình. Việc thao tác với dữ liệu bên trong SDExplorer

MySQL Administrator’s Guide and Language Reference

Image
MySQL is a multithreaded, multi-user, SQL Database Management System (DBMS). Used by millions of web site everyday. It is known for its speed, high reliability, and ease of use. MySQL is rapidly becoming a low-cost alternative to high priced databases. With such a large user base, this book comes on right time. This book is written by the creators of MySQL and edited by one of the most highly respected MySQL authors, the MySQL Administrator's Guide and Language Reference is the official guide to installing MySQL, to setting up and administering MySQL databases, and to storing and retrieving data in these databases. This is the ultimate reference from the MySQL AB itself. This book offers extensive advice on installing and administering MySQL that you always wanted to know. Chapter 1: General Information This chapter starts with an overview of MySQL AB, the company behind the MySQL product. It explains the MySQL core values, overview of MySQL database management system, hist

cURL - Introduction

Image
PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP's ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication.

SQL SERVER – AWE Explained in Simple Words

Image
I was asked question by Jr. DBA that  “What is AWE?”.  For those who do know what is AWE or where is it located, it can be found at SQL Server Level properties. AWE is properly explained in BOL so we will just have our simple explanation.  Address Windowing Extensions API is commonly known as AWE.  AWE is used by SQL Server when it has to support very large amounts of physical memory. AWE feature is only available in SQL Server Enterprise, Standard, and Developer editions with of SQL Server 32 bit version. Microsoft Windows 2000/2003 server supports maximum of 64GB memory. If we have installed SQL Server 32 bit version which can support maximum of 3 GB memory on Windows 2000/2003, we can enable AWE feature to use available physical memory of server to improve performance of SQL Server. In simple words, AWE provides memory management functions which lets windows to allow more than 3GB memory to standard 32 bit application. There are many other modification needs to be done befo

Changing the name of a SQL Server machine

Image
Overview If you change the machine name of a machine with SQL Server installed, you need to do a few things in SQL Server after the machine name change. This article outlines those steps. The article applies to SQL Server 7.0, 2000, 2005 and 2008. Changing the name of a SQL Server machine Note:  If the SQL Server is installed in a cluster, you should reinstall or hire an expert (who probably will tell you to reinstall). Thanks to SQL Server MVP Geoff N. Hiten for catching that. Step 1 (7.0) The SQL Server service will not start after the machine name change. You will get a Windows error message box: "Your SQL Server installation is either corrupt or had been tampered with (unknown package id) Please rerun setup." All you have to do is to follow the advice. Pop in the SQL Server CD and run setup again. Setup will not reinstall anything, it will only make the adjustments needed so you can start SQL Server again. Step 2 (all versions) After starting SQL Server,

[Blackberry] Blackberry 9000 ...

Image
BlackBerry Bold được trang bị kết nối HSDPA 3 băng tần và EDGE 4 băng tần, cho phép người dùng truyền dữ liệu tốc độ cao. Ngoài ra, Bold cũng hỗ trợ Wi-Fi, tai nghe Stereo Bluetooth và cả hệ thống định vị GPS. Điều khiến giới mê BlackBerry ấn tượng nhất là Bold được trang bị chíp xử lý 624-MHz và bộ nhớ trong 1GB. Ngoài ra, mặt lưng của máy được trang trí một lớp da trang trí màu đen sang trọng. Bold có camera tích hợp 2 megapixel, zoom số 5x. và đèn flash tích hợp. Điện thoại mới nhất của RIM cũng có thể quay phim với âm thanh stereo. Pin 1500mAhr có tuổi thọ pin 5 giờ đàm thoại liên tục và 13 ngày chờ. Màn hình của Bold hiển thị hình ảnh sắc nét với độ phân giải 480x320 – gấp đôi so với dòng điện thoại Curve nổi tiếng. Khoe hàng tí

[Blackberry]

Image
Hãy nhấn tổ hợp phím alt+aA+H , các dòng 1/2qwerty thì nhấn phím Alt + A + E + A + C + E  để kiểm tra Vendor ID máy của bạn nhé. 1 RIM 100 T-Mobile US 101 AWS 102 Cingular Wireless 103 Nextel 104 Sprint PCS 105 Verizon 106 Alltel 107 Rogers 109 BWA (Aliant/Sasktel) 111 MM02 DE 113 Telfort 114 T-Mobile DE/AU 115 TIM 116 Hutchison 117 Bouygues 118 SFR 119 Orange_France 120 VODAFONE (UK) 121 Telcel 122 Telstra 123 T-Mobile (UK) 124 Vodafone Germany 125 MM02 UK/IRL/NL 126 Telus 127 SMART 128 Starhub 129 Telefonica 130 Swisscom 131 Cable & Wireless 132 Vodafone (IT) 133 Vodafone (ES) 134 T-Mobile (NL) 135 Cincinnati Bell 136 Telefonica_LAM 137 Vodafone Austria 138 Vodafone Australia 139 Vodafone Ireland 140 Vodafone Sweden 141 CSL 142 Orange UK 143 Vodafone New Zealand 144 SingTel 145 Globe 146 Optus 147 Orange Mobistar 148 Vodafone_HU 149 Bharti 150 KPN 151 TIM_Greece 152 Proximus

Cảnh quê hương!

Image
Lâu rồi mới có dịp chụp ảnh, quê hương mình đẹp quá.... Đường về quê