Thursday, December 27, 2012

Danh sách đề tài làm báo cáo môn học Parallel Processing

Chào lớp 08N12,
     
       Mình mới đi công tác về nên bây giờ mới upload được danh sách bài tập làm báo cáo.

       Mọi người download danh sách đề tài về, tiến hành chia nhóm và làm báo cáo nhé. (chú ý các yêu cầu bên dưới).

      download danh sach de tai parallel processing
 
      Chúc mọi người làm tốt. Nhớ nộp đúng hạn.


Tuesday, October 23, 2012

Wednesday, October 10, 2012

Batch 97A

Gửi đến lớp Batch 97A,

--------------------------------------------------------------------------------
       Gửi mọi người mã nguồn của bài thực hành về Thread
      [10-10-2012] Bussiness Thread
      [10-10-2012] Dining Philosopher
      [10-10-2012] Search Primes

---------------------------------------------------------------------------------

Tuesday, September 18, 2012

C6SE - ASP.NET



 [01-11-2012] Project tham khao - Ebanking
 [01-11-2012] Tai lieu huong dan thuc hanh
 [01-11-2012] Huong dan thuc hanh [Source code]
 [01-11-2012] Cac slide tham khao va on tap.
 [01-11-2012] ASP.NET Mobile Templates

************************************************************


 [25-10-2012] Tai lieu PDF ve AJAX
 [25-10-2012] Resource de thuc hanh ve AJAX control
 [25-10-2012] Resource de thuc hanh ve International

************************************************************

 [16-10-2012] File pdf de thuc hanh chuong 09
 [16-10-2012] Cac resource cho thuc hanh chuong 09


************************************************************
 [13-10-2012] File Pdf ve ly thuet va thuc hanh cua chuong 8 - Handling Error
 [13-10-2012] Cac resource cho thuc hanh va loi giai chuong 8

************************************************************ 

[09-10-2012] File pdf huong dan thuc hanh chuong 6 - DAL
[09-10-2012] File pdf huong dan thuc hanh chuong 7 -LINQ
[09-10-2012] Cac resources can thiet de thuc hanh chuong 6
[09-10-2012] Cac resource can thiet de thuc hanh chuong 7

************************************************************

[04-10-2012] file Database bang Access de thuc hien viec ket noi co so du lieu
[04-10-2012] Website ma nguon Bookstore de moi nguoi tham khao.

************************************************************

[02-10-2012] Link Tai ve file PDF de thuc hanh chuong 5 - Client side and server side statement management
[02-10-2012] Link tai ve tai nguyen can thiet de thuc hanh chuong 5

************************************************************
[27-09-2012] Link tai ve tai lieu de thuc hanh Navigation control

[27-09-2012] link tai ve website cho thuc hanh Navigation Control

************************************************************

[25-09-2012] Link tai ve tai lieu de thuc hanh Theme va Master page

[25-09-2012] Link tai ve file huong dan thuc hanh chapter 3

************************************************************

Link tai ve tai lieu can thiet de lam thuc hanh bai 3 cua ASP.NET

Link tai ve solution cho bai thuc hanh 2

Moi nguoi nho lam bai tap ve Register Form nhe!

Regards,

Quang Dong

Friday, September 14, 2012

Lớp C6SE - ASP.NET


Lớp C6SE
Mình gửi tài liệu liên quan đến buổi thực hành tối nay. Nội dung folder như sau:
1. File PDF: 
      - Hướng dẫn các bước thực hành. 
2. Các folder exercise 1,2,3 chứa các tài nguyên cần thiết để làm các bài tập.

             Mọi người cố gắng thực hành các bài này để làm quen với các công cụ trong ASP.NET
 

Monday, July 4, 2011

Using HttpURLConnection to send request data to servlet server

An code snippet for writing request data from servlet server:
-------------------------------------------------------------------------------------------
URL news = new URL("your URL");
news = new URL("http://140.114.85.85:8080/GetXMLFile/GetXML?key1="+IdList);
String sendIdList = URLEncoder.encode(IdList);
 //for sending data to servlet
 HttpURLConnection connection = (HttpURLConnection) news.openConnection();
  // just want to do an HTTP GET here
connection.setRequestMethod("POST");
connection.setDoOutput(true);
connection.setRequestProperty("key1",sendIdList);
// give it 15 seconds to respond
connection.setReadTimeout(15*1000);
connection.connect();    
            
-------------------------------------------------------------------------------------------

Then, to receive the response data from servlet server:
-------------------------------------------------------------------------------------------

//for reading the data response
BufferedReader in = new BufferedReader(new InputStreamReader(news.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
    {
       response.getWriter().write(inputLine);
    }
in.close();
isDone = true; 

-------------------------------------------------------------------------------------------

on the servlet server side, using the request.getParameter("key") inside the methed doPost.

Thursday, April 14, 2011

HyperTerminal replacement in Ubuntu - Minicom

setup minicom (for serial port)
  1. By default, minicom is not installed in Ubuntu, so you need to install it first.
    sudo apt-get install minicom
  2. Find the name of your Serial Port
    dmesg | grep tty
    In the output look for something like "tty". The output in my case is like this:
    $ dmesg | grep tty
    [ 17.341823] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [ 17.342454] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    This means the device correspond to my serial port is ttyS0.
  3. Configure minicom
    sudo minicom -s
    • Use the keyboard keys to select the menu item Serial port setup.
    • Enter A to change the Serial Device to /dev/ttyS0, and then enter E to change the line speed to 9600 8N1
    • Using arrow keys, select Save setup as dfl
  4. Select Exit from Minicom.
  5. Next time, from the terminal you only need to run sudo minicom in order to access your Cisco box. 
(http://strdoc.com/hyperterminal-replacement-ubuntu-minicom)
Link to grabserial:   http://elinux.org/Grabserial#Download_and_Installation