Hiển thị các bài đăng có nhãn Software. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Software. Hiển thị tất cả bài đăng

Thứ Sáu, 25 tháng 9, 2015



Trong windows, việc tạo shortcut cho chương trình là vô cùng đơn giản, tuy nhiên trong ubuntu nó cũng chẳng khó khăn hơn là bao. Gồm 2 bước sau:

Bước 1: Bạn dùng trình soạn thảo văn bản gedit tạo một file mang tên shortcutDemo.desktop rồi copy đoạn code sau vào và lưu lại ở thư mục desktop:

[Desktop Entry]
Encoding=UTF-8
Name=Terminal
Comment=Use the command line
Exec=gnome-terminal
Icon=utilities-terminal
Categories=Application;
Version=1.0
Type=Application
Terminal=0

Giải thích một chút nhé
Mục Name là tên sẽ được hiển thị của shortcut, như ở ví dụ này là Terminal
Mục Exec là đường dẫn thực thi chương trình, tức là cái đường dẫn mà khi thực hiện nó trong terminal thì chương trình sẽ được khởi chạy.
Mục Icon là đường dẫn tới file icon của chương trình

Bước 2: Bạn cần cấp quyền thực thi cho file shortcut vừa tạo ra bằng lệnh sau:
sudo chmod +x ~/Desktop/shortcutDemo.desktop

Okie, đã hoàn thành, bây giờ bạn thấy trên desktop đã xuất hiện một shortcut tên là Terminal, bạn nháy đúp vào nó sẽ khởi chạy của sổ terminal :)), đó là thành quả.
Trường hợp bạn muốn hiển thị shortcut khi tìm kiếm ở thanh dash, bạn chạy thêm đoạn lệnh sau:
sudo cp ~/Desktop/shortcutDemo.desktop /usr/share/applications

Trên đây là các bước để thực hiện, bạn có thể thay thế các thông số ở đoạn code bước 1 sao cho phù hợp với từng chương trình.

Cách 2: cách này dành cho các bạn thích đồ họa ^^
Bước 1: Bạn chạy đoạn lệnh sau trong terminal để cài gnome panel:
sudo apt-get install --no-install-recommends gnome-panel

Bước 2: Bạn chạy tiếp đoạn lệnh sau để tạo shortcut:
sudo gnome-desktop-item-edit ~/Desktop --create-new

Nó sẽ hiển thị một hộp thoại cho bạn điền các thông số cần thiết rất dễ dàng.
Chúc các bạn thành công!


Sau khi cài đặt XAMPP trên ubuntu, bạn có thể tạo một shortcut cho nó để ta có thể chạy nó từ desktop hoặc thanh dash.  Cách làm như sau:

Bước 1: Bạn chạy lệnh
sudo apt-get install gksu

Bước 2: Bạn dùng một trình editor bất kỳ như gedit chẳng hạn tạo một file mang tên XAMPP.desktop ở desktop rồi copy đoạn code sau và lưu lại:

[Desktop Entry]
Encoding=UTF-8
Name=Xampp Manager
Comment=Manage XAMPP
Exec=gksudo /opt/lampp/manager-linux.run
Icon=/opt/lampp/htdocs/favicon.ico
Categories=Application;Development;Web
Version=1.0
Type=Application
Terminal=0

Bước 3: Bạn nhập các lệnh sau:

cd Desktop //lenh nay truy cap den thu muc desktop
sudo chmod +x XAMPP.desktop //lenh nay nham cap quyen thuc thi cho shortcut vua tao
sudo cp XAMPP.desktop /usr/share/applications  //lenh nay nham copy shortcut vua tao vao thu muc applications nham de hien thi trong dask
 
Sau khi hoàn thành 3 bước trên, bạn chạy thử bằng cách nháy đúp vào shortcut trên desktop hoặc vào dash tìm kiếm với từ xampp và chạy, chúc các bạn thành công!

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

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

