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 DOLLARS_TO_EURO = 0.88; | |
const CUSTOMS_TAX_PERCENTAGE = 3.2; | |
const VAT_PERCENTAGE = 20; | |
const getTtc = price => { | |
// price in USD | |
price = DOLLARS_TO_EURO * price; | |
const customs = (CUSTOMS_TAX_PERCENTAGE * price / 100); | |
const vat = (VAT_PERCENTAGE * price / 100); |
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
""" | |
Of course, this is not real code apart from the core functionality | |
""" | |
from __future__ import unicode_literals | |
from functools import reduce as functools_reduce | |
from operator import attrgetter, itemgetter | |
class DummyItem: | |
def __init__(self): |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\RalliSport Challenge\1.0] | |
;New | |
"LangID"=dword:00000009 |