Thứ Tư, 19 tháng 8, 2015




Dưới đây là một số trang để tìm tài liệu it hay mà mình biết, ai còn biết trang nào tốt thì comment nha :)

1. https://it-ebooks.info
2. http://www.ebooksfeed.com/category/it-ebooks/
3. ebook3000.com
4. http://www.ebooks-space.com/
5.http://www.freebookspot.es/
6. http://it-ebooks.org/

Trên đây là một số trang mà mình thấy hay.
Tham khảo thêm: link

Chủ Nhật, 9 tháng 8, 2015



IDM là công cụ download hàng đầu trên windows, nó cho phép chúng ta dùng thử 30 days
Nếu bạn là một tín đồ của nó thì sau 30 days có thể bạn sẽ tìm đến các phương pháp crack,
tuy vậy các chương trình crack lại thường đi kèm với nhiều điều không hay:
Thứ nhất crack đương nhiên vi phạm tác quyền,
Thứ hai crack có thể ảnh hưởng đến máy tính của bạn bởi các chương trình crack ẩn chứa vô số hiểm họa,
Thứ ba crack thì khi update phải crack lại rất bất tiện
Lợi ích của việc dùng thử khắc phục được tất cả các vấn đề ở trên.
Công cụ IDM Trial Reset của mình có thể giúp bạn, nó được viết bằng Batch file, nhỏ nhẹ, tiện dụng
Link download

I. Giới Thiệu về vim
II. Cài đặt vim
III. Sử dụng vim cơ bản
IV. Cài đặt các plugin cần thiết và sử dụng nó.


I. Giới Thiệu về Vim:


Vim là một trình editor được sử dụng rộng rãi ở các hệ điều hành nhân Unix như Linux hay mac. Nó được viết bởi Bram Moolennaar dựa trên các mã nguồn mở và được phát hành lần đầu vào năm 1991. Nó được thiết kế để sử dụng có command-line để viết code, và gần như người viết không còn sử dụng đến chuột máy tính(Hãy quên nó đi là vừa). Vim hổ trọ cho rất nhiều ngôn ngữ lập trình phổ biến.

II. Cài đặt vim:


Sử dụng Terminal trên ubuntu: sudo apt-get install vim

III. Sử dụng vim

Sau khi cài đặt ta bật terminal trong ubuntu:

Thử một file text bất kì nơi thư mục hiện tại

































- Ở đây vim đang ở chế độ VISUAL, tức là chế độ dùng để thao tác với file hiện tại, ví dụ như lưu tập tin, thoát tập tin, save as...
- Để có thể nhập liệu được vào file ta cần chọn chế độ INSERT , nhấn phím i (hoặc INSERT) để vào. Tại đây ta có thể thỏa mái viết vào file text.txt. Sau khi viết xong muốn lưu lại ta cần trở về chế độ VISUAL, nhấn ESC để trở về sau đó gõ :wq . File này sẽ tự động lưu vào và thoát ra ngoài terminal chính.

- Để sử dụng thành thạo vim bạn có thể gõ vimtutor ở terminal để làm theo hướng dẫn
- Sau đây mình hướng dẫn một số lệnh co bản ở chế độ VISUAL để thao tác.
Di chuyển con trỏ:
+ h : sang trái
+ j: đi xuống
+ k: đi lên
+ l: sang phải
Xóa:
+ x: để xóa từng chữ
+ dd: để xóa 1 dòng
+ dw: xóa một từ
+d2w: xóa 2 từ
Sao chép:
+ yy: để copy 1 dòng
+p: để paste dòng đó sau dòng hiện tại
+P: để paste dòng đó trước dòng hiện tại
- Lện thoát:
+:wq: Write an quit, lưu file vừa và thoát ra ngoài
+:q!: Thoát ra nhưng không có cảnh báo
+:q : Thoát ra nhưng sẽ có cảnh báo
+:w tenfilecanluu , dùng để đặt tên file cần lưu


IV. Cài đặt các plugin cần thiết và sử dụng nó.