Thứ Tư, 24 tháng 6, 2015



Phiên bản sdk mới nhất đến hiện tại là Revision 24.3.3 nhưng trong các sách hay các tutorial dạy android thì thường dùng các phiên bản cũ hơn. Các phiên bản này có sự khác nhau khiến cho người học cảm thấy khó khăn khi tiếp cận, vì vậy mình sẽ hướng dẫn các bạn cách tải bản cũ của adroid sdk tool.
Đầu tiên bạn vào trang này https://developer.android.com/tools/sdk/tools-notes.html sau đó các bạn nhìn mục Revisions nó sẽ hiện các phiên bản, ví dụ như
SDK Tools, Revision 24.3.3 (June 2015)
SDK Tools, Revision 24.3.2 (June 2015)
SDK Tools, Revision 24.3.1 (June 2015)

Sau đó các bạn thay đổi link sau
http://dl-ssl.google.com/android/repository/tools_rXXX-windows.zip
http://dl-ssl.google.com/android/repository/tools_rXXX-linux.zip
http://dl-ssl.google.com/android/repository/tools_rXXX-macosx.zip

XXX các bạn thay bằng phiên bản cần tải, ví dụ mình cần tải SDK Tools, Revision 24.3.1 (June 2015) cho windows thì mình sẽ sửa link thành
http://dl-ssl.google.com/android/repository/tools_r24.3.1-windows.zip

Chúc thành công.
Ngoài ra các bạn có thể tìm thấy các bản adt bundle tại đây http://downloads.puresoftware.org/files/android/adt-bundle/

Tham khảo thêm:
http://stackoverflow.com/questions/23456946/problems-with-new-adt-bundle
https://code.google.com/p/android/issues/detail?id=73102
http://stackoverflow.com/questions/27449206/what-is-the-final-version-of-the-adt-bundle
http://web.archive.org/web/20131129095326/http://developer.android.com/sdk/index.html#download

Liên quan: http://stackoverflow.com/questions/22755432/new-android-application-project-cant-create-blank-activity


Thứ Năm, 18 tháng 6, 2015

Cài đặt Windows là một trong kỹ năng không thể thiếu với người dùng máy tính, nhưng không phải ai cũng biết cách cài windows từ ổ cứng mà không cần sử dụng USB hay đĩa CD nhưng hiệu quả tương tự như khi dùng đĩa CD và USB: xóa hoàn toàn windows cũ, format và phân chia ổ đĩa dễ dàng. Nếu các bạn có sắn USB thì cũng có thể thực hiện theo hướng dẫn cài windows 7 bằng USB hoặc hướng dẫn cài windows 8.1 bằng USB.
Các phần trong bài viết:
  1. Ưu điểm khi cài Windows từ ổ cứng
  2. Điều kiện để có thể cài đặt
  3. Chuẩn bị trước khi cài đặt
  4. Hướng dẫn cài đặt:
    + Bước 1: Giải nén file cài đặt
    + Bước 2: Khởi động Command Prompt trông chế độ Safe mode
    + Bước 3: Gõ lệnh CMD chạy file cài đặt Windows
  5. Lỗi khi cài win từ ổ cứng

Ưu điểm khi cài Windows từ ổ cứng

  • Không tốn tiền mua USB hay CD. Mình thích nhất ưu điểm này :))
  • Tốc độ cài nhanh gấp 4 lầ CD và nhanh hơn USB do file được lưu trên máy tính thời gian sao chép file nhanh hơn từ USB hay CD vào máy tính.
  • Không cần dùng USB, CD nên cực kỳ tiện lợi, dù máy tính bạn không có ổ cắm CD hay USB cũng thực hiện được.

