Hướng dẫn chi tiết cài đặt Windows 8 trên máy ảo


Mới đây Windows 8 đã được Microsoft giới thiệu tại hội nghị BUILD. Được bổ sung thêm nhiều tính năng hấp dẫn và đáng giá cùng với một giao diện hoàn toàn mới nên chắc chắn Windows 8 sẽ gây tò mò cho rất nhiều người. Nếu không muốn phải đợi đến khi phiên bản chính thức ra mắt, bạn hoàn toàn có thể cài Windows 8 trên một máy ảo để tự mình tận hưởng giao diện và những tính năng mới mà Windows 8 mang lại mà không cần lo lắng tới Windows cũ của mình. Dưới đây là hướng dẫn giúp bạn cài đặt Windows 8 trên máy ảo.
Lưu ý: Trước khi tiến hành công việc cài đặt, bạn cần phải đảm bảo chắc chắn là vi xử lý của mình có hỗ trợ công nghệ ảo hóa. Hầu hết các bộ xử lý đa nhân hiện nay đều hỗ trợ ảo hóa nhưng theo mặc định thì công nghệ này không được kích hoạt. Do đó bạn cần phải kích hoạt nó thông qua BIOS.
Bạn hãy tải về VitualBox phiên bản mới nhất 4.1.2 ở liên kết cuối bài sau đó thực hiện công việc cài đặt. Sau khi cài đặt, bạn hãy khởi chạy VitualBox sau đó bấm New, một hộp thoại sẽ xuất hiện và bạn có thể bắt đầu quá trình cài đặt máy ảo.
Hướng dẫn chi tiết cài đặt Windows 8 trên máy ảo, Công nghệ thông tin, Huong dan chi tiet cai Windows 8, cach cai Windows 8 cai Windows 8, cai dat Windows 8, Windows 8,

Sopcast 3.2.8 phần mềm xem bóng đá ngoại hạng anh!!!

SopCast là phần mềm miễn phí, sử dụng giao thức truyền dữ liệu P2P (Peer-to-Peer), cho phép người dùng xem trực tuyến các kênh truyền hình trên toàn thế giới 
SopCast là phần mềm miễn phí, sử dụng giao thức truyền dữ liệu P2P (Peer-to-Peer), cho phép người dùng xem trực tuyến các kênh truyền hình trên toàn thế giới, đặc biệt là trực tiếp các trận đấu bóng đá và các sự kiện thể thao trên toàn thế giới. Với SopCast, bạn có thể theo dõi trực tiếp các trận cầu đỉnh cao của các giải bóng đá hàng đầu châu Âu như giải Ngoại Hạng Anh, SeriaA, Bundesliga… thậm chí là giải bóng đá Champions League, Europa Cup hay thậm chí là WorldCup.

Đầu tiên, download SopCast tại đây.

Lưu ý: trong quá trình cài đặt, bạn phải tắt tất cả các cửa sổ trình duyệt đang được mở.

Sau khi cài đặt, kích hoạt để sử dụng chương trình. Một hộp thoại yêu cầu đăng nhập hiện ra, bạn có thể chọn Login as anoymouse, và đánh dấu vào tùy chọn Auto login on this computer rồi nhấn nút Login để bỏ qua bước đăng nhập ở những lần sử dụng sau.

CK editor in Liferay 6.0

Hi Friends,
In this article I just want to share how to use CK editor in liferay 6.0 .

Follow these 4 simple steps.

Step 1.Add below line on your page
<liferay-ui:input-editor width="80%" />.


Step 2.Create hidden variable to set the value of CK editor like below
<aui:input name="content" type="hidden" />


Step 3.Add javascript init method like this

<aui:script>

function <portlet:namespace />initEditor() {

return "<%= UnicodeFormatter.toString(content) %>";

}

</aui:script>

Implementing Print functionality for a web content

This is almost straight forward implementation just follow few steps.

Step 1. Get the page url u want to print I am thinking I am on the same page

of which I wanted to print the content . Then I can get the url like this

PortletURL url = PortletURLUtil.getCurrent(renderRequest, mimeResponse or renderResponse);

else you can create the url of the page like this

PortletURL printPageURL = renderResponse.createRenderURL();

and set the required parameter related to youur page plus these extra parameters

printPageURL.setWindowState(LiferayWindowState.POP_UP);
printPageURL.setParameter("viewMode", Constants.PRINT);


sample url will look like this :
PortletURL printPageURL = renderResponse.createRenderURL();
printPageURL.setWindowState(LiferayWindowState.POP_UP);
printPageURL.setParameter("struts_action", "ur_stuts_action_path");
printPageURL.setParameter("ur_param_1", "ur_param_value_1");
printPageURL.setParameter("viewMode", Constants.PRINT);
printPageURL.setParameter("print", String.valueOf(true));

Dynamic Query API


Introduction #

Liferay provides several ways to define complex queries used in retrieving database data. Each service Entity typically defines several 'finder' methods which form the basis for the default views used throughout the portal.
There are several reasons/use cases for wanting to move beyond those existing 'finder' queries:
  • the level of complexity allowed by the service generation is not sufficient for your purposes and/or
  • you need queries which implement aggregate SQL operations such as max, min, avg, etc.
  • you want to return composite objects or tuples rather than the mapped object types
  • you want to access the data in way not originally conceived for whatever reason
  • query optimization
  • complex data access, like reporting
This is done mainly through Liferay providing access to Hibernate's Dynamic Query API. Within the earlier 4.3 version, there was a direct dependency on Hibernate and hence it was only usable within the core or ext environments. However, This has been changed in 5.1+ whereby all these classes are now placed in wrappers and can be more easily executed.
Complete documentation from Hibernate can be found here

5.1+ Example#

Custom query in Liferay

Step-1:
------

Create the file default-ext.xml under ext-impl/src/custom-sql (cerate custom-sql folder if it is not there)

<?xml version="1.0"?>

<custom-sql>
<sql file="custom-sql/book.xml" />
</custom-sql>

(You can refer default.xml under portal source)

Step-2:
------

Create the file queries.xml, under the same folder, which will contain all the application specific queries as name / value pairs.

<?xml version="1.0"?>
<custom-sql>
<sql id="ur_id">
<![CDATA[
SELECT
{Book.*}
FROM
Book
WHERE
(Book.title like ?)
]]>
</sql>
</custom-sql>


Step-3:
------

Add your entry in portal-ext.properties

custom.sql.configs=\
custom-sql/default.xml, \
custom-sql/default-ext.xml

Step-4: