Skip to content

Instantly share code, notes, and snippets.

Avatar

Luka Jerković jerkovicl

View GitHub Profile
View lerna.md

LERNA COMMANDS

Versioning cheatsheet

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backward-compatible manner, and
  • PATCH version when you make backward-compatible bug fixes.
@jerkovicl
jerkovicl / git.merge.md
Created Mar 3, 2022 — forked from hashg/git.merge.md
How to get changes from another branch
View git.merge.md
  • go to the master branch our-team

git checkout our-team

  • pull all the new changes from our-team branch

git pull

  • go to your branch featurex

git checkout featurex

  • merge the changes of our-team branch into featurex branch
@jerkovicl
jerkovicl / sonoff_mini_esphome.yaml
Created Nov 7, 2021
EspHome Config for Sonoff Mini
View sonoff_mini_esphome.yaml
substitutions:
device_name: kitchen_sonoff_mini
device_friendly_name: Kitchen Sonoff Mini Switch
device_ip: 192.168.5.13
light_id: light.kitchen_lights
button_gpio: GPIO00
led_status_gpio: GPIO13
relay_gpio: GPIO12
esphome:
@jerkovicl
jerkovicl / 1st_readme.txt
Created Mar 17, 2021 — forked from dglaude/1st_readme.txt
Home Assistant Rainbow Loop with Ikea Tradfri RGB light
View 1st_readme.txt
Please find below the various piece of code that together control my RGB light to loop in Rainbow.
Every two seconds, it change from one colour to another based on the value of the second.
So it compute 30 differents RGB value in a "circle", all with the same Saturation and Brightness both forced to 1.0
The transition from one colour to another is done in one seconds.
The name of my Tradfri RGB light bulb is "light.couleur"
A link to my video on Twitter:
https://twitter.com/DavidGlaude/status/1059596285991366657
View UltimateListIds.md
Name Package Id Version Source
7Zip 7zip.7zip 19.0.0 winget
Altap Salamander salamander choco
Alt-Tab Terminator alt-tab-terminator choco
AutoHotkey Lexikos.AutoHotkey 1.1.33.02 winget
AutoHotkey Store Edition HaukeGtze.AutoHotkeypoweredbyweatherlights.com Latest msstore (via winget)
Carnac
View ohmyposhv3.json
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@jerkovicl
jerkovicl / instructions.md
Created Feb 19, 2020 — forked from matthewjberger/instructions.md
Install a nerd font on ubuntu
View instructions.md

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@jerkovicl
jerkovicl / downloadTerminalTheme.ps1
Created Feb 18, 2020
script to download iTerm2 Color Scheme for Windows Terminal
View downloadTerminalTheme.ps1
# List of themes here: https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/windowsterminal
$Theme = "ayu"
$path = "$Env:LocalAppData/packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/profiles.json"
$Conf = gc $path | ConvertFrom-Json
$Conf.schemes += irm https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/windowsterminal/$Theme.json
$Conf | ConvertTo-json -Depth 10 | Set-Content $path