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 node | |
| /** | |
| * reddit-comment.mjs | |
| * Posts a comment on a Reddit thread using Puppeteer with your existing Chrome session. | |
| * | |
| * Usage: | |
| * node reddit-comment.mjs --url "https://www.reddit.com/r/openclaw/comments/..." --comment "Your comment here" | |
| * | |
| * Requirements: | |
| * npm install puppeteer-core |
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
| <div class="message error"> | |
| <p> | |
| Message error | |
| </p> | |
| </div> | |
| <div class="message warning"> | |
| <p> | |
| warning message | |
| </p> | |
| </div> |
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
| $base-font-size: 16px; | |
| $base-line-height: 1.5; | |
| // this value may vary for each font | |
| // unitless value relative to 1em | |
| $cap-height: 0.68; | |
| @mixin baseline($font-size, $scale: 2) { |