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
| {"records":[{"external_id":"mock-1","external_source":"ted","title":"Mock tender 1","summary":"Synthetic tender record 1","status":"open","countries":"PT","budget_min":10000,"budget_max":20000,"currency":"EUR","source_updated_at":"2026-01-01T00:00:00.000Z"},{"external_id":"mock-2","external_source":"ted","title":"Mock tender 2","summary":"Synthetic tender record 2","status":"open","countries":"ES","budget_min":10001,"budget_max":20001,"currency":"EUR","source_updated_at":"2026-01-01T00:00:01.000Z"},{"external_id":"mock-3","external_source":"ted","title":"Mock tender 3","summary":"Synthetic tender record 3","status":"open","countries":"PT","budget_min":10002,"budget_max":20002,"currency":"EUR","source_updated_at":"2026-01-01T00:00:02.000Z"},{"external_id":"mock-4","external_source":"ted","title":"Mock tender 4","summary":"Synthetic tender record 4","status":"open","countries":"ES","budget_min":10003,"budget_max":20003,"currency":"EUR","source_updated_at":"2026-01-01T00:00:03.000Z"},{"external_id":"mock-5","ext |
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
| const response = await fetch('/api/stream', { | |
| method: 'POST', | |
| headers: { | |
| accept: 'text/event-stream', | |
| 'content-type': 'application/json', | |
| }, | |
| body: JSON.stringify(body), | |
| }) | |
| async function readAllChunks(readableStream) { |
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
| :root { | |
| --scale: 1rem; | |
| --constrains: calc(1vw / 5); | |
| --base: clamp(1rem, var(--constrains) + var(--scale), 3rem); | |
| } | |
| html, body { | |
| font-size: var(--base); | |
| } |
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
| <!-- Append to pom.xml --> | |
| <dependency> | |
| <groupId>com.thetransactioncompany</groupId> | |
| <artifactId>cors-filter</artifactId> | |
| <version>1.8</version> | |
| </dependency> | |
| <!-- Append to web.xml --> | |
| <filter> |
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
| @media (min-width:768px) { | |
| .navbar-nav { | |
| content:'desktop' | |
| } | |
| } | |
| @media (max-width:767px) { | |
| .navbar-nav { | |
| content:'mobile' | |
| } | |
| } |
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
| app.factory('getData', function($http, $q) { | |
| return { | |
| getItem: function(url) { | |
| //Creating a deferred object | |
| var deferred = $q.defer(); | |
| //Calling Web API to fetch | |
| $http.jsonp(url).success(function(data) { | |
| //Passing data to deferred's resolve function on successful completion | |
| deferred.resolve(data); |
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(window) { | |
| $.support.cors = true; | |
| var u = 'https://docs.backbase.com/extranet/portal/'; | |
| function scrap() { | |
| var $body = $('#bbdoc-tree'); | |
| var navT = $body.find('li.html'); | |
| mainIt(navT); | |
| } |
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($){ | |
| function inject(link) { | |
| console.log(link); | |
| var form = link.indexOf('.css') | |
| console.log(form) | |
| if (form == 1) { | |
| $('<link rel="stylesheet" href="'+link+'">').appendTo($('head')); |
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
| //addEventListener polyfill 1.0 / Eirik Backer / MIT Licence | |
| (function(win, doc) { | |
| if (win.addEventListener) return; //No need to polyfill | |
| function docHijack(p) { | |
| var old = doc[p]; | |
| doc[p] = function(v) { | |
| return addListen(old(v)) | |
| } | |
| } |
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
| @import url(http://fonts.googleapis.com/css?family=Cabin:400,600,700,500italic&v2); | |
| /* @group RESET */ | |
| /*Contains general crossBrowser annoyances fixing including html5 new elements*/ | |
| html, body, div, span, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, | |
| small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend, | |
| table, caption, tbody, tfoot, thead, tr, th, td, | |
| article, aside, canvas, details, figcaption, figure, |
NewerOlder