Điều kiện để có thể cài đặt

  • Hệ điều hành trên máy tính là Windows ( XP, 7, 8 ) và phải vẫn chạy bình thường. Hệ điều hành cài mới phải có cùng số bit với hệ điều hành đang sử dụng. Nghĩa là nếu bạn đang dùng windows 32 bít (x86) thì bạn phải cài hệ điều hành mới là 32 bit (x86) , hoặc nếu bạn đang dùng Windows 64 bit (x64) thì bạn phải cài hệ điều hành mới là windows 64 bit (x64).
  • Nếu không vào được hệ điều hành hoặc bạn muốn cài hệ điều hành mới có số bit khác hệ điều hành đang sử dụng thì bạn có thể cài đặt windows bằng USB cho windows 7 hoặc windows 8.1 mới.
  • Máy tính của bạn có ít nhất 2 ổ đĩa bao gồm cả ổ đĩa chứa HĐH đang sử dụng.

Chuẩn bị trước khi cài đặt

  • Tải file .ISO cài Windows 7 hoặc file .ISO cài Windows 8.1 (bạn có thể chọn một bản Windows 7, 8.1 32 bit hoặc 64 bit bất kỳ). Nếu Ram máy tính bạn từ 4GB trở lên thì bạn nên cài bản 64bit (x64), thấp hơn thì nên cài bản 32 bit (x86).
  • Cài sẵn phần mềm giải nén Winrar hoặc 7-zip. Nếu chưa có các bạn có thể download 7-Zip về cài đặt cho máy tính.

Hướng dẫn cài đặt Windows 7, 8 từ ổ cứng bằng Video

Hướng dẫn cài đặt Windows 7, 8 từ ổ cứng bằng hình ảnh

Bước 1: Giải nén file cài đặt

Bước 1.1: Di chuyển file .ISO cài Windows ra thư mục gốc của 1 ổ đĩa (không phải ổ C) trên máy tính.
Di chuyển file cài windows ra thư mục gốc
Bước 1.2: Giải nén file .ISO ra 1 thư mục cùng tên với file cài đặt.
  • Nếu máy tính bạn cài Winrar các bận nhấp chuột phải vào file .ISO chọn Extract to “X17-24280″
  • Nếu máy tính bạn cài 7-Zip các bận nhấp chuột phải vào file .ISO chọn 7-Zip => Extract to “X17-24280″
Giải nén file cài windows
Bước 1.3: Đổi tên thư mục vừa giải nén thành “windows” (hoặc tên khác nhưng các bạn phải nhớ)
Đổi tên thư mục


Bước 1.4: Mở thư mục vừa đổi tên kiểm trang nếu số lượng file và tên file tương đối giống với hình dưới thì các bạn đã giản nén thành công, nếu không các bạn kiểm tra xem file download về có lỗi không rồi giải nén lại. Sau đó ghi nhớ tên ổ đĩa chưa thư mục và tên thư mục và giải nén. Trong trường hợp máy tính của mình là ổ đĩa F thư mục Windows
Ghi nhớ tên đường dẫn

Bước 2: Khởi động Command Prompt trông chế độ Safe mode

Ở bước này thao tác trên Windows 7 và 8 sẽ khác nhau.

Cài windows mới từ máy đang chạy HĐH windows 7

– Các bạn khởi động lại máy tính và ấn nút F8 liên tục tới khi xuất hiện màn hình đen như hình bên dưới. Sau đó các bạn dùng nút mũi tên nên xuống và nút Enter để chọn Repair Your Computer.
Repair Your Computer
– Màn hình System Recovery Options hiển thị kêu các bạn chọn loại bàn phím dể thực hiện các bước tiếp theo. Các bạn để mặc định là US rồi nhấp vào Next
Chọn loại bàn phím
– Tiếp theo System Recovery Options lại yêu cầu bạn nhập mật khẩu cho máy tính với User mặc định của mình là BlogTinHoc, nếu máy bạn có mật khẩu thì các bạn nhập vào, nếu không có thì không cần nhập và chọn OK
Đăng nhập
– Màn hình System Recovery Options tiếp theo các bạn chọn Command Prompt
Command Prompt
– Sau đó bạn thu được cửa sổ Command Prompt. Giờ bạn chuyển sang bước 3.
CMD

