https://github.com/0exp/cybercore
My dev.environments and system configurations (macOS, ruby, js, python, dotfiles, zsh, vim, sublime, fonts, etc). Powered by Ansible 💖
https://github.com/0exp/cybercore
ansible dotfiles elixir git homebrew ios macos nodejs psql python ruby rust scala slack sublime tmux vim zsh
Last synced: 20 days ago
JSON representation
My dev.environments and system configurations (macOS, ruby, js, python, dotfiles, zsh, vim, sublime, fonts, etc). Powered by Ansible 💖
- Host: GitHub
- URL: https://github.com/0exp/cybercore
- Owner: 0exp
- Created: 2019-07-09T21:33:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T17:01:22.000Z (about 1 year ago)
- Last Synced: 2024-09-28T18:04:53.394Z (about 1 year ago)
- Topics: ansible, dotfiles, elixir, git, homebrew, ios, macos, nodejs, psql, python, ruby, rust, scala, slack, sublime, tmux, vim, zsh
- Language: Shell
- Homepage:
- Size: 11.8 MB
- Stars: 18
- Watchers: 3
- Forks: 3
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cybercore
My development environments and system configurations (**macOS Sonoma**).
> (macOS Sequoia 15.4.1) ansible-core@2.17.6 / XCode@16.3
- [Macbook Setup](#macbook-setup)
- [Daily Tasks](#daily-tasks)
- [Additional instructions](#additional-instructions)
- [Crazy Tips](#crazy-tips)
- [(CI) Build Script](#ci-build-script)
- ([dotfiles](dotfiles))
---
> ! Check `PREINSTALLATION_REQUIREMENTS.md` in first!
---
- **ruby** (3.4.3) (02.05.2025)
- **go** (latest@**homebrew**) (1.24.2) (04.05.2025)
- **truffleruby** (24.2.1) (02.05.2025)
- **minikube** (latest@**homebrew**) (1.35.0) (02.05.2025)
- **nodejs** (latest@**nvm**) (23.11.0) (02.05.2025)
- **elixir** (1.18.3) (02.05.2025)
- **erlang** (27.3.3) (02.05.2025)
- **java** (24.0.1u>) (02.05.2025)
- **scala** (latest@**homebrew**) (3.6.4) (02.05.2025)
- **php** (latest@**homebrew**) (8.4.6) (02.05.2025)
- **rust** (1.86.0) (02.05.2025)
- **python** (3.13.3) (02.05.2025)
- **postgresql** (17.4) (01.05.2025)
- **clickhouse** (25.3.2.39) (01.05.2025)
- **memcached** (latest@**homebrew**) (1.6.38) (01.05.2025)
- **redis** (latest@**homebrew**) (7.2.7) (01.05.2025)
- **rabbitmq** (latest@**homebrew**) (4.1.0) (01.05.2025)
- **kafka** (latest@**homebrew**) (4.0.0) (02.05.2025)
- **influxdb** (latest@**homebrew**) (2.7.11) (01.05.2025)
- **telegraf** (latest@**homebrew**) (1.34.2) (01.05.2025)
- **grafana** (latest@**homebrew**) (11.6.1) (01.05.2025)
- **agent** (latest@**homebrew**) (0.44.2) (01.05.2025)
- **alloy** (latest@**homebrew**) (1.8.2) (01.05.2025)
- **loki** (latest@**homebrew**) (3.5.0) (01.05.2025)
- **pyroscope** (latest@**homebrew**) (1.13.2) (01.05.2025)
- **prometheus** (latest@**homebrew**) ( 3.3.0) (01.05.2025)
- **node_exporter** (latest@**homebrew**) (1.9.0) (01.05.2025)
- **victoriametrics** (latest@**homebrew**) (1.116.0) (01.05.2025)
- **victorialogs** (latest@**homebrew**) (1.21.0) (01.05.2025)
- **opensearch** (latest@**homebrew**) () (01.05.2025)
- **neo4j** (latest@**homebrew**) (2025.03.0) (01.05.2025)
- **etcd** (latest@**homebrew**) (3.5.21) (01.05.2025)
- **vault** (latest@**homebrew**) (1.19.0) (01.05.2025)
- **ai:**
- **jan** (latest@**homebrew**) (?) (04.05.2025)
- **llama.cpp** (latest@**homebrew**) (?) (04.05.2025)
- **ollama** (latest@**homebrew**) (?) (04.05.2025)
---
### Macbook Setup
**(ansible)** macOS roles:
- `macos_config` - apply basic macOS configs;
- `macos_databases` - setup databases (**PostgreSQL**, **Memcached**, **Redis**, **ClickHouse**, **Vault**, etc.);
- `macos_monitoring` - setup monitoring tools (**InfluxDB**, **Telegraf**, **Prometheus**, **VictoriaMetrics**, **OpenSearch**, etc.);
- `macos_kubernetes_env` - setup **K8S** environment;
- `macos_ai_env` - setup **AI** environment (**llama.cpp**, **ollama**, **jan**, etc.);
- `macos_pyton_env` - setup **Python** environment;
- `macos_go_env` - setup **Go** environment;
- `macos_js_env` - setup **JavaScript** environment;
- `macos_ruby_env` - setup **Ruby** environment;
- `macos_rust_env` - setup **Rust** environment;
- `macos_elixir_env` - setup **Elixir** environment;
- `macos_erlang_env` - setup **Erlang** environment;
- `macos_scala_env` - setup **Scala** environment;
- `macos_php_env` - setup **PHP** environment;
- `macos_soft` - install neccessary sofwtare;
- `macos_post_config` - apply post macOS configs (copy dotfiles, setup system fonts, clone github projects, etc);
**(ansible)** setup macOS:
```shell
ansible-playbook macbook_setup.yml -vvv --ask-become-pass
```
- [sublime package list](dotfiles/sublime/packages.md)
- [sublime snippets](dotfiles/sublime/snippets.md)
- [dotfiles](dotfiles)
---
### Daily Tasks
```shell
ansible-playbook macbook_daily.yml --list-tasks
```
### Environment
- actualzie **dotfiles** (`update-dots`):
```shell
ansible-playbook macbook_daily.yml --tags update_dotfiles
````
- actualize custom fonts (`update-fonts`):
```shell
ansible-playbook macbook_daily.yml --tags update_fonts
```
- actualize **solargraph** (`update-solargraph`):
```shell
ansible-playbook macbook_daily.yml --tags update_solargraph
```
- update **spaceship-prompt** (`update-prompt`):
```shell
ansible-playbook macbook_daily.yml --tags update_spaceship
```
- update language environments (`update-langs`):
```shell
ansible-playbook macbook_daily.yml --tags update_languages
```
- update ruby gems (`update-gems`):
```shell
ansible-playbook macbook_daily.yml --tags update_ruby_gems
```
- update k8s env (`update-k8s`, `update-kubernetes`):
```shell
ansible-playbook macbook_daily.yml --tags update_k8s
```
- update databases (`update-databases`, `update-dbs`):
```shell
ansible-playbook macbook_daily.yml --tags update_databases
```
- update minotiring tools (`update-monitoring`):
```shell
ansible-playbook macbook_daily.yml --tags update_monitoring
```
- update ai env (`update-ai`):
```shell
ansible-playbook macbook_daily.yml --tags update_ai_env
```
### Programming languages
- update **rbenv** (`update-rbenv`):
```shell
ansible-playbook macbook_daily.yml --tags update_rbenv
```
- update **pyenv** (`update-pyenv`):
```shell
ansible-playbook macbook_daily.yml --tags update_pyenv
```
- update **rust** (`update-rust`):
```shell
ansible-playbook macbook_daily.yml --tags update_rust
```
- update **js** (updates `nvm`, `node` and `yarn`) (`update-js`):
```shell
ansible-playbook macbook_daily.yml --tags update_js
```
- update **elixir** (`update-elixir`):
```shell
ansible-playbook macbook_daily.yml --tags update_elixir
```
- update **erlang** (`update-erlang`):
```shell
ansible-playbook macbook_daily.yml --tags update_erlang
```
- update **scala** (updates `scala`, `sbt` and `amonite-repl`) (`update-scala`):
```shell
ansible-playbook macbook_daily.yml --tags update_scala
```
- update **php** (`update-php`):
```shell
ansible-playbook macbook_daily.yml --tags update_php
```
- update **go** (`update-go`):
```shell
ansible-playbook macbook_daily.yml --tags update_go
```
### Software
- update soft (`update-soft`):
```shell
ansible-playbook macbook_daily.yml --tags update_soft
```
---
### Additional instructions
- iterm2 profile: [dotfiles/iterm/daiver.json](dotfiles/iterm/daiver.json)
---
### Crazy Tips
- open dahsdoc documentation about Ruby's `attr_reader` or `Kernel` module:
```shell
rubydash attr_reader
```
```shell
rubydash Kernel
```
- open dashdoc documentation for Docker:
```shell
dashdoc docker:
```
- tranlsate any text (copy any text to a clipboard and type `trs` in console shell):
```shell
daiver => ~/Projects
➜ trs
Sorbet - это быстрый и мощный тип проверки, разработанный для Ruby.
daiver => ~/Projects
➜
```
---
### (CI) Build Script
```shell
pip3 install -r requirements.txt
yamllint --strict $(git ls-files '*.yaml' '*.yml')
ansible-lint *.yml
```