Author Archives: duyquangluong

HTML – Introduction

Have you ever think about building your own website? With HTML, you can create a website easily.

HTML is a markup language that is used to describe the web page.

HTML stands for Hyper Text Markup Language

A web page is created by combine HTML tags and each HMTL tag describe a specific content.

Let’s start a simple code below.

Explanation:

First of all, <!Documentype html> tag: The DocumentType describes the document type to be a HTML document

The text between <html> and </html>  describes HTML content

The text between <head> and </head> provides information about the document

The text between <title> and <title> provides title for the document

The text between <body> and </body> describes the visible content

The text between <h1> and <h1> describes the heading


 

HTML tags are the keywords surrounded by angle brackets:

<tagname>Content here</tagname>

 


Browser (Firefox, Chrome, IE, Safari) is used to display the HTML document. Tags won’t display on the browser, but they are used to help browser know how to display the content document.

HelloWorld

 

The above example is displayed “Hello World” on Chrome Browser.

How to recover files from a dead external drive

Nannette Abia Rivera’s external hard drive stopped working, and she needs to recover files stored on it.

0129-primary-100539836-large

When you store files on an external drive, it’s easy to forget my first rule of tech storage: Never have only one copy of anything. We tend to think of external drives—especially external hard drives—as a backup medium, so of course anything on the drive must be a backup.

But if files exist only on that external drive, they are not backed up. And you need to make sure they get backed up to something other than that particular drive—whether it’s an internal drive, the cloud, NAS, or another external drive.

Okay, the mistake has been made. Now let’s try to get those files back.
When you try to use the drive, does it make noises you’ve never heard before—clicking, for instance, or grinding? If so, make no attempts to recover the files yourself. Send the drive to a data recovery service.

Sorry, but I don’t recommend one data recovery service over another. I’ve never needed to use one (I back up), and there’s no practical way to test them fairly.

But if the drive doesn’t make any new sounds, remove it from the computer and give it a good look. You’re about to take it apart.

An external hard drive is really just an internal hard drive in a case, with a SATA/USB connector. Look for tiny screws on the case. If they aren’t there, use a small, flat-head screwdriver to pry the case open. Be careful not to damage the drive, but don’t sweat about the case.

When you open the case, you might find that the internal drive has come loose from the SATA and/or power connection. If so, reconnect, plug the USB cable back into your PC, and try to access the drive again.

If that doesn’t work, the problem could be in the case’s adapter. Remove the drive from the case, and use another SATA-USB adapter to connect the drive to the PC. I’ve seen them on sale for less than $10.

If you can access the drive’s contents, move your files to your internal drive, or to another external one. Better yet, copy the files to both so you have a backup.

If you can access the drive, but there are no files on it, you can try file recovery software such as Recuva.

Beyond that, we’re back to using a data recovery service. They’re expensive, but that’s the price of not backing up.

Source: http://www.pcworld.com/article/3050294/storage/how-to-recover-files-from-a-dead-external-drive.html

What is Raspberry Pi

A Raspberry Pi is a credit-card sized computer originally designed for education, inspired by the 1981 BBC Micro. Creator Eben Upton’s goal was to create a low-cost device that would improve programming skills and hardware understanding at the pre-university level. But thanks to its small size and accessible price, it was quickly adopted by tinkerers, makers, and electronics enthusiasts for projects that require more than a basic microcontroller (such as Arduino devices).

Pi2ModB1GB_-comp

The Raspberry Pi is slower than a modern laptop or desktop but is still a complete Linux computer and can provide all the expected abilities that implies, at a low-power consumption level.

To learn more about the basics of the Raspberry Pi, watch this short video.

Is the Raspberry Pi open hardware?

The Raspberry Pi is open hardware, with the exception of the primary chip on the Raspberry Pi, the Broadcomm SoC (System on a Chip), which runs many of the main components of the board–CPU, graphics, memory, the USB controller, etc. Many of the projects made with a Raspberry Pi are open and well-documented as well and are things you can build and modify yourself.

What are the differences in Raspberry Pi models?

The Raspberry Pi Foundation has just recently released a new model, the Raspberry Pi 2, which supersedes some of the previous boards, although the older boards will still be produced as long as there is a demand for them. It is generally backwards compatible with previous versions of the board, so any tutorials or projects you see which were built for a previous version of the board should still work.

There are a two Raspberry Pi models, the A and the B, named after the aforementioned BBC Micro, which was also released in a Model A and a Model B. The A comes with 256MB of RAM and one USB port. It is cheaper and uses less power than the B. The current model B comes with a second USB port, an ethernet port for connection to a network, and 512MB of RAM.

The Raspberry Pi A and B boards been upgraded to the A+ and B+ respectively. These upgrades make minor improvements, such as an increased number of USB ports and improved power consumption, particularly in the B+.

If you have a Raspberry Pi and aren’t sure which version you have, plug it in and from the terminal window, and run:

cat /proc/cpuinfo

The output will include a revision code. The numbers indicate further differences, but if it is 0002-0006, it is an older Model B with 256MB of RAM. If it is 0007-0009, it is a Model A. The newer Model Bs are listed as 000d-000f. The B+ is 0010, and the A+ is 0012. (Revision 0011 was used for the Raspberry Pi Compute Module.)