-Để quản lý và cài đặt dễ dàng các plugin thì ta cần cài đặt một cái plugin quản lý. Ở đây mình xin giới thiều Pathogen, ngoài ra cũng có các plugin tương tự khác như Vundle.
- Mục đích của các plugin giúp lập trình nhanh- tiện lợi - vui vẻ hơn
- Để cài đặt plugin Pathogen
+ Sử dụng command-line :
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ 
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
+ Vào
vimrc để chỉnh sử lệnh bổ sung: vi ~/.vimrc
vimrc là 1 file chứa các lệnh nhằm cài đặt cơ bản lên vim ví dụ như để hiển thị số dòng của file trong vim ta chỉ cần vào file vimrc và thêm dòng: set number
Tại đây để thực thi được pathogen ta thêm dòng này vào:

execute pathogen#infect()
syntax on
filetype plugin indent on


// dòng 1 để thêm pathogen
//dòng 2 để hiển thị phân biệt cú pháp bằng các màu khác nhau như giữa các tên hàm và lệnh
// chế độ bật để có thể thêm các plugin(Đoán đại nghĩa =D)

Sau khi cài xong bạn có thể gõ cd ~/.vim sau đó gõ ls sẽ hiển thị thư mục autoload ở thư mục này sẽ chứa file pathogen.vim → đây chính là mã nguồn của nó.
Bạn có thể vào đây để biết rõ hơn về plugin này: https://github.com/tpope/vim-pathogen


- Cài các plugin tiếp theo thông qua github.
Lệnh:
cd ~/.vim/
git init

git submodule add https://github.com/scrooloose/nerdtree.git bundle/nerdtree
git submodule add https://github.com/fs111/pydoc.vim.git bundle/pydoc
git submodule add https://github.com/ervandew/supertab.git bundle/supertab
git submodule add https://github.com/vim-scripts/taglist.vim.git bundle/taglist
git submodule add https://github.com/vim-scripts/pythoncomplete.git bundle/pythoncomplete
git submodule add https://github.com/fholgado/minibufexpl.vim.git bundle/minibufexpl
git submodule add https://github.com/alfredodeza/pytest.vim.git bundle/pytest
git submodule add https://github.com/nvie/vim-flake8.git bundle/flake8

git submodule init
git submodule update
git submodule foreach git submodule init
git submodule foreach git submodule update


Bạn có thể vào đây để xem hướng dẫn sử dụng git trên ubuntu: https://www.howtoforge.com/tutorial/install-git-and-github-on-ubuntu-14.04/

Để biết rõ thêm các plugin trên bạn có thể vào các link github trên để tìm hiểu rõ thêm về các plugin. Ở đây mình sẽ nói sơ một số plugin trên.

Chia cửa số màn hình terminal.

Dùng nhiều cửa sổ màn hình để so sánh code với nhau. Trong vim để làm được điều này, thì tại chế độ VISUAL.

- Chia theo chiều dọc: vsplit

- Chia theo chiều ngang: split

Để di chuyển giữa các cửa sổ thì dùng tổ hơp phím Ctrl - w + phím di chuyển. Để tiện thì ta thêm và ~/.vimrc những dòng này

map <C-j> <C-w>j

map <C-k> <C-w>k

map <C-l> <C-w>l

map <C-h> <C-w>h



Sau khi thêm dòng này ta chỉ cần dùng Ctrl + phím di chuyển để đến với các màn hình khác nhau

Các plugin hỗ trợ phần nhiều cho lập trình Python.

=> Trên đây là những tip mình viết về vim cho những bạn muốn tìm hiểu, mình cũng chỉ bắt đầu sài vim hơn 2 tháng nên mong các bạn giúp đỡ và góp ý thêm. Thank you for reading. Happy day.

Thứ Bảy, 8 tháng 8, 2015


Nếu bạn không muốn động chạm tới crack, không muốn vi phạm tác quyền thì những cách sau đây có thể giúp bạn.

