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
| <?php | |
| /** | |
| * This gist expects the following parameters | |
| * | |
| * @param string $ldapURI The LDAP-Uri. Something like ldaps://example.com:636 or ldap://example.com/396 | |
| * @param string|null $rdnUsername The DN of a user with read-credentials to the LDAP. Not necessary for anonymous bind. | |
| * @param string|null $rdnPassword THe password of the $rdnUsername | |
| * @param string|null $filter THe filter to be used to find the user in the LDAP | |
| */ |
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
| #!/usr/bin/env python3 | |
| import glob | |
| import os | |
| import beancount_import.webserver | |
| ## I keep my scripts in a subdirectory relative to the main beancount | |
| ## file, so the main directory is this script's directory's parent. | |
| JOURNAL_DIR = os.path.dirname(os.path.dirname(__file__)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.