Trong lúc soạn thảo văn bản, chúng ta thường xuyên sử dụng những tổ hợp phím tắt thực hiện một tính năng nào đó nhằm tăng độ thao tác. Bài…
Author: Nguyen Vu Ngoc Tung
Deploy a e-commerce website using open sources
Làm thế nào để triển khai một giải pháp thương mại điện tử? Bạn chọn giải pháp nguồn mở hay phát triển ngay từ đầu từ con số không. Nội…
Delete columns in numpy.array
a=array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11], [12, 13, 14, 15]]) delete(a, s_[1:3], axis=0) # remove rows 1 and 2 output: array([[…
Select column from a matrix
from operator import itemgetter nested_list = [[1, 2, 3], [10, 20, 30], [100, 200, 300]] map(itemgetter(1), nested_list) Result: [2, 20, 200] Found it here: http://www.gossamer-threads.com/lists/python/python/770606
Apache could not reliably determine the servers fully qualified domain name using 127.0.1.1 for server name error
Apache is one of commonly used web servers in Linux. At the time modifying apache, you need to restart it for updating the modifications without restarting Linux. Sometimes, we may face with…
Should we accept carelessly other applications connecting to your facebook?
Thấy BS Hồ Hải khuyến cáo việc có người gởi message để xem video nói xấu về bác ấy nhưng yêu cầu click vào một link khác mới có thể…
How to see Ubuntu distribution version
Tình cờ một ai hỏi bạn câu hỏi kiểu: Ubuntu bạn đang dùng là phiên bản mấy? Phiên bản 32 hay 64 bit? Làm thế nào để xem thông tin…
How to implement an array with string index
I had shown you how to implement an array with string based index in Python programming language in the previous post. In this post, I will explain the same problem…
