{"id":19880597,"url":"https://github.com/gabrielscabrera/cs-intro","last_synced_at":"2025-03-01T02:45:22.490Z","repository":{"id":54695939,"uuid":"202137454","full_name":"GabrielSCabrera/CS-Intro","owner":"GabrielSCabrera","description":"Review of programming concepts for computational science","archived":false,"fork":false,"pushed_at":"2021-02-03T10:41:21.000Z","size":999,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T18:09:53.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/GabrielSCabrera.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}},"created_at":"2019-08-13T12:16:37.000Z","updated_at":"2021-02-03T10:41:05.000Z","dependencies_parsed_at":"2022-08-14T00:20:12.405Z","dependency_job_id":null,"html_url":"https://github.com/GabrielSCabrera/CS-Intro","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/GabrielSCabrera%2FCS-Intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielSCabrera%2FCS-Intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielSCabrera%2FCS-Intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielSCabrera%2FCS-Intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielSCabrera","download_url":"https://codeload.github.com/GabrielSCabrera/CS-Intro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241309102,"owners_count":19941725,"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-12T17:12:00.310Z","updated_at":"2025-03-01T02:45:22.455Z","avatar_url":"https://github.com/GabrielSCabrera.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computational Science Toolkit\n\nA short list and description of tools that are important, convenient, and nice.\n\n1. Git\n2. Pipenv\n3. Black\n\n\n\n## Git\nInstallation instructions can be found\n[here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).\n\n\n### Basics\nGit tracks changes in your repository by keeping track of small \"deltas\".\nWorks best with text files.\nGit tries to make a linear history.\n\n\nCreate repository:\n```bash\ngit init\n```\n\n\n\nAdd files for tracking:\n```bash\ngit add \u003cfiles\u003e\n```\nPro-mode, use the `--patch`-flag.\n\n\n\nRecord changes:\n```bash\ngit commit\n```\nCheck [this](https://chris.beams.io/posts/git-commit/) blog post for tips on\nwriting commit messages.\n\n![](https://imgs.xkcd.com/comics/git_commit.png)\n\n\n\nShow status:\n```bash\ngit status\n```\nGo crazy!\n\n\n\nShow history:\n```bash\ngit log\n```\nWho gets the blame?\n\n\n\nBranch out:\n```bash\ngit checkout -b \u003cbranch-name\u003e\n```\nI've just gotta make these changes...\n\n\n\nMerge branches into master:\n```bash\ngit merge \u003cbranch-name\u003e master\n```\n__MERGE CONFLICT!!!!__ 😱\n\n\n\n\n### Keep you repository clean!\nOnly track necessary changes! Use `.gitignore`!\n\n\n\n### Hosting\n- Github, Bitbucket, GitLab.\n- \"Social network\"\n- Attractive and active repos are targets for recruiters! 🎉\n\n\n\n### Collaboration\n- Collaborators\n- Forks\n- Pull requests\n- Issues\n\n\n\n## Pipenv\nKeep your Python environments separated!\n\n\n### Installation\n\n```bash\npip install pipenv\n```\n\n\n### Basics\n\n```bash\npipenv install \u003cpackage-name\u003e\n```\nCreates a `Pipfile` and a `Pipfile.lock`.\nKeep both the `Pipfile` and `Pipfile.lock` under version control.\nOnly include `Pipfile` in case of a library.\n\n\nActivate environment:\n```bash\npipenv shell\n```\nRun normal commands once inside the shell.\n\n\nLeave environment:\n```bash\nexit\n```\n\n\n## Black\n\nYes.\n\n### Installation\n\n```bash\npip install black\n```\n\nOr, in the `Pipfile` with:\n```bash\npipenv install black==19.3b0\n```\n\n### Basics\nAll there is to it:\n```bash\nblack .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielscabrera%2Fcs-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielscabrera%2Fcs-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielscabrera%2Fcs-intro/lists"}