This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
A simple log file monitor class for .NET | |
Uses a threaded timer to check for changes in the file, if the file length has changed then the unread | |
section of the file is read and parsed into lines before being passed back to the event handler. | |
Note, because the class uses the threaded timer callbacks on the event hander WILL be made form a | |
different thread, keep this in mind when using the class. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* angular-packery | |
* Forked from angular-masonry (Pascal Hartig, weluse GmbH, http://weluse.de/) | |
*/ | |
(function () { | |
'use strict'; | |
angular.module('wu.packery', []).controller('PackeryCtrl', [ | |
'$scope', | |
'$element', | |
'$timeout', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
function AnotherController($scope, socket) { | |
// use the socket factory through your app, but you must use socket.then | |
// so that the actions occur once the socket is established | |
socket.then(function(socket) { | |
socket.emit('some_socket_event', {}); | |
}); | |