Gitlab Runner on a Local Machine

It is possible to run Gitlab runner on a local machine, which builds the projects hosted on gitlab.

1. You need to install Docker (verified on Mac with docker+Virtual machine setup)
2. docker run -d --name gitlab-runner --restart always   -v /var/run/docker.sock:/var/run/docker.sock   -v /Users/Shared/gitlab-runner/config:/etc/gitlab-runner   gitlab/gitlab-runner:alpine

 docker exec -it gitlab-runner gitlab-runner register
enter the gitlab-ci coordinator URL (e.g.
enter the gitlab-ci token for this runner: Find your token from
enter the gitlab-ci tags for this runner (some tag)
7. W
hether to run untagged builds [true]
8. Whether to lock the Runner to current project (false)
Please enter the executor: (in my case it was docker)
 default Docker image (e.g. ruby:2.1)

Voila you have docker running on your machine.

Now go to
Verify that the new runner is listed on dedicated runner list.
(disable shared runners and trigger the build)

Genymotion Fast Android Emulator

If you are suffering from slow bootup times of Android Native Emulator, then we have Genymotion ( is a lightening fast android emulator. It is backed by VirtualBox and runs as a virtual machine, so it is has dedicated resources and runs much faster than regular emulators. It will be detected as an external device in AVD manager, and has many 'images' (mobile phone profiles), that can be downloaded and installed. If you are working on Android, then Genymotion is the one to try out for sure. For Google Play services and Google Maps to work, you can follow the following link:

Getting started with Google Chrome Plugin

Google Chrome plugin or extension, is a set of JS,CSS and HTML files along with a manifest file to define the permissions it requires. It also requires you to have icon file in the same folder. Note: In order to publish into the Chrome market: 1. you require at least one promotional image (small tile). 2. You can't specify access to localhost in your manifest. Eg: My Bookmark Searcher extension. Manifest:
  "name": "My Bookmark Searcher",
  "version": "1.4",
  "manifest_version": 4,
  "description": "Searches the content of bookmarked websites using power of Google",
  "browser_action": {
    "default_icon": "icon.png",
    "default_popup": "popup.html",
    "default_title": "My Bookmark Searcher"
  "content_scripts": [
      "matches": ["http://*/*"],
      "js": ["jquery.js", "popup.js"]
  "content_security_policy": "script-src 'self'; object-src 'self'",
  "permissions": [
and the popup window when you click:
<!doctype html>
    <title>Getting Started Extension\'s Popup</title>
      body {
       /* overflow-x:hidden;*/

      img {
        border:2px solid black;
    <!-- JavaScript and HTML must be in separate files for security. -->
    <!-- <script type=\"text/javascript\" src=\"\"></script> -->

    <script src=\"jquery.js\"></script>
    <script src=\"popup.js\"></script>
    <div id=\"fb-root\"></div>
    <div id=\"urls\"></div>
    <div id=\"status\" style=\"font-family:arial;color:#999999;\">Loading....</div>
And the actual JS file: (which does everything)
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32860962-1']);

window.onload = function() { 
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = '';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

  chrome.bookmarks.getTree(function(bookmarks) {

var links = "";

function openTab(bookmarks_id){
  // chrome.tabs.create({url: "http://localhost:3000/researches/"+bookmarks_id});
  chrome.tabs.create({url: ""+bookmarks_id});

function send_request(){
  if (typeof jQuery  == 'undefined') {
     document.getElementById('status').innerHTML = "jquery not found....";

  // url: "http://localhost:3000/researches?callback=openTab",
  url: "",
  type: "POST",
  data: {"bookmarks" : links},
  dataType: "json",
  success: function(obj){openTab(obj);},
  error: function(jqXHR, textStatus, errorThrown){document.getElementById('status').innerHTML = textStatus+' '+errorThrown;}


function printBookmarksOne(bookmarks) {
  bookmarks.forEach(function(bookmark) {
        links += bookmark.url + "__";
    if (bookmark.children){

function isUrl(url_string){
  var re = /^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/;
  return re.test(url_string);