{"id":18818216,"url":"https://github.com/helloimkevo/javaplayground","last_synced_at":"2026-01-15T15:30:19.066Z","repository":{"id":115878060,"uuid":"264756107","full_name":"HelloImKevo/JavaPlayground","owner":"HelloImKevo","description":"Miscellaneous Java utils.","archived":false,"fork":false,"pushed_at":"2024-03-06T23:59:03.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T02:33:11.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/HelloImKevo.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":"2020-05-17T21:01:07.000Z","updated_at":"2020-05-22T21:08:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9f96e68-97c2-47bd-8fb1-fc3b2e2b0354","html_url":"https://github.com/HelloImKevo/JavaPlayground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FJavaPlayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FJavaPlayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FJavaPlayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FJavaPlayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelloImKevo","download_url":"https://codeload.github.com/HelloImKevo/JavaPlayground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239753734,"owners_count":19691162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-08T00:15:37.431Z","updated_at":"2026-01-15T15:30:19.032Z","avatar_url":"https://github.com/HelloImKevo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Playground\nPlayground for basic Java utilities.\n\n# Apache NetBeans IDE 11.3 Setup\nHow this project was started:  \n* Click New Project.  \n* Select 'Java with Maven'.  \n* Specify the Project Name, base java package, and other required fields.  \n* Specify the `src` directory as the home for 'Source Packages'.  \n\n# IntelliJ IDEA Community 2018.3 Setup\nHow this existing project was opened:  \n* Click Open Project.  \n* Select 'JavaPlayground'.  \n* If you see the 'Project SDK is not defined' error, click on 'Setup SDK' and select the appropriate JDK version.  \n* Right click on the the `src/main/java` directory, and select 'Mark Directory as... Sources Root'.\n* Try to run any `.java` file with a `public static void main()` method. If the IDE complains that an output directory has not been selected, then open the **Project Settings**, and specify the `target` directory as the destination for compiler output (Note: This directory may not exist in the repo, because it is gitignored).\n* If the compiler complains with an error: `Error: java: invalid source release: 11`, open up Project Settings \u003e Modules \u003e Sources and set the correct language level. Example: \"8 - Lambdas, type annotations, etc.\"  \n\nCode was developed using Java Version 1.8  \n\n## Git Workflow References\n\nUseful git commands for quickly traversing repos:  \n```\n# Display your git configuration\ngit config --list\ngit config --global -l\n\n# Display all remote branches\ngit branch --remote\n\n# Concise view of git history\ngit log --oneline\n\n# Visual graph of git history\ngit log --oneline --graph --all --decorate --abbrev-commit\n\n# See how many lines of code you've changed\ngit diff --shortstat\n\n# Pushing from a local repository to GitHub hosted remote\ngit remote add origin git@github.com:USERNAME/REPO-NAME.git\n\n# Clone your fork to your local machine\ngit clone git@github.com:USERNAME/FORKED-PROJECT.git\n\n# Creating a new remote branch\ngit checkout master\ngit pull\ngit checkout -b pr-new-feature\ngit push -u origin pr-new-feature\n\n# Delete a remote branch\ngit push origin :pr-merged-feature\n\n# Remove a git ignored file that is being tracked\ngit rm -r --cached .\ngit add .\n\n# Stash your local changes\ngit add .\ngit stash save \"Implement a new whizbang feature\"\ngit stash apply stash@{1}\n\n# Preview your stashed changes\ngit stash list\ngit stash show -p stash@{1}\n\n# Un-commit and stage changes from most recent commit\ngit reset --soft HEAD~1\n```\n\n## GitHub Standard Fork \u0026 Pull Request Workflow  \n* Github pull request reviews documentation: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews  \n* Useful link about project forks: https://gist.github.com/Chaser324/ce0505fbed06b947d962  \n* Great YouTube video tutorial \"Creating a Simple Github Pull Request\" by Jake Vanderplas: https://www.youtube.com/watch?v=rgbCcBNZcdQ  \n\n```\n# Show which Git branches are tracking remote and upstream (source repo forked from)\ngit branch -vv\n\n# Keeping a fork up-to-date\ngit remote add upstream git://github.com/ORIGINAL-USERNAME/FORKED-PROJECT.git\ngit fetch upstream\ngit pull upstream master\n\n# List all remote pull requests\ngit ls-remote origin 'pull/*/head'\n\n# Fetch a specific pull request into a local branch and with a custom name\ngit fetch origin pull/50/head:pr-new-feature\n\n# Fetch a pull request from a fork repo and patch it as a local branch\ngit fetch git@github.com:username/ForkedPaymentApp.git refs/pull/50/head:pr-forked-feature\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloimkevo%2Fjavaplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloimkevo%2Fjavaplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloimkevo%2Fjavaplayground/lists"}