One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
$(function(){ | |
var hash = window.location.hash; | |
hash && $('ul.nav a[href="' + hash + '"]').tab('show'); | |
$('.nav-tabs a').click(function (e) { | |
$(this).tab('show'); | |
var scrollmem = $('body').scrollTop(); | |
window.location.hash = this.hash; | |
$('html,body').scrollTop(scrollmem); | |
}); |
#!/bin/bash | |
# download and install latest geckodriver for linux or mac. | |
# required for selenium to drive a firefox browser. | |
install_dir="/usr/local/bin" | |
json=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest) | |
if [[ $(uname) == "Darwin" ]]; then | |
url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("macos"))') | |
elif [[ $(uname) == "Linux" ]]; then | |
url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("linux64"))') |
/*! | |
* $rootScope listeners, remember to unbind on $destroy | |
*/ | |
var $rootListeners = { | |
'transmitProgress': $rootScope.$on('transmit:progress', transmitProgress), | |
'transmitSuccess': $rootScope.$on('transmit:success', transmitSuccess), | |
'transmitError': $rootScope.$on('transmit:error', transmitError) | |
}; | |
// iterate the Object and pass the methods to be called on $destroy |
#!/usr/bin/python | |
# -*- coding : utf-8 -*- | |
""" | |
@author: Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> | |
""" | |
from abc import ABCMeta | |
#Abstract Factory | |
class StandardFactory(object): |