Cài windows mới từ máy đang chạy HĐH windows 8

Từ màn hình Desktop các bạn di chuyển chuột góc trên phải màn hình để hiển thị thanh Menu, sau đó bạn kéo chuột xuống dưới chọn Settings trên Menu.
Chọn Power
Tiếp đến các bạn nhấp chuột trái vào Power tiếp đó các bạn giữ nút Shift và nhấp chuột trái vài Restart
Di chuột lên góc trên phải chọn SettingsSau đó màn hình Please wait sẽ load khoảng 30 giây và mở lên tùy chọn Choose an option. Tại đây các bạn chọn Troubleshot -> Advanced Options -> Command Prompt.
Troubleshot
Advanced Options
Command PromptSau đó máy tính sẽ khởi động lại và màn hình Command Prompt hiển thị lên, các bạn chọn tên Account máy tính.
Chọn User
Sau đó điền mật khậu khẩu mà chọn continue
Nhập Pass
Cuối cùng màn hình Command Prompt hiển thị lên.
Khởi động Command

Bước 3: Gõ lệnh CMD chạy file cài đặt Windows

Đầu tiên các bạn nhập tên ổ đĩa ( ổ chứa thư mục giải nén file cài đặt ở bước 1) sau đó ấn Enter để di chuyển tới ổ đĩa đó. Với máy tính mình là F:
Lệnh 1
Sau đó các bạn gõ “Tên thử mục”setup.exe với máy tính mình ở bước 1 là thư mục windows nên mình sẽ gõ windowssetup.exe sau đó ấn Enter.
Lệnh 2
Sau đó màn hình cài Windows mới sẽ xuất hiện.
Setup

Lỗi khi cài win từ ổ cứng

Đôi khi ở bước này các bạn có thể gặp lỗi “The system cannot find the path specified.”, lỗi này có thể là do bạn nhớ tên thư mục không đúng hoặc do ổ đĩa chứa thư mục cài win đã đổi tên ở bước này so với trong win (điều này thường xảy ra nếu các bạn phân vùng ổ đĩa). Để khắc phục đầu tiên bạn phải khởi động lại vào windows đảm bảo chắc chắn tên thư mục chính xác, và xem dung lượng ổ đĩa chứa thư mục là bao nhiêu GB, sau đó bạn làm các thao tác ở bước 2 để quay lại bước 3.
Lỗi
Tại đây, nếu tên thư mục mới nãy bạn điền vào sai thì bạn điền lại cho đúng, nếu tên thư mục đúng thì ta gõ lệnh “wmic logicaldisk get size,freespace,caption” vào. Lúc này sẽ có danh sách các ổ đĩa có trên máy tính, dung lượng ổ đĩa (đơn vị MB, các bạn có thể dự vào 1 GB=1024 MB để đổi dung lượng các ỗ đĩa ra GB), dựa vào dung lượng ổ đĩa bạn hãy xác định đâu là ổ đĩa chứa thư mục cài windows, nhưng nếu bạn ngại việc đổi dung lượng thì bạn hãy thực hiện bước 3 với lần lượt các ổ đĩa tới khi thành công thì thôi (mỗi máy tính thường có 2-3 ổ đĩa nên làm cũng khá nhanh, riêng ổ đĩa C là ổ đĩa chứa HĐH không thể bị đổi tên nên ta có thể xacs định được ổ đĩa này)
ổ đĩa
Bây giờ bạn có thể thực hiện các thao tác cài đặt tiếp theo y như khi cài bằng USB hoặc CD. Bây giờ các bạn làm theo bài viết hướng dẫn cài Windows 8.1 hoặc hướng dẫn cài windows 7

