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
| { | |
| "editor.fontFamily": "'JetBrainsMonoNerdFontComplete-ExtraLight','JetBrains Mono ExtraLight','JetBrains Mono', 'Fira Code, Light',Monaco", | |
| "editor.fontLigatures": true, | |
| "editor.renderWhitespace": "all", | |
| "editor.suggestSelection": "first", | |
| "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
| "workbench.iconTheme": "vscode-icons", | |
| "python.pythonPath": "/usr/bin/python3", | |
| "touchBar.closeOtherEditors": false, | |
| "touchBar.goToReferences": true, |
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
| func newDateWithZoneDate(year int, month time.Month, day, hour, min, sec, nsec int, refTime time.Time) time.Time { | |
| timeDiff := time.Duration(hour-refTime.Hour())*time.Hour + | |
| time.Duration(min-refTime.Minute())*time.Minute + | |
| time.Duration(sec-refTime.Second())*time.Second + | |
| time.Duration(nsec-refTime.Nanosecond())*time.Nanosecond | |
| return refTime.AddDate(year-refTime.Year(), int(month-refTime.Month()), day-refTime.Date()). | |
| Add(timeDiff) | |
| } |
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
| diff --git a/include/ldaplusplus/events/Events.hpp b/include/ldaplusplus/events/Events.hpp | |
| index bcaa96b..7126964 100644 | |
| --- a/include/ldaplusplus/events/Events.hpp | |
| +++ b/include/ldaplusplus/events/Events.hpp | |
| @@ -7,7 +7,7 @@ | |
| #include <mutex> | |
| #include <thread> | |
| #include <unordered_set> | |
| - | |
| +#include <functional> |
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
| import sys | |
| import subprocess | |
| import re | |
| def convert_to(folder, source, timeout=None): | |
| args = [libreoffice_exec(), '--headless', '--convert-to', 'pdf', '--outdir', folder, source] | |
| shell_str = '' | |
| for i in args: |