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
| [mcp_servers.rohlik_agent] | |
| command = "/Users/vasek/Library/pnpm/bin/codex" | |
| args = ["mcp-server"] | |
| cwd = "/Users/vasek/.codex-rohlik-workspace" | |
| startup_timeout_sec = 30 | |
| tool_timeout_sec = 300 | |
| default_tools_approval_mode = "approve" | |
| [mcp_servers.rohlik_agent.env] | |
| CODEX_HOME = "/Users/vasek/.codex-rohlik" |
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
| 0. // Vyhledáš funkci v tabulce symbolů a pokud už existuje, vyhodíš chybu | |
| 1. Parametry: | |
| // Každý parametrů zvlášť přeložíš, vytvoříš pro něj deklaraci PARM_DECL a přiřadíš typ. | |
| paramTree = param->Translate(NULL_TREE, symbTable); | |
| paramDeclTree = build_decl(UNKNOWN_LOCATION, PARM_DECL, get_identifier(param->name), paramTree); | |
| DECL_ARG_TYPE(paramDeclTree) = paramTree; | |
| // Pak přidáš do seznamu parametrů a seznamu deklarací parametrů (defaulně obě NULL_TREE). | |
| paramsTree = chainon(paramsTree, tree_cons(NULL_TREE, paramTree, NULL_TREE)); | |
| paramsDeclTree = chainon(paramsDeclTree, paramDeclTree); |
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
| BASH | |
| * In bash, 'ctrl-r' searches your command history as you type | |
| - Input from the commandline as if it were a file by replacing | |
| 'command < file.in' with 'command <<< "some input text"' | |
| - '^' is a sed-like operator to replace chars from last command | |
| 'ls docs; ^docs^web^' is equal to 'ls web'. The second argument can be empty. | |
| * '!!:n' selects the nth argument of the last command, and '!$' the last arg | |
| 'ls file1 file2 file3; cat !!:1-2' shows all files and cats only 1 and 2 | |
| - More in-line substitutions: http://tiny.cc/ecv0cw http://tiny.cc/8zbltw | |
| - 'nohup ./long_script &' to leave stuff in background even if you logout |
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
| .guidesOn::before { | |
| content:""; | |
| position:fixed; | |
| background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxEAAAsRAX9kX5EAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjVJivzgAAAAyUlEQVRoQ%2B2abQqAIBBEPW1X6CzdqTv1RUFIipi2o72gPyXV7uybKci5wDZM8xI6dz%2Buvs6pP2Dq81GI2qiiiJkiOzQ97EGHTXUF9XUwYsaI2o1LjyqjpaYwiqDI2YFs2HtI9Wjx2Z0R%2B1ADdmB%2FC7taB0uzCSNqCqOImSIkeyW7xLXMZvqjdzJcS01hFEGRSnbe3miR7JVGgWRXcxkUQRFgj%2F8Y8htGtkJHL%2FvGaGtKd6bU9Z4C%2FCiEZDeCPahIa%2FbbDSNX433mVkIrV5rTnhDyAAAAAElFTkSuQmCC) 50% 0; | |
| z-index:1; | |
| top:0; | |
| right:0; | |
| bottom:0; | |
| left:0; | |
| opacity:.3; |
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:(function(){s1=document.createTextNode('.guidesOn::before { content:""; position:fixed; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxEAAAsRAX9kX5EAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjVJivzgAAAAyUlEQVRoQ%2B2abQqAIBBEPW1X6CzdqTv1RUFIipi2o72gPyXV7uybKci5wDZM8xI6dz%2Buvs6pP2Dq81GI2qiiiJkiOzQ97EGHTXUF9XUwYsaI2o1LjyqjpaYwiqDI2YFs2HtI9Wjx2Z0R%2B1ADdmB%2FC7taB0uzCSNqCqOImSIkeyW7xLXMZvqjdzJcS01hFEGRSnbe3miR7JVGgWRXcxkUQRFgj%2F8Y8htGtkJHL%2FvGaGtKd6bU9Z4C%2FCiEZDeCPahIa%2FbbDSNX433mVkIrV5rTnhDyAAAAAElFTkSuQmCC) 50% 0; z-index:1; top:0; right:0; bottom:0; left:0; opacity:.3; pointer-events:none; } * { -webkit-user-modify: read-write; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; } a { -webkit-user-modify: initial; }');s2=document.createTextNode('#a1_z { background-color: #fff; background-color: rgba(255,255,255,.8); float: left; position: fixed; z-index:2; padding: 3px; bo |