from data parser.search import search_dates
search_setting = {"REQUIRE_PARTS": ["month","day", "PREFER_DAY_OF_MONTH":"last"}
matches=search_dates(text, settings=search_settings)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| CapsLock:: | |
| IsKey := false | |
| Input, key, B C L1 T1, {Esc} | |
| IsKey := true | |
| if (ErrorLevel = "Max") | |
| Send, % "^" key | |
| KeyWait, CapsLock | |
| return | |
| CapsLock up:: | |
| if !IsKey |
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
| def run_command(command): | |
| process = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE, encoding='utf8') | |
| while True: | |
| output = process.stdout.readline() | |
| if output == '' and process.poll() is not None: | |
| break | |
| if output: | |
| print (output.strip()) | |
| rc = process.poll() | |
| return rc |
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
| #!/bin/bash | |
| sudo apt install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf libxcb-xrm0 libxcb-xrm-dev automake | |
| cd /tmp | |
| # clone the repository | |
| git clone https://www.github.com/Airblader/i3 i3-gaps | |
| cd i3-gaps | |
| # compile & install |
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
| # The input number | |
| input = 7140229933 | |
| # Function of checking wether a numner is a prime number | |
| def if_pre(n): | |
| for i in range(2,n): | |
| if n%i == 0: | |
| return False | |
| break | |
| else: |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <module type="PYTHON_MODULE" version="4"> | |
| <component name="NewModuleRootManager"> | |
| <content url="file://$MODULE_DIR$" /> | |
| <orderEntry type="inheritedJdk" /> | |
| <orderEntry type="sourceFolder" forTests="false" /> | |
| </component> | |
| <component name="TestRunnerService"> | |
| <option name="PROJECT_TEST_RUNNER" value="Unittests" /> | |
| </component> |