Tags » Ruby On Rails

Mobile Search Engine Optimization

Mobile Optimization

Mobile optimization is the process of ensuring that visitors who access your website from mobile devices have knowledge of optimized for the device. 469 more words

IOS Application Development

Technical Details

Not using Banner Jones, Instead i’m using Optimus Services Limited (It runs off an engine and will effect other web sites).

There are a lot of smaller important things to remeber when building this website, this blog post will explain them all. 1,052 more words

YEAR 3

Truth Behind Terror Attack Photo: 'I Was Devastated'

{“contentType”:”NEWS_STORY”,”id”:{“value”:”5bac7e64b58f3e123680d2382eaf19b4″,”link”:”http:\/\/api.newsapi.com.au\/content\/v2\/5bac7e64b58f3e123680d2382eaf19b4″},”originId”:”Whimn-17924″,”origin”:”WORDPRESS”,”channel”:”NONE”,”title”:”Truth Behind Terror Attack Photo: ‘I Was Devastated'”,”subtitle”:”Muslim Woman Vilified For Walking Past London Terror Attack Speaks Out”,”description”:”

After fierce criticism, the Muslim woman who was photographed walking past the London terror attack victim has spoken out.“,”link”:”http:\/\/cdn.newsapi.com.au\/link\/5bac7e64b58f3e123680d2382eaf19b4″,”canonicalOverride”:””,”paidStatus”:”NON_PREMIUM”,”originalSource”:”whimn.com.au”,”creditedSource”:”whimn.com.au”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-24T21:00:30.000Z”,”dateLive”:”2017-03-24T20:40:16.000Z”,”customDate”:”2017-03-24T20:40:16.000Z”,”dateCreated”:”2017-03-24T20:48:29.000Z”,”status”:”ACTIVE”,”thumbnailImage”:{“contentType”:”IMAGE”,”id”:{“value”:”cb32861639bf0aaa53738eb6f5be6ace”,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/cb32861639bf0aaa53738eb6f5be6ace”},”originId”:”Whimn-17927-spp_thumbnail”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/cb32861639bf0aaa53738eb6f5be6ace”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:39.000Z”,”dateLive”:”2017-03-25T15:47:39.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”urlTitle”:”photo-jamie-lorriman”,”format”:”jpeg”,”width”:100,”height”:75,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”THUMBNAIL”,”sourceImageId”:”Whimn-17927″},”related”:[{“contentType”:”IMAGE”,”id”:{“value”:”7a343fa1816af4a62d03f11babc5c528″,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/7a343fa1816af4a62d03f11babc5c528″},”originId”:”Whimn-17927-major_event”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”subtitle”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/7a343fa1816af4a62d03f11babc5c528″,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-24T23:23:00.000Z”,”dateLive”:”2017-03-24T23:23:00.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”ironsidem”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”photo-jamie-lorriman”,”revision”:1,”containerTypes”:[“SUBSTITUTE”],”format”:”jpeg”,”width”:650,”height”:366,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”PRIMARY”,”sourceImageId”:”Whimn-17927″},{“contentType”:”IMAGE”,”id”:{“value”:”78dcde50e6a7cf6fe42231568e86086b”,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/78dcde50e6a7cf6fe42231568e86086b”},”originId”:”Whimn-17927-promo_thumbnail”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”subtitle”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/78dcde50e6a7cf6fe42231568e86086b”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:39.000Z”,”dateLive”:”2017-03-25T15:47:39.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”willischarlotte”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”photo-jamie-lorriman”,”revision”:4,”containerTypes”:[“SUBSTITUTE”],”format”:”jpeg”,”width”:149,”height”:86,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”SUBSTITUTE”,”sourceImageId”:”Whimn-17927″},{“contentType”:”IMAGE”,”id”:{“value”:”57e5bbdb491659c2393b5fbfa75eccca”,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/57e5bbdb491659c2393b5fbfa75eccca”},”originId”:”Whimn-17927-story_crop”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”subtitle”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/57e5bbdb491659c2393b5fbfa75eccca”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:39.000Z”,”dateLive”:”2017-03-25T15:47:39.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”willischarlotte”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”photo-jamie-lorriman”,”revision”:8,”containerTypes”:[“SUBSTITUTE”],”format”:”jpeg”,”width”:316,”height”:237,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”SUBSTITUTE”,”sourceImageId”:”Whimn-17927″},{“contentType”:”IMAGE”,”id”:{“value”:”5079020ac24cb902be8921db01a69a2f”,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/5079020ac24cb902be8921db01a69a2f”},”originId”:”Whimn-17927-story_portrait”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”subtitle”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/5079020ac24cb902be8921db01a69a2f”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:39.000Z”,”dateLive”:”2017-03-25T15:47:39.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”willischarlotte”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”photo-jamie-lorriman”,”revision”:4,”containerTypes”:[“SUBSTITUTE”],”format”:”jpeg”,”width”:316,”height”:421,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”SUBSTITUTE”,”sourceImageId”:”Whimn-17927″},{“contentType”:”IMAGE”,”id”:{“value”:”055475595bc27fe5d52971290881a707″,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/055475595bc27fe5d52971290881a707″},”originId”:”Whimn-17927-tablet_thumbnail”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”subtitle”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/055475595bc27fe5d52971290881a707″,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:39.000Z”,”dateLive”:”2017-03-25T15:47:39.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”willischarlotte”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”photo-jamie-lorriman”,”revision”:4,”containerTypes”:[“SUBSTITUTE”],”format”:”jpeg”,”width”:196,”height”:110,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”SUBSTITUTE”,”sourceImageId”:”Whimn-17927″},{“contentType”:”IMAGE”,”id”:{“value”:”180b4720d149be5ecff2543d3305a6ae”,”link”:”http:\/\/api.newsapi.com.au\/image\/v1\/180b4720d149be5ecff2543d3305a6ae”},”originId”:”Whimn-17927-full_width”,”origin”:”WORDPRESS”,”title”:”PHOTO: Jamie Lorriman”,”subtitle”:”PHOTO: Jamie Lorriman”,”description”:”PHOTO: Jamie Lorriman”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/180b4720d149be5ecff2543d3305a6ae”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:39.000Z”,”dateLive”:”2017-03-25T15:47:39.000Z”,”dateCreated”:”2017-03-24T20:50:34.000Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”willischarlotte”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”photo-jamie-lorriman”,”revision”:4,”containerTypes”:[“SUBSTITUTE”],”format”:”jpeg”,”width”:1000,”height”:563,”imageName”:”mg_westminster_muslimwoman_distress1″,”imageType”:”SUBSTITUTE”,”sourceImageId”:”Whimn-17927″},{“contentType”:”IFRAME”,”id”:{“value”:”2481d34fafb73332427c1b8f30608c28″,”link”:”http:\/\/api.newsapi.com.au\/content\/v2\/2481d34fafb73332427c1b8f30608c28″},”originId”:”Whimn-17996″,”origin”:”WORDPRESS”,”title”:”twitter”,”subtitle”:”twitter”,”description”:”twitter”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”Whimn”,”creditedSource”:”Whimn”,”version”:”PUBLISHED”,”dateUpdated”:”2017-03-25T15:47:47.620Z”,”dateLive”:”2017-03-25T15:47:47.620Z”,”dateCreated”:”2017-03-25T15:47:47.620Z”,”status”:”ACTIVE”,”referenceType”:”PRIMARY”,”related”:[],”domainLinks”:[],”categories”:[],”keywords”:[],”authors”:[],”domains”:[],”locationGeoPoints”:[],”userOriginUpdated”:”willischarlotte”,”systemOriginUpdated”:”WORDPRESS”,”domainOriginUpdated”:”Whimn”,”urlTitle”:”twitter”,”revision”:3,”containerTypes”:[“EMBEDDED”],”scrolling”:”auto”,”markupHeight”:0,”markupWidth”:0,”height”:”0″,”width”:”550″,”body”:” 19 more words

News

Reading all XML tags with values in XML file using Selenium

package com.test;

import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;

import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import org.xml.sax.SAXException;

import java.io.File;
import java.io.IOException;

public class XMLRead {

  public static void main(String argv[]) throws ParserConfigurationException, SAXException, IOException {

      File fXmlFile = new File(Absolute Path of XML file); 
        DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
        DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
        Document doc = dBuilder.parse(fXmlFile);
        
        doc.getDocumentElement().normalize();
        System.out.println("Root element " + doc.getDocumentElement().getNodeName());
        NodeList nodeList=doc.getElementsByTagName("*");       
         for (int count = 0; count < nodeList.getLength(); count++) 
             {
                Node tempNode = nodeList.item(count);
                // make sure it's element node.
                 106 more words
Ruby On Rails

Setup Ruby on Rails (Mac/Linux)

What is Ruby on Rails?

Ruby on Rails is an open-source framework to build powerful web applications. While Rails (Ruby on Rails) being the framework, the language it is based on is Ruby. 841 more words

Ruby

We're In Tears Watching Adele's Tribute To London Terror Attacks

{“contentType”:”NEWS_STORY”,”id”:{“value”:”7db64ea1960df6c20e16c97c8fa352de”,”link”:”http:\/\/api.newsapi.com.au\/content\/v2\/7db64ea1960df6c20e16c97c8fa352de”},”originId”:”Whimn-17791″,”origin”:”WORDPRESS”,”channel”:”NONE”,”title”:”We’re In Tears Watching Adele’s Tribute To London Terror Attacks”,”subtitle”:”We’re In Tears Watching Adele’s Tribute To The London Terror Attacks”,”description”:”

Is someone cutting onions in here or what? 1,150 more words

Talk

The difference between a Jr & Senior programmer at Gitlabs

https://about.gitlab.com/jobs/build-engineer/

Junior Build Engineer

Junior Build Engineers are developers who meet the following criteria:

  1. Technical skills
    • Is able to write code in required languages but needs guidance in writing modular and maintainable code…
  2. 218 more words
Programming