This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| """ | |
| The most atomic way to train and inference a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
Прошивка Wemos D1 mini для ebusd адаптера
Зазначені нижче кроки будуть актуальні для linux (ubuntu) та macos, вінда на "відпочинку" не мав змоги перевірити це там. Для прошивки будемо використовувати esptool.py
Вимоги: ubuntu : встановлений пайтон 3.8.10, або вище (має бути доступний за замовчанням, перевіряємо: python3 -V) macos : встановлений brew, за допомогою якого доставимо все необхідне
Установка esptool: MacOS:
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
| blueprint: | |
| name: KNX - relative dimming for lights | |
| description: Control Home Assistant light entities from KNX switching and relative dimming (DPT 3.007) telegrams. | |
| homeassistant: | |
| # `knx.telegram` trigger and `enabled` templates require Home Assistant 2024.6.0 | |
| min_version: "2024.6.0" | |
| domain: automation | |
| input: | |
| target_lights: | |
| name: Light |
| // DONT FORGET TO `yarn add esbuild-loader` !!! | |
| // config/webpacker/environment.js | |
| const { environment } = require('@rails/webpacker') | |
| const { ESBuildPlugin } = require('esbuild-loader') | |
| const esBuildUse = [ | |
| { | |
| loader: require.resolve('esbuild-loader'), | |
| // What you want to compile to, in this case, ES7 |
| <%= form_with(model: billboard) do |form| %> | |
| <%= tag.div class: "dropzone", data: { controller: "dropzone", dropzone_param_name_value: "billboard[images][]", dropzone_url_value: rails_direct_uploads_url, dropzone_accepted_files_value: "image/*", dropzone_max_files_value: 3, dropzone_max_filesize_value: 0.300 } do %> | |
| <div class="dz-default dz-message flex flex-col items-center"> | |
| <%= image_tag "upload.svg", size: 28, class: "colorize-black", aria: { hidden: true } %> | |
| <h5 class="font-semibold mbs-4">Drop files here or click to upload.</h5> | |
| <p class="text-sm text-subtle">Upload up to 10 files.</p> | |
| </div> | |
| <% end %> | |
| <div class="inline-flex items-center mbs-2 mie-1"> |
| javascript:for(let%20a%20of%20document.querySelectorAll("tr:not(.days_off):not(.leave_date):not(.full_day_holiday)%20input[name^=\"timesheet[timesheetRow]\"][name$=\"[inTime]\"]"))a.value="09:00";for(let%20a%20of%20document.querySelectorAll("tr:not(.days_off):not(.leave_date):not(.full_day_holiday)%20input[name^=\"timesheet[timesheetRow]\"][name$=\"[breakDuration]\"]"))a.value="01:00";for(let%20a%20of%20document.querySelectorAll("tr:not(.days_off):not(.leave_date):not(.full_day_holiday)%20input[name^=\"timesheet[timesheetRow]\"][name$=\"[outTime]\"]"))a.value="18:00",a.dispatchEvent(new%20FocusEvent("blur")); |
pack.lua has been moved to https://github.com/turtleDev/pack.lua