Welcome. Here you find latest freeware and legal software as well as latest info about IT Technology.
Showing posts with label web. Show all posts
Showing posts with label web. Show all posts
WordPress is a very popular way to get a site up and running quickly. However, in their haste, plenty of developers end up making horrible decisions. Some mistakes, like leaving WP_DEBUG set to true may be easy to make. Others, like lumping all your JavaScript into a single file, are as common as lazy engineers. Whichever mistake you manage to make, read on to find out the the 12 most common WordPress mistakes that new and seasoned developers make. If you find yourself committing one of these mistakes, don’t despair. Each mistake is an opportunity to learn.
Top Mistakes That WordPress Developers Make

1. Placing WordPress Theme JavaScript Code into One Main File

Once, while doing page speed optimization for a client’s websites, I noticed they were using a premium theme that had all the libraries they were using, including the custom code, in one single file called main.jstheme.js or custom.js. This practice is bad for the following reasons:
There are countless articles out there debating whether React or Angular is the better choice for web development. Do we need yet another one?
The reason I wrote this article is because none of the articles published already—although they contain great insights—go in-depth enough for a practical front-end developer to decide which one may suit their needs.
Angular vs. React: Choose the framework way, or tinker with libraries?
In this article, you will learn how Angular and React both aim to solve similar front-end problems though with very different philosophies, and whether choosing one or the other is merely a matter of personal preference. To compare them, we will build the same application twice, once with Angular and then again with React.

Angular’s Untimely Announcement

Two years ago, I wrote an article about the React Ecosystem. Among other points, the article argued that Angular had become the victim of “death by pre-announcement.” Back then, the choice between Angular and almost anything else was an easy one for anyone who didn’t want their project to run on an obsolete framework. Angular 1 was obsolete, and Angular 2 was not even available in alpha version.
On hindsight, the fears were more-or-less justified. Angular 2 changed dramatically and even went through major rewrite just before the final release.
Two years later, we have Angular 4 with a promise of relative stability from here on.
Now what?
Perfect and powerful cross-platform IDE for development of Java App, Android App, Web, PHP, Python, free for students* and have many features.


Every aspect of IntelliJ IDEA is specifically designed to maximize developer productivity.

Together, powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience.

After IntelliJ IDEA's indexed your source code, it offers blazing fast and intelligent experience by giving relevant suggestions in every context: instant and clever code completion, on-the-fly code analysis and reliable refactoring tools.

Mission-critical tools such as integrated version controls systems and a wide variety of supported languages and frameworks are at your hand — no plugin hustle included.

Polaris, a new code that loads website on any website 34% faster.
Faster Website Loads
Polaris developed by a TEAM MIT , this code has been programmed to gather up and evaluate all the background files of a particular website, including image files, HTML files, and JavaScript source code, way more efficiently than current systems. 
(image credit: shrimptank.ca)
Day by day websites increase its complexity and daily new module, new addons added to website. Social media and their plugins to website take down's website loading speed.
"As pages increase in complexity, they often require multiple trips that create delays that really add up," said by Ravi Netravali. "Our approach minimizes the number of round trips so that we can substantially speed up a page’s load-time."

You’re not the only but every users of internet frustrated by a site that doesn’t instantly load - pretty much everyone feels your pain, and are quite happy to drop a page like a sack of oranges if it’s going to keep them waiting. According to Amazon, every 100-millisecond delay in website loading time cuts their profits by 1 percent.

1. How to allow or deny Access to website.

To Allow:
Order Allow, Deny
Deny from All
Allow from 192.168.1.10

or 

Order Allow, Deny
Allow from 192.168.1.10



Note: Order means that process the command according to their position, i.e. Allow command process first and Deny command process after completing the Allow command.

To Deny:
Order Allow, Deny
Deny from 192.168.1.10
Allow from All

or 

Order Deny, Allow
Deny from 192.168.1.10


2. For different error codes, generating different error documents in Apache.

ErrorDocument 404 /errdoc/error-404.htm

Where 404 is error code and "/errdoc/error-404.htm" is the page which displays when an 404 error occurred.

3. Defining MIME types for files.
<IfModule mod_mime.c>
AddType application/vbscript vb
AddType application/x-font-ttf ttf ttc
</IfModule>

Where application/vbscript is MIME TYPE and vb is its extension.

4. Make available mp3 files or video files for download.

AddType application/octet-stream .mp3 .zip 

Where application/octet-stream is the KEY and ".mp3 .zip" is value for that key. Multiple value can be added for the same key.


