Skip to content

Instantly share code, notes, and snippets.

View deepaknverma's full-sized avatar
:atom:
Building something new

Deepak Verma deepaknverma

:atom:
Building something new
View GitHub Profile
#################################################
# Sample OpenVPN 2.0 config file for #
# multi-client server. #
# #
# This file is for the server side #
# of a many-clients one-server #
# OpenVPN configuration. #
# #
Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 14.04 LTS
Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.
I do not issue any guarantee that this will work for you as it depend on system enviornment
1 Preliminary Note
I'm running all the steps in this tutorial with root privileges, so make sure you're logged in as root:
mkdir /usr/share/composer
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/share/composer
php /usr/share/composer/composer.phar
JAVA-JDK ( software development kit)
apt-get install openjdk-7-jdk
---------------------------------------------------------------------------------------------------------------
INSTALL SELENIUM
mkdir /home/ubuntu/selenium
cd /home/ubuntu/selenium
http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar
@deepaknverma
deepaknverma / Install git on Ubuntu
Created February 11, 2015 00:28
Install git on Ubuntu
apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ libz-dev libssl-dev
apt-get install git-core
cd ~/.ssh
ls -al
# Lists the files in your .ssh directory
ssh-keygen -t rsa -C "your_email@example.com"
# Creates a new ssh key, using the provided email as a label
# Generating public/private rsa key pair.
MozRank represents a link popularity score. It reflects the importance of any given web page on the Internet. Pages earn MozRank by the number and quality of other pages that link to them. The higher the quality of the incoming links, the higher the MozRank.
How is MozRank scored?
We calculate this score on a logarithmic scale between 0 and 10. Thus, it's much easier to improve from a MozRank of 3 to 4 than it is to improve from 8 to 9. An "average" MozRank of what most people think of as a normal page on the Internet is around 3.
How can MozRank be improved?
A web page's MozRank can be improved by getting lots of links from semi-popular pages or a few links from very popular pages.
Page Authority is Moz's calculated metric for how well a given webpage is likely to rank in Google.com's search results. It is based off data from the Mozscape web index and includes link counts, MozRank, MozTrust, and dozens of other factors. It uses a machine learning model to predictively find an algorithm that best correlates with rankings across the thousands of search results that we predict against.
How is Page Authority Scored?
We score Page Authority on a 100-point, logarithmic scale. Thus, it's easier to grow your score from 20 to 30 than it would be to grow from 70 to 80. We constantly update the algorithm used to calculate Page Authority, so you may see your score fluctuate from time to time.
Page Authority vs. Domain Authority
Whereas Page Authority measures the predictive ranking strength of a single page, Domain Authority measures the strength of entire domains or subdomains. The same is true for metrics such as MozRank and MozTrust.
Domain Authority represents Moz's best prediction for how a website will perform in search engine rankings. Use Domain Authority when comparing one site to another or tracking the “strength” of your website over time. We calculate this metric by combining all of our other link metrics—linking root domains, number of total links, MozRank, MozTrust, etc.—into a single score.
To determine Domain Authority, we employ machine learning against Google's algorithm to best model how search engine results are generated. Over 40 signals are included in this calculation. This means your website's Domain Authority score will often fluxuate. For this reason, it's best to use Domain Authority as a competitive metric against other sites as opposed to a historic measure of your internal SEO efforts.
How is Domain Authority Scored?
We score Domain Authority on a 100-point, logarithmic scale. Thus, it's easier to grow your score from 20 to 30 than it would be to grow from 70 to 80.
Domain Authority vs. Page Authority
Whereas
@deepaknverma
deepaknverma / Add Readme
Created February 11, 2015 00:25
Add readme to git repo
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/abc/myproject.git
git push -u origin master
ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'