You will require ~ 1h to setup all things.
brew update
| S3_ACCESS_KEY_ID= | |
| S3_SECRET_ACCESS_KEY= | |
| S3_BUCKET=ncip-pg-dev | |
| S3_ENDPOINT=https://storage.yandexcloud.net | |
| S3_REGION=ru-central1 |
| #!/bin/bash | |
| # Required parameters: | |
| # @raycast.author Timur Vafin | |
| # @raycast.authorURL https://github.com/timurvafin | |
| # @raycast.schemaVersion 1 | |
| # @raycast.title Todoist This Week | |
| # @raycast.mode fullOutput | |
| # @raycast.packageName Todoist | |
| # @raycast.description Changes tags from next-week to this-week in Todoist tasks. |
| # blueprints/automation/timurvafin/tion.yaml | |
| blueprint: | |
| name: Tion Climate Control | |
| description: Controls a Tion climate device based on fan speed, HVAC mode, and temperature sensors. | |
| domain: automation | |
| input: | |
| climate_device: | |
| name: Climate Device |
| ### Zont Termostat ### | |
| rest: | |
| - resource: https://lk.zont-online.ru/api/widget/v2/get_devices | |
| method: POST | |
| authentication: basic | |
| username: !secret zont_username | |
| password: !secret zont_password |
| # app/assets/javascripts/exclude_options.coffee | |
| class @ExcludeOptions | |
| constructor: (el) -> | |
| $el = $(el) | |
| trigger_id = "#" + $el.data("exclude-options") | |
| @$trigger = $el.find(trigger_id) | |
| @$options = $el.find("input[type=checkbox]").not(trigger_id) | |
| @_bindEvents() |
| # app/assets/javascripts/toggleable_container.coffee | |
| class @ToggleableContainer | |
| constructor: (el) -> | |
| @$el = $(el) | |
| @$container = $("#" + @$el.data("toggleable")) | |
| @_bindEvents() | |
| _bindEvents: -> | |
| @$el.on "change", @_toogle |
| class CustomComponent | |
| constructor: (@$el) -> | |
| @dataKey = "custom-key" | |
| @defaults = {} | |
| @options = @_options(@$el) | |
| _bindEvents: -> | |
| @$el.on "click", ... | |
| _options: ($el) -> |
| class ApplicationController < ActionController::Base | |
| include Authentication | |
| include Authorization | |
| protect_from_forgery | |
| responders :flash | |
| decent_configuration do | |
| strategy DecentExposure::StrongParametersStrategy | |
| end |
| class CollectionPresenter | |
| include Enumerable | |
| delegate :current_page, :total_pages, :limit_value, :entry_name, :total_count, | |
| :offset_value, :last_page?, to: :@collection | |
| cattr_accessor :presenter | |
| self.presenter = ModelPresenter | |
| def initialize(collection) |