{"id":20292593,"url":"https://github.com/river2202/scripts","last_synced_at":"2026-06-11T14:31:30.226Z","repository":{"id":145974087,"uuid":"116890426","full_name":"river2202/scripts","owner":"river2202","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-02T21:49:14.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T05:13:51.244Z","etag":null,"topics":["productivity","script"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/river2202.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-10T01:14:30.000Z","updated_at":"2024-09-02T21:49:17.000Z","dependencies_parsed_at":"2024-01-29T06:42:05.053Z","dependency_job_id":"6c4c9c55-7f3a-43f6-b1ed-39eee14e6669","html_url":"https://github.com/river2202/scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/river2202/scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/river2202%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/river2202%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/river2202%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/river2202%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/river2202","download_url":"https://codeload.github.com/river2202/scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/river2202%2Fscripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34204177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["productivity","script"],"created_at":"2024-11-14T15:17:56.730Z","updated_at":"2026-06-11T14:31:30.209Z","avatar_url":"https://github.com/river2202.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scripts\nProductivity scripts.\n\n\n## gh\nOpen repo home page\n\n## gmr\nOpen Create MR page in Gitlab using current branch\n\n## gp\nOpen compare and create PR page using current working branch\n\n## gpr\nOpen repo's PR page to review others PR.\n\n## gr [n]\nGit recent branches, list most n(10) recent branches\n\n## gs [n]\nGit switch, list most recent branches and select index to switch.\n\n## gs-r [n]\nGit switch to remote branch, list most recent remote branches and select index to switch.\n\n## xc\nOpen .xcworkspace or .xcodeproj if xcworkspace missing.\n\n# Installaltion\nDownload the script file or copy the scripts to you loacl machine's folder which as added to PATH and run the script file inside local git repo folder.\n\nYou can use following script to download and make it  executable by following command:\n\n`curl -L https://github.com/river2202/scripts/raw/master/gpr -o tmp \u0026\u0026 chmod +x tmp \u0026\u0026 mv tmp qpr`\n\nYou can change the file name(command name) to whatever you think work best for you.\n\n# Mac setup\n1. Homebrew\n    tools using cask - setup.sh\n    - Xcodes\n    - Android Studio\n    - VS Studio\n    - Alfred\n    - brew install cocoapods\n    \n\n2. git clone https://github.com/river2202/scripts -\u003e Codes\n4. iTerm2 + zsh + z + git + zsh-autosuggestions\n    4.1 plugins=(git z macos)\n    4.2 zsh-autosuggestions - https://github.com/zsh-users/zsh-autosuggestions\n6. Shortcuts for delete/duplicate line\nhttps://stackoverflow.com/questions/551383/xcode-duplicate-delete-line/28595785\nhttp://funkworks.blogspot.com/2013/03/republishing-of-wwwerasetotheleftcompos.html\nhttps://www.andr.mu/logs/xcode-custom-key-bindings/\nhttps://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html\n\n\n7. count swift lines\nfind . -name \"*.swift\" -print0 | xargs -0 wc -l\nhttps://gist.github.com/Tokuriku/f7d6ce5a68d2154c28b0\n\nor \nhttp://www.redotheweb.com/CodeFlower/\n\n11. Android studio\n11. Flutter \n\n\n#### Conditional git profile configuration\nhttps://dev.to/tastefulelk/conditional-git-profile-configuration-212b \n\n```\n// ~/.gitconfig\n[user]\n    name = Sebastian Bille\n    email = personal@example.com\n\n[includeIf \"gitdir:~/code/work/\"]\n    path = ~/code/work/.gitconfig\n// ~/code/work/.gitconfig\n[user]\n    email = work@example.com\n```\n\n### Alfred\n1. https://github.com/LeEnno/alfred-terminalfinder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friver2202%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friver2202%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friver2202%2Fscripts/lists"}