Nguồn: http://blogtinhoc.vn/

Thứ Ba, 16 tháng 6, 2015

Chương trình hẹn giờ tắt máy được mình viết bằng bat file.
Ai hay ngủ quên thì tải về dùng nha, siêu nhẹ, khi chạy chỉ tốn <500kb ram vì chỉ có thêm 1 schedule vào process so sánh với các sản phẩm cùng loại thì thật nổi bật.

Chức năng: shutdown, restart, log off, and so on, định viết thêm cái hibernate mà thấy không cần thiết lắm :)

link download: https://drive.google.com/


Gitcode: https://github.com/tiktiktac/Auto-shutdown-computer
Chia sẻ với các bạn phần mềm cắt ghép mp3 nhỏ gọn nhất và cực chất nhất mình từng sử dụng, dung lượng chỉ vỏn vẹn 133kb nhưng hoạt động chả khác gì các phần mềm 20-30mb, đặc biệt nó cắt direct không cần thông qua giải mã nên tốc độ siêu nhanh và giữ nguyên chất lượng âm thanh gốc, đặc biệt nó không cần cài đặt mà chạy ngay. Đó là phần mềm mp3DirectCut, của tác giả Martin Pesch.



Trang chủ: http://mpesch3.de1.cc/
Tải về: http://www.softpedia.com/


Hướng dẫn này giúp các bạn có thể thực hiện lập trình đồ họa trên dev C++
Bài viết này mình sẽ hướng dẫn các bạn cách compile và run code C++ trong sublime text, một trình editor rất tuyệt vời.

Nhiều bạn khi cài song song windows/ linux thì mặc định linux sẽ được boot trước, nếu muốn khởi động vào windows thì phải chọn ở trên bàn phím, việc làm này làm mất thời gian của nhiều bạn vốn chỉ xem linux là hdh để vooc và windows vẫn là hdh chính sử dụng, hướng dẫn sau sẽ giúp bạn đặt windows là hdh mặc định khi khởi động.


Khi khởi động máy bạn sẽ gặp màn hình menu đầu tiên như sau:
vnchanged.blogspot.com grub2
Máy sẽ cho bạn thời gian 10 giây để chọn boot vào đâu, nếu bạn không chọn gì cả thì mặc định là dòng trên cùng (Ubuntu), nếu bạn muốn boot vào Windows thì bạn phải chọn dòng cuối cùng. Vậy sẽ hơi bất tiện phải không nào.
Có lẽ hiện nay các bạn đều đã dùng bản Ubuntu mới 10.04 (Lucid) hoặc 9.10 (Karmic), kể từ bản Karmic Ubuntu sử dụng Grub2.
Các bạn mở Terminal, và mở tập tin /etc/default/grub bằng lệnh: sudo gedit /etc/default/grub
Bạn tìm đến dòng GRUB_DEFAULT=0 (thường là dòng thứ 4), đây là dòng quy định mục nào trên menu sẽ được boot, và mặc định là dòng 0, tức dòng đầu tiên. Bạn lưu ý là thứ tự bắt đầu từ 0 chứ không phải 1.
Trở lại hình trên, bạn hãy đếm từ trên xuống bắt đầu từ 0, dòng của Windows sẽ là dòng 6 (tức 7 nếu đếm từ 1).
Vậy bạn hãy sửa GRUB_DEFAULT=0 lại thành GRUB_DEFAULT=6.
Bạn lưu lại và thóat gedit. Sau đó thực thi lệnh sau trên Terminal: sudo update-grub.
Bạn khởi động lại máy, bạn sẽ thấy dòng sáng mặc định sẽ hiện ở dòng của Windows chứ không phải dòng đầu tiên của Ubuntu như ban đầu và máy sẽ boot vào Windows nếu bạn không lựa chọn gì cả.
Nếu bạn cảm thấy thời gian 10 là hơi dài thì bạn có thể sửa lại tại dòng GRUB_TIMEOUT=10.
Nếu bạn dòng bản Ubuntu cũ trước bản Karmic thì bạn phải sửa tập tin /boot/grub/menu.lst và thay vì sửa dòng GRUB_DEFAULT=0 thì bạn tìm đến dòng default 0.
Ngoài ra bạn có thể sửa đổi rất nhiều thứ từ màu chữ, font chữ đến hình nền, các bạn có thể xem hướng dẫn tại https://help.ubuntu.com/community/Grub2.
Hy vọng giúp được các bạn!

