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 onlineBanks = { | |
be: [{ name: "ING Belgium", link: "https://www.ing.be/en/expats/day-to-day-banking/self-banking/Pages/homebank.aspx?WT.ac=AD_HP_expats_OnlineBanking_howtouseHB" }], | |
hr: [{ name: "Zagrebačka banka", link: "http://www.zaba.hr/home/wps/wcm/connect/zaba_hr/zabautils/naslovnica/" }], | |
cy: [{ name: "Bank of Cyprus", link: "http://www.bankofcyprus.com.cy/en-GB/Internet-Banking/" }], | |
fr: [{ name: "BNP Paribas", link: "https://mabanque.bnpparibas/fr/connexion" }], | |
gr: [{ name: "Alpha Bank", link: "http://www.alpha.gr/page/" }], | |
hu: [{ name: "Budapest bank", link: "http://www.budapestbank.hu/" }], | |
ie: [{ name: "AIB", link: "http://personal.aib.ie/" }], | |
it: [{ name: "Unicredit", link: "https://www.unicredit.it/it/privatebanking/soluzionibancarie/internet-banking.html" }], | |
lv: [{ name: "Swedbank", link: "https://ib.swedbank.lv/private" }, { name: "Nordea", link: "https://netbank.nordea.com/pnb/login.do?ts=LV&language=lv" }, { name: "SEB", link: "https://ibanka.seb.lv/ipc/index.jsp" }, { name: |
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
window.sr = ScrollReveal({ reset: true }); | |
sr.reveal('.js-reveal', { | |
duration: 500, | |
delay: 75, | |
easing: 'ease-out', | |
scale: 1, | |
distance: '2rem' | |
}); |
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
sketch = Framer.Importer.load("imported/medox-framer@2x", scale: 1) | |
stars = sketch.moving_stars.children | |
second_batch = sketch.moving_stars.copy() | |
second_batch.name = 'moving_stars2' | |
second_batch.parent = sketch.BG | |
stars2 = second_batch.children | |
stars.map (s) -> | |
s.y = Screen.height + Utils.randomNumber(0, 200) |
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
(function () { | |
/* Adapted from https://github.com/substack/single-page/ */ | |
if (settings.isSpa && window.history && window.history.pushState) { | |
document.body.addEventListener('click', function (e) { | |
var isSpaLink = e.target.matches('[data-spa-link]') | |
var spaLink = isSpaLink ? e.target : e.target.closest('[data-spa-link]') | |
if (!isSpaLink || e.metaKey || e.ctrlKey || e.shiftKey) { | |
return |
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
#!/usr/bin/env ruby | |
require 'HTTParty' | |
require 'optparse' | |
require 'csv' | |
class ApplicationsExport | |
def initialize(base_url, provider_key, outfile) | |
@applications = [] |
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'); | |
var httpProxy = require('http-proxy'); | |
var caCert = | |
'-----BEGIN CERTIFICATE-----\n' + | |
'MIIDajCCAlICCQDgeRZY85PN7TANBgkqhkiG9w0BAQUFADB2MQswCQYDVQQGEwJV\n' + | |
'UzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEh\n' + | |
'MB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRcwFQYDVQQDEw5EZW1v\n' + | |
'IEF1dGhvcml0eTAgFw0xNTA3MDQyMTQxNDlaGA8yMTE1MDYxMDIxNDE0OVowdjEL\n' + | |
'MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\n' + |
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
package.path = package.path .. ';../?.lua;test/?.lua' | |
require 'test_helper' | |
local services = require 'fixtures' | |
local matcher = require 'matcher' | |
local metric_builder = require 'metric_builder' | |
local rules = { | |
['GET api.domain.com/fronts/{source_id}/news'] = { | |
service_id = '16', source_scheme = 'http', target_scheme = 'http', |
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
import { Navigator } from 'react-native'; | |
import PixelRatio from 'PixelRatio'; | |
import Dimensions from 'Dimensions'; | |
import buildStyleInterpolator from 'buildStyleInterpolator'; | |
// use FloatFromRight as starting template | |
const BaseConfig = Navigator.SceneConfigs.FloatFromRight; | |
// create custom navigator transition |
NewerOlder