line1
line2 line3, 2 newline below
line4, 3 newlines below
line5
line1
line2 line3, 2 newline below
line4, 3 newlines below
line5
| # /// script | |
| # requires-python = ">=3.12" | |
| # dependencies = [ | |
| # "gitpython", | |
| # "smolllm", | |
| # ] | |
| # /// | |
| """ | |
| auto_commit_message.py — Generate AI-powered conventional commit messages from staged git diffs. |
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| import requests | |
| def get_cookie() -> str: | |
| import browser_cookie3 | |
| return browser_cookie3.arc(domain_name="cursor.com") | |
| def req(url: str, cookies: list[str]) -> requests.Response: |
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>items</key> | |
| <array> | |
| <dict> | |
| <key>assets</key> | |
| <array> | |
| <dict> |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "os/exec" | |
| "strconv" |
| #!/usr/bin/perl -w | |
| # Usage: | |
| # find_nonlocalized [<directory> ...] | |
| # | |
| # Scans .m and .mm files for potentially nonlocalized | |
| # strings that should be. | |
| # Lines marked with DNL (Do Not Localize) are ignored. | |
| # String constant assignments of this form are ignored if | |
| # they have no spaces in the value: | |
| # NSString * const <...> = @"..."; |
| h1. Sublime Text 2 - Useful Shortcuts (Mac OS X) | |
| h2. General | |
| | *⌘T* | go to file | | |
| | *⌘⌃P* | go to project | | |
| | *⌘R* | go to methods | | |
| | *⌃G* | go to line | | |
| | *⌘KB* | toggle side bar | | |
| | *⌘⇧P* | command prompt | |