Nguồn https://nguyentieuhau.wordpress.com/
Chức năng UAC là rất hữu dụng, tuy vậy khi bạn dùng một phần mềm can thiệp hệ thống liên tục thì cảnh báo UAC lại gây ra sự phiền toái nhất định, windows cho phép bạn tắt UAC nhưng là tắt đối với tất cả các chương trình, điều này gây nguy hiểm cho máy tính chúng ta, 4 cách sau giúp bạn dễ dàng tắt UAC đối với một số chương trình (không phải tắt đối với tất cả).



Whether you like the User Account Control (UAC) feature in Windows Vista, 7 and 8 or not, the average computer user should always have it enabled. This is because there’s no doubt UAC is capable of blocking some actions by malware such as adding itself to global startup, dropping or modifying files located in Windows, installing rogue software processes and etc. There are certainly weaknesses in UAC, and there are ways to bypass UAC restrictions on a system, but not all malware is capable of doing that which is where UAC can work.




Unfortunately the effectiveness of UAC will probably diminish over time for many users because they mostly just end up pressing Yes to allow a program access without even looking at what is asking to run, because they’re presented with the prompt so often. Power users will no doubt find UAC extremely annoying and it’s the first thing that many of us disable after installing Windows. We usually have to keep UAC enabled on some of our test systems to simulate a normal user’s computer when doing research or testing software.
If you keep UAC enabled it can be quite annoying when you use a piece of software often and every time you run it, the UAC prompt appears. The program is perfectly safe, you’ve run it several times, and yet Windows keeps asking. Thankfully, there are ways around this problem to stop the UAC prompt from appearing for programs you specify and trust, here’s a selection of ways you can do it.


1. UAC Pass
UAC Pass is a small and portable executable that creates a UAC promptless shortcut on your desktop with drag and drop. When you double click the shortcut, it will launch your program and won’t popup the UAC prompt. This is made possible by adding the application to the Windows Task Scheduler automatically and then the shortcut simply starts the task with high privileges.




There are some preset options in UAC Pass that allow you to create a shortcut for different scenarios such as a USB drive, a startup entry or the desktop, and can pin to the Start Menu and Taskbar. You can also create a scheduled task that is started with Windows, allow multiple instances, create a batch file, force language and relative paths. For most situations the default preset should work just fine though.
To create the UAC bypass shortcut, all you have to do is drop a program or shortcut onto the window, and it will automatically create a scheduled task and then create the shortcut in the chosen location which will launch the task. To delete the shortcut, you can drag and drop it onto UAC Pass again to remove the program from Windows Task Scheduler and then manually delete the shortcut. Alternatively, just delete the shortcut and then go to the Windows Task Scheduler and delete the task. UAC Pass works in Windows Vista, Windows 7 and 8 32-bit and 64-bit.
Download UAC Pass

2. UAC Trust Shortcut
UAC Trust Shortcut allows you to disable User Account Control for a specific application, by defining a trusted shortcut. This program works slightly differently to UAC Pass because it doesn’t create a scheduled task and uses its own service to elevate the program. After installation, a UAC Trust Shortcut Tray Manager will be added to Windows startup which provides a convenient way for you to start the service and trusted shortcut creator.

 UAC Trust Shortcut