Normally there are two types of restrictions for shareware. The first one is the demo version with limited or crippled functionality that doesn’t have an expiry date and another type is the fully functional trial version that expires after a certain period of time. The amount of days given to try are normally around 30 days but it could be shorter or longer depending on the author of the software. In the earlier days, you can easily run the expired software by simply backdating the date on your Windows operating system but some software has got smarter to detect this and instantly ends the trial period.
Software Expired
You might think to yourself, how does the shareware knows how many days left in the trial period? Most of the time these commercial and freeware protectors drop some information somewhere deep inside your computer after installation so they know when it was installed and then comparing with the official current time pulled from the Internet. It is possible to find the location that records that information by using file or registry monitoring software including third party uninstaller software such as Revo Uninstaller but it can be tedious and frustrating work.
Here’s a few simpler ways on how you can extend trial periods of software using various different methods.
1. NirSoft RunAsDate
As the name might suggest, RunAsDate performs a trick on the trial software that has expired by injecting the time and date you specify into its process. This has a similar effect to manually setting your system clock to a different time and date, but in this instance your real clock remains unchanged. RunAsDate can also have multiple instances of its program running at once, and each one can have a separate date, all different to the real one.
As a simple example, if you’re using the popular archiver WinZip and its 30 day trial period has expired, it won’t let you use the program anymore, and you either have to purchase a license or uninstall it. Using RunAsDate, you can set the date back to be within the trial period making WinZip usable again. The image below is WinZip after the 30 day trial has passed, note the “Use Evaluation Version” is now grayed out.
WinZip trial has expired
If you now load up RunAsDate, all you have to do is browse for the application to use the program on, in this case “C:\Program Files\WinZip\WINZIP32.EXE”, then choose a date and time from the pop-out calender to before the trial period expired. Now simply press the Run button.
RunAsDate
RunAsDate has a few other options such as allow arguments to be applied to the executable, and also a useful option to create a desktop shortcut which will automatically launch the application with the configuration options you’ve supplied in the window. The Immediate Mode check box can be used to inject the date/time earlier in the process, but is known to cause crashes on some programs, especially those using .NET.
trial period extended
If you run WinZip after entering the right date and time numbers and press Run or launch it via a shortcut, you’ll notice it no longer says expired and the Evaluation button is clickable again. Although time and date altering isn’t going to work on all trial software that has an expiry, it is a very quick and easy thing to try out first before turning to more advanced methods.
Download NirSoft RunAsDate

2. Trial-Reset 4.0
This is the final version released in 2010 by “The Boss”, and is able to scan and remove 45 types of commercial and freeware protections including some software that uses custom protectors such as Reflexive, Namo, ABBYY, WinRAR, WinZip and etc. In fact if you know the registry location of where the trial information are recorded for a shareware program, you can create your own text file and save it in the Lists folder.
Trial-Reset
Do note that Trial-Reset does not modify the shareware in anyway. It simply cleans the registry keys generated by the protectors which are normally not removed even after uninstalling the software. This is how a lot of shareware knows you have no trial period left, even if you uninstall and re-install the program again. Trial-Reset is very easy to use. To start scanning, simply click on the All located at the bottom left. The scanning will take a while since some of the methods require scanning the hard drive. The right pane will show all the detected keys that are used by any shareware titles.
You can backup, view or delete the keys, add to protect or auto cleaning list from the right click context menu. If you have a lot of shareware installed, there will be quite a number of results and you will need to do a trial and error to find the key that is associated with the software that you want to reset the trial period.
Download Trial-Reset 4.0 including Source Code
3. Time Stopper
Time Stopper is a program that behaves in a similar way to RunAsDate and fools the expired application into thinking it’s still within the trial period. This tool does differ slightly though because you don’t have the option to directly run the expired program from Time Stopper, but instead it is designed specifically to run from a desktop shortcut with the new time and date injected when you run the program from the shortcut.
Time Stopper
Simply run Time Stopper and locate the trial software executable with the Browse button. Choose the new time and date from the pop-out calender, and then give the shortcut icon a name and finish by clicking the create button. Like Nirsoft RunAsDate, this tool will work on some shareware programs and not others but is easy enough to try.
Download Time Stopper

