Showing posts with label size. Show all posts
Showing posts with label size. Show all posts

Tuesday, 1 March 2016

SCP vs. FTP SpeedIn Feburary 2016 30,

In Feburary 2016 30,
Comparing SCP and FTP is a bit uneven, because SCP has been designed to work within the same network, and FTP is an Internet protocol designed for use on remote servers. FTP also tends to be used for moving multiple files; while you can use wildcards to transfer multiple files or copy entire directories in SCP, that's not the most common use for it. All in all, SCP and FTP are about evenly matched in speed when compared on the same network and with the same file; but your mileage may vary depending on the size of the files you're transferring and the way your network is configured. Your use of command flags may change files as well; Chris Dillon, software developer and writer of the tech blog Squarism uses '-c arcfour' to speed up the SCP transfer in his testing.
Security
An SCP transfer is an individual transfer -- you use 'scp' in a terminal to copy your files or directory to the other computer, without any frills or other options. It's a one-time movement, as opposed to FTP. With FTP you log in to an FTP session and can not only copy files from your computer, but can also manage files on the remote computer. This includes the ability to rename, delete, move, and modify files from the remote computer. SCP is a secure transfer; it uses secure shell to encrypt both your data and credentials. FTP does not offer protection against anyone who may be trying to view your network credentials.
Use
SCP is a Unix command designed to be used from the terminal. FTP is more flexible in that you can use it either in a terminal or using a graphic program such as WinSCP for Filezilla. You can also use FTP in a terminal, though this isn't common among casual Internet users. Should you choose to use the terminal, you'll need to look up FTP commands. For the most part they're very similar to basic commands – for instance, to transfer a file from your computer to the remote location you would use 'put test.file.'
Alternatives
The major benefit to SCP is the security; the benefit to FTP is the control over your destination. If neither quite meets your needs, a potential solution is SFTP, which was built using both FTP and SSH — secure shell — to create a protocol that's secure and allows you to control your destination area. In terms of speed, you're not going to see any major difference between FTP and SFTP; if anything, SFTP is going to be slower due to the need to secure your transfer. SFTP is also going to be slower than SCP. SFTP can be used in the terminal or in software designed for the task, the same as FTP.
In Feburary 2016 30,

Sunday, 28 February 2016

How to Upload PSD FilesIn Feburary 2016 28,

In Feburary 2016 28,
Click the 'Start' button and choose 'Run' from the file options. Windows Vista users can skip to the next step.
Type 'CMD' (minus the quotes) and press 'Enter.' This will open a command window.
Navigate to the folder where your PSD files are located.
Check the size of your PSD files to make sure you are uploading the correct one. Type 'ftp' (minus the quotes) and press enter.
Type 'Open ftp.xxxxxxxx.com' (minus the quotes) and press 'Enter.' Substitute your FTP site for the aforementioned address.
You will be prompted to enter a user name if you have successfully connected to the server. Type your user name and press 'Enter.'
You will be prompted to enter a password if your user name has been accepted. Type your password and press 'Enter.'
Once your credentials have been accepted, you will be given an 'FTP' prompt. Navigate to the directory folder where you would like to store your PSD files. Alternatively, if you would like to create a folder, you can do this by typing 'MKDIR' (minus the quotes). You will be asked for your folder name.
Upload your PSD file by typing 'put abc.psd' (minus the quotes). Substitute the name of your file for abc.
Once the transmission is complete, the FTP server will report to you the size of the file and how long it took to upload. Repeat Step 9 for as many files as you would like to upload.
Type 'bye' (minus the quotes) when you are finished uploading your files. This command will disconnect you from the FTP server.
Type 'exit' (minus the quotes) to close the command window.
In Feburary 2016 28,

How to Upload Files to WordPress Larger Than 2MbIn Feburary 2016 28,

In Feburary 2016 28,
Access PHP Config. Log in to your cPanel account and scroll down to “Software and Services.” Next, click “PHP Configuration.”
Install the php.ini file. Once you are on this screen, click the button that says “Install PHP.INI Master File.”
Access the php.ini file. Go back to the cPanel main screen. Click “File Manager” and then “Webroot.” Find the file that says “php.ini” and select “Edit.”
Change the maximum file size. Once the configuration file opens, find the line that says “upload_max_filesize=” and change the file size to 300M. Also change the line that says “post_max_size=” to 300M.
Increase the time allowed. Find the lines that say “max_execution_time =30” and “max_input_time =60” and change them both to 120. This allows for the server to allow 120 seconds to execute, or load, scripts and parse data. This may be necessary if you are uploading large files.
Save the changes. Click the button that says “Save Changes.”
Test the settings. Log in to WordPress and try to upload a file that is greater than 2 MB but less than 100 MB. If you still receive an error message, contact your Web host.
In Feburary 2016 28,

Tuesday, 23 February 2016

How to Build a SnowmanIn Feburary 2016 23,