What kind of operating system does the Raspberry Pi run?

The Raspberry Pi was designed for the Linux operating system, and many Linux distributions now have a version optimized for the Raspberry Pi.

Two of the most popular options are Raspbian, which is based on the Debian operating system, and Pidora, which is based on the Fedora operating system. For beginners, either of these two work well; which one you choose to use is a matter of personal preference. A good practice might be to go with the one which most closely resembles an operating system you’re familiar with, in either a desktop or server environment.

If you would like to experiment with multiple Linux distributions and aren’t sure which one you want, or you just want an easier experience in case something goes wrong, try NOOBS, which stands for New Out Of Box Software. When you first boot from the SD card, you will be given a menu with multiple distributions (including Raspbian and Pidora) to choose from. If you decide to try a different one, or if something goes wrong with your system, you simply hold the Shift key at boot to return to this menu and start over.

There are, of course, lots of other choices. OpenELEC and RaspBMC are both operating system distributions based on Linux that are targeted towards using the Raspberry Pi as a media center. There are also non-Linux systems, like RISC OS, which run on the Pi. Some enthusiasts have even used the Raspberry Pi to learn about operating systems by designing their own.

What are alternatives to the Raspberry Pi?

The Raspberry Pi is not the only small computing device out there. In fact, there are many more options available than we could list here. We’ve reviewed some of the choices before, here, but let’s talk about some of the ones you may have heard of before.

The Arduino is another hobbyist board, which is geared towards those wanting to build out electronics projects. But, while the Raspberry Pi is a fully functional Linux computer, the Arduino is only a microcontroller. This means it does not run an operating system, but instead, runs very specific, small blocks of code written by the person using the device. There are numerous add-on boards that give it more capabilities, but out of the box, it’s less ready-to-go than a Raspberry Pi. Another option is the Beaglebone series of boards, which are more similar to the Raspberry Pi, but a little bit more powerful (and a little bit more costly, too).

One advantage of using the Raspberry Pi over some other alternatives is the size of the community. If you have a question regarding a project you are working on, there are a lot of people who might be able to help you because of the large reach of the community.

Where can I learn more?

We have covered a number of projects which make use of the Raspberry Pi for learning, teaching, conducting research, and just for fun. Here are a few of our favorites:

  • Read about Matt Jadud’s experience learning and using the Occidentalis Linux distribution on his Raspberry Pi.
  • Hear from Luis Ibáñez about Coder, a project from Google to use the Raspberry Pi to teach web programming to beginners and kids.
  • Learn how SUNY Albany is using the Raspberry Pi as an alternative to textbooks for teaching college students.
  • Hear firsthand, from young maker Lauren Egts, about how the Raspberry Pi has helped her learn to build cool things.
  • Explore the seven favorite Raspbery Pi projects from Ruth Suehle, author of the book Raspberry Pi Hacks.
  • See how the Raspberry Pi is being used to light up a juggler’s performance.
  • Learn how National Geographic Explorers are bringing the Raspberry Pi to the wilderness to gather data for conservation.

Source: https://opensource.com/resources/what-raspberry-pi


VLC for iPhone and iPad

 

Features

  • Play all files, in all formats, including exotic ones, like classic VLC media player.
  • Play MKV, multiple audio tracks (including 5.1), and subtitles tracks (including SSA!).
  • Support for network streams, including HLS, MMS or RTSP.
  • Include video filters, playback speed manipulation, and fine seeking.
  • A media library, with WiFi Uploads & Downloads, Dropbox, Google Drive, iCloud Drive, OneDrive & Box.com integration and optional passcode lock.
  • Web Interface for easy uploads and downloads to/from device.
  • Integration for bluetooth headsets and AirPlay.
  • Full support for file servers (SMB / Windows shares and FTP)
  • Local Network service discovery with UPnP and native support for Plex
  • On-the-fly audio and subtitles track synchronization
  • Supports iOS 7.0 or later
  • Full 64bit support on latest iPhone and latest iPad
  • Apple Watch extension to control playback, browse the library and more
  • Completely free, libre and open source.

Devices and iOS version

VLC for iOS requires iOS 7.0 or later. It runs on any iPhone, iPad, or iPod touch. Previous releases for iOS 6.1 are available.

Download link: https://itunes.apple.com/app/apple-store/id650377962

Type Scout Online That Teach You How To Touch Type

TypeScount

Type Scout is a typewriter training app to improve your typing skills in a gamelike manner

 

 

Layout: A lot of work has been put into how Type Scout looks and feels, but the changeable backgrounds are usually a hindrance rather than a help. The options are a little confusing to navigate.

Lessons: There’s a good variety of lessons, with various modes on offer. The highlight is Typetris (yet another Tetris variant), which sees you hitting the right key before it reaches the bottom of the screen.

Levels: There is a clear and defined learning structure in place, but sadly only registered users can save their progress between sessions. Making it hard to recommend to casual users.

Overall: Good for beginners but nag screens reminding you that you need to pay for the advanced features will put most people off.

Website: http://chrome.typescout.net