Skip to content

Instantly share code, notes, and snippets.

@zubir2k
zubir2k / HomeAssistantIslamicPrayerTimeExtended.md
Last active March 1, 2025 16:22
Home Assistant Islamic Prayer Time [Extended]

Home Assistant Islamic Prayer Time [Extended]

Reference: https://www.home-assistant.io/integrations/islamic_prayer_times

Assalamu'alaikum

The current integration only creates sensors consist of fajr, dhuhr, asr, maghrib, isha, sunrise and midnight. This will add 2 additional sensors which will ease in creating adzan automation:

  1. Current Prayer Time
  2. Imsak Time
@zwindler
zwindler / ipv6_proxmox_online.net.md
Created February 17, 2021 15:01 — forked from DonSYS91/ipv6_proxmox_online.net.md
Configuring IPv6 block from Online.net On Proxmox Host and Guests

Configuring IPv6 block from Online.net On Proxmox Host and Guests

Following the documentation on online.net would get IPv6 to work only in a simple system installation but won't get IPv6 to work with virtualization environment (Exp. Proxmox) as It's missing some IPv6 forwards and proxies on sysctl.conf.

On Proxmox Host (Or Debian if single Debian Installation)

Enable IPv6 on the System:

  • Change Module Options to Enable IPv6:
@echelon
echelon / realgas.py
Created December 17, 2011 22:05
Using the van der Waals equation to show deviation from ideal gas behavior for H2O vapor (Video: http://www.youtube.com/watch?v=8ycjIyorZ2Q)
#!/usr/bin/env python
# VIDEO IS AT: http://www.youtube.com/watch?v=8ycjIyorZ2Q
import matplotlib.pyplot as plot
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d.axes3d import get_test_data
import numpy
# PVm = RT
def ideal(numP=17, pStart=0, pSpread=10,