In Feburary 2016 23,
Test to see if you have 'packing snow,' which clumps together easily and isn't too wet. The snow must pack to make a snowman.
Shape a handful of snow into a ball. Continue adding more snow and packing the ball until it's too large to hold.
Place the ball on the snow in front of you and slowly roll it away from you. As more snow accumulates on the outside of your ball, pack the snow by pressing on it with your gloved hands.
Roll and pack the ball over and over until it is the size you want for the bottom of the snowman's body.
Repeat for the midsection and head. The bottom should be the biggest ball, and the top should be the smallest.
Pack some extra snow between the layers to make them stick together. Place sticks down the center where the sections meet if your snowman is having trouble standing erect.
Give the snowman a face. Use coal, rocks, buttons or anything dark and round for the eyes. A horizontal stick or twig will make a good mouth, and a carrot is fine for the pointy nose. If you don't have a carrot, a banana or a candy cane will do the job.
Cover the top of his head with an old plant for hair, or give him a knit hat to wear. Top hats will blow away unless secured.
Add arms, legs and other accessories. Push sticks into the sides of the middle section and hang old mittens on the ends, then place boots at the bottom for legs. Also consider adding items such as a shirt, a scarf or sunglasses.
In Feburary 2016 23,

Tuesday, 16 February 2016

Inexpensive Wedding Rehearsal Dinner IdeasIn Feburary 2016 16,

In Feburary 2016 16,
One way to have a fairly inexpensive rehearsal dinner is to hold your gathering at the fellowship hall of the church where you will be having your ceremony. Because the rehearsal is also held at the church, it will be convenient for everyone involved to have the dinner at the same place. Church reception halls can accommodate large numbers of guests and can offer all the necessary tables, chairs and utensils. You can choose from a variety of restaurants to cater your event, such as local pizza parlors, which often offer large family-size pasta dishes in addition to pizza.
Pot Luck
Consider holding a pot-luck dinner at your home or the home of your fiance. Provide a main dish, and ask each guest to bring a side dish. You might even set a theme for the dinner, such as Mexican, Italian or American cuisine. Hosting a pot-luck at your own home is a nice way to keep the evening casual and keep the expense to a minimum.
Finger Foods
Another inexpensive idea is to serve finger foods after your rehearsal. Possible food items include trays of sandwiches, fruits and vegetables, chips and dip and a cookie platter. You can serve your guests at the venue where you held your rehearsal, or you can host a get-together at a nearby park or community center.
Barbecue
After your wedding rehearsal, invite everyone to a barbecue at your home or a local park. You can grill inexpensive items such as hot dogs, burgers and chicken, and add some side dishes such as potato salad, baked beans or chips and dip.
In Feburary 2016 16,

Saturday, 13 February 2016

What Is an FTP Account?In Feburary 2016 13,

In Feburary 2016 13,
FTP stands for file transfer protocol. Accessing an FTP server requires a user name, host name and password. Different types of FTP servers can be accessed, including an SFTP server, FTP with TLS/SSL and FTP with GSSAPI.
Domains
Many websites offer domains for sale, ranging in price from $3 to several thousand dollars depending on the size of server you need. The price of a personal website will be $10 to $15. You can pay to purchase a domain name, or you can rent a domain.
FTP servers
Domains can be accessed through software, such as Fetch or Cyberduck. Once you've purchased a domain name through a site such as Godaddy.com, you will receive a host name, which is usually the name of the domain you purchased (johndoe.com). You will also receive a user name (johndoe@godaddy.com).
Sign in
You are ready to log into an FTP server once you have your host name, user name and password. FTP servers offer shortcuts in the toolbar at the top of the screen. Clicking 'Create Shortcut' will save all your information whenever you log in to your FTP server.
Capabilities
FTP accounts allow you to add information to a personal or business website. Personal websites can be made using software such as Adobe Dreamweaver or Flash.
In Feburary 2016 13,

Monday, 8 February 2016

What Is the PHP Mail Character Limit?In Feburary 2016 08,

In Feburary 2016 08,
The PHP 'mail' function takes three required and two optional parameters, all of which are strings. The first parameter contains the email address of the recipient. The second has the subject of the message. The third parameter is the email message itself. The fourth parameter contains extra headers such as 'From,' 'Cc' and 'Bcc.' The last parameter contains any flags that should be passed on the command line. The function returns a Boolean value that indicates whether the message was successfully relayed to the mail server. For example:$result = mail($to, $subject, $message, $headers);
Email Size
PHP does not impose any special limits on the size of an email message. It does, however, establish the maximum amount of memory that a single script can consume. This setting is called 'memory_limit' and can be modified in the 'php.ini' setup file, usually found in '/etc/php5/apache2/.' The default setting is 8 MB for PHP versions prior to 5.2 and 128MB in PHP 5.2 and later. Since an email message is a string passed to a function, that string cannot cause the script to exceed the 'memory_limit' parameter. This limit is not affected by email attachments because the contents of an attachment are not passed in memory to a PHP function.
Character Limits
PHP imposes a limit of 70 characters for each line in the text of an email message. This means that you have to insert the line feed character '\n' to break an email message into multiple lines if the message is more than 70 characters long. The PHP 'wordwrap' function will do this for you by passing it the message string and the maximum width of 70, for example:$result = mail($to, $subject, wordwrap($message, 70), $headers);
PHP Relay
PHP does not send an email message. It relays a message to a mail transport agent, or MTA, such as Exim, Microsoft Exchange, Postfix, qmail or Sendmail. The MTA sends the email to the recipient. The return value from the PHP 'mail' function indicates the success of the relay to the MTA, not of the delivery to the recipient. If an MTA imposes restrictions on the size of an email, including attachments, and the message exceeds that limit, the PHP 'mail' function will return a successful result and the message will fail with the MTA. The MTA will typically send an email to the sender indicating that the message was not sent because it exceeded the maximum size permitted.
In Feburary 2016 08,

