Skip to content

Instantly share code, notes, and snippets.

@fatihboy
fatihboy / profiles.json
Last active October 26, 2019 18:59
Windows Terminal profile
// 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": [
[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 / gitea-1.5.0-raspbian.sh
Last active August 31, 2018 14:36 — forked from dguglielmi/gitea-1.10.1-raspbian.sh
Install Gitea on Raspbian
#!/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
################################
@fatihboy
fatihboy / humidex.scale
Last active October 21, 2016 19:38
OpenHab Range of humidex: Degree of comfort for Turkey
[..-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
@fatihboy
fatihboy / moon.tr.map
Created October 21, 2016 19:37
OpenHab Turkish mappings for Moon phases
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 / weather.rules
Created October 21, 2016 19:29
Openhab humidex calculation rule for Turkey
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 / rpimonitor.list
Created May 27, 2016 15:26
RPi-Monitor uygulaması github deposu
# RPi-Monitor deposu
deb https://github.com XavierBerger/RPi-Monitor-deb/raw/master/repo/