.

Wednesday, 22 October 2014

Install Ubuntu 14.04.1 LTS on your system

  1. Using a DVD?

    It’s easy to install Ubuntu from a DVD. Here’s what you need to do:
    Put the Ubuntu DVD into the DVD-drive
    Restart your computer. You should see a welcome screen prompting you to choose your language and giving you the option to install Ubuntu or try it from the DVD.

    Using a USB drive?

    Most newer computers can boot from USB. You should see a welcome screen prompting you to choose your language and giving you the option to install Ubuntu or try it from the CD.
    If your computer doesn’t automatically do so, you might need to press the F12 key to bring up the boot menu, but be careful not to hold it down - that can cause an error message.

     
     
  2. Prepare to install Ubuntu

    • We recommend you plug your computer into a power source
    • You should also make sure you have enough space on your computer to install Ubuntu
    • We advise you to select Download updates while installing and Install this third-party software now
    • You should also stay connected to the internet so you can get the latest updates while you install Ubuntu
    • If you’re not connected to the internet, we’ll help you set up wireless at the next step
    •  
     
     
  3. Set up wireless

    If you are not connected to the internet, you will be asked to select a wireless network, if available. We advise you to connect during the installation so we can ensure your machine is up to date. So, if you set up your wireless network at this point, it’s worth then clicking the Back button to go back to the last screen (Preparing to install Ubuntu) and ticking the box marked ’Download updates while installing’.

     
     
  4. Allocate drive space

    Use the checkboxes to choose whether you’d like to Install Ubuntu alongside another operating system, delete your existing operating system and replace it with Ubuntu, or — if you’re an advanced user — choose the ’Something else’ option

     
     
  5. Begin the installation

    Depending on your previous selections, you can now verify that you have chosen the way in which you would like to install Ubuntu. The installation process will begin when you click the Install Now button.
    Ubuntu needs about 4.5 GB to install, so add a few extra GB to allow for your files.

     
     
  6. Select your location

    If you are connected to the internet, this should be done automatically. Check your location is correct and click ’Forward’ to proceed. If you’re unsure of your time zone, type the name of the town you’re in or click on the map and we’ll help you find it.
    TIP: If you’re having problems connecting to the Internet, use the menu in the top-right-hand corner to select a network.

     
     
  7. Select your preferred keyboard layout

    Click on the language option you need. If you’re not sure, click the ’Detect Keyboard Layout’ button for help.

     
     
  8. Enter your login and password details

     
     
  9. Learn more about Ubuntu while
    the system installs…

    …or make a cup of tea!
     
     
  10. That’s it.

    All that’s left is to restart your computer and start enjoying Ubuntu!

How to prevent your webpage content being copied ?

No Copy and Paste Script

Did you know that you can disable the copy and paste function on your web pages? Of course you did, that's why you're here, to see how it's done. Call me a cwazy wabbit for asking.

This little JavaScript snippet will prevent someone from highlighting your text and using the copy function to copy it and rip it off. It also prevents them from using Ctrl + A to select all the text, or using the right-click menu to Select All. Go ahead, try to copy the text on this page . . . I'll wait.

Of course, since it is JavaScript, it doesn't work if the visitor has JavaScript disabled or has a browser that doesn't support JavaScript. That isn't very many users, but anyone with some experience would know a way around this trick. It will stop most new users though, and at least make it harder for everyone else. That may be all the discouragement they need to move on to easier pickings.

Just add the following code to the HEAD tag of your web page:
 
 <pre>
&lt;script type="text/JavaScript"&gt;
//courtesy of BoogieJack.com
function killCopy(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=killCopy
document.onclick=reEnable
}
&lt;/script&gt;
</pre>

Good thing that's a short bit of code to type isn't it, since you can't copy and paste from this page where the code is being demonstrated? Just kidding&mdash;if you view the source code you can copy and paste it from there.

How can I copy something from a web page to my web page?


Yes. Below is break down of how to copy information or code from one web page to another.

Plaintext
HTML and web scripts
Images, sounds, or movies
Embedded objects
Server scripts or programs

Plaintext

If you are not familiar with how to copy text, see the copy definition for additional help.

HTML and web scripts

Users who visit a page that performs a special feature, such as displaying the current date or a countdown for example, may want to incorporate that feature on their web page. To do this, view the web page's source code.
In the page's source code locate the code required for this script to work. This may be difficult for users who are unfamiliar with HTML code or the language the script was written in. However, most web scripts will be enclosed in the <script> and </script> tags, and copying these tags as well as all the information in-between these tags allows the script to work on your web page.
Finally, if you're designing your web page in a WYSIWYG editor such as Microsoft FrontPage, you need to make sure you're pasting the HTML code into the HTML portion of the program. Many WYSIWYG editors have different views, a section to create and view a page without worrying about the code and another that allows code edits. In the case of Microsoft FrontPage, a user can get into the HTML portion by clicking the HTML tab at the bottom left hand side of the window.

Images, sounds, or movies

Users who want to use another site's images, sounds, or movies can do so by using one of the below suggestions.

