Skip to content

Instantly share code, notes, and snippets.

@fatihboy
fatihboy / rpimonitor.list
Created May 27, 2016
RPi-Monitor uygulaması github deposu
View rpimonitor.list
# RPi-Monitor deposu
deb https://github.com XavierBerger/RPi-Monitor-deb/raw/master/repo/
@fatihboy
fatihboy / weather.rules
Created Oct 21, 2016
Openhab humidex calculation rule for Turkey
View weather.rules
import org.eclipse.smarthome.core.library.types.DecimalType
rule "Hissedilen sicakligi hesapla"
when
Item sensor_sicaklik changed or
Item sensor_nem changed
then
var double sonuc
var double sicaklik
var double sicaklikF
@fatihboy
fatihboy / moon.tr.map
Created Oct 21, 2016
OpenHab Turkish mappings for Moon phases
View moon.tr.map
NEW=Yeni Ay
WAXING_CRESCENT=Hilal
FIRST_QUARTER=İlk Dördün
WAXING_GIBBOUS=Kambur Ay
FULL=Dolunay
WANING_GIBBOUS=Solan Kambur Ay
THIRD_QUARTER=Son Dördün
WANING_CRESCENT=Hilal
@fatihboy
fatihboy / humidex.scale
Last active Oct 21, 2016
OpenHab Range of humidex: Degree of comfort for Turkey
View humidex.scale
[..-1[=Tanımsız
[-1..27[=Soğuk/Serin
[27..32[=Sıcak
[32..41[=Çok Sıcak
[41..54[=Tehlikeli Sıcak
[54..100]=Çok Tehlikeli Sıcak
]100..]=Tanımsız
View gitea-1.5.0-raspbian.sh
#!/bin/sh
# Freely inspired by https://gist.github.com/mirhec/1c8af440aa4917d6ccd61ea628e5510c
# and Gentoo ebuild "styling".
################################
# Modified by Fatih Boy <fatih@enterprisecoding.com>
# * Gitea version updated to 1.5.0
# * GITEA_USER shell path fixed
################################
View ufw plexmediaserver app profile.md
[plexmediaserver]
title=Plex Media Server (Standard)
description=The Plex Media Server
ports=32400/tcp|5353/udp|32410:32414/udp

[plexmediaserver-minimal]
title=Plex Media Server (Minimal)
description=The Plex Media Server (Minimal)
ports=32400/tcp
@fatihboy
fatihboy / profiles.json
Last active Oct 26, 2019
Windows Terminal profile
View profiles.json
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"profiles": [
You can’t perform that action at this time.