Sunday, 7 February 2016

How to Create Alternating Background Colors in Table Rows With CSSIn Feburary 2016 07,

In Feburary 2016 07,
Here's a simple table with alternating gray and white rows. This technique will work for any color scheme or any size table.
Build the table using your normal HTML table-building tools.
In the stylesheet, create a class that can be applied to alternating TR (table row) elements. Here's an example:
.rowcolor {
background: #CCCCCC;
}
In the HTML, add the class to alternating rows in your table. Apply it to the TR element. See image for example.
If you would like to have a different color for the row of the table that contains the headings, you can create a new class or id rule in your stylesheet that will only apply a background color to the TH elements.
In Feburary 2016 07,

Monday, 1 February 2016

Text Size in Zen CartIn Feburary 2016 01,

In Feburary 2016 01,
This Web cart system uses CSS, or Cascading Style Sheets, to manage the look and feel of your site. CSS allows you to control the size, font face, color and other properties of your Zen Cart text by changing just one place: the style sheet. The HTML pages get their layout information from this file, instead of from individual tags in the pages themselves. In Zen Cart, the primary style sheet is found in “/includes/templates/YOUR-TEMPLATE/css/stylesheet.css,” where “YOUR-TEMPLATE” is the template you have chosen for your Zen Cart installation.
Font Size
You can change text size using the “font-size” property. In most style sheets, you have several options as to how to specify the size. You can list fonts as xx-small, x-small, small, medium, large, x-large and xx-large, where medium is equal to 16 pixel font. You can also specify the font size in pixels or centimeters, but this can cause problems with usability in some versions of Internet Explorer. The preferred method of changing font size in Zen Cart is to set your text to a percentage of the parent font size, such as 62.5 percent, or the equivalent of 10 pixels if the default font is set to medium.
Em
Fonts size may also be set in em. An em is a unit taken from old-fashioned typography, and is a horizontal space equal to the width of a lowercase “m” in a particular font size. In default 16 pixel medium font, one em is equivalent to 16 pixels, but in an 18 pixel font, one em is equivalent to 18 pixels. You can set headers or other special text properties using em in relation to your other settings. For instance, if you set the main font to 62.5 percent, a header set to 1.4 em would produce a 14 pixel font, since the main font is displayed at only 10 pixels high. By using this relative system for setting headers, you can maintain the size relationship between all the text elements in your Zen Cart, even if you change the main font size.
Other Font Properties
The font tag allows you to change more than just the size of your text in Zen Cart. You can also change the font family by using the “font-family” tag, followed by either a generic family, such as “serif,” or a specific family, such as “Arial.” You can change text style from normal to italic or oblique by using the “font-style” tag, followed by the preferred style.
Considerations
You don't have to use individual tags to change font properties in Zen Cart. You can also choose to specify all the properties in one declaration. For instance, if you wanted to change the font to 62.5 percent using the Arial and sans serif families with normal text, you would enter “font: 62.5% arial, sans-serif.” This makes your CSS slightly neater and easier to navigate.
In Feburary 2016 01,

How to SelfIn Feburary 2016 01,

In Feburary 2016 01,
Set a tentative budget. Decide how much can be spent on publishing the book. Consider financial resources as well as production, promotion and marketing. The budget should be flexible at this point; be prepared to revise if needed.
Get estimates. Talk to a printer early in the process. A printer will be able to estimate the cost of producing a book. Factors for the estimate include the number of pages, number of ink colors, paper stock, bindery, overall trim size and quantity. Adjust the book design to fit into a budget. Choose between traditional offset printing on a press for large quantities or digital on-demand printing for smaller, more expensive quantities.
Determine the market. Some artists and authors print only enough copies of the book for personal or portfolio use; others plan for the mass market. Remember that the rule of printing says the higher the print quantity, the lower the unit cost. Adjust accordingly.
Consider an International Standard Book Number (ISBN). A book does not require an ISBN. However for sales in retail stores, an ISBN might be needed. If the book is to be pitched to a comic book publisher, the ISBN number might not be advisable, as the publishing house will use its own.
Register a copyright. If registered, include the copyright information in the book.
Create the book's physical layout. If the author or artist is not a graphic designer, a printer or freelancer should be able to complete the layout.
Submit the book it to the printer. The printer should have a proof for viewing in a few days; then the job goes to the press. Once completed, the book is ready for marketing and sales.
In Feburary 2016 01,