Copy image, sound, or movie to your computer or server and use
Almost all images, sounds, and movies can be copied to your computer and then viewed on your web page.

Images
Images can be copied from a webpage by right-clicking an image and selecting "Save Picture as" or "Save Image as", depending on the browser you're using.
Once selected, you should be prompted with a location with where you want to save the image, specify the location of where you want to save the file. Keep in mind if this web page is going to be posted online, you also need to upload this image when you upload the web page.
Note: Although almost all images can be saved using the above method, some websites may prevent images from being copied to your computer because they are copy protected. Computer Hope will not assist users in copying these images as it is obvious that they do not have permission from the site hosting the pictures.

Sound and movies
Unless the sound or movies file has a direct link to download and save the file to a specified location on your hard drive, it can be a little trickier to copy another web page's sound or movie file. However, the easiest method would be to view your Internet browser's cache and locate the sound or movie file saved in the cache.
  • How do I clear my Internet browser history?
  • How do I download or save a YouTube video to my computer?
If you're not aware of what the movie or sound file's name is, view the web page's source to get that information.
Note: The above instructions are for copying sound or movie files that are not streaming. Some sites have streaming audio and video, which can be even trickier to copy.

Link to the image, sound, or movie from your website to the other server
In addition to copying the files directly to your computer or server, a user could also link directly to the image, sound, or movie from another page. However, we do not recommend this method as it will slow down the load time of your web page because it's coming from another server; it is also likely to become lost because it may move on the other server, which would cause your link to become bad; and finally, causes additional bandwidth usage on the site you're linking to, which may cause your server to become blocked or reported because you're stealing bandwidth.
However, users who are still interested in doing this can copy the HTML source code for the image, sound, or movie to their web page and have it work on their webpage without having to upload the image, sound, or movie to their server.
Keep in mind that many pages do not specify the complete URL, so you may need to change the path of the file so the browser knows how to load it. For example, an image link from Computer Hope may look like the example below.
<img src="image.gif">
Because this above example does not specify a domain or path of the file when this code is copied to your web page, it will not load because the browser is attempting to load the image from your computer and not where the image.gif is located. If this code was copied from Computer Hope, you would likely need to change it to the example below.
 <img src="http://www.computerhope.com/image.gif">
If you need to know the complete path to an image, you can also right-click the image and click "Properties" to view the complete path to the file.

Embedded objects

Some files such as Macromedia Flash files are embedded web objects, which means not only will you have to copy the file or link to the file on the other server, but you also need to copy the HTML used to display the file. In this case, we suggest looking at the source code of the object to determine the name of the file and how it is loaded, and copy both the code and the file.

Server scripts or programs

Server scripts, SSI, or other web programs are almost always protected or set to execute and not to be read. This means programs such as polls, search engines, forums, chat, etc. cannot be copied and used on your own page.
For these programs or scripts to become functional on your website, you would need to download the program, install it, and set it up for your own computer or server. Many sites use open source or free programs that can be downloaded for free or for a small fee. For example, many forums at the bottom of each of the pages will list the forum as well as a link to where to download it.

Friday, 17 October 2014

How can I send out an HTML email in Gmail, Yahoo, or Hotmail ?


1. Use an html editor (like DreamWeaver, TextWrangler, Coda, or whatever you may have) and create the email in the editor. Then save the file with a “.html” extension. Where you save the file does not matter at all, but it’s probably easiest just to save the HTML file on your desktop so you can easily access it in step 2. 

2. Open that html file in an internet browser – Firefox, Safari, Internet Explorer, Google Chrome, etc. If you just click on the file it should just directly open up in a browser, since your computer is smart enough to know that a “.html” file should be opened in a browser. If the file does not open directly in a browser, simply open a browser window, and then in the browser menu go to “File->Open File”, and choose the .html file.

3. In your browser menu, go to Edit, and then “Select All” or Ctrl+A ( or Command + A if you are on a Mac) to select everything that is displayed in the browser. This is the magic step that stores all the HTML onto your clipboard – so make sure you get this one right!

4. Paste (CTRL + V or Command +V) the html to the Gmail or Yahoo Mail message. Then you are done! This should work like a charm – and you should be able to see the HTML message directly in your message before you send it.

Diwali Dhamaka Offer : Website Development @ Rs. 4999/-

Webdec :
Web Designing & DevelopmentE-Commerce Solutions
Diwali Dhanaka Offer : Responsive website @ Rs. 4999/- Only
Website Designing Development



We webdec Technologies provides web development services across india having head office in Ranchi Jharkhand .For this Diwali we providing web designing at very low cost that is Rs.4999/- only.This offer expires on 31st October 2014.If you need any assistance about web development then contact us or revert me back.
Facility we provide with a responsive website development
>Domain Name (eg : www.example.com)
>4 Emil Ids (eg :i nfo@example.com)
>5gb of hosting space
Contact Details:
Email : info@webdec.co.in
contact number : 7070126810



Thursday, 16 October 2014

Internal Server Error

How You Might See the 500 Error

