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
""" | |
This set of Python 3 classes is created to make automatic filtering of | |
SQLAlchemy queries easier. It is designed to have an api similar to | |
Django-filter (https://github.com/carltongibson/django-filter). | |
You may use an modify this code however you like for non-commercial purposes. | |
I will appreciate it if you mention my name when you do so. | |
Copyright (c) 2021 Martijn Luinstra | |
""" |
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
/** | |
* Some javascript to render a soundboard. | |
* Demo: https://vakantieracer.com/ | |
* | |
* You may use an modify this code however you like for non-commercial purposes. | |
* I will appreciate it if you mention my name when you do so. | |
* | |
* Copyright (c) 2018 - Martijn Luinstra | |
*/ |
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
""" | |
For our PHP website, I needed to reverse the translation direction of the i18n functionality. The source code was all in | |
Dutch, but since international people had joined our team it made sense to change it to English in order to make their | |
work easier. This script was created to ease that process. | |
Please note that this isn't perfect: it won't correctly escape special characters that are inserted into the code, and | |
it also won't replace strings that contain escaped characters. It does make the entire process a lot less tedious, though. | |
Copyright (c) 2018 Martijn Luinstra | |
""" |
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
""" | |
Python 3 Generator for Dutch IBANs. | |
Should be equivalent to gist.github.com/martijnluinstra/9ca0f62b9ddc01288be8a6072d29b029 | |
Demo: projects.martijnluinstra.nl/iban/ | |
Copyright (c) 2017 Martijn Luinstra | |
""" | |
import functools | |
import operator |
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
/** | |
* Javascript Generator for Dutch IBANs. | |
* Demo: projects.martijnluinstra.nl/iban/ | |
* Dependencies: https://github.com/MikeMcl/bignumber.js/ | |
* | |
* Copyright (c) 2017 - Martijn Luinstra | |
*/ | |
/** | |
* Converts IBAN to the decimal representation used for validation |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="shortcut icon" href="../../favicon.ico"> | |
<title>Bootstrap 4 Theme Tester</title> |