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
<html> | |
<head> | |
<title>Australia battles bush fires as heatwave continues</title> | |
<meta property="og:title" content="Australia battles bush fires as heatwave continues"> | |
<link rel="canonical" href="http://www.aljazeera.com/news/2017/02/australia-battles-bush-fires-heatwave-continues-170212105752725.html"> | |
<meta property="og:description" content="New South Wales endures severe " off the scale blaze amid a record-breaking heatwave that has sparked dire warnings.> | |
<meta property="fb:use_automatic_ad_placement" content="true"> | |
</head> | |
<body> | |
<article> |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraph.org/schema/"> <head> | |
<meta property="og:title" content="'Sold like cows and goats': India's slave brides"/> | |
<meta property="fb:page_id" content="43929265776" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="http://fonts.googleapis.com/css?family=Helvetica+Neue:400,100" rel="stylesheet" type="text/css"> |
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
var express = require('express'); | |
var cluster = require('cluster'); | |
if (cluster.isMaster) { | |
var _cpus = require('os').cpus().length; | |
// create a worker for each CPU | |
for (var i = 0; i < _cpus; i += 1) { | |
cluster.fork(); | |
} | |
// When a worker dies create another one |
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
function getUnreadItems() { | |
$.ajax({ | |
url : "https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=" + account + "&count=1", | |
dataType : "jsonp", | |
success: function(results) { | |
var id = results['0'].id; | |
var text = results['0'].text; | |
var initialValue = results['0'].id; | |
var avatar = results['0'].user.profile_image_url; | |