Skip to content

Instantly share code, notes, and snippets.

View silkimen's full-sized avatar

Sefa Ilkimen silkimen

View GitHub Profile
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
@silkimen
silkimen / Outlook_disable_Autodiscover.scpt
Created May 5, 2017 09:30
Disable background autodiscover of Mac Outlook
# This is a Apple Script; use AppleScript Editor to run this
# It will disable autodiscover feature of Mac Outlook for your account
# Adjust the variables "accountName" and "serverUrl" according to your needs
set accountName to "NameOfYourAccount"
set serverUrl to "https://your.domain.org/your/subpath/Exchange.asmx"
tell application "Microsoft Outlook"
set server of every other users folder account of exchange account accountName to serverUrl
set background autodiscover of every other users folder account of exchange account accountName to false
@silkimen
silkimen / interhyp_crawler.js
Last active September 30, 2018 15:19
Crawling offerings in interhyp customer portal
(function() {
const whitelistedIndexes = [0, 10, 12, 14, 16, 18, 20, 22, 24];
const getCsvLine = row => row.join(';');
const removeRedundancy = value => value.replace('Darlehensbetrag ', '');
const getValue = element => `"${element.innerHTML}"`;
const isWhitelisted = (element, index) => whitelistedIndexes.includes(index);