Skip to content

Instantly share code, notes, and snippets.

View kubawolanin's full-sized avatar
🏡

Kuba Wolanin kubawolanin

🏡
View GitHub Profile
@kubawolanin
kubawolanin / GetCurrentReaperProject.ps1
Last active April 7, 2021 19:37
Automatically copy latest footage from Sony NEX camera to predefined folder on Windows PC
function Get-IniContent ($filePath)
{
$ini = @{}
switch -regex -file $FilePath
{
“^\[(.+)\]” # Section
{
$section = $matches[1]
$ini[$section] = @{}
$CommentCount = 0
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head id="ctl00_ctl00_ctl00_head1"><meta charset="utf-8" /><title>
LP3: za nami 1998 notowanie - Trójka - polskieradio.pl
</title><link rel="preconnect" href="https://mc.yandex.ru" crossorigin="" /><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" /><link rel="preconnect" href="https://fonts.googleapis.com" crossorigin="" /><link rel="preconnect" href="https://ajax.googleapis.com" crossorigin="" /><link rel="preconnect" href="https://www.googletagmanager.com" crossorigin="" /><link rel="dns-prefetch" href="//fonts.googleapis.com" /><link rel="dns-prefetch" href="//static.prsa.pl" /><link rel="dns-prefetch" href="//static.polskieradio.pl" /><link rel="dns-prefetch" href="//cdn.prsa.pl" /><link rel="dns-prefetch" href="//cdn.polskieradio.pl" /><link rel="dns-prefetch" href="//api.polskieradio.pl" /><link rel="dns-prefetch" href="//apipr.polskieradio.pl" /><link rel="dns-prefetch"
@kubawolanin
kubawolanin / index.css
Last active December 20, 2019 19:18
Test
p {
font-weight: 900;
}
@kubawolanin
kubawolanin / panel.rules
Created January 12, 2018 08:12
Random HABPanel display each 10 seconds
import java.util.Random
val dashboardList = newArrayList(
"Innovation Lab",
"Octoprint",
"Etc"
)
val Random random = new Random()
@kubawolanin
kubawolanin / style.css
Created September 5, 2017 17:50
Additional Basic UI themes
body[data-theme="blue-grey"] {
--primary-color: #455A64;
--header-bg: var(--primary-color);
--header-text-color: #fff;
--body-bg: #607d8c;
--container-bg: #ECEFF1;
--container-text-color: #616161;
--switch-on-track-bg: rgba(96, 125, 140, 0.42);
--border-color: #ccc;

Keybase proof

I hereby claim:

  • I am kubawolanin on github.
  • I am kubaw (https://keybase.io/kubaw) on keybase.
  • I have a public key ASDpu9KDJ7Lo5eDKggcwbBtSOfT5WeLmS794aqunoj3ObQo

To claim this, I am signing this object:

classic name (alias) | ESH cat | classic icon | material name | material icon
-|-|-|-|-
alarm | ? | <img alt="alarm" src="https://rawgit.com/eclipse/smarthome/master/extensions/ui/iconset/org.eclipse.smarthome.ui.iconset.classic/icons/alarm.svg" width="64"> | alarm-light | <img src="https://rawgit.com/templarian/materialdesign/master/icons/svg/alarm-light.svg" width="64">
attic | ? | <img alt="attic" src="https://rawgit.com/eclipse/smarthome/master/extensions/ui/iconset/org.eclipse.smarthome.ui.iconset.classic/icons/attic.svg" width="64"> | stairs | <img src="https://rawgit.com/templarian/materialdesign/master/icons/svg/stairs.svg" width="64">
baby_1 | ? | <img alt="baby_1" src="https://rawgit.com/eclipse/smarthome/master/extensions/ui/iconset/org.eclipse.smarthome.ui.iconset.classic/icons/baby_1.svg" width="64"> | baby | <img src="https://rawgit.com/templarian/materialdesign/master/icons/svg/baby.svg" width="64">
baby_2 | ? | <img alt="baby_2" src="https://rawgit.com/eclipse/smarthome/master/extensions/ui/ic
@kubawolanin
kubawolanin / airquality.items
Last active January 26, 2017 20:56
openHAB Air Quality Index measurement
Number AirQualityIndex "AQI"
String AirQuality "Air Quality [SCALE(airquality.scale):%s]"
Switch AirQualityRerun "Measure AQI"
@kubawolanin
kubawolanin / days_pl.map
Last active October 23, 2017 20:56
openHAB Polish transforms - weather, humidex, pressure, weekdays
Monday=Poniedziałek
Tuesday=Wtorek
Wednesday=Środa
Thursday=Czwartek
Friday=Piątek
Saturday=Sobota
Sunday=Niedziela