This file contains 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
*&---------------------------------------------------------------------* | |
*& 1. Create this include ZABAPGIT_USER_EXIT inside | |
*& your ZABAPGIT_STANDALONE program/report | |
*& 2. Start transaction SM59 and click on 'HTTP Connections to External Server' | |
*& 3. Click 'Create' button and create destination 'GITHUB' (type G) | |
*& 4. Host 'github.com' with Port '443' | |
*& 5. Under 'Logon & Security' select Basic authentication and enter github username and PAT | |
*& 6. Under 'Security Options' select SSL 'Active' and SSL Certificate 'ANONYM SSL' | |
*& 7. Save and test | |
*&---------------------------------------------------------------------* |
This file contains 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
interface MyObj1 { | |
[key: string]: string; // All other properties must be strings | |
name: string; // Mandatory properties | |
} | |
interface MyObj2 { | |
name: string; // Mandatory properties | |
age: number | |
} | |
let obj1: MyObj1 = { | |
name: 'foo', |
This file contains 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
<# | |
.Synopsis | |
Run any code via the piston API | |
.Description | |
Pass in your code and it will be run on a remote machine via the piston API. | |
See https://github.com/engineer-man/piston for more details | |
.Parameter Language | |
The name of the language: |
This file contains 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
The explanation of "UVV 000155 099" (scoring 15.364279) is: | |
{ | |
"_shard": "[myindex][0]", | |
"_node": "6tgOP8JVSmai0c0uR_Co7g", | |
"_index": "myindex", | |
"_type": "_doc", | |
"_id": "UVV -00155-099", | |
"_score": 15.364279, | |
"_source": { |
This file contains 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
store xpath count | //a[@title='Remove from shopping cart'] | count | |
if | ${count} > 0 | |
echo | Found ${count} buttons! | |
click | //a[@title='Remove from shopping cart'] | |
else | | |
echo | Found no buttons | |
end | |
This file contains 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
var http = require('http'), | |
url = require('url'), | |
vm = require('vm'), | |
fs = require('fs'); | |
// Process request and send response to client | |
exports.run = function(request, response) { | |
var res = this.process(request); | |
response.statusCode = res.statusCode||200; | |
response.setHeader("Content-Type", res.contentType||"text/html"); |