- On-Page Optimization
- Category on the Moz Blog
- A Visual Guide to Keyword Targeting and On-Page Optimization
- On-Page Factors
- Squirrly is a WordPress Plugin which helps optimize Articles for Search Engines.
- Anchor Text Over Optimization Tool: Worried about Google's Penguin algorithm hitting you for over-optimized anchor text? Simply type in your URL for a full report of which links might raise flags.
- Domain Hunter: Broken Links Checker
- Find Broken Links, Redirects & Site Crawl Tool
- Google Page Speed Insights: Page speed is correlated with better r
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dacast(_vid_id,"vid_here"); | |
_vid_player = dacast.players[_vid_id]; | |
// console.log(_vid_player.play()); | |
_vid_player.onReady(function(){ | |
console.log('player ready'); | |
// console.log('Step 2'); | |
_vid_player.onPlay(function(){ | |
// console.log('playing video'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ruangguru.livestudents.ui.onlinevideo; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.content.res.Configuration; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.support.v7.widget.Toolbar; | |
import android.util.Log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IBOutlet weak var videoWebView: UIWebView! | |
videoWebView.allowsInlineMediaPlayback = false | |
videoWebView.mediaPlaybackRequiresUserAction = true | |
videoWebView.scrollView.scrollEnabled = false | |
let videoURLString = String(format:"%@/%@?file_id=%@&ip=%@&ua=%@", RGConstant.Services.URL.videoBaseURL, RGConstant.Services.URL.Path.videoPlayer, fileIDVideo, ipAdress,userAgent) | |
let videoURL = NSURL(string: videoURLString) | |
let request = NSMutableURLRequest(URL: videoURL!) | |
if let token = TokenManager.sharedManager.getToken() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Cleanup docker files: untagged containers and images. | |
# | |
# Use `docker-cleanup -n` for a dry run to see what would be deleted. | |
untagged_containers() { | |
# Print containers using untagged images: $1 is used with awk's print: 0=line, 1=column 1. | |
# NOTE: "[0-9a-f]{12}" does not work with GNU Awk 3.1.7 (RHEL6). | |
# Ref: https://github.com/blueyed/dotfiles/commit/a14f0b4b#commitcomment-6736470 | |
docker ps -a | tail -n +2 | awk '$2 ~ "^[0-9a-f]+$" {print $'$1'}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add Docker PPA and install latest version | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update | |
sudo apt-get install lxc-docker -y | |
# Install fig | |
sudo sh -c "curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig" | |
sudo chmod +x /usr/local/bin/fig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//click all friends link | |
var allFriends = document.getElementsByClassName('_5tef'); | |
for(var i=0; i<allFriends.length;i++) { | |
allFriends[i].click(); | |
console.log("allFriends link clicked!"); | |
} | |
//scroll down every seconds | |
var showAll = setInterval(function() { | |
var objDiv = document.getElementsByClassName('_5tee'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Backing up your server (MongoDB) to the cloud | |
Submitted by admin on Wed, 01/02/2013 - 19:59 | |
In my previous blog post I detailed how to set-up a new server to host a small Play2 application securely using Nginx and MongoDB. | |
Now our application is up and running the next step is to configure backups. Alot of marketing suggests that cloud based VPS/Servers are a golden bullet with massive uptime, no worries of data loss, scalability etc etc. With the configuration I detailed previously we are using a single server on Rackspace's cloud service. Our server instance, and as is often the case is hosted on a single physical machine with no redundancy. This means if the physical host hosting our virtualised server goes down unexpectedly we can potentially loose all out data. This does happen, although not frequently I have had a Rackspace cloud server go down, luckily it was migrated to a new machine with no dataloss within 3 hours but if the issues was with the hosts drives this could of been different. | |
Some provider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval `ssh-agent -s` |
NewerOlder