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
| // generated by quake, do not modify | |
| unbindall | |
| bind TAB "+scores" | |
| bind ENTER "+button2" | |
| bind ESCAPE "togglemenu" | |
| bind SPACE "weapon 7" | |
| bind + "sizeup" | |
| bind - "sizedown" | |
| bind / "weapnext" | |
| bind 0 "weapon 10" |
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 file is overwritten whenever you change your user settings in the game. | |
| // Add custom configurations to the file "userconfig.cfg". | |
| unbindall | |
| bind "TAB" "+showscores" | |
| bind "ENTER" "+attack" | |
| bind "ESCAPE" "cancelselect" | |
| bind "SPACE" "+jump" | |
| bind "'" "+moveup" | |
| bind "+" "sizeup" |
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
| user | |
| SYSTEM | |
| You are a cartographer-engineer. Use web access and Python to produce an accurate political map. Cite sources you use. Do not free-draw. Use authoritative data (Natural Earth). Follow the user specification exactly. Produce both SVG and high-resolution PNG. After rendering, run a self-check: (1) country count = 47, (2) labels visible/non-overlapping, (3) microstates shown with callouts, (4) disputed areas policy applied. If any check fails, fix and re-render. | |
| USER | |
| Goal: Create a labeled political map of Europe that meets this spec. | |
| 1. Scope & countries | |
| Include and label these 47 sovereign states: Albania; Andorra; Austria; Belarus; Belgium; Bosnia and Herzegovina; Bulgaria; Croatia; Cyprus; Czechia; Denmark; Estonia; Finland; France; Germany; Greece; Hungary; Iceland; Ireland; Italy; Kosovo; Latvia; Liechtenstein; Lithuania; Luxembourg; Malta; Moldova; Monaco; Montenegro; Netherlands; North Macedonia; Norway; Poland; Portugal; Romania; Russia (European part); San Marino; Serbia; Slovakia; Sloven |
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 goes here | |
| # client that runs ecs task | |
| def call_ecs_task(ecs_client, payload): | |
| results = ecs_client.run_task() | |
| pass | |
| # client that runs lambda task |
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 goes here | |
| def lambda_handler(event, context): | |
| # lambda code goes here | |
| pass | |
| if __name__ == '__main__': # in case if we run it in a container | |
| if 'EVENT' not in os.environ: | |
| raise Exception('No event provided in os.environ.') | |
| 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
| [ODBC] | |
| Trace=1 | |
| ForceTrace=1 | |
| TraceFile=/tmp/Trace.txt | |
| TraceLibrary=libodbctrac.so |
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
| %let LD_LIBRARY_PATH =%sysget(LD_LIBRARY_PATH); | |
| %put LD_LIBRARY_PATH is &LD_LIBRARY_PATH; | |
| %let ODBCINST =%sysget(ODBCINST); | |
| %put ODBCINST is &ODBCINST; |
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
| git rev-list -n 1 HEAD -- <file_path> | |
| git checkout <deleting_commit>^ -- <file_path> |
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 python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Deduplication collection mongodb database utility. | |
| # | |
| # Works only with pymongo >= 3.0 | |
| # Kireal | |
| # | |
| # 01.10.2016 | |
| # Last change: 04.10.2016 |
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 FORWARD chain does need policy set to ACCEPT if you have --iptables=false. It only appears this is not needed because the Docker installation package auto starts Docker and adds iptable rules the FORWARD chain. When afterwards you add --iptables=false to your config and restart docker those rules are still there. After the next reboot these rules will be gone and your containers wont be able to communicate unless you have the FORWARD chain policy set to ACCEPT. | |
| What you need for a setup that allows filtering with UFW, inter container networking and outbound connectivity is | |
| start docker with --iptables=false | |
| FORWARD chain policy set to ACCEPT | |
| add the following NAT rule: | |
| iptables -t nat -A POSTROUTING ! -o docker0 -s 172.17.0.0/16 -j MASQUERADE | |
NewerOlder