5. How to stop executing some files and display as source code in the web browser.


RemoveHandler cgi-script .php .pl .py
AddType text/plain .php .pl .py 


Where .php, .pl, .py is executable files which runs on the server and its output displays on the client.


6. How to limit the uploading and downloading size.


php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value max_execution_time 500
php_value max_input_time 500



7. How to setup directory index for website.

DirectoryIndex index.html index.php mypage.php index.myextension



8. How to setup time zone for website.

SetEnv TZ India/Delhi


Where TZ is the global variable for TIME ZONE and "India/Delhi" is the zone(value) for TZ Key.


9. How to setup GZip compression for files on the website.

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE application/html
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>

Where text/plain text/html etc... are the MIME types which will compress and send to client when requested.

10. How to enable cache control for website.


<FilesMatch "\.(ico|png|jpeg|svg|ttf)$">
Header Set Cache-Control "max-age=3600, public" </FilesMatch> <FilesMatch "\.(js|css)$"> Header Set Cache-Control "public" Header Set Expires "Sat, 24 Jan 2015 16:00:00 GMT" </FilesMatch>

Where 3600  is time limit in second or "Tue, 27 Jan 2015 10:54:00 GMT",, after this time cache remove from website and new file download if website again open.

11. How to redirect entire website to a secure connection(https).

RewriteEngine ON
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

12. How to run CGI script outside of "cgi-bin" folder.

AddHandler cgi-script .cgi
Options +ExecCGI


13. How to rename the HTACCESS File.

AccessFileName secret.cess



14. How to configure individual file in HTACCESS.


<files conf.html="">
Order allow, deny
Deny from 188.100.100.0
</files>



Where secret.html is the file name to conigure.


15.How to prevent website directory listing.

Options -Indexes


16. How to Prevent Image Hotlinking for a Website

RewriteEngine ON
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERERER} !^http://(www\.)?mywebsite.com/.*$ [NC]
RewriteRule \.(gif|jpeg|png)$ - [F].



17. How to Redirect users to a Maintenance page.

RewriteCond %{REQUEST_URI} !^/admin/ [NC]
RewriteCond %{REQUEST_URI} !^((.*).css|(.*).js|(.*).png|(.*).jpg) [NC]
RewriteRule ^(.*)$ /errpage/maintainence.html
[NC,L,U,QSA]



18. How to Redirect non-www to www.

RewriteEngine ON
RewriteCond %{HTTP_HOST} ^mywebsite\.com$
RewriteRule (.*) http://www.mywebsite.com/$1 [R=301,L]

19. How to map a domain to IP Address.

For Mapping L.M.N.O address to a domain name www.google.com
RewriteCond %{HTTP_HOST} ^L\.M\.N\.O$ [NC]
RewriteRule ^(.*)$ http://www.google.com/$1 [L,R=301]

20. How to change Default charset and language headers.

AddDefaultCharset UTF-8
DefaultLanguage en-US

Disable Text Select on your Site with or without right click

We will provide a simple way to stop copying your stuff by copying them. :)
Let's Start:

For Blogger

Step1: Goto layout setting
Step2: Add a new gadget
phpMyAdmin 4.1.7
Bringing Mysql to the web. It provides the visual display of mysql on the web and easy to access your mysql from the web with administrative control also.

DOWNLOAD NOW
Try Demo
Visit Website



Now you can earn money from your link on blogs, website, comment post etc.
Follow the easy step to start making money...!!
Step 1: Registered on this site by clicking here.
Step 2: Copy any link and shrink it by that site.
Step 3: Put
www3.bestbxcleaner.com is a spam website which generate fake traffic to your websites, blogs. This site contain virus, malware which harms your computer. Google cannot help you to stop traffic from there. Dont click on that type of website. They want to spread virus.

Some sites are listed below(dont click on any of one) :

www4.safe-vochecker.com

www4.strongdxgsoft.com

www4.best-aruchecker.com

http://www3.personal
This trick is used for break the frame out. And open you web site without frame.
This method allow you to break out the frames.
Simply Copy and paste this js script into your website after tag.
Online Test Your Typing For Free.
Click on Read More to test your typing


Cyber security company Symantec plans to formally announce Monday a new trust program for websites under the name Norton Secured Seal.

Norton Secured Seal will replace the VeriSign Trusted seal currently displayed some half billion times a day in 170 countries around the world.
Symantec began updating websites to Norton Secured Seal on April 17 and is expected to finish the process by April 30.

1st Method

Full up the details correctly but enter wrong captcha 3 times

Powered by Blogger.