Skip to content

Instantly share code, notes, and snippets.

View denysdovhan's full-sized avatar
👨‍💻
Working for @wix

Denys Dovhan denysdovhan

👨‍💻
Working for @wix
View GitHub Profile
@EverythingSmartHome
EverythingSmartHome / flexispot-e7pro-voice.yaml
Created November 13, 2024 18:32
flexispot-e7pro-voice-assistant
esphome:
friendly_name: flexispot-e7q
name: flexispot-e7q
platformio_options:
board_build.flash_mode: dio
on_boot:
- priority: -10
then:
- button.press: button_m
- priority: 600
@ALF-er
ALF-er / init.lua
Created October 14, 2024 08:54
Nvim config (awfully not finished)
-- Keymaps for better default experience
vim.keymap.set({ "n", "v" }, "<Space>", "<Nop>", { silent = true })
-- Must happen before plugins are required (otherwise wrong leader will be used)
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- [[ Setting options ]]
-- See `:help vim.o`
@colinaaa
colinaaa / keybindings.json
Created May 10, 2021 03:31
LunarVim VSCode Config
// Place your key bindings in this file to override the defaults
[
{
"command": "vscode-neovim.compositeEscape1",
"key": "j",
"when": "neovim.mode == insert && editorTextFocus",
"args": "j"
},
{
"command": "vscode-neovim.compositeEscape2",
@bruvv
bruvv / sync_trv_with_external_temp_sensor.yaml
Last active November 16, 2024 11:33
Sync TRV with external sensor blueprint
blueprint:
name: Sync TRV temperature
description: Sync external temperature sensor with TRV temperature
domain: automation
input:
ieeeaddressoftrv:
name: IEEE Address
description: This is the address of the TRV found in your zigbee database example 0x459877fffe1f2e83
external_temp:
name: Select the external temp sensor
@Xantios
Xantios / ubuntu_nic_netplan.md
Last active March 22, 2024 13:13
Ubuntu 20.04 Network setup with NetPlan and NetworkManager

Whut?!

Ubuntu 18.10 and onwards use netplan for the configuration of network interfaces. although im fine with it, it seems Cockpit and some other software dont like it as much.

Solution

Let Netplan configure the interface and hand-off further managent to NetworkManager.

notice: NetworkManager is not a X Application, although the name might sound like one.

@seanlinehan
seanlinehan / mute-words-twitter-emotions.txt
Last active April 15, 2024 01:00
Mute these words on Twitter to eliminate some negativity from your life
appalled
ashamed
asshole
complicit
deplorable
deplore
disgraceful
disgusted
fuck
fucking
@mattmc3
mattmc3 / README.md
Last active October 14, 2024 10:13
zsh: zstyle examples

zstyle booleans

Setup foo,bar,baz boolean vars

zstyle ':example:foo' doit yes
zstyle ':example:bar' doit no
# leave baz unset
@mistic100
mistic100 / vimeo-downloader.js
Created September 15, 2018 09:01
Download video from Vimeo (chopped m4s files)
// 1. Open the browser developper console on the network tab
// 2. Start the video
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL
// 4. Run: node vimeo-downloader.js "<URL>"
// 5. Combine the m4v and m4a files with mkvmerge
const fs = require('fs');
const url = require('url');
const https = require('https');
@A-gambit
A-gambit / ReactiveConf2017.md
Last active June 19, 2021 16:57
Proposal for lightning talk at ReactiveConf 2017: How do you make friends with React and FRP? 🤔 Start to develop your application using Focal.

How do you make friends with React and FRP? 🤔 Start to develop your application using Focal.

This is a CFP for the ⚡️Lightning⚡️ talk at awesome ReactiveConf 2017. If you'd like to see this talk, please 🌟 star🌟 this summary and retweet my tweet 🙂 #ReactiveConf

image

Functional reactive programming (FRP) is very popular nowadays. The JavaScript community provides us with excellent tools like RxJS, Bacon, and Kefir. But, as we know, they have nothing to do with React. So how we can use the power of FRP in our React application? Using the correct state management, we can make friends with FRP and React and make our application truly reactive. In my lightning talk, I will talk about Focal

@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active November 13, 2024 14:50
Hyperlinks in Terminal Emulators