Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 2

The GNU Core Utilities are the basic file, shell and text manipulation utilities of the GNU Operating System. Specifically, this package includes: arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor ... [More] false flock fmt fold groups head hostid id install join link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc od paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink users vdir wc who whoami yes [Less]

4.52711
   
  0 reviews  |  2,281 users  |  81,484 lines of code  |  35 current contributors  |  Analyzed 3 days ago
 
 

Allows scheduling and canceling of IO actions to be executed at a specified future time.

0
 
  0 reviews  |  2 users  |  0 current contributors
 
 

TimeoutX provides a lightweight timeout function. TimeoutX.timeout is about 10 times faster than standard Timeout.timeout.

0
 
  0 reviews  |  1 user  |  1,329 lines of code  |  0 current contributors  |  Analyzed about 1 hour ago
 
 

In Rails, caching is one of those things that is made pretty easy, but can also be difficult when you want to do complex tasks with the caching -- such as expiring it. There are two ways with expire_fragment within the logic of your controllers or using an Observers. This plugin allows caching to ... [More] be expired on predefined time limit. The idea is that the caching takes cared of the expiration instead of writing conditions in the controller. I understand that it goes against the idea of why the caching mechanism does not have them now. To the plugin. Its an extension of cache method that has logic for the time limit. The method to use within views is called cache_timeout. The first argument of the method is the regular Hash/String of the cache key and the second argument is the timeout value (being a Time class value). Example usage: # This is last 5 minutes of posts from our forums: <%cache_timeout('forum_listing',5.minutes.from_now) do %> <% for post in @posts %> <%=post.title%> - by <%=post.author.username%> at <%=post.created_at>Unknown end tag for <%end%> <%end%> To enforce the timeout cache value within the controller don't use the read_fragment method -- unless really needed. The method that is provided to check that the timeout value has is expired is is_cache_expired?. The method takes the argument of the cache key. Example Usage within controller: def list if is_cache_expired?('forum_listing') @posts = Post.find(:all) end end [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

MultiAjax class library is a PHP solution for smart work with AJAX. It supports timeouts, encodings, queue, session limit and batch mode. Supported features: - Autoselect GET or POST method for HTTP request. - Support timeouts. It is possible to setup different timeouts for AJAX requests. - ... [More] Work with different encodings, including UTF-8. - Work with queue of queries and limit parallel requests. Example: setup queue for maximum 100 queries with not more then 5 parallel AJAX requests. - Batch mode. Multiple AJAX requests can be pack into batch structure and post as only one HTTP request. - Use own fast serialization mechanism. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

There isn't an easy way to manage connection timeouts per protocol/connection when using python version < 2.6. This module provides some basic classes to enable timeout juggling per protocol or connection.

0
 
  0 reviews  |  0 users  |  371 lines of code  |  0 current contributors  |  Analyzed 8 days ago
 
 

What is it?Adds a timeout option to the mootools Request (Ajax in 1.1) Class Usage var r = new Request({ url:'/test.php', timeout:4000, //milliseconds onTimeout:timeoutFunction });CompatibilityVersions for mootools 1.2 and 1.1 are available

0
 
  0 reviews  |  0 users  |  31 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

Creating Timeouts and IntervalsJavascript allows you to create Timeouts and Intervals using this syntax: setTimeout("alert('I waited 5 seconds!');",5000); setInterval("alert('I happen every 8 seconds');",8000);These functions are very useful, but unfortunately ... [More] they only accept code as a string. This module allows you to use jQuery to create timeouts and intervals that also accept functions, like this: $.timeout(function() { alert('I waited 5 seconds'); }, 5000); $.interval(function() { alert('I happen every 8 seconds'); }, 8000);You can also create Timeouts and Intervals from predefined functions: function now() { alert('now!'); } $.timeout(now, 5000); $.interval(now, 8000);Clearing Timeouts and IntervalsJavascript allows you to create and clear Timeouts and the Intervals using the following sytax: var to = setTimeout("alert('I waited 5 seconds!');",5000); var it = setInterval("alert('I happen every 8 seconds');",8000); clearTimeout(to); clearInterval(it);Using this plugin, the same can be done like this: var to = $.timeout(function() { alert('I waited 5 seconds'); }, 5000); var it = $.interval(function() { alert('I happen every 8 seconds'); }, 8000); $.clear(to); $.clear(it);Creating Idle TimeoutsIn addition to the above functionality, this plugin provides a new type of timed function, the Idle Timeout. Every time you create a new Idle Timeout, any previous Idle Timeout is cleared. This means that you can make an event happen X seconds after the last time this functions is called. For example: The above code will set an Idle Timeout (and clear the last one) every time the user types into the input box. 3 seconds after the last key is pressed, the idle function will run and the contents of the input box will be alerted. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 6 days ago
 
 

Let's you limit execution time of a procedure/function. Timeout will be called off automatically with the execution of a last statement of the procedure/function in which it was created. The thread which didn't finish it's work, won't be killed abruptly! It will magically raise ... [More] ETimeoutException, so you have the ability to release resources and free memory during stack unwinding... And you can use it from GUI/main thread. procedure TForm1.Button1Click(Sender: TObject); begin try timeout(4000); // this is where "magic" happens... while True do begin Sleep(10000); // some real processing here end; except on E: Exception do ShowMessage(E.ClassName); end; end; [Less]

0
 
  0 reviews  |  0 users  |  83 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

The very small and very useful script which runs a shell command with bounded time and kills spawned process if it is timeouted. See downloads page.

0
 
  0 reviews  |  0 users  |  69 lines of code  |  0 current contributors  |  Analyzed 7 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.