{"id":20170179,"url":"https://github.com/marcodpt/config","last_synced_at":"2026-06-06T04:31:54.237Z","repository":{"id":203616546,"uuid":"709976954","full_name":"marcodpt/config","owner":"marcodpt","description":"My settings files and automation scripts.","archived":false,"fork":false,"pushed_at":"2025-09-17T13:16:41.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T15:23:58.364Z","etag":null,"topics":["config","private","script","setup","setup-script"],"latest_commit_sha":null,"homepage":"","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/marcodpt.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":"2023-10-25T18:52:04.000Z","updated_at":"2025-09-17T13:16:44.000Z","dependencies_parsed_at":"2024-06-03T17:11:30.561Z","dependency_job_id":null,"html_url":"https://github.com/marcodpt/config","commit_stats":null,"previous_names":["marcodpt/config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcodpt/config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcodpt","download_url":"https://codeload.github.com/marcodpt/config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcodpt%2Fconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33969883,"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-06T02:00:07.033Z","response_time":107,"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":["config","private","script","setup","setup-script"],"created_at":"2024-11-14T01:17:36.423Z","updated_at":"2026-06-06T04:31:54.195Z","avatar_url":"https://github.com/marcodpt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Config\n\nMy settings files and automation scripts.\n\n## iot\nInstallation\n\n```\nwget -q -O - https://raw.githubusercontent.com/marcodpt/config/main/iot/install.sh | sudo bash\n```\n\n - `install.sh` is a script to initialize a terminal with scale and printer.\n - `rc.local` is used by this script to start the server when powered on.\n - `startup.sh` restarts servers and is used by `install.sh` and `rc.local`.\n - `config.toml` are the server settings.\n\nRestart server\n\n```\nsudo /etc/iot/startup.sh\n```\n\n## marco\nMy personal settings.\n\n```\nwget -q -O - https://raw.githubusercontent.com/marcodpt/config/main/marco/install.sh | sudo bash\n```\n\n```\nssh-add\nwget -q -O - https://raw.githubusercontent.com/marcodpt/config/main/marco/config.sh | bash\n```\n\n - `install.sh` install the packages I use to work.\n - `config.sh` set my preferences.\n - `bashrc` put `vim` as the default editor and always use `tmux` in the terminal.\n - `vimrc` these are my `vim` settings.\n - `tmux.conf` these are my `tmux` settings.\n\n## SSH\n### Import private key \n```\nmkdir -p ~/.ssh\ncp path/to/key ~/.ssh/id_rsa\nchmod go-rw ~/.ssh/id_rsa\nssh-keygen -f ~/.ssh/id_rsa -y \u003e ~/.ssh/id_rsa.pub\n```\n\n### Generate new key\n```\nssh-keygen -t rsa -b 4096 -C \"user@email.com\" -f ~/.ssh/id_rsa\n```\n\n## GPG\n\n### Import key (public or private)\n```\ngpg --import path/to/key\ngpg --edit-key user@email.com\ntrust\n5\nquit\n```\n\n### Export public key\n```\ngpg --armor --export user@email.com \u003e pub.asc\n```\n\n### Export private key\n```\ngpg --armor --export-secret-key user@email.com \u003e key.asc\n```\n\n### List public keys\n```\ngpg -k\n```\n\n### List private keys\n```\ngpg -K\n```\n\n### Generate new key\n```\nsudo rngd -r /dev/urandom\ngpg --gen-key\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcodpt%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcodpt%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcodpt%2Fconfig/lists"}