programming

My ToDo List for 2024 (daily updates)

waffarx cash back

Gitsome Cheatsheet

gitsome: A terminal-based interface for GitHub, accessed via the gh command. It also provides menu-style autocomplete suggestions for git commands. Enter the gitsome shell (optional), to enable autocompletion and interactive help for Git (and gh) commands: gitsome Setup GitHub integration with the current account: gh configure List notifications for the current account (as would be seen in https://github.com/notifications ): gh notifications List the current account’s starred repos, filtered by a given search string:

GitUI Cheatsheet

gitui: Terminal UI for Git. Specify the color theme (defaults to theme.ron): gitui --theme theme Store logging output into a cache directory: gitui --logging Use notify-based file system watcher instead of tick-based update: gitui --watcher Generate a bug report: gitui --bugreport Use a specific Git directory: gitui --directory path/to/directory Use a specific working directory: gitui --workdir path/to/directory Display help: gitui --help Display version: gitui --version More information: https://github.com/extrawurst/gitui . I hope this post helps you.

Github Label Sync Cheatsheet

github-label-sync: A command-line interface for synchronizing GitHub labels. Synchronize labels using a local labels.json file: github-label-sync --access-token token repository_name Synchronize labels using a specific labels JSON file: github-label-sync --access-token token --labels url|path/to/json_file repository_name Perform a dry run instead of actually synchronizing labels: github-label-sync --access-token token --dry-run repository_name Keep labels that aren’t in labels.json: github-label-sync --access-token token --allow-added-labels repository_name Synchronize using the GITHUB_ACCESS_TOKEN environment variable: github-label-sync repository_name More information: https://github.com/Financial-Times/github-label-sync .

Git Bug Cheatsheet

git bug: A distributed bug tracker that uses Git’s internal storage, so no files are added in your project. You may submit your problems to the same Git remote you use to interact with others, much like commits and branches. Create a new identity: git bug user create Create a new bug: git bug add You can push your new entry to a remote: git bug push You can pull for updates:

Gitwatch Cheatsheet

gitwatch: Automatically commit file or directory changes to a Git repository. Automatically commit any changes made to a file or directory: gitwatch path/to/file_or_directory Automatically commit changes and push them to a remote repository: gitwatch -r remote_name path/to/file_or_directory Automatically commit changes and push them to a specific branch of a remote repository: gitwatch -r remote_name -b branch_name path/to/file_or_directory For more information, check the repo: https://github.com/gitwatch/gitwatch . I hope this post helps you.

Git Secret Cheatsheet

git secret stores private data inside a Git repository. Written in Bash. Initialize git-secret in a local repository: git secret init Grant access to the current Git user’s email: git secret tell -m Grant access by email: git secret tell email Revoke access by email: git secret killperson email List emails with access to secrets: git secret whoknows Register a secret file: git secret add path/to/file Encrypt secrets: git secret hide Decrypt secret files:

Git Flow Cheatsheet

git flow is a collection of Git extensions to provide high-level repository operations. Initialize it inside an existing Git repository: git flow init Start developing on a feature branch based on develop: git flow feature start feature Finish development on a feature branch, merging it into the develop branch and deleting it: git flow feature finish feature Publish a feature to the remote server: git flow feature publish feature Get a feature published by another user:

Gitmoji Cheatsheet

gitmoji: Interactively insert emojis on commits. Start the commit wizard: gitmoji --commit Initialize the Git hook (so gitmoji will be run every time git commit is run): gitmoji --init Remove the Git hook: gitmoji --remove List all available emojis and their descriptions: gitmoji --list Search emoji list for a list of keywords: gitmoji --search keyword1 keyword2 Update cached list of emojis from main repository: gitmoji --update Configure global preferences: gitmoji --config For more information, check its GitHub repo: https://github.

Convert Sgi to Pnm

sgitopnm is a tool to convert an SGI file to a PNM file. Convert an SGI image to a PNM file: sgitopnm path/to/input.sgi > path/to/output.pnm Display information about the SGI file: sgitopnm -verbose path/to/input.sgi > path/to/output.pnm Extract channel n of the SGI file: sgitopnm -channel n path/to/input.sgi > path/to/output.pnm For more information, check its docs: https://netpbm.sourceforge.net/doc/sgitopnm.html . I hope this post helps you. If you know a person who can benefit from this information, send them a link of this post.

Gitlab Cheatsheet

gitlab 🔗 Ruby wrapper for the GitLab API. Create a new project: gitlab create_project project_name Get info about a specific commit: gitlab commit project_name commit_hash Get info about jobs in a CI pipeline: gitlab pipeline_jobs project_name pipeline_id Start a specific CI job: gitlab job_play project_name job_id gitlab-runner 🔗 Manage GitLab runners. Register a runner: sudo gitlab-runner register --url <https://gitlab.example.com> --registration-token token --name name Register a runner with a Docker executor: