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
{ | |
"_type": "export", | |
"__export_format": 4, | |
"__export_date": "2020-10-13T05:43:34.282Z", | |
"__export_source": "insomnia.desktop.app:v2020.4.1", | |
"resources": [ | |
{ | |
"_id": "req_97efcf20fc77413884513e443f097fbc", | |
"parentId": "wrk_e4b4380923e1460fb7768efbd66f65e0", | |
"modified": 1602567245088, |
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
const fastify = require('fastify').default // npm install fastify | |
let sessionId = 0 | |
async function fireAndForget () { | |
const server = fastify() | |
.route({ | |
url: '/login', | |
method: 'POST', | |
handler: async (request) => { | |
const { username } = request.body |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"> | |
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> | |
</head> | |
<body ng-app="app"> | |
<div ng-controller="DemoCtrl"> |
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
static class UriHelper { | |
public static Uri Combine(params string[] parts) { | |
var raw = new StringBuilder(); | |
for (int i = 0; i < parts.Length; i++) { | |
var p = parts[i]; | |
if (p.StartsWith("/")) | |
p = p.Substring(1); | |
raw.Append( | |
p.EndsWith("/") || i == parts.Length - 1 ? p : p + "/" |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Security.Cryptography; | |
using System.IO; | |
using System.Runtime.Serialization.Json; | |
using System.Runtime.Serialization; | |
// Add reference to System.Runtime.Serialization.dll |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Xml.Serialization; | |
namespace kraussHQ { | |
public sealed class BlobCacheEntry { |
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
'use strict'; | |
this.res.send({ | |
msg: 'Hello from subkit.io!' | |
}); |
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
'use strict'; | |
//Open your Log-Stream to show the output. | |
console.log('Hello from subkit.io!'); |
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
'use strict' | |
this.res.send({ | |
message: 'bar' | |
}); |
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
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Net; | |
using System.Web; | |
namespace coffeeInjection { |
NewerOlder