Atlassian JIRA: Advanced Formatting on comments

jira_logoif you use JIRA as one of your daily tools as I do, and you did not know that in JIRA is possible to formatting text, especially blocks of code, as I, then the next link will very helpful: Advanced Formatting

“JIRA allows to add preformatted block of code with syntax highlighting. The default language is Java but you can specify JavaScript, ActionScript, XML and SQL too.”

I really hope you find this information useful.

Base22, LLC transforms enterprise portal design

Base22CreedFlagBase22 builds its solution on IBM Digital Experience technology. “What we’ve created is a software framework composed of building blocks designed to use the IBM platform, because we’ve found it to be the best available to support the dynamic, enterprise-scale solutions our customers expect.”Cody Burleson

You can read the full story here: Base22, LLC transforms enterprise portal design

I really hope you find this information useful.

Learning JavaScript Design Patterns

JavaScriptIf you want to learn about JavaScript Design Patterns, I really recommend you to read the next book: Learning JavaScript Design Patterns. A book by Addy Osmani

Preface

Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language.

One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we’re attempting to solve.

Design patterns also provide us a common vocabulary to describe solutions. This can be significantly simpler than describing syntax and semantics when we’re attempting to convey a way of structuring a solution in code form to others.

In this book we will explore applying both classical and modern design patterns to the JavaScript programming language.

I really hope you find this information useful.

Five Leadership Lessons From James T. Kirk

103112-kirk-2I encourage you, reader, to spend some minutes of your time to read the next post of Alex Knapp that talks about Leadership:

“In his many years of service to the Federation, James Kirk embodied several leadership lessons that we can use in our own lives. We need to keep exploring and learning. We need to ensure that we encourage creativity and innovation by listening to the advice of people with vastly different opinions. We need to occasionally get down in the trenches with the members of our teams so we understand their needs and earn their trust and loyalty. We need to understand the psychology of our competitors and also learn to radically change course when circumstances dictate. By following these lessons, we can lead our organizations into places where none have gone before”

Thank you to my teammate Luis Lozano for sharing me this great post.

I really hope you find this information useful.

Seven ways to get relationships right

relationshipsI encourage you, reader, to spend some minutes of your time to read the next post created by Cody Burleson, that contains a list that recently, Mike Minardi, our CEO at Base22 sent an email to the staff providing tips on how to build enduring, long term, and trusting relationships.

I really hope you find this information useful.

How to avoid death By PowerPoint

PowerPoint_15How to avoid death By PowerPoint: David JP Phillips at TEDxStockholmSalon

I really hope you find this information useful.

JavaScript Variable Scope and Hoisting

JavaScriptThe next links explain very well how JavaScript’s scoping system works as the related topic known as hoisting.

I really hope you find this information useful.

How to find events bound on an element with jQuery


JavaScript

If you need to find a way to get the list off all the events bound on an element here is a code that you can use.

My example cover event delegation just to show how these events are displayed in the console.

.

jQuery("myelemnt").on({
	click: function(){ console.log("click") },
    mouseout: function(){ console.log("mouseout") }
});

//test event delegation
jQuery("myelemnt").on("click","a", function(){
	console.log("a click");
 });
jQuery("myelemnt").on("mouseout","a", function(){
	console.log("a mouseout");
});

//for jQuery 1.8 +
var $events = jQuery._data(jQuery("myelemnt")[0], "events" );
//for jQuery 1.7 and below
//var $events = jQuery('myelemnt').data('events');

//validate if the element has an event attached
if(typeof $events != "undefined"){
	//iteration to get each one of the handlers
	jQuery.each($events, function(i, event){
		jQuery.each(event, function(i, handler){
			console.log(handler); // write on console the handler
		});
	});
}

Output example:

events

Useful links:

I really hope you find this information useful.

How to track users activity when using IBM Connections mobile app

ConnectionsAppBy default the last version of the IBM Connections Mobile App (iOS and Android version) doesn´t have support for Google Analytics, so, how you can track user’s activity?

On IBM Connections 4.5 you need to enable Mobile Security Management, once you have access to the Connections Mobile Admin Console (https://host:port/mobileAdmin/login) there are two reports available:

  • Device: The device report shows information regarding the devices that access trough mobile. The information the report shows is as follows.
    • User Name
    • Device Name
    • Last Access Check
    • Device OS
    • Device OS Level
    • Build Level

  • User: The user report shows information about the user that access trough mobile. The information this table shows is as follows.
    • User Name
    • User State
    • Access Allowed

usersSo far is all the info you can get. I really hope that in a new version IBM Connections team could add more features.

I really hope you find this information useful.

How to override the Page Tracking value in Google Analytics

Analytics_iconI came across with an undocumented functionality on Google Classic Analytics (ga.js) snippet that allows to override the page tracking when you use “_gaq.push([‘_trackPageview’]);“.

Note: The ga.js snippet is part of Classic Analytics. If you’re using Universal Analytics (analytics.js) please check: Page Tracking – Web Tracking (analytics.js)

Tracking Code Quickstart

The Analytics snippet is a small piece of JavaScript code that you paste into your pages. It activates Google Analytics tracking by inserting ga.js into the page. To use this on your pages, copy the code snippet below, replacing UA-XXXXX-X with your web property ID. Paste this snippet into your website template page so that it appears before the closing </head> tag.

<script type="text/javascript">// <![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
// ]]></script>

To override the default page value, you can pass to the _gaq.push method an additional parameter, in this case, the custom path that you want to track:

_gaq.push(['_trackPageview', customPath]);

In the next image you can see the difference between the custom tracking page views code vs the default way.

google_analytics_custom_pathNote: The _gaq global object can be used directly for asynchronous page tracking via the push(…) method.

I really hope you find this information useful.