Skip to content

Instantly share code, notes, and snippets.

View yavorg's full-sized avatar
🐳

Yavor Georgiev yavorg

🐳
View GitHub Profile
@yavorg
yavorg / breeds.json
Last active September 6, 2022 01:35
Undici mocking
{
"affenpinscher": [],
"african": [],
"airedale": [],
"akita": [],
"appenzeller": [],
"australian": [
"shepherd"
],
"basenji": [],
@yavorg
yavorg / integration.js
Created January 10, 2022 00:57
Merging two objects in Fusebit with configurable field mapping
const { Integration } = require('@fusebit-int/framework');
const schema = require('./schema.json');
const uiSchema = require('./uiSchema.json');
const integration = new Integration();
const router = integration.router;
const salesforceConnetorName = 'salesforceConnector';
const hubspotConnectorName = 'hubspot';
var request = require('request');
module.exports = function(ctx, cb) {
var opts = {
url: 'http://api.fixer.io/latest',
json: true
};
request.get(opts, function(err, res) {
if(err) {
console.log(err);
@yavorg
yavorg / Repro.html
Created November 3, 2011 22:27
Repro for Upshot.js issue #41
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<title>Repro test for RIA JS</title>
<link href="css/qunit.css" rel="stylesheet" type="text/css" />
</head>
@yavorg
yavorg / Repro.html
Created November 3, 2011 22:14
Repro for Upshot.js issue #35
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<title>Repro test for RIA JS</title>
<link href="css/qunit.css" rel="stylesheet" type="text/css" />
</head>