How to encode a string to base64 with java 
Enter info and name file 
Start up your editor, such as notepad or vi, and enter the preliminaries, such as the class declaration and known constants. 
Name the file base64.java. 
Those constant values are specified, so the article states, in the relevant rfcs.

It is generally a good idea read all relevant rfcs before beginning coding. Treating characters as bytes means that multibyte characters, such as japanese or chinese, will not be correctly encoded.

How to drive a semi automatic car 
Turn the key in the ignition to start the engine. 
Semi-automatic cars typically don't require any special treatment to start. The parking brake should already be engaged, and you should hold down the brake pedal to ensure the car doesn't move forward as you shift it into gear.

In most semiautomatic cars, the parking brake is engaged when the gearshift is set to " p. " Find the gearshift next to you.

How to avoid traffic jams 
Listen to traffic reports before you begin your journey. 
Local television news programs often give morning and afternoon traffic reports to help commuters. Some locations also have dedicated traffic radio.

Tune into these before you get in the car. If it sounds like traffic is backed up on your normal route, take one of your alternatives.

How to teach downhill beginner skiing 
Caution the beginner that no matter how fast others are going, it is their job to stay in control. 
Remind them that racing is for more experienced skiers. Also, remind them of all the rules of the ski area that you are in, including rules about " right of way.


" Teach the beginner how to properly put on skis. Remind them to listen for the click and check to make sure the skis are on right by jumping up and down a few times.