{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":633670297,"defaultBranch":"main","name":"ShortScript","ownerLogin":"RichKMLS","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-28T02:49:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/105183376?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1682650176.0","currentOid":""},"activityList":{"items":[{"before":"42d3596ea29d52795b0bb580b91a62cc02f07ee5","after":"42d64a3e72315dceed41c6fa389ce68603f28d5e","ref":"refs/heads/main","pushedAt":"2023-05-25T19:45:04.250Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"send (```)+newline with Win+`","shortMessageHtmlLink":"send (``)+newline with Win+"}},{"before":"56d5a7974b16f4611c28769c3810e68a546b66f7","after":"42d3596ea29d52795b0bb580b91a62cc02f07ee5","ref":"refs/heads/main","pushedAt":"2023-05-25T19:37:35.895Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"send 3 backticks + newline with Win+`","shortMessageHtmlLink":"send 3 backticks + newline with Win+`"}},{"before":"1ca77d11f3815576749249825a4625a4efc40cc8","after":"56d5a7974b16f4611c28769c3810e68a546b66f7","ref":"refs/heads/main","pushedAt":"2023-05-25T19:36:55.270Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"send 3 backticks + newline with Win+`","shortMessageHtmlLink":"send 3 backticks + newline with Win+`"}},{"before":"dfe63a782021131eb0912f780edeadfb4c989c31","after":"1ca77d11f3815576749249825a4625a4efc40cc8","ref":"refs/heads/main","pushedAt":"2023-05-23T23:53:42.979Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"2d4d17fb24720dd39f14e2a75a22b6f62c297ba8","after":"dfe63a782021131eb0912f780edeadfb4c989c31","ref":"refs/heads/main","pushedAt":"2023-05-22T04:33:59.642Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"use printf + save urls","shortMessageHtmlLink":"use printf + save urls"}},{"before":"a0558f99b482dcb4f027c225cefe3b4a3542e87e","after":"2d4d17fb24720dd39f14e2a75a22b6f62c297ba8","ref":"refs/heads/main","pushedAt":"2023-05-14T18:49:07.803Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"cae2e8cf26c8da5e948675e86cc42a893b70440e","after":"a0558f99b482dcb4f027c225cefe3b4a3542e87e","ref":"refs/heads/main","pushedAt":"2023-05-14T18:33:40.615Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Remove multi-lined comments.\n\nThis commit refactors the AHK script that removes comments from selected text. The new version introduces several changes to improve its functionality and readability:\r\n\r\n- Uses a for loop and the StrSplit function to iterate over each line of the clipboard text, making the code more readable.\r\n- Introduces a new variable `inComment` to track if the script is currently inside a comment block, allowing it to correctly handle multi-line comment blocks.\r\n- Uses more descriptive variable names such as `clipboardText`, `newText`, and `currentLine`, making the code easier to understand.\r\n\r\nOverall, these changes improve the functionality and readability of the script.","shortMessageHtmlLink":"Remove multi-lined comments."}},{"before":"0a0545d11212058c5989eb5d4482f71b67c434eb","after":"cae2e8cf26c8da5e948675e86cc42a893b70440e","ref":"refs/heads/main","pushedAt":"2023-05-13T06:50:07.400Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"666f4bd672b11a68c8bc846a8b4787065d8aa822","after":"0a0545d11212058c5989eb5d4482f71b67c434eb","ref":"refs/heads/main","pushedAt":"2023-05-13T03:57:13.497Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"correctly split lines at comment symbols\n\nThis commit updates the sed command to correctly split lines at the comment symbols # and // if and only if those symbols are not contained within a string. Previously, the command did not split lines if the comment came after a string. This has been fixed by using an extended regular expression to match and remove any characters after # or // that are not within single or double quotation marks.","shortMessageHtmlLink":"correctly split lines at comment symbols"}},{"before":"efcf9f636a9a9e2028f5de62c5b1978cdf0ab449","after":"666f4bd672b11a68c8bc846a8b4787065d8aa822","ref":"refs/heads/main","pushedAt":"2023-05-13T03:41:59.709Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"handle comments better\n\nThis command uses sed to perform a regular expression search and replace on the contents of the variable $line.\r\nThe regular expression searches for two patterns separated by an OR (|) operator.\r\nThe first pattern searches for a string that starts and ends with parentheses and contains a '#' symbol between two sets of characters that are not single or double quotes.\r\nThe second pattern searches for a string that starts and ends with parentheses and contains '//' between two sets of characters that are not single or double quotes.\r\nBoth patterns are then replaced with an empty string, effectively removing them from the contents of $line.\r\n linePart=$(echo \"$line\" | sed -E 's/\\(\\(\\([^\"'\"'\"']\\)#\\([^\"'\"'\"']\\)\\)\\)|\\(\\(\\([^\"'\"'\"']\\)\\/\\/\\([^\"'\"'\"']\\)\\)\\)//g')","shortMessageHtmlLink":"handle comments better"}},{"before":"8b03b36d3300a0d5a9ff6c3aad628a5cf3459fa1","after":"efcf9f636a9a9e2028f5de62c5b1978cdf0ab449","ref":"refs/heads/main","pushedAt":"2023-05-07T05:48:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update line splitting logic\n\nUpdated the line splitting logic in the bash script to ignore instances of \"#\" or \"//\" that are between single or double quotation marks. This improves the accuracy of the line splitting and ensures that characters within quotation marks are not incorrectly split.","shortMessageHtmlLink":"Update line splitting logic"}},{"before":"51b3f88a16ee6ed010dfe569f4639dcc08f95942","after":"8b03b36d3300a0d5a9ff6c3aad628a5cf3459fa1","ref":"refs/heads/main","pushedAt":"2023-05-07T03:32:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Improve handling of (\"\"\") formatted comments\n\nThis commit improves the handling of (\"\"\") formatted comments. Previously, the script could handle multi-line Python comments, but if a single-line comment used the triple-quote (“”\") format, it would break. With this update, the script now checks if a comment is a single-line Python comment formatted using triple-quotes before proceeding. This improves the script’s ability to accurately process text from the clipboard.","shortMessageHtmlLink":"Improve handling of (\"\"\") formatted comments"}},{"before":"1807c6125d79f2639010783a844f58989721ebe0","after":"51b3f88a16ee6ed010dfe569f4639dcc08f95942","ref":"refs/heads/main","pushedAt":"2023-05-06T23:17:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"7cdcbb2042e42e6108187eb667f45e3f05031695","after":"1807c6125d79f2639010783a844f58989721ebe0","ref":"refs/heads/main","pushedAt":"2023-05-06T23:14:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"5b3c4467dc06cc6a200147bbe7f6a72852a25a8c","after":"7cdcbb2042e42e6108187eb667f45e3f05031695","ref":"refs/heads/main","pushedAt":"2023-05-06T23:11:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Remove multi-line comments from python code\n\nThis commit adds support for multi-line comments in the script. Previously, the script only handled single-line comments starting with '#' and \"//\". With this change, the script can now also handle multi-line python comments enclosed within triple quotes ('\"\"\"'). This is achieved by introducing a new boolean variable 'inComment' to keep track of whether the current line is inside a multi-line comment or not. The script then skips lines that are inside a multi-line comment.","shortMessageHtmlLink":"Remove multi-line comments from python code"}},{"before":"181267952614cea97f733489a86e8233b8db825d","after":"5b3c4467dc06cc6a200147bbe7f6a72852a25a8c","ref":"refs/heads/main","pushedAt":"2023-05-04T19:56:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"ignore // in URLs\n\nThis commit adds a check to ignore // if it is part of a URL. This improves the script’s ability to accurately shorten JavaScript code for AI prompting.","shortMessageHtmlLink":"ignore // in URLs"}},{"before":"aba8ec0530f8d8f295d776113119cc604aa6f34a","after":"181267952614cea97f733489a86e8233b8db825d","ref":"refs/heads/main","pushedAt":"2023-05-04T19:50:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Split lines at // but not at /, and ignore // in URLs\n\nThis commit updates the ShortScript AutoHotkey script to correctly split lines at // and #, but not at /. It also adds a check to ignore // if it is part of a URL. This improves the script’s ability to accurately shorten JavaScript code for AI prompting.","shortMessageHtmlLink":"Split lines at // but not at /, and ignore // in URLs"}},{"before":"816010595d97edf7f99adb6190b8ba2f82183eb5","after":"aba8ec0530f8d8f295d776113119cc604aa6f34a","ref":"refs/heads/main","pushedAt":"2023-05-04T02:09:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"c25b29d5d298919848234e6fa9329b87c5d452af","after":"816010595d97edf7f99adb6190b8ba2f82183eb5","ref":"refs/heads/main","pushedAt":"2023-05-04T02:09:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"7c6f264dc31d350c218f36c4c4f230d27d26573e","after":"c25b29d5d298919848234e6fa9329b87c5d452af","ref":"refs/heads/main","pushedAt":"2023-05-03T23:25:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"use awk to split line by # and //","shortMessageHtmlLink":"use awk to split line by # and //"}},{"before":"1f0b37f27232f2475a7a5e22855b5cbb993f3eb4","after":"7c6f264dc31d350c218f36c4c4f230d27d26573e","ref":"refs/heads/main","pushedAt":"2023-05-03T23:22:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"use awk to split the line by //\n\nfixes issue with splitting at \"/\"","shortMessageHtmlLink":"use awk to split the line by //"}},{"before":"c3446b5f457ab506d2081154ed3fafe1c10f3cd3","after":"1f0b37f27232f2475a7a5e22855b5cbb993f3eb4","ref":"refs/heads/main","pushedAt":"2023-05-03T23:12:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Introducing the Bash script version.","shortMessageHtmlLink":"Introducing the Bash script version."}},{"before":"2766ce1cc266a657cfec4048cf7fbc2c2b199630","after":"c3446b5f457ab506d2081154ed3fafe1c10f3cd3","ref":"refs/heads/main","pushedAt":"2023-05-02T22:23:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"5f60e95ee674e4176d92a838011fe0b0b43cbd5a","after":"2766ce1cc266a657cfec4048cf7fbc2c2b199630","ref":"refs/heads/main","pushedAt":"2023-05-02T22:21:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Updated to handle '#' and '//' comments.","shortMessageHtmlLink":"Updated to handle '#' and '//' comments."}},{"before":"cde7327e5ec9476ea1f9c474b71fd0c091924c8c","after":"5f60e95ee674e4176d92a838011fe0b0b43cbd5a","ref":"refs/heads/main","pushedAt":"2023-05-02T06:49:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"8dbfb42068be9eb1acbfd3d9dbffec464fe95d06","after":"cde7327e5ec9476ea1f9c474b71fd0c091924c8c","ref":"refs/heads/main","pushedAt":"2023-04-29T00:36:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Updated to reflect username change.","shortMessageHtmlLink":"Updated to reflect username change."}},{"before":"ec91d08bd67f41e89e1d0f25901148db3b70c0a0","after":"8dbfb42068be9eb1acbfd3d9dbffec464fe95d06","ref":"refs/heads/main","pushedAt":"2023-04-28T19:22:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"4fc5ee30d9ef170025709ae3346cddb196f7ee16","after":"ec91d08bd67f41e89e1d0f25901148db3b70c0a0","ref":"refs/heads/main","pushedAt":"2023-04-28T19:14:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"7d63305e77e240dc3eec6c4291ce46aee6e86fd6","after":"4fc5ee30d9ef170025709ae3346cddb196f7ee16","ref":"refs/heads/main","pushedAt":"2023-04-28T19:11:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"2cd0e6d0a04b15d7b4d9e1356e0faf2505d8897e","after":"7d63305e77e240dc3eec6c4291ce46aee6e86fd6","ref":"refs/heads/main","pushedAt":"2023-04-28T19:10:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RichKMLS","name":"Rich K.","path":"/RichKMLS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/105183376?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADNGoEUAA","startCursor":null,"endCursor":null}},"title":"Activity · RichKMLS/ShortScript"}