Archive

Posts Tagged ‘programming’

Tổng hợp ebook ngôn ngữ lập trình

Nhân tiện việc sắp xếp lại toàn bộ tài liệu, mình đã upload một phần trong kho ebook về lập trình cho các bạn có nhu cầu, thiết nghĩ cũng là một cách backup trên cloud phòng khi cần dùng đến.

Dưới đây là danh sách các loại tài liệu mà mình đã upload (sẽ còn bổ sung trong thời gian tới): Xem chi tiết…

How to install Python 2.7 and 3.3 on CentOS 6

CentOS 6.2 and 6.3 ships with Python 2.6.6. You can manually install Python 2.7 and Python 3.3 but you must be careful to leave the system version alone. Several critical utilities, for example yum, depend on Python 2.6.6 and if you replace it bad things will happen.

Below are the steps necessary to install Python 2.7.3 and Python 3.3.0 without touching the system version of Python. The procedure is exactly the same for both versions except for the filenames. People have reported that this also works for CentOS 5.8 but I haven’t tested that. Execute all the commands below as root either by logging in as root or by using sudo.

Install development tools

In order to compile Python you must first install the development tools and a few extra libs. The extra libs are not strictly needed to compile Python but without them your new Python interpreter will be quite useless.

# yum groupinstall "Development tools"
# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel

Download and install Python

It is critical that you use make altinstall below. If you use make install you will end up with two different versions of Python in the filesystem both named python. This can lead to problems that are very hard to diagnose.

Download and install Python 2.7.3

# wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
# tar xf Python-2.7.3.tar.bz2
# cd Python-2.7.3
# ./configure --prefix=/usr/local
# make && make altinstall Xem chi tiết...

[Book] O’Reilly – jQuery Mobile

jQuery MobileBook Description

Native apps have distinct advantages, but the future belongs to mobile web apps that function on a broad range of smartphones and tablets. Get started with  Mobile, the touch-optimized framework for creating apps that look and behave consistently across many devices. This concise book provides , and  code examples, screen shots, and step-by-step guidance to help you build a complete working app with  Mobile.

If you’re already familiar with the jQuery  library, you can use your existing skills to build cross-platform mobile web apps right now. This book shows you how.

  • Get a high-level overview of jQuery Mobile: how it works and how to use it
  • Learn about paging and navigation, including dialogs,  content, and history
  • Employ jQuery Mobile’s extensive event  to create rich interactions
  • Work with toolbars, buttons, lists, forms, and other UI elements
  • Create a variety of visual designs with jQuery Mobile’s sophisticated theming 
  • Use the jQuery Mobile API for finer control over elements and interactions
  • Put everything together and build a mobile app from start to finish

Bài tập C từ A đến Z

Chuyên mục:Lập trình Thẻ:,
%d bloggers like this: