<code-sample> A wrapper element for highlight.js A themeable sample code snippet that uses highlight.js for syntax highlighting. Forget to worry about spaces, indentation, HTML entities, etc. <code-sample> <template> <div class="some-class"> <p>Lorem ipsum dolor…</p> </div> </templ...
use the UIWebView's content in the html: the UIWebView's opaque property set to NO URL Last Revision: Version 1.4, 2010-06-25 #LaunchMe# The LaunchMe sample application demonstrates how to register a new URL type. Registering a new URL type allows other applications to interact with you...
HttpResponseMessage response=awaitclient.PostAsJsonAsync("api/products", product); response.EnsureSuccessStatusCode();//return URI of the created resource.returnresponse.Headers.Location; }staticasyncTask<Product> GetProductAsync(stringpath) { Product product=null; HttpResponseMessage response=awaitclient.GetA...
model and uses it to set the window title and WebView URL. TheWebViewcan be seen as a chromeless browser, embedded in the app. Though one of Titanium's unique features is the use of native UI components, you can easily intergrate existing local or remote HTML and evencommunicatewith it....
This sample uses JavaScript code to insert the stars.jpeg image at the top of the current webpage, inside the <body> element. The extension's pop-up contains a title and an HTML button that's labelled Insert picture. When you click the Insert picture button, the extension's JavaScript ...
Open the WebMessage sample page (ScenarioWebMessage.html) as described above. In the Script menu, select Post Web Message JSON. A dialog containing the pre-written code {"SetColor":"blue"} appears. Click OK. The text in the Posting Messages section of the page changes from black to blue...
This code sample statically links to code in the TPM2 software stack, notably:https://github.com/tpm2-software/tpm2-tss, and https://github.com/tpm2-software/tpm2-toolsA script to fetch and build tpm2-tss and tpm2-tools in the manner required for this sample is included with the...
Android Sample Code Setup Download or clone the Android Sample Github Project from:https://github.com/dji-sdk/Mobile-SDK-Android. Open the project in Android Studio and paste the generatedApp Keystring intoandroid:valuein the "com.dji.sdk.API_KEY" meda-data element in the "AndroidManifest.xm...
Get a GitHub Token Run ./azure-deploy.sh. Please note that if this is the first time you run it, it will create an .env file in the root folder. Fill the .env file. Run the ./azure-deploy.sh again. Once the deployment is done go to the Azure portal, and open the Azure Static...
参考:https://vipshop.github.io/Saturn/#/zh-cn/3.0/saturn-console-deployment 1.确保JDK已经安装好,zookeeper和mysql环境都已经准好; 2. 创建数据库和表。执行官网提供的 sql 脚本即可。 向 sys_config 表中初始化两条数据,如果不手动插入这两条数据,后面登录到系统管理界面,添加不进去,... ...