To create a trusted shortcut, right click on the tray icon and select “Open UAC Trust Shortcut 1.0″. A window will appear where you can add the name of the program that you want to white list, browse for the program and click the Add now link. The trusted shortcut will be added to the Desktop and you can now run the program from the trusted shortcut without getting the UAC prompt. There is actually an additional step which you must perform first or else the trusted shortcut will always prompt the User Account Control warning.




You need to manually start the background service (tracer.exe) from the UAC Trust Shortcut Tray Manager (which requires UAC elevation) whenever you restart, or log off from your Windows session. You can launch as many trusted shortcuts you want without getting the UAC prompt while logged in. UAC Trust Shortcut doesn’t support command line arguments and doesn’t work with batch files. It works on Windows 7 32-bit and 64-bit. Make sure you download the correct version or else the setup will fail to install.
Download UAC Trust Shortcut 32-bit | 64-bit

3. ElevatedShortcut
ElevatedShortcut is a program that’s quite similar in it’s operation to UAC Pass and allows you to create a Windows shortcut to elevate the privilege level of the program you’re trying to run so it doesn’t need the UAC prompt to appear. A Scheduled task is created with the “Run with highest privileges” option set, and the shortcut calls and runs the task.




ElevatedShortcut is a portable program and has separate version for Windows Vista and 7, and another for Windows 8 inside the zip file. Simply run the relevant executable and it will popup the main window where you have the choice of creating a new shortcut, modifying an existing shortcut or removing one you created previously. There’s also an option in Settings to add an entry into the Explorer context menu.




Clicking on a new shortcut will popup a new window where you locate the executable file, supply any optional command line arguments and a working directory if required. Then locate the folder where you want to place the shortcut and click the OK button. The Remove shortcut button will show you which scheduled tasks have been previously created along with the accompanying shortcuts, simply check the box to remove what you don;t want and click the button.
ElevatedShortcut

4. The Task Scheduler Trick
If you’re having issues with any of the tools that use the Task Scheduler shortcut to elevate the application, or would simply like to know how it’s done, you can always create a scheduled task yourself. It’s not difficult and only takes a minute or two to setup. Here are the steps on how to make a program run under the Task Scheduler with the highest privileges to bypass the UAC prompt.



1. Click the Start button and type Task Scheduler on the search programs and files bar and hit enter. Or go to Control Panel -> Administrative Tools -> Task Scheduler.
Create Shortcut2. Click Action from the menu and select Create Task. Fill in the Name and Description boxes and then MAKE SURE to check the “Run with highest privileges” check box. This is the option which elevates the task to bypass the UAC prompt.



3. Go to the Actions tab and click the New button.
Create Shortcut4. Make sure that “Start a program” option is selected and browse for the program that you want to run without a UAC prompt and click OK. Optionally you can also specify any command line arguments if required.




5. Now go to Settings tab and make sure that “Allow task to be run on demand” is selected which should already be enabled. Click the OK button to create the task and you should see the task being added to the Task Scheduler Library.




6. You can either manually run the program directly from Task Scheduler by right clicking on the task and select Run, or create a shortcut which is very useful when you want to put it in startup or just double click to open it quickly. To create a shortcut, right click on the Desktop and select New -> Shortcut. Type the following into the location box and click Next.
schtasks /run /TN "{Name of task}"


You will obviously need to change the task name in double quotes to the name of the task which you’ve used in step 2. Any name can be used for the shortcut and then click the Finish button. Whenever you need to run the program without the annoying UAC prompt, simply run the shortcut which has been created. You can even be place the shortcut in the Startup folder so that it runs with highest privileges without prompting you to allow the following program to make changes to the computer.
If you totally disable User Account Control, then you don’t need to use these methods, but it is good to know that there is a way to bypass the UAC restriction using different ways if needed. If you have UAC enabled and would like to keep it that way, or would like to allow another user access to a safe file without needing a prompt, then these tips could be useful if you need to run certain programs that require elevation when they startup.