Skip to content
/ cybercore Public

My dev.environments and system configurations (macOS, ruby, js, python, dotfiles, zsh, vim, sublime, fonts, etc). Powered by Ansible 💖

Notifications You must be signed in to change notification settings

0exp/cybercore

Repository files navigation

cybercore

My development environments and system configurations (macOS Sonoma).

(macOS Sonoma 15.1) ansible-core@2.17.6 / java@23 / XCode@16.1


! Check PREINSTALLATION_REQUIREMENTS.md in first!


  • ruby (3.3.6) (14.11.2024)
  • truffleruby (24.1.1) (14.11.2024)
  • minikube (latest@homebrew) (1.34.0) (14.11.2024)
  • nodejs (latest@nvm) (23.2.0) (14.11.2024)
  • elixir (1.17.3) (14.11.2024)
  • erlang (27.1.2) (14.11.2024)
  • java (23.0.1u>) (14.11.2024)
  • scala (latest@homebrew) (3.5.2) (14.11.2024)
  • php (latest@homebrew) (8.3.13) (14.11.2024)
  • rust (1.82.0) (14.11.2024)
  • python (3.13.0) (14.11.2024)
  • postgresql (17.0) (14.11.2024)
  • clickhouse (24.10.1.2812) (14.11.2024)
  • memcached (latest@homebrew) (1.6.32) (14.11.2024)
  • redis (latest@homebrew) (7.2.6) (14.11.2024)
  • rabbitmq (latest@homebrew) (4.0.3) (14.11.2023)
  • kafka (latest@homebrew) (3.9.0) (14.11.2024)
  • influxdb (latest@homebrew) (2.7.10) (14.11.2024)
  • telegraf (latest@homebrew) (1.32.2) (14.11.2024)
  • prometheus (latest@homebrew) (2.55.1) (14.11.2024)
  • victoriametrics (latest@homebrew) (20241105-190334) (14.11.2024)
  • neo4j (latest@homebrew) (5.25.1) (14.11.2024)
  • etcd (latest@homebrew) (3.5.17) (14.11.2024)
  • vault (latest@homebrew) (1.1814) (14.11.2024)

Macbook Setup

(ansible) macOS roles:

  • macos_config - apply basic macOS configs;
  • macos_databases - setup databases (PostgreSQL, Memcached, Redis, ClickHouse, and Vault);
  • macos_monitoring - setup monitoring tools (InfluxDB, Telegraf, Prometheus, VictoriaMetrics);
  • macos_kubernetes_env - setup K8S environment;
  • macos_pyton_env - setup Python 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_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 projects, etc);

(ansible) setup macOS:

ansible-playbook macbook_setup.yml -vvv --ask-become-pass

Daily Tasks

ansible-playbook macbook_daily.yml --list-tasks

Environment

  • actualzie dotfiles (update-dots):
    ansible-playbook macbook_daily.yml --tags update_dotfiles
  • actualize custom fonts (update-fonts):
    ansible-playbook macbook_daily.yml --tags update_fonts
  • actualize solargraph (update-solargraph):
    ansible-playbook macbook_daily.yml --tags update_solargraph
  • update spaceship-prompt (update-prompt):
    ansible-playbook macbook_daily.yml --tags update_spaceship
  • update language environments (update-langs):
    ansible-playbook macbook_daily.yml --tags update_languages
  • update ruby gems (update-gems):
    ansible-playbook macbook_daily.yml --tags update_ruby_gems
  • update k8s env (update-k8s, update-kubernetes):
    ansible-playbook macbook_daily.yml --tags update_k8s
  • update databases (update-databases, update-dbs):
    ansible-playbook macbook_daily.yml --tags update_databases
  • update minotiring tools (update-monitoring):
    ansible-playbook macbook_daily.yml --tags update_monitoring

Programming languages

  • update rbenv (update-rbenv):
    ansible-playbook macbook_daily.yml --tags update_rbenv
  • update pyenv (update-pyenv):
    ansible-playbook macbook_daily.yml --tags update_pyenv
  • update rust (update-rust):
    ansible-playbook macbook_daily.yml --tags update_rust
  • update js (updates nvm, node and yarn) (update-js):
    ansible-playbook macbook_daily.yml --tags update_js
  • update elixir (update-elixir):
    ansible-playbook macbook_daily.yml --tags update_elixir
  • update scala (updates scala, sbt and amonite-repl) (update-scala):
    ansible-playbook macbook_daily.yml --tags update_scala
  • update php (update-php):
    ansible-playbook macbook_daily.yml --tags update_php

Software

  • update soft (update-soft):
    ansible-playbook macbook_daily.yml --tags update_soft

Additional instructions


Crazy Tips

  • open dahsdoc documentation about Ruby's attr_reader or Kernel module:
  rubydash attr_reader
  rubydash Kernel
  • open dashdoc documentation for Docker:
  dashdoc docker:
  • tranlsate any text (copy any text to a clipboard and type trs in console shell):
daiver => ~/Projects
➜ trs
Sorbet - это быстрый и мощный тип проверки, разработанный для Ruby.
daiver => ~/Projects
➜

(CI) Build Script

pip3 install -r requirements.txt
yamllint --strict $(git ls-files '*.yaml' '*.yml')
ansible-lint *.yml

About

My dev.environments and system configurations (macOS, ruby, js, python, dotfiles, zsh, vim, sublime, fonts, etc). Powered by Ansible 💖

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published