View ir_led.esphome.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: esp_living_couch1 | |
platform: ESP8266 | |
board: d1_mini | |
wifi: | |
ssid: "grove" | |
password: "0My%Secur" | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: |
View esphome-mh-z19b.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CO2 Sensor | |
# После прошивки надо выставить в открытое окно и выполнить эту команду ручного сброса нуля, которое запомнится в датчике | |
# HA > Developer tools > Call Service > Name: service.<ESP_NAME>_mhz19_calibrate_zero | |
api: | |
services: | |
- service: mhz19_calibrate_zero | |
then: | |
- mhz19.calibrate_zero: sensor_mhz19 |
View lovelace-domofon.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title: Home | |
views: | |
- title: Домофон | |
path: '' | |
icon: 'hass:phone' | |
badges: [] | |
cards: | |
- type: entities | |
entities: | |
- entity: binary_sensor.domofon_incoming_call |
View Flow.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { ReactNode } from 'react' | |
import styled from 'styled-components' | |
/** Nice flexbox wrapper */ | |
type CrossAlign = 'start' | 'end' | 'center' | 'stretch' | 'baseline' | |
export interface FlowProps { | |
children: ReactNode | |
// direction shortcut | |
row?: boolean |
View BankCode.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type BankCode = | |
| 'Alfa' | |
| 'Baltiyskiy' | |
| 'Binbank' | |
| 'Europe' | |
| 'Gazprombank' | |
| 'HomeCredit' | |
| 'Mdm' | |
| 'Mkb' | |
| 'Moscow' |
View Flow.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { ReactNode } from 'react'; | |
import styled from 'styled-components'; | |
/** | |
* Nice flexbox wrapper | |
* @example <Flow col size="1rem">...</Flow> // 1rem = 1unit = 8px | |
*/ | |
interface Props { | |
children: ReactNode, |
View react_admin_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# RubyReactAdmin. ActiveAdmin like controller API, возвращающее TR-D json | |
# для отображения React-интерфейсе без js-кода для дефолтных сценариев | |
# с несложными кастомизациями фронта по необходимости лучшими фронтовыми технологиями | |
# | |
# todo: render_json, render_json_error, render_json_exception | |
# todo: | |
module Admin |
View hypenate-huefikate-cyrillic-ru.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://sites.google.com/site/foliantapp/project-updates/hyphenation | |
*/ | |
function hypenate (word) { | |
return _substitute(Array.from(word).reduce((res, c) => { | |
return _substitute(res) + c; | |
}, '')); | |
} |
View mc.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="wasm_exec.js"></script> | |
<script> | |
const go = new Go(); | |
WebAssembly.instantiateStreaming(fetch("main.wasm"), go.importObject).then((result) => { | |
go.run(result.instance); | |
console.log(Template('123', "Цифры из этого смс никому нельзя сообщать. Для входа в приложение Рокетбанка введите код {{ index . 0 }}")); |
NewerOlder