4. Using a Software Installation Monitor
This method may not seem that obvious at first, but actually can work quite well in many circumstances. The theory is simple in that you use a standard piece of installation monitor software which watches the files and registry entries that a program creates when it installs, and then can completely uninstall the software including everything that doesn’t get removed by the standard uninstaller. This often has the effect of also removing registry entries shareware might leave behind to watch its trial expiry status.
As an example, this can be achieved for the Internet Download Manager shareware program when its 30 day trial expires. We happen to know that the trial status of IDM is stored in the registry key “HKEY_CURRENT_USER\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}”, but IDM doesn’t remove this key when you uninstall through its own uninstaller and the time/date trick doesn’t work. Therefore once the trial period expires, the information remains on your computer and it will stay expired even if you re-install the program again in future.
Complete Uninstall
To demonstrate, we installed Comodo Programs Manager which is one of the better installation monitor’s around, and let it automatically monitor the install of IDM. Then once the trial period for IDM has expired, we simply select it for a “Complete Uninstall” in Comodo Programs Manager. After the standard uninstaller has finished, Programs Manager will show the extra files and registry entries that have been left behind. Expand the Registry tree and looking at the keys, we can see the IDM key which controls the trial period status is listed for removal. Continue the removal and if you re-install Internet Download Manager, its trial status will be reset to 30 days.
registry key left intact after uninstallation
This method is obviously not foolproof but if you can install the trial software for the first time after installing the installation monitor, and the trial information is kept in the registry or a data file, one of these programs has a chance of picking it up and removing it which will reset the trial period.

5. Registry Trash Keys Finder
This might be a better solution these days because it is up-to-date. Unlike the Trial-Reset program which was last updated more than 2 years ago, it may not work on shareware that uses a newer version protector. Although Registry Trash Keys Finder is free, there are some limitations where some of the protection keys are not shown. The full version of Registry Trash Keys Finder is only available after donating to the author of this tool and it removes the limit.
Registry Trash Keys Finder Free
As you can see at the screenshot above, there are 3 registry keys that shows {FREEWARE-VERSION-CAN’T-SHOW-THIS-KEY} for the Armadillo protector which cannot be seen nor deleted. We wanted to test the full version so badly that we donated to get it. From the “what’s new” area, we read that they’ve recently added a search routine for the latest Alawar.com games keys so we decided to put Alawar games to the test.
We downloaded a game from Alawar called Sticky Linky and played the whole free 60 minutes. Once the 60 minutes free play time is up, it shows 0 minutes game time left and we can no longer play the game until we purchase the game.
0 minutes game time left
We ran Registry Trash Keys Finder full version and Alawar came up in the search results.
Registry Trash Keys Finder Full version
The Alawar key is deleted and running Sticky Linky now gives us another 60 minutes of free game time!
Alawar Play for Free
The Registry Trash Keys Finder full version has successfully extended the trial period of a game and it should also work for other software too. Other than just resetting the trial period, it also acts as a registry cleaner/optimizer where it detects obsolete registry keys of uninstall/app paths/SharedDLLs/Installer/MUICache/Help, unused file extensions, empty CLSID and TypeLib key, invalid name of CLSID and many more.
Download Registry Trash Keys Finder

Nguồn bài viết: 
https://www.raymond.cc/blog/how-to-extend-the-trial-period-of-a-software/2/
Tác giả: RayMond

Chủ Nhật, 2 tháng 8, 2015




Sau đây mình xin chia sẻ với các bạn 2 trang web dùng để tra cứu ip và dns,... mà mình rất tâm đắc
đó là trang http://whatismyipaddress.com/


và trang https://whois.domaintools.com .

 2 trang này có các công cụ tra cứu cực kỳ chất lượng bao gồm nhiều thứ, các bạn có thể tự khám phá. Mình cũng từng sử dụng nhiều trang khác như checkip.org hay whatismyip.com ,,,.. nói chung là rất nhiều trên mạng nhưng chất lượng và uy tín thì không bằng 2 trang này.
Bạn nào có trang khác chất lượng thì bình luận bên dưới nhé. Cám ơn.

Thứ Bảy, 1 tháng 8, 2015

Genymotion là một công cụ rất tốt để chạy các ứng dụng android, tuy vậy khi bạn tải về một máy ảo bằng geny thì hay gặp tình trạng download rất chậm, vì vậy hôm nay mình sẽ hướng dẫn các bạn một cách để tải về các máy ảo này bằng idm, rất nhanh :)
Mời các bạn xem video ở dưới