text
stringlengths 0
14.1k
|
---|
'REGEXPS' => array(
|
),
|
'OOLANG' => true,
|
'OBJECT_SPLITTERS' => array(
|
1 => '.'
|
),
|
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
'SCRIPT_DELIMITERS' => array(
|
),
|
'HIGHLIGHT_STRICT_BLOCK' => array(
|
),
|
'TAB_WIDTH' => 4
|
);
|
?>
|
" gpl-2.0
|
twistedvisions/anaximander test/webapp/utils/date.js 721 "/*global describe, it */
|
define(
|
[""underscore"", ""jquery"", ""utils/date""],
|
function (_, $, date) {
|
describe(""date"", function () {
|
describe(""formatYearAsTimestamp"", function () {
|
it(""should pad the year so it is 4 digits when the year is < 100AD"", function () {
|
date.formatYearAsTimestamp(99, """").should.equal(""0099"");
|
});
|
it(""should pad the year so it is 4 digits when the year is < 1000AD"", function () {
|
date.formatYearAsTimestamp(999, """").should.equal(""0999"");
|
});
|
it(""should format the year appropriately when it is BC"", function () {
|
date.formatYearAsTimestamp(-48, """").should.equal(""0048 BC"");
|
});
|
});
|
});
|
}
|
);" gpl-2.0
|
ubjelly/DCU src/org/dcu/net/CallbackListener.java 174 "package org.dcu.net;
|
/**
|
* Interface for http callback.
|
* @author Brendan Dodd
|
*/
|
public interface CallbackListener {
|
public void onComplete(String jsonResponse);
|
}
|
" gpl-2.0
|
lalo/readme-fads readme_files/ruby/125-readme.html 4768 "<div class=""announce instapaper_body rdoc"" data-path=""README.rdoc"" id=""readme""><article class=""markdown-body entry-content"" itemprop=""mainContentOfPage"">
|
<h1>
|
<a name=""user-content-mechanize-"" class=""anchor"" href=""#mechanize-"" aria-hidden=""true""><span class=""octicon octicon-link""></span></a>Mechanize <a href=""http://travis-ci.org/sparklemotion/mechanize""><img src=""https://camo.githubusercontent.com/5541688642efe00ff56263f4c1d7cf7f71674d04/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f737061726b6c656d6f74696f6e2f6d656368616e697a652e706e673f72766d3d312e392e33"" data-canonical-src=""https://secure.travis-ci.org/sparklemotion/mechanize.png?rvm=1.9.3"" style=""max-width:100%;""></a>
|
</h1>
|
<ul>
|
<li>
|
<p><a href=""http://docs.seattlerb.org/mechanize"">docs.seattlerb.org/mechanize</a></p>
|
</li>
|
<li>
|
<p><a href=""https://github.com/sparklemotion/mechanize"">github.com/sparklemotion/mechanize</a></p>
|
</li>
|
</ul><h2>
|
<a name=""user-content-description"" class=""anchor"" href=""#description"" aria-hidden=""true""><span class=""octicon octicon-link""></span></a>Description</h2>
|
<p>The Mechanize library is used for automating interaction with websites.
|
Mechanize automatically stores and sends cookies, follows redirects, and
|
can follow links and submit forms. Form fields can be populated and
|
submitted. Mechanize also keeps track of the sites that you have visited
|
as a history.</p>
|
<h2>
|
<a name=""user-content-dependencies"" class=""anchor"" href=""#dependencies"" aria-hidden=""true""><span class=""octicon octicon-link""></span></a>Dependencies</h2>
|
<ul>
|
<li>
|
<p>ruby 1.9.2 or newer</p>
|
</li>
|
<li>
|
<p><a href=""http://nokogiri.rubyforge.org"">nokogiri</a></p>
|
</li>
|
</ul><h2>
|
<a name=""user-content-support"" class=""anchor"" href=""#support"" aria-hidden=""true""><span class=""octicon octicon-link""></span></a>Support:</h2>
|
<p>The bug tracker is available here:</p>
|
<ul><li>
|
<p><a href=""https://github.com/sparklemotion/mechanize/issues"">github.com/sparklemotion/mechanize/issues</a></p>
|
</li></ul><h2>
|
<a name=""user-content-examples"" class=""anchor"" href=""#examples"" aria-hidden=""true""><span class=""octicon octicon-link""></span></a>Examples</h2>
|
<p>If you are just starting, check out the <a href=""http://docs.seattlerb.org/mechanize/GUIDE_rdoc.html"">GUIDE</a> or the
|
<a href=""http://docs.seattlerb.org/mechanize/EXAMPLES_rdoc.html"">EXAMPLES</a>
|
file.</p>
|
<h2>
|
<a name=""user-content-developers"" class=""anchor"" href=""#developers"" aria-hidden=""true""><span class=""octicon octicon-link""></span></a>Developers</h2>
|
<p>To run the tests for the first time:</p>
|
<pre>bundle install</pre>
|
<p>This will install all the required dependencies for running the tests. For
|
subsequent test runs:</p>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.