100+ results for '%2B%20repo:dreamcat4/php-fpm'
Not the results you expected?
ExpressionLanguageTest.php (https://github.com/l3l0/symfony.git) PHP · 214 lines
28 ->expects($this->exactly(2))
29 ->method('getItem')
30 ->with('1%20%2B%201%2F%2F')
31 ->willReturn($cacheItemMock)
32 ;
76 ->expects($this->exactly(1))
77 ->method('fetch')
78 ->with('1%20%2B%201%2F%2F')
79 ->willReturn($savedParsedExpression)
80 ;
83 ->expects($this->exactly(1))
84 ->method('save')
85 ->with('1%20%2B%201%2F%2F', $this->isInstanceOf(ParsedExpression::class))
86 ->will($this->returnCallback(function ($key, $expression) use (&$savedParsedExpression) {
87 $savedParsedExpression = $expression;
2004-03-09-a-propos.markdown (https://github.com/jfoucher/jfoucher.com.git) Markdown · 26 lines
17 Je publie également sur ce site des <a href="http://jfoucher.com/category/wordpress-plugins/">extensions pour Wordpress</a> que j'ai écris pour mes propres besoins, mais qui, je l'espère, peuvent être utiles d'autres personnes utilisant Wordpress.
19 Je suis suffisamment 'geek' pour avoir un <a href="http://travis.kroh.net/blogger_decoder/?code=B4%20d%2B%2B%20t%2B%20k%20s%2B%20u-%20f%20i-%20o%2B%20x--%20e%20l-%20c--">bloggercode</a> et un compte sur <a href="http://del.icio.us">del.icio.us</a>, un gestionnaire de favoris que je recommande chaudement si vous n'utilisez pas toujours le même ordinateur.
21 Vous serez peut-être aussi interessé(e) de savoir que <a href="http://web.archive.org/web/*/http://perso.wanadoo.fr/foucher.yacht.design">mon premier site web</a> remonte à 1999.
create-blob-url-from-data-url.html (https://bitbucket.org/zenoalbisser/webkit.git) HTML · 33 lines
29 <p> Test case for checking blob URL not allowed to be created from the code running from data URI</p>
30 <pre id='console'></pre>
31 <iframe src="data:text/html,%3Cscript%3Evar%20b%20%3D%20new%20WebKitBlobBuilder()%3Bb.append(%22Foo%22)%3Bvar%20bb%20%3D%20b.getBlob('text%2Fhtml')%3Btop.location%3D'http%3A%2F%2F127.0.0.1%3A8000%2Ffileapi%2Fcreate-blob-url-from-data-url.html%23'%20%2B%20window.webkitURL.createObjectURL(bb)%3B%3C%2Fscript%3E"></iframe>
32 </body>
33 </html>
viewgood_pic_proxy_sqli.py (https://github.com/Cl0udG0d/SZhe_Scan.git) Python · 40 lines
20 "User-Agent":"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50"
21 }
22 payload = "/viewgood/webmedia/portal/pic_proxy.aspx?id=1%20and%201%3Dconvert%28int%2C%20CHAR%28116%29%20%2b%20CHAR%28121%29%20%2b%20CHAR%28113%29%2b@@version%2b%20CHAR%28116%29%20%2b%20CHAR%28121%29%20%2b%20CHAR%28113%29%29--&type=2"
23 vulnurl = self.url + payload
24 try:
README.md (https://github.com/jakewmeyer/Geo.git) Markdown · 40 lines
9 [](https://travis-ci.org/jakewmeyer/Geo)
10 [](https://codeclimate.com/github/jakewmeyer/Geo)
11 []()
13 </div>
paksetinfo.h (https://github.com/aburch/simutrans.git) C Header · 22 lines
13 "http://github.com/Flemmbrav/Pak192.Comic/releases/download/2021-V0.6-RC2/pak192.comic.0.6.RC2.zip", "pak192.comic.0.6.RC2",
14 "http://pak128.jpn.org/souko/pak128.japan.120.0.cab", "pak128.japan.120.0",
15 "http://downloads.sourceforge.net/project/simutrans/pak128/pak128%20for%20ST%20120.4.1%20%282.8.1%2C%20priority%20signals%20%2B%20bugfix%29/pak128.zip", "pak128",
16 "http://downloads.sourceforge.net/project/simutrans/pak32.comic/pak32.comic%20for%20102-0/pak32.comic_102-0.zip", "pak32.comic_102-0",
17 "http://downloads.sourceforge.net/project/simutrans/pak64.contrast/pak64.Contrast_910.zip", "pak64.Contrast_910",
README.md (https://github.com/hamelsmu/code_search.git) Markdown · 17 lines
9 [1 - Preprocess Data](https://github.com/hamelsmu/code_search/blob/master/notebooks/1%20-%20Preprocess%20Data.ipynb): describes how to get python files from BigQuery, and use the AST module to clean code and extract docstrings.
11 [2 - Train Function Summarizer](https://github.com/hamelsmu/code_search/blob/master/notebooks/2%20-%20Train%20Function%20Summarizer%20With%20Keras%20%2B%20TF.ipynb): build a [sequence-to-sequence model](https://towardsdatascience.com/how-to-create-data-products-that-are-magical-using-sequence-to-sequence-models-703f86a231f8) to predict a docstring given a python function or method. The primary purpose of this model is for a transfer learning task that requires the extraction of features from code.
13 [3 - Train Language Model](https://github.com/hamelsmu/code_search/blob/master/notebooks/3%20-%20Train%20Language%20Model%20Using%20FastAI.ipynb): Build a language model using [Fastai](https://github.com/fastai/fastai) on a corpus of docstrings. We will use this model for transfer learning to encode short phrases or sentences, such as docstrings and search queries.
tintin.rb (https://github.com/chrismoos/homebrew.git) Ruby · 39 lines
index.html (git://github.com/mathiasbynens/mothereffingcssescapes.git) HTML · 37 lines
20 end
21 ::done::</textarea>
22 <h2>Minified result (<a href=#for%20z%20%3D%201%2C%2010%20do%0A%20%20for%20y%20%3D%201%2C%2010%20do%0A%20%20%20%20for%20x%20%3D%201%2C%2010%20do%0A%20%20%20%20%20%20if%20x%20%5E%202%20%2B%20y%20%5E%202%20%3D%3D%20z%20%5E%202%20then%0A%20%20%20%20%20%20%20%20print%28%27found%20a%20Pythagorean%20triple%3A%27%2C%20x%2C%20y%2C%20z%29%0A%20%20%20%20%20%20%20%20goto%20done%0A%20%20%20%20%20%20end%0A%20%20%20%20end%0A%20%20end%0Aend%0A%3A%3Adone%3A%3A id=permalink>permalink</a>)</h2>
23 <pre><code id=output>for a=1,10 do for b=1,10 do for c=1,10 do if c^2+b^2==a^2 then print('found a Pythagorean triple:',c,b,a)goto d end end end end::d::</code></pre>
24 <dl>
page.jsp (git://github.com/encuestame/encuestame.git) JavaServer Pages · 30 lines
25 <div id="footer">
26 <tiles:insertAttribute name="footer" />
27 <a href="javascript:var%20sourceWindow%20%3D%20window.open%28%27about%3Ablank%27%29%3B%20%0Avar%20newDoc%20%3D%20sourceWindow.document%3B%20%0AnewDoc.open%28%29%3B%20%0AnewDoc.write%28%27%3Chtml%3E%3Chead%3E%3Ctitle%3ESource%20of%20%27%20%2B%20document.location.href%20%2B%20%27%3C/title%3E%3C/head%3E%3Cbody%3E%3C/body%3E%3C/html%3E%27%29%3B%20%0AnewDoc.close%28%29%3B%20%0Avar%20pre%20%3D%20newDoc.body.appendChild%28newDoc.createElement%28%22pre%22%29%29%3B%20%0Apre.appendChild%28newDoc.createTextNode%28document.documentElement.innerHTML%29%29%3B">View Source</a>
28 </div>
29 </body>
Get-EscapedString.Tests.ps1 (https://github.com/pspete/psPAS.git) Powershell · 52 lines
README.md (https://github.com/opooc/SmartCampus.git) Markdown · 51 lines
tintin.rb (https://github.com/simonoff/homebrew.git) Ruby · 41 lines
encodeURIComponent.as (https://github.com/adobe/avmplus.git) ActionScript · 62 lines
23 array[item++] = Assert.expectEq( "encodeURIComponent('Hello{[World]}')", "Hello%7B%5BWorld%5D%7D", encodeURIComponent("Hello{[World]}") );
24 array[item++] = Assert.expectEq( "encodeURIComponent('Macromedia - Flash')", "Macromedia%20-%20Flash", encodeURIComponent("Macromedia - Flash") );
25 array[item++] = Assert.expectEq( "encodeURIComponent('2 * 4 + [8 + 5 ] - 3')", "2%20*%204%20%2B%20%5B8%20%2B%205%20%5D%20-%203", encodeURIComponent("2 * 4 + [8 + 5 ] - 3") );
26 array[item++] = Assert.expectEq( "encodeURIComponent('Flash(Macromedia)')", "Flash(Macromedia)", encodeURIComponent("Flash(Macromedia)") );
27 array[item++] = Assert.expectEq( "encodeURIComponent('BugID #17485')", "BugID%20%2317485", encodeURIComponent("BugID #17485") );
signing_tests.php (https://github.com/friendica/friendica-addons.git) PHP · 166 lines
serialize.js (https://github.com/andrewjiang/instacase.git) JavaScript · 64 lines
tintin.rb (https://github.com/samuelcole/homebrew.git) Ruby · 41 lines
tintin.rb (https://github.com/lautis/homebrew.git) Ruby · 41 lines
ParameterEncodingTests.swift (https://github.com/TheHolyGrail/Swallow.git) Swift · 107 lines
018942.html (https://github.com/whatwg/whatwg.org.git) HTML · 83 lines
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20localStorage%20%2B%20worker%20processes&In-Reply-To=%3C278fd46c0903221153n16e0077bsba34ab49c4a8b93c%40mail.gmail.com%3E">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
15 <!--htdig_noindex-->
16 <B>Aaron Boodman</B>
17 <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20localStorage%20%2B%20worker%20processes&In-Reply-To=%3C278fd46c0903221153n16e0077bsba34ab49c4a8b93c%40mail.gmail.com%3E"
18 TITLE="[whatwg] localStorage + worker processes">aa at google.com
19 </A><BR>
tintin.rb (https://github.com/ssartor/homebrew.git) Ruby · 41 lines
index.html (git://github.com/mathiasbynens/mothereffingcssescapes.git) HTML · 14 lines
6 <h1>JavaScript operator precedence</h1>
7 <link rel=stylesheet href=eff.css>
8 <p>Is <code id=a contenteditable>a << b + 3 * c</code> semantically equivalent to <code id=b contenteditable>a << (b + 3) * c</code>? <a href=#a%20%3C%3C%20b%20%2B%203%20*%20c%40a%20%3C%3C%20(b%20%2B%203)%20*%20c id=permalink>#</a>
9 <p><strong id=output>Nope.</strong>
10 <p id=footer>Made by <a href=https://mathiasbynens.be/>@mathias</a> using <a href=https://github.com/qfox/Zeon>Zeon.js</a> for <a href=http://140byt.es/>@140bytes</a> — <a href=https://github.com/mathiasbynens/mothereff.in>fork this on GitHub!</a></p>
Blitz++.cmake (https://gitlab.com/mmoelle1/UETLI) CMake · 57 lines
018916.html (https://github.com/whatwg/whatwg.org.git) HTML · 119 lines
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20localStorage%20%2B%20worker%20processes&In-Reply-To=%3C28040fc60903201534y21b15c11l3b0243a4fc24d72c%40mail.gmail.com%3E">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
15 <!--htdig_noindex-->
16 <B>Dmitry Titov</B>
17 <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20localStorage%20%2B%20worker%20processes&In-Reply-To=%3C28040fc60903201534y21b15c11l3b0243a4fc24d72c%40mail.gmail.com%3E"
18 TITLE="[whatwg] localStorage + worker processes">dimich at google.com
19 </A><BR>
055812.html (https://github.com/whatwg/whatwg.org.git) HTML · 90 lines
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20html5%20%2B%20ogg&In-Reply-To=%3CE0229C49-1658-4BF4-B2B6-D087FAF6DD49%40mac.com%3E">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <style type="text/css">
20 <!--htdig_noindex-->
21 <B>Henry Mason</B>
22 <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20html5%20%2B%20ogg&In-Reply-To=%3CE0229C49-1658-4BF4-B2B6-D087FAF6DD49%40mac.com%3E"
23 TITLE="[whatwg] html5 + ogg">hmason at mac.com
24 </A><BR>
tintin.rb (https://github.com/easel/homebrew.git) Ruby · 41 lines
2018-05-21-Wiley.md (https://github.com/github/dmca.git) Markdown · 45 lines
7 We recently learned that an unauthorized copy of the material listed below is available as an unauthorized download on a website hosted by your company at the following URL address:
9 https://github.com/lady8506/Books-solutions/tree/master/C%2B%2B%20for%20Everyone%2C%202nd%20Ed%2C%20Horstmann/Chapter1
10 https://github.com/lady8506/Books-solutions/tree/master/C%2B%2B%20for%20Everyone%2C%202nd%20Ed%2C%20Horstmann/Chapter2
11 https://github.com/lady8506/Books-solutions/tree/master/C%2B%2B%20for%20Everyone%2C%202nd%20Ed%2C%20Horstmann/Chapter3
12 https://github.com/lady8506/Books-solutions/tree/master/C%2B%2B%20for%20Everyone%2C%202nd%20Ed%2C%20Horstmann/Chapter4
README.md (https://github.com/perepelytsya/at.info-knowledge-base.git) Markdown · 45 lines
32 <ul>
33 <li> <label>webdriver</label> <label>python</label> <a href="https://github.com/atinfo/at.info-knowledge-base/tree/master/functional%20test%20automation/webdriver/typed%20webelements%20on%20python" target="_blank">How to create typed webelements for your webdriver python tests</li>
34 <li> <label>robot framework</label> <label>python</label> <a href="https://github.com/atinfo/at.info-knowledge-base/tree/master/functional%20test%20automation/robotframework/Simple%20Hybrid%20(Python%20%2B%20Robotframework)%20Page%20Object%20Example" target="_blank">Simple Hybrid (Python + Robotframework) Page Object Example</li>
35 <li> <label>webdriver</label> <label>java</label> <a href="https://github.com/atinfo/at.info-knowledge-base/tree/master/functional%20test%20automation/webdriver/methods-interceptor-via-aspectj-on-java">How to intercept methods calls for collecting test steps via aspectj</a> </li>
36 <li> <label>webdriver</label> <label>java</label> <a href="https://github.com/atinfo/at.info-knowledge-base/tree/master/functional%20test%20automation/webdriver/custom-locators-on-java">How to create custom locators dynamically</a> </li>
README.md (https://bitbucket.org/skazakov93/reactjs-real-time-chat.git) Markdown · 80 lines
35 ```
37 [Try in REPL](http://babeljs.io/repl/#?evaluate=true&lineWrap=true&presets=es2015%2Ces2015-loose%2Creact&experimental=false&loose=false&spec=false&code=function%20*range(max%2C%20step)%20%7B%0A%20%20var%20count%20%3D%200%3B%0A%20%20step%20%3D%20step%20%7C%7C%201%3B%0A%20%0A%20%20for%20(var%20i%20%3D%200%3B%20i%20%3C%20max%3B%20i%20%2B%3D%20step)%20%7B%0A%20%20%20%20count%2B%2B%3B%0A%20%20%20%20yield%20i%3B%0A%20%20%7D%0A%20%0A%20%20return%20count%3B%0A%7D%0A%20%0Avar%20gen%20%3D%20range(20%2C%203)%2C%20info%3B%0A%20%0Awhile%20(!(info%20%3D%20gen.next()).done)%20%7B%0A%20%20console.log(info.value)%3B%0A%7D%0A%20%0Aconsole.log(%22steps%20taken%3A%20%22%20%2B%20info.value)%3B&playground=true)
39 ## Installation
README.md (https://github.com/SimonCY/CYPromptCover.git) Markdown · 87 lines
5 [](https://github.com/AAChartModel/AAChartKit/blob/master/AAChartKit/ChartsDemo/LICENSE)
6 [](https://www.apple.com/nl/ios/)
8 ------------------------------------------------------
test.html (https://github.com/tsschnoc/gapps_script_shared.git) HTML · 86 lines
13 <option value="003G0000011wzvj">Thomas Schnocklake</option>
14 </select>
15 <a href="javascript:%20openLookup%28%27%2F_ui%2Fcommon%2Fdata%2FLookupPage%3Flkfm%3DeditPage%26lknm%3Dcon8%26lktp%3D%27%20%2B%20getElementByIdCS%28%27con8_lktp%27%29.value%2C670%2C%271%27%2C%27%26lksrch%3D%27%20%2B%20escapeUTF%28%28getElementByIdCS%28%27con8_lkid%27%29.selectedIndex%20%3E%200%29%20%3F%20getElementByIdCS%28%27con8_lkid%27%29.options%5BgetElementByIdCS%28%27con8_lkid%27%29.selectedIndex%5D.text%20%3A%20%27%27.substring%280%2C%2080%29%29%29"
16 id="con8_lkwgt" onclick="setLastMousePosition(event)" tabindex="8" title="Reports To Lookup (New Window)"><img src="/s.gif" alt="Reports To Lookup (New Window)" class="lookupIcon" onblur="this.className = 'lookupIcon';" onfocus="this.className = 'lookupIconOn';" onmouseout="this.className = 'lookupIcon';this.className = 'lookupIcon';" onmouseover="this.className = 'lookupIconOn';this.className = 'lookupIconOn';" title="Reports To Lookup (New Window)"></a>
17 </span>
33 <input id="con8" maxlength="255" name="con8" onchange="getElementByIdCS('con8_lkid').value='';getElementByIdCS('con8_mod').value='1';"
34 size="20" tabindex="8" type="text">
35 <a href="javascript:%20openLookup%28%27%2F_ui%2Fcommon%2Fdata%2FLookupPage%3Flkfm%3DeditPage%26lknm%3Dcon8%26lktp%3D%27%20%2B%20getElementByIdCS%28%27con8_lktp%27%29.value%2C670%2C%271%27%2C%27%26lksrch%3D%27%20%2B%20escapeUTF%28getElementByIdCS%28%27con8%27%29.value.substring%280%2C%2080%29%29%29"
36 id="con8_lkwgt" onclick="setLastMousePosition(event)" tabindex="8" title="Reports To Lookup (New Window)"><img src="/s.gif" alt="Reports To Lookup (New Window)" class="lookupIcon" onblur="this.className = 'lookupIcon';" onfocus="this.className = 'lookupIconOn';" onmouseout="this.className = 'lookupIcon';this.className = 'lookupIcon';" onmouseover="this.className = 'lookupIconOn';this.className = 'lookupIconOn';" title="Reports To Lookup (New Window)"></a>
37 </span>
tintin.rb (https://github.com/matthewlmcclure/homebrew.git) Ruby · 41 lines
blitz.rb (https://github.com/mischumok/homebrew.git) Ruby · 27 lines
blitz.rb (https://bitbucket.org/zozo123/homebrew.git) Ruby · 27 lines
EscUrlTest.java (https://github.com/evmcl/evlibjava.git) Java · 72 lines
html5lib_scripted_webkit01.html (https://github.com/rillian/firefox.git) HTML · 28 lines
21 var order = ['3ff6ec1125852c7933bf6d89ecb375354e6e1b40','46ae362de712eb9c55916de93110299dbbcb5726',];
22 var tests = {
23 "3ff6ec1125852c7933bf6d89ecb375354e6e1b40":[async_test('html5lib_scripted_webkit01.html 3ff6ec1125852c7933bf6d89ecb375354e6e1b40'), "1%3Cscript%3Edocument.write%28%222%22%29%3C/script%3E3", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%221%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22document.write%28%222%22%29%22%0A%7C%20%20%20%20%20%2223%22"],"46ae362de712eb9c55916de93110299dbbcb5726":[async_test('html5lib_scripted_webkit01.html 46ae362de712eb9c55916de93110299dbbcb5726'), "1%3Cscript%3Edocument.write%28%22%3Cscript%3Edocument.write%28%272%27%29%3C/scr%22%2B%20%22ipt%3E%3Cscript%3Edocument.write%28%273%27%29%3C/scr%22%20%2B%20%22ipt%3E%22%29%3C/script%3E4", "%23document%0A%7C%20%3Chtml%3E%0A%7C%20%20%20%3Chead%3E%0A%7C%20%20%20%3Cbody%3E%0A%7C%20%20%20%20%20%221%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22document.write%28%22%3Cscript%3Edocument.write%28%272%27%29%3C/scr%22%2B%20%22ipt%3E%3Cscript%3Edocument.write%28%273%27%29%3C/scr%22%20%2B%20%22ipt%3E%22%29%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22document.write%28%272%27%29%22%0A%7C%20%20%20%20%20%222%22%0A%7C%20%20%20%20%20%3Cscript%3E%0A%7C%20%20%20%20%20%20%20%22document.write%28%273%27%29%22%0A%7C%20%20%20%20%20%2234%22"],
24 }
25 init_tests(get_type());
ConsumerSpec.js (https://github.com/RobWC/jsOAuth.git) JavaScript · 108 lines
24 test('Output URL Encode', function () {
25 equals(OAuth.urlEncode(''), '', 'Output test 1');
26 equals(OAuth.urlEncode("\r\n $ & < > ? ; # : = , \" ' ~ + %"), '%0D%0A%20%24%20%26%20%3C%20%3E%20%3F%20%3B%20%23%20%3A%20%3D%20%2C%20%22%20%27%20~%20%2B%20%25', 'Output test 2');
28 equals(OAuth.urlEncode('ß'), '%C3%9F', 'Output test 3');
MongoStorageAdapter.spec.js (https://gitlab.com/mlnkv/parse-server) JavaScript · 40 lines
11 }).connect();
12 expect(MongoClient.connect).toHaveBeenCalledWith(
13 'mongodb://user!with%40%2B%20symbols:password!with%40%2B%20symbols@localhost:1234/parse',
14 jasmine.any(Object)
15 );
19 spyOn(MongoClient, 'connect').and.returnValue(Promise.resolve(null));
20 new MongoStorageAdapter({
21 uri: 'mongodb://user!with%40%2B%20symbols:password!with%40%2B%20symbols@localhost:1234/parse'
22 }).connect();
23 expect(MongoClient.connect).toHaveBeenCalledWith(
24 'mongodb://user!with%40%2B%20symbols:password!with%40%2B%20symbols@localhost:1234/parse',
25 jasmine.any(Object)
26 );
tintin.rb (https://gitlab.com/jcsilkey/homebrew-core) Ruby · 28 lines
tests.ml (git://github.com/aryx/fork-ocsigen.git) OCaml · 246 lines
saga-cpp.rb (https://github.com/lautis/homebrew.git) Ruby · 34 lines
Proof- log a + log b = log ab.md (https://gitlab.com/TechNikh/open-curricula-files) Markdown · 35 lines
Review of B cells, CD4+ T cells and CD8+ T cells.md (https://gitlab.com/TechNikh/open-curricula-files) Markdown · 21 lines
MongoStorageAdapter.spec.js (https://gitlab.com/fabiorf/parse-server) JavaScript · 37 lines
10 .connect();
11 expect(MongoClient.connect).toHaveBeenCalledWith(
12 'mongodb://user!with%40%2B%20symbols:password!with%40%2B%20symbols@localhost:1234/parse',
13 jasmine.any(Object)
14 );
17 it("doesn't double escape already URI-encoded information", () => {
18 spyOn(MongoClient, 'connect').and.returnValue(Promise.resolve(null));
19 new MongoStorageAdapter('mongodb://user!with%40%2B%20symbols:password!with%40%2B%20symbols@localhost:1234/parse', {})
20 .connect();
21 expect(MongoClient.connect).toHaveBeenCalledWith(
22 'mongodb://user!with%40%2B%20symbols:password!with%40%2B%20symbols@localhost:1234/parse',
23 jasmine.any(Object)
24 );
MatrixParamTest.java (https://gitlab.com/jaragan/jersey) Java · 80 lines
74 public void testMatrixParam() {
75 assertThat(target().matrixParam("y", "1").request().get(String.class), is("1"));
76 assertThat(target().matrixParam("x", "1").matrixParam("y", "1%20%2B%202").request().get(String.class), is("1 + 2"));
77 assertThat(target().matrixParam("x", "1").matrixParam("y", "1%20%26%202").request().get(String.class), is("1 & 2"));
78 assertThat(target().matrixParam("x", "1").matrixParam("y", "1%20%7C%7C%202").request().get(String.class), is("1 || 2"));
010758.html (https://github.com/whatwg/whatwg.org.git) HTML · 68 lines
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20%3Ctbody%3E%20content%20model%20should%20be%200%2B%20%3Ctr%3Es&In-Reply-To=%3Cop.tqbca70y7a8kvn%40hp-a0a83fcd39d2%3E">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
15 <!--htdig_noindex-->
16 <B>Simon Pieters</B>
17 <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20%3Ctbody%3E%20content%20model%20should%20be%200%2B%20%3Ctr%3Es&In-Reply-To=%3Cop.tqbca70y7a8kvn%40hp-a0a83fcd39d2%3E"
18 TITLE="[whatwg] <tbody> content model should be 0+ <tr>s">zcorpan at gmail.com
19 </A><BR>
44.VC6内存管理总结(下).md (https://github.com/havenow/my-C-plus-plus.git) Markdown · 16 lines
encodeURIComponent.as (https://github.com/bsdf/trx.git) ActionScript · 97 lines
58 array[item++] = new TestCase( SECTION, "encodeURIComponent('Hello{[World]}')", "Hello%7B%5BWorld%5D%7D", encodeURIComponent("Hello{[World]}") );
59 array[item++] = new TestCase( SECTION, "encodeURIComponent('Macromedia - Flash')", "Macromedia%20-%20Flash", encodeURIComponent("Macromedia - Flash") );
60 array[item++] = new TestCase( SECTION, "encodeURIComponent('2 * 4 + [8 + 5 ] - 3')", "2%20*%204%20%2B%20%5B8%20%2B%205%20%5D%20-%203", encodeURIComponent("2 * 4 + [8 + 5 ] - 3") );
61 array[item++] = new TestCase( SECTION, "encodeURIComponent('Flash(Macromedia)')", "Flash(Macromedia)", encodeURIComponent("Flash(Macromedia)") );
62 array[item++] = new TestCase( SECTION, "encodeURIComponent('BugID #17485')", "BugID%20%2317485", encodeURIComponent("BugID #17485") );
decodeURIComponent.as (https://github.com/bsdf/trx.git) ActionScript · 122 lines
54 array[item++] = new TestCase( SECTION, "decodeURIComponent('Hello%7B%5BWorld%5D%7D')", "Hello{[World]}", decodeURIComponent("Hello%7B%5BWorld%5D%7D") );
55 array[item++] = new TestCase( SECTION, "decodeURIComponent('Macromedia%20-%20Flash')", "Macromedia - Flash", decodeURIComponent("Macromedia%20-%20Flash") );
56 array[item++] = new TestCase( SECTION, "decodeURIComponent('2%20*%204%20%2B%20%5B8%20%2B%205%20%5D%20-%203')", "2 * 4 + [8 + 5 ] - 3", decodeURIComponent("2%20*%204%20%2B%20%5B8%20%2B%205%20%5D%20-%203") );
57 array[item++] = new TestCase( SECTION, "decodeURIComponent('Flash(Macromedia)')", "Flash(Macromedia)", decodeURIComponent("Flash(Macromedia)") );
58 array[item++] = new TestCase( SECTION, "decodeURIComponent('BugID%20%2317485')", "BugID #17485", decodeURIComponent("BugID%20%2317485") );
encode-decode.js (https://github.com/rillian/firefox.git) JavaScript · 57 lines
1 // Latin1
2 s = "a%2b%20def%00A0";
4 res = decodeURI(s);
38 res = encodeURIComponent("a+ def\x00A0");
39 assertEq(res, "a%2B%20def%00A0");
40 assertEq(isLatin1(res), true);
47 res = encodeURIComponent("a+ def\x00A0\u1200");
48 assertEq(res, "a%2B%20def%00A0%E1%88%80");
49 assertEq(isLatin1(res), true);
pcmanfm_1.2.4.bb (https://gitlab.com/actawithamana/poky) Bitbake · 43 lines
URLUtilsTest.java (https://github.com/nile/scribe-java.git) Java · 179 lines
170 // These tests are part of the Twitter dev examples here -> https://dev.twitter.com/docs/auth/percent-encoding-parameters
171 String sources[] = {"Ladies + Gentlemen", "An encoded string!", "Dogs, Cats & Mice"};
172 String encoded[] = {"Ladies%20%2B%20Gentlemen", "An%20encoded%20string%21", "Dogs%2C%20Cats%20%26%20Mice"};
174 for(int i = 0; i < sources.length; i++)
OAuth.lib.querystring.js (https://github.com/Kapinko/ExpressMVC.git) JavaScript · 24 lines
10 function () {
11 var tests = [
12 {'input': 'Ladies + Gentlemen', 'expected': 'Ladies%20%2B%20Gentlemen'},
13 {'input': 'An encoded string!', 'expected': 'An%20encoded%20string%21'},
14 {'input': 'Dogs, Cats & Mice', 'expected': 'Dogs%2C%20Cats%20%26%20Mice'},
15 {'input': 'Hello Ladies + Gentlemen, a signed OAuth request!', 'expected': 'Hello%20Ladies%20%2B%20Gentlemen%2C%20a%20signed%20OAuth%20request%21'}
16 ]
17 tests.forEach(function (test) {
MatrixParamTest.java (https://github.com/imyousuf/jersey.git) Java · 85 lines
PU_test_dcp_documentlink.php (https://github.com/CircleCode/dynacase-core.git) PHP · 218 lines
ExpressionLanguageTest.php (https://github.com/pulzarraider/symfony.git) PHP · 263 lines
README.rst (https://github.com/sastraxi/vizier.git) ReStructuredText · 46 lines
create-blob-url-from-data-url.html (https://gitlab.com/jonnialva90/iridium-browser) HTML · 33 lines
29 <p> Test case for checking blob URL can be created from the code running from data URI</p>
30 <pre id='console'></pre>
31 <iframe src="data:text/html,%3Cscript%3Evar%20bb%20%3D%20new%20Blob%28%5B%22Foo%22%5D%2C%20%7Btype%3A%22text%2Fhtml%22%7D%29%3Btop.location%3D%27http%3A%2F%2F127.0.0.1%3A8000%2Ffileapi%2Fcreate-blob-url-from-data-url.html%23%27%20%2B%20window.URL.createObjectURL%28bb%29%3B%3C%2Fscript%3E"></iframe>
32 </body>
33 </html>
ProgressAnimationSmooth.java (https://gitlab.com/jonnialva90/iridium-browser) Java · 97 lines
77 * We want to stop smoothly when it reaches the end. Thus zero velocity at the end:
78 * v_0 + A d_A - D d_D = 0
79 * Equation image: http://www.HostMath.com/Show.aspx?Code=v_0%20%2B%20A%20d_A%20-%20D%20d_D%20%3D%200
80 *
81 * The traveled distance should be (targetProgress - mProgress):
82 * targetProgress - mProgress =
83 * \int_0^{d_A} (v_0 + A t) dt + \int_0^{d_D} (v_{0} + A d_A - D t) dt
84 * Equation image: http://www.HostMath.com/Show.aspx?Code=targetProgress%20-%20mProgress%20%3D%20%5Cint_0%5E%7Bd_A%7D%20(v_0%20%2B%20A%20t)%20dt%20%2B%20%5Cint_0%5E%7Bd_D%7D%20(v_%7B0%7D%20%2B%20A%20d_A%20-%20D%20t)dt
85 *
86 * This function solves d_A from the above equations.
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 43 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 52 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 41 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 39 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 44 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 33 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 42 lines
Makefile (https://github.com/johnnywalker/freebsd-ports.git) Makefile · 53 lines
create-blob-url-from-data-url.html (https://github.com/dankurka/webkit_titanium.git) HTML · 33 lines
29 <p> Test case for checking blob URL not allowed to be created from the code running from data URI</p>
30 <pre id='console'></pre>
31 <iframe src="data:text/html,%3Cscript%3Evar%20b%20%3D%20new%20BlobBuilder()%3Bb.append(%22Foo%22)%3Bvar%20bb%20%3D%20b.getBlob('text%2Fhtml')%3Btop.location%3D'http%3A%2F%2F127.0.0.1%3A8000%2Ffileapi%2Fcreate-blob-url-from-data-url.html%23'%20%2B%20window.webkitURL.createObjectURL(bb)%3B%3C%2Fscript%3E"></iframe>
32 </body>
33 </html>
percent_encoding_test.cpp (https://github.com/hioa-cs/IncludeOS.git) C++ · 22 lines
7 {
8 std::string encoded {uri::encode("The C++ Programming Language (4th Edition)")};
9 static const char* expected = "The%20C%2B%2B%20Programming%20Language%20%284th%20Edition%29";
10 EXPECT(strcasecmp(encoded.c_str(), expected) == 0);
11 }
13 CASE("uri::decode() decodes an URI-encoded string")
14 {
15 std::string decoded {uri::decode("The%20C%2B%2B%20Programming%20Language%20%284th%20Edition%29")};
16 EXPECT(decoded == "The C++ Programming Language (4th Edition)");
17 }
CMakeLists.txt (https://github.com/lbaehren/CMakePorts.git) CMake · 78 lines
urlbuilder.feature (git://github.com/mikaelhg/urlbuilder.git) Gherkin Specification · 98 lines
Makefile (https://github.com/freebsd/freebsd-ports.git) Makefile · 51 lines
Makefile (https://github.com/freebsd/freebsd-ports.git) Makefile · 39 lines
pcmanfm_1.3.1.bb (https://gitlab.com/oryx/openembedded-core) Bitbake · 40 lines
Readme.md (https://github.com/neowutran/ShinraMeter.git) Markdown · 67 lines
UrlUtilsTest.java (https://github.com/twitter/twitter-kit-android.git) Java · 121 lines
CVE-2018-11686.py (https://github.com/orleven/Tentacle.git) Python · 50 lines
33 ("SWF_Directory", "config/"),
34 ("LICENSEKEY", ""), ("splitmode", "1"), ("RenderingOrder_PRIM", "flash"), ("RenderingOrder_SEC", "html"))
35 shellcode = "%65%63%68%6f%20%50%44%39%77%61%48%41%67%63%47%68%77%61%57%35%6d%62%79%67%70%4f%7a%38%2b%20%7c%62%61%73%65%36%34%20%2d%64%20%3e%24%28%70%77%64%29%2f%74%65%73%74%66%6f%72%6d%65%2e%70%68%70"
36 url1 = path + "flexpaper/php/change_config.php"
37 url2 = path + "flexpaper/php/setup.php?step=2&PDF2SWF_PATH=" + shellcode
ActiveUriTest.java (https://github.com/TOGoS/ContentCouch.git) Java · 106 lines
README.md (https://github.com/episodeyang/deep_learning_notes.git) Markdown · 48 lines
basic.t (http://rose.googlecode.com/svn/trunk/) Perl · 95 lines
60 $uri->query_param(c => '1 + 1 = 2');
61 is($uri, 'http://un:pw@ob.com:81/bar/baz?a=1&a=2&b=3&c=1%20%2B%201%20%3D%202#blah', 'escape 1');
63 $uri->path('/Foo Bar/Baz');
67 # URI::Escape 3.30 escapes () but older versions do not
68 ok($uri eq 'http://u%2Fn%26:pw@ob.com:81/Foo%20Bar/Baz?a=1&a=2&b=3&c=%3F5%2F1%20%2B%201-3%20%3D%202_()#blah' ||
69 $uri eq 'http://u%2Fn%26:pw@ob.com:81/Foo%20Bar/Baz?a=1&a=2&b=3&c=%3F5%2F1%20%2B%201-3%20%3D%202_%28%29#blah', 'escape 2');
055105.html (https://github.com/whatwg/whatwg.org.git) HTML · 80 lines
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20SQL%20API%20%2B%20access%20to%20tables&In-Reply-To=%3C696e4b7c0710192008q25c3c250v74d8d57d562087%40mail.gmail.com%3E">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <style type="text/css">
20 <!--htdig_noindex-->
21 <B>Scott Hess</B>
22 <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20SQL%20API%20%2B%20access%20to%20tables&In-Reply-To=%3C696e4b7c0710192008q25c3c250v74d8d57d562087%40mail.gmail.com%3E"
23 TITLE="[whatwg] SQL API + access to tables">shess at google.com
24 </A><BR>
2020-04-27-Pearson.md (https://github.com/github/dmca.git) Markdown · 93 lines
81 https://github.com/adeoti-ade/docs-3/blob/master/C_Primer_Plus_6th_Edition%5BENG%5D.pdf
83 https://github.com/adeoti-ade/docs-3/blob/master/C%2B%2B%20Primer%20Plus%206th%20Edition.pdf
85 https://github.com/adeoti-ade/docs-3/blob/master/Computer%20Networking%20-%20A%20Top-Down%20Approach%20(6th%20Edition).pdf
89 https://github.com/adeoti-ade/docs-3/blob/master/Modern_Operating_Systems.pdf
91 https://github.com/adeoti-ade/docs-3/blob/master/Mark%20Allen%20Weiss%20-%20Data%20Structures%20and%20Algorithm%20Analysis%20in%20C%2B%2B%20-%202014.pdf
rich-edit-control-examples.md (https://github.com/MicrosoftDocs/cpp-docs.git) Markdown · 13 lines
6 # Rich Edit Control Examples
8 The MFC OLE sample [WORDPAD](https://github.com/Microsoft/VCSamples/tree/da802c2aa92a730b3da33c5957186f128709c398/VC2010Samples/MFC/Visual%20C%2B%2B%202008%20Feature%20Pack/WordPad) uses the `CRichEditView`, `CRichEditDoc`, and `CRichEditCntrItem` classes. By extension, it uses the [CRichEditCtrl](../mfc/reference/cricheditctrl-class.md). For a quick description of these three classes, see [Classes Related to Rich Edit Controls](../mfc/classes-related-to-rich-edit-controls.md).
10 ## See also
tintin.rb (https://github.com/bryanforbes/homebrew.git) Ruby · 41 lines
001227.html (git://github.com/bjdean/cambridge-pm-website.git) HTML · 79 lines
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:cam.pm%40cam.pm.org?Subject=%5Bcam.pm%5D%20Backups%20%2B%20next%20pubmeet%2C%20Re%3A%20Hangover%20over%3F&In-Reply-To=20070421132115.GK18070%40t8o.org">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
14 <H1>[cam.pm] Backups + next pubmeet, Re: Hangover over?</H1>
15 <B>Robbie Bow</B>
16 <A HREF="mailto:cam.pm%40cam.pm.org?Subject=%5Bcam.pm%5D%20Backups%20%2B%20next%20pubmeet%2C%20Re%3A%20Hangover%20over%3F&In-Reply-To=20070421132115.GK18070%40t8o.org"
17 TITLE="[cam.pm] Backups + next pubmeet, Re: Hangover over?">robbie at robbiebow.co.uk
18 </A><BR>
ProgressAnimationSmooth.java (https://github.com/chromium/chromium.git) Java · 98 lines
76 * v_0 + A d_A - D d_D = 0
77 * Equation image:
78 * http://www.HostMath.com/Show.aspx?Code=v_0%20%2B%20A%20d_A%20-%20D%20d_D%20%3D%200
79 *
80 * The traveled distance should be (targetProgress - mProgress):
82 * \int_0^{d_A} (v_0 + A t) dt + \int_0^{d_D} (v_{0} + A d_A - D t) dt
83 * Equation image:
84 * http://www.HostMath.com/Show.aspx?Code=targetProgress%20-%20mProgress%20%3D%20%5Cint_0%5E%7Bd_A%7D%20(v_0%20%2B%20A%20t)%20dt%20%2B%20%5Cint_0%5E%7Bd_D%7D%20(v_%7B0%7D%20%2B%20A%20d_A%20-%20D%20t)dt
85 *
86 * This function solves d_A from the above equations.
issue1308-1.6.js
(http://fbug.googlecode.com/svn/)
JavaScript · 61 lines
✨ Summary
This JavaScript code runs a test for issue #1308, which involves verifying that the “Copy Location With Parameters” action works correctly in the Net panel of Firefox. It opens a new tab with a specific page, waits for the request to be displayed, and then checks if the copied URL is properly encoded when using this action.
This JavaScript code runs a test for issue #1308, which involves verifying that the “Copy Location With Parameters” action works correctly in the Net panel of Firefox. It opens a new tab with a specific page, waits for the request to be displayed, and then checks if the copied URL is properly encoded when using this action.
issue1308.js
(http://fbug.googlecode.com/svn/)
JavaScript · 56 lines
✨ Summary
This JavaScript code runs a test for issue #1308, which involves copying a URL with parameters from the Net panel and verifying that the copied URL is properly encoded. It opens a new tab, enables the Net panel, runs a test function, and checks if the expected result matches the actual result.
This JavaScript code runs a test for issue #1308, which involves copying a URL with parameters from the Net panel and verifying that the copied URL is properly encoded. It opens a new tab, enables the Net panel, runs a test function, and checks if the expected result matches the actual result.
Makefile (https://gitlab.com/BGCX262/zyxel-keenetic-packages-svn-to-git.git) Makefile · 45 lines
TestURIUtil2.java (git://pkgs.fedoraproject.org/jakarta-commons-httpclient) Java · 66 lines
test_url.py (https://gitlab.com/mkobar/thumbor) Python · 151 lines
OAuthEncoderTest.java (git://github.com/fernandezpablo85/scribe-java.git) Java · 69 lines
LICENSE (https://github.com/iperry/libmaple.git) License · 66 lines
40 STMicroelectronics forum at:
42 https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/STM32%20CC%2B%2B%20build%20environment%20using%20CodeSourcery%20Sourcery%20G%2B%2B¤tviews=18152
44 These files are stated to be in the public domain. Other files in /stm32conf/
README.md (https://git01.codeplex.com/cppvisualizers) Markdown · 35 lines
33 [1]: https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif
34 [2]: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=N3QTYHP9LH6UY&lc=RU&item_name=C%2b%2b%20Debugger%20Visualizers&item_number=CPPDebuggerVisualizers¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted
mediawiki_api_spec.rb (https://github.com/njh/dbpedialite.git) Ruby · 55 lines
exp-2441.py (https://github.com/zhangzhenfeng/AnyScan.git) Python · 23 lines
11 def audit(arg):
12 payload ='viewgood/webmedia/portal/pic_proxy.aspx?id=1%20and%201%3Dconvert%28int%2C%20CHAR%28116%29%20%2b%20CHAR%28121%29%20%2b%20CHAR%28113%29%2b@@version%2b%20CHAR%28116%29%20%2b%20CHAR%28121%29%20%2b%20CHAR%28113%29%29--&type=2'
13 target = arg + payload
14 code, head, res, errcode, _ = curl.curl2(target)
VulnerabilityTest.java (https://github.com/apache/struts-sandbox.git) Java · 100 lines
72 params.put("\u0023session.user2", "0wn3d");
73 params.put("\\u0023session.user2", "0wn3d");
74 params.put("('\u0023'%20%2b%20'session[\'user3\']')(unused)", "0wn3d");
75 params.put("('\\u0023' + 'session[\\'user4\\']')(unused)", "0wn3d");
76 params.put("('\u0023'%2b'session[\'user5\']')(unused)", "0wn3d");
FreeBusyUrl.cs
(http://google-calendar-connectors.googlecode.com/svn/trunk/)
C# · 130 lines
✨ Summary
This C# code generates URLs for free/busy information in Microsoft Exchange. It provides methods to generate URLs for individual users, admin groups, and legacy exchange distinguished names. The GenerateFreeBusyLookupUrl
method is used to retrieve free/busy information for multiple users within a specified time range.
This C# code generates URLs for free/busy information in Microsoft Exchange. It provides methods to generate URLs for individual users, admin groups, and legacy exchange distinguished names. The GenerateFreeBusyLookupUrl
method is used to retrieve free/busy information for multiple users within a specified time range.
35 {
36 return string.Format(
37 "{0}/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:{1}/USER-{2}.EML",
38 exchangeServerUrl,
39 ExchangeEncode(adminGroup),
59 return string.Format(
60 "{0}/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:{1}/USER-{2}.EML",
61 exchangeServerUrl,
62 ExchangeEncode( adminGroup ),
73 {
74 return string.Format(
75 "{0}/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:{1}/",
76 exchangeServerUrl,
77 ExchangeEncode( adminGroup ) );
FreeBusyUrlTest.cs
(http://google-calendar-connectors.googlecode.com/svn/trunk/)
C# · 93 lines
✨ Summary
This C# code defines a test class FreeBusyUrlTest
that tests the generation of URLs for various free/busy related operations in Microsoft Exchange Server. It creates test data, including users and dates, to verify that the generated URLs are correct. The test class uses the Google.GCalExchangeSync.Library.Util
namespace to generate these URLs.
This C# code defines a test class FreeBusyUrlTest
that tests the generation of URLs for various free/busy related operations in Microsoft Exchange Server. It creates test data, including users and dates, to verify that the generated URLs are correct. The test class uses the Google.GCalExchangeSync.Library.Util
namespace to generate these URLs.
41 private static readonly string FreeBusyTestUrl =
42 "http://example.org/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:Dev%20Project%201%20Organization_xF8FF_/USER-_xF8FF_cn=RECIPIENTS_xF8FF_cn=Administrative%20Group.EML";
44 private static readonly string FreeBusyFromDNUrl =
45 "http://example.org/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:_xF8FF_o=Microsoft_xF8FF_ou=APPS-ABC/USER-_xF8FF_cn=FOLDER_xF8FF_cn=ASAMPLE.EML";
47 private static readonly string AdminGroupUrl =
48 "http://example.org/public/NON_IPM_SUBTREE/SCHEDULE%2B%20FREE%20BUSY/EX:Group/";
50 private static readonly string SingleUserFreeBusyUrl =
README.md (https://bitbucket.org/cefasgarciapereira/apresentacao-backup-aws.git) Markdown · 120 lines
44 ```
46 [Try in REPL](http://babeljs.io/repl/#?evaluate=true&presets=es2015%2Cstage-0&code=const%20box%20%3D%20%7B%0A%20%20weight%3A%202%2C%0A%20%20getWeight()%20%7B%20return%20this.weight%3B%20%7D%2C%0A%7D%3B%0A%0Aconst%20%7B%20getWeight%20%7D%20%3D%20box%3B%0A%0Aconsole.log(box.getWeight())%3B%20%2F%2F%20prints%20'2'%0A%0Aconst%20bigBox%20%3D%20%7B%20weight%3A%2010%20%7D%3B%0Aconsole.log(bigBox%3A%3AgetWeight())%3B%20%2F%2F%20prints%20'10'%0A%2F%2F%20bigBox%3A%3AgetWeight()%20is%20equivalent%20to%20getWeight.call(bigBox)%0A%0A%2F%2F%20Can%20be%20chained%3A%0Afunction%20add(val)%20%7B%20return%20this%20%2B%20val%3B%20%7D%0A%0Aconsole.log(bigBox%3A%3AgetWeight()%3A%3Aadd(5))%3B%20%2F%2F%20prints%20'15')
48 ### Using with `document.querySelectorAll`
IncogitoUriTest.java (git://github.com/javaBin/incogito.git) Java · 107 lines
30 assertEquals("http://localhost/rest/events/JavaZone%202009/sessions/b8a6034f-573d-4321-9155-a5ed31885958/speaker-photos/2", session2RestUri.speakerPhoto(2));
32 assertEquals("http://localhost/events/JavaZone%202009/sessions/Scala%20%2b%20Wicket%20=%20Match%20made%20in%20heaven%3F",
33 incogitoUri.events().eventUri("JavaZone 2009").session(session46.title("Scala + Wicket = Match made in heaven?")));