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
| if not defined HEAP ( | |
| rem See the unix startup file for the rationale of the following parameters, | |
| rem including some tuning recommendations | |
| set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m | |
| ) |
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
| indexes = [5, 12, 17] | |
| list = range(20) | |
| part1 = list[:5] | |
| part2 = list[5:12] | |
| part3 = list[12:17] | |
| part4 = list[17:] | |
| from itertools import izip, chain | |
| def partition(alist, indices): |
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
| <script src="https://unpkg.com/vue"></script> | |
| <div id="app"> | |
| <my-component> | |
| <p class="textbox">hell | |
| o world1</p> | |
| <p class="textbox">hello world2</p> | |
| </my-component> | |
| </div> |
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
| document.onreadystatechange = function () { | |
| console.log("test", document.readyState); | |
| if (document.readyState === "interactive") { | |
| var modif2 = document.createElement("script"); | |
| modif2.type = "text/javascript"; | |
| modif2.src = "https://unpkg.com/xhook@1.4.9/dist/xhook.min.js"; | |
| document.getElementsByTagName("head")[0].appendChild(modif2); | |
| console.log("--- inserted src ----"); | |
| } else if (document.readyState === "complete") { |
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 () { | |
| const tabStorage = {}; | |
| const networkFilters = { | |
| urls: ["*://*/*"], | |
| }; | |
| chrome.webRequest.onBeforeRequest.addListener((details) => { | |
| const { tabId, requestId } = details; | |
| if (!tabStorage.hasOwnProperty(tabId)) { | |
| return; |
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
| public class BasicSystemUnderTest<TStartup> : IClassFixture<WebApplicationFactory<TStartup>> | |
| where TStartup : class | |
| { | |
| protected readonly WebApplicationFactory<TStartup> _factory; | |
| public BasicSystemUnderTest(WebApplicationFactory<TStartup> factory) | |
| { | |
| _factory = factory; | |
| } | |
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
| <asp:Content ID="errorContent" ContentPlaceHolderID="MainContent" runat="server"> | |
| <h2><%= Html.Encode(ViewData["Title"]) %></h2> | |
| <p><%= Html.Encode(ViewData["Description"])%></p> | |
| <div> | |
| <%= Html.ActionLink("返回首頁", "Index", "Home") %>. | |
| </div> | |
| </asp:Content> |
NewerOlder