The 500 Internal Server Error message might be seen in any number of ways because each website is allowed to customize the message. Here are several common ways that you might see the HTTP 500 error:
  • "500 Internal Server Error"
     
  • "HTTP 500 - Internal Server Error"
     
  • "Temporary Error (500)"
     
  • "Internal Server Error"
     
  • "HTTP 500 Internal Error"
     
  • "500 Error"
     
  • "HTTP Error 500"
     
  • "500. That's an error."
500 Internal Server Error messages can show up in any browser in any operating system.
In Internet Explorer, the message The website cannot display the page often indicates an HTTP 500 Internal Server Error. A 405 Method Not Allowed error is another possibility but you can be sure by looking for either 500 or 405 in the IE title bar.
Most of the time, a 500 Internal Server Error displays inside the Internet browser window, just as web pages do.
When Windows Update reports an Internal Server Error, it appears as aWU_E_PT_HTTP_STATUS_SERVER_ERROR message or as the 0x8024401F error code.
When Google services, like Gmail or Google+, are experiencing a 500 Internal Server Error, they often report a Temporary Error (500) or simply 500.

Cause of HTTP 500 Errors

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.
Most of the time, "gone wrong" means an issue with the page or site's programming, nothing you have anything to do with.
Note: More specific information about the cause of a particular HTTP 500 error is often provided when it occurs on a server using Microsoft IIS software. Look for numbers after 500 as in HTTP Error 500.19 - Internal Server Error which means Configuration data is invalid. You can see a complete list here.

How To Fix the 500 Internal Server Error

Like I alluded to above, the 500 Internal Server Error is a server-side error, meaning the problem probably isn't with your computer or Internet connection but instead is a problem with the web site's server.
While not probable, it is possible that there's something wrong on your end and we'll look at some things you can try.
  1. Reload the web page. You can do that by clicking the refresh/reload button, pressing F5, or trying the URL again from the address bar.

    Even if the 500 Internal Server Error is a problem on the web server, the issue may only be temporary. Trying the page again will often be successful.

    Note: If the 500 Internal Server Error message appears during the checkout process at an online merchant, be aware that duplicate attempts to checkout may end up creating multiple orders - and multiple charges! Most merchants have automatic protections from these kinds of actions but it's still something to keep in mind.
     
  2. Clear your browser's cache. If there's a problem with the cached version of the page you're viewing, it could be causing HTTP 500 issues.

    Note: Internal Server Errors are not often caused by caching issues but I have, on occasion, seen the error go away after clearing the cache. It's such an easy and harmless thing to try so don't skip it.
     
  3. Delete your browser's cookies. Some 500 Internal Server Error issues can be corrected by deleting the cookies associated with the site you're getting the error on.

    After removing the cookie(s), restart the browser and try again.
     
  4. Troubleshoot as a 504 Gateway Timeout error instead.

    It's not very common, but some servers produce a 500 Internal Server Error when in reality the more appropriate message based on the cause of the problem is 504 Gateway Timeout.
     
  5. Contacting the website directly is another option. Chances are good that the site's administrators already know about the 500 error but if you suspect they don't, letting them know helps both you and them (and everyone else).

    See my Website Contact Information list for contact information for popular websites. Most sites have support-based social network accounts and a few even have email and telephone numbers.

    Tip: If it looks like the site is down completely and you can't find a way to report the 500 Internal Server Error message to the website, it might help your sanity to keep up with the outage on Twitter. You can usually do this by searching for #websitedown on Twitter, as in#gmaildown or #facebookdown.
     
  6. Come back later. Unfortunately, at this point, the 500 Internal Server Error is no doubt a problem outside your control that will eventually get fixed by someone else.

    If the 500 Internal Server Error message is appearing at check out during an online purchase, it might help to realize that sales are probably being disrupted - usually a great incentive to the online store to fix the issue very quickly!

    Even if you're getting the 500 error on a site that doesn't sell anything, like YouTube or Twitter, as long as you've let them know about the problem, or at least tried, there's little more you can do than wait it out.


Monday, 13 October 2014

Editing compiled CSS

1. NEVER edit files in the compiled-css folder.
You will loose all changes when you change the template settings.

2. Use a custom-css or less file for your custom-code.
If you want to add a custom css file just add a file called gantry-custom.css in the css folder of your template. The name of the file follows this pattern: [template-name]-custom.css.
For Fracture this would be: rt_fracture-custom.css for example.

A typical workflow for this would be to copy the rule from Firebug for example and paste it into this custom css file and change the property you want. Also add some css specificity.
(.logo-block #rt-logo {...} will be overriden by a rule div.logo-block a#rt-logo {...})

See the gantry-framework.org for more information.

3. That long winding line in the masterfiles is the result of the less-css-compression.
You can turn that off in the template settings > advanced

For example

 bootstrap.css (compiled css) includes... 

img { 
border: 0 none;
 height: auto; 
max-width: 100%;
vertical-align: middle; 
}

and I want it to be... 

img { 
border: 0 none;
 height: auto; 
/* max-width: 100%; */
 vertical-align: middle;
}

Solution :
use css in a custom css file to reset that value (instead of changing core files ... wich is always bad).

img {
max-width: none !important;

.

Popular Posts

Powered by Blogger.