DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
  • submit to reddit
Tinu Awopetu07/27/09
33702 views
3 replies

NetBeans IDE 6.7.1 with JavaFX Now Available for Download!

The NetBeans Team is pleased to announce the release of NetBeans IDE 6.7.1, which supports the latest JavaFX SDK. Download NetBeans 6.7.1 (A JavaFX-only download bundle is also available.) NetBeans IDE 6.7.1 is an update to NetBeans IDE 6.7 and includes the...

Rick Ross02/14/08
13407 views
16 replies

Welcome to DZone's new IndicZone community for Indian IT Pros

Let me welcome all of you to the new DZone community for one of the most important and fastest growing groups in the worldwide IT scene: Indian developers and IT professionals. No matter where you look, if something interesting is happening on the IT and...

Adi Gaskell07/31/14
159 views
0 replies

Study reveals the challenges of collaborating across cultures

I’ve written a few times about the importance of culture for a social business. Whilst many of these pieces have been focused on organizational culture, there have also been some exploring international cultures.

Interact Intran...07/31/14
121 views
0 replies

Does your intranet inspire, involve, inform and aid interaction?

If you’re looking for some new ideas to reinvigorate your intranet or you’re just starting your intranet journey and you need some guidance then Interaction, the UK’s biggest intranet conference, is the event for you.

Adi Gaskell07/31/14
117 views
0 replies

New study highlights how you can build an agile culture

Managing complexity is an increasingly important trait in the modern world, and multiple studies have highlighted the importance of an adaptable and agile workforce (and processes), to allow organizations to become the sense and respond types required to thrive in such a fast moving environment.

Mind Mixer07/31/14
91 views
0 replies

The Art of Compromise

All this month, we’ve been talking about the benefits of finding the best community solutions through compromise. At the local level, the concept is alive and well. But in Washington, that’s far less often the case.

package com.bos.jmx;

import org.apache.log4j.Logger;

public class Shutdown implements ShutdownMBean {
	private static Logger logger = Logger.getLogger(Shutdown.class);
	
	@Override
	public void shutdown() throws Exception {
		logger.info("Server shutting down...");
		/*
                            Shutdown code goes here
                */
		logger.info("Server shutdown.");
	}
}
Adi Gaskell07/30/14
1675 views
0 replies

Social media breaks are great (but only for Millennials?)

Whilst social media usage at work remains a bone of contention, with executives reporting that they are not very keen on employees using it at work, despite doing it a considerable amount themselves, there is a clear sense from studies that taking social media breaks is a boon for productivity.

Mark Morrell07/30/14
1447 views
0 replies

Looking under the intranet bonnet

When you buy a brand new car, what is it that impresses you first? Is it the colour? Maybe the shape? Or the style of the interior? That is what a new intranet can be like; a good design, nice graphics and maybe some dynamic images that catch your eye.

Adi Gaskell07/30/14
1441 views
0 replies

Detecting potential bias in the wisdom of crowds

The wisdom of crowds is one of the more robust theories to have emerged in the social sciences in recent years. The concept, which gained popularity with James Surowiecki’s book of the same name, has underpinned much of the growth in areas such as open innovation and crowdsourcing.

Jive Community07/30/14
1599 views
0 replies

JiveWorld14: Gather 'round the fire, Boot Campers!

Remember back when you were a child and you heard older kids talking about summer camp and how fun it was?

Adi Gaskell07/30/14
1484 views
0 replies

What separates a good MOOC from a bad one?

When you’re looking to gauge the success of anything, the process depends very much on the metric you use. Statistics can be manipulated to say pretty much anything you want, so deciding upon an appropriate measure of success is crucial. For MOOCs, that metric has typically been the completion rate for a course.

<!DOCTYPE html>
<html ng-app="ngSpApp">
<head>
  <title>Single Page App Template</title>
  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body>
  <div class="container">
		<table style="width:100%;margin:10px">
			<tr>
				<td style="width: 15%;vertical-align: top;">
					<div class="list-group" style="margin-top:20px" >
						<a href="#/" class="list-group-item active">Home</a> 
						<a href="#/link1" class="list-group-item">Link 1</a> 
					</div>
				</td>
				<td style="vertical-align: top;padding-left:10px;">
					<div ng-view></div>
				</td>
			</tr>
		</table>
	</div>
  <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular-route.js"></script>
  <script>
    // 
    // Defining Module
    //
    var spApp = angular.module( "ngSpApp", ['ngRoute'] );
    //
    // Defining Routes
    //
    spApp.config(function($routeProvider) {
    	$routeProvider.when('/link1', {
    		controller : 'Link1Ctrl',
    		templateUrl : 'views/link1.html'
    	}).otherwise({
    		controller : 'HomeCtrl',
    		templateUrl: 'views/home.html'
        });
    });
    //
    // Controller for Home Page
    //
    spApp.controller( "HomeCtrl", [ '$scope', function($scope) {
      $scope.text = 'Hello, this is homepage';
    }]);
    //
    // Controller for Link1 Page
    //
    spApp.controller( "Link1Ctrl", [ '$scope', function($scope) {
      $scope.text = 'Hello, this is link1 page';
    }]);
  </script>
</body>
</html>
Abishek Baskaran07/29/14
485 views
0 replies

SQL over anything with an Optiq Adapter

Optiq is a query planning engine that can help you execute and plan SQL over your data sources. This post shows how to create a custom Optiq adapter.

Adi Gaskell07/29/14
499 views
0 replies

Give employees control and watch productivity blossom

When it comes to understanding why we do things, the open innovation world has given us quite significant insights over the past few years. That in itself should not be surprising. After all, there are typically no, or at least few, extrinsic factors involved in participation. There is no boss standing over peoples shoulders coercing performance out of people.

Christopher Taylor07/29/14
145 views
0 replies

Don’t spread omni-channel evenly…think mobile first

Omni-channel is a popular term and for good reason. The sources for customer, product, inventory, and many other kinds of data data are exploding, leaving marketers playing catch up with the expectations of their tech-savvy customers.

Adi Gaskell07/29/14
201 views
0 replies

Spinlister brings the sharing economy to bikes

The sharing economy has been a tremendous influence on a great many industries, bringing the ability for people to monetize under-utilized resources in all manner of different ways. As a cyclist therefore it was interesting to come across Spinlister, who aim to do the same thing, but for bicycles (and other outdoor sporting goods).

Hearsay Social07/29/14
228 views
0 replies

Over 9 in 10 life insurance companies have adopted social business

LIMRA the world’s largest association of life insurance and financial services companies, published new survey data this week revealing that 93% of life insurance companies had social media programs in place last year.

Adi Gaskell07/28/14
2281 views
0 replies

The impact of interruptions at work

Interruptions seem a central part of modern working life. Whether it’s open plan offices or the influx of digital tools into the workplace, a distraction never seems far away. Indeed, studies have suggested that the average office worker is interrupted six times every hour.

Interact Intran...07/28/14
2009 views
0 replies

Collaborative intranet tools you can even use on a train

Earlier this year CrossCountry shared a live tour of their intranet. it was amazing for two key reasons 1) Malcolm Cotterell and Kate Barnes are amazing, they do incredible work and are great to learn from and 2) I didn’t make a cheesy joke about trains and user journeys…I was doing so well.