Skip to content

Instantly share code, notes, and snippets.

@vinzent
vinzent / zg-204zm.py
Last active February 21, 2025 21:10
Tuya PIR+MMWaver Presence sensor ZG-204M ZHA Quirk for HomeAssistant
"""
* TS0601 ZG-204ZM
* _TZE200_kb5noeto
* Works with HA 2024.11 - updated by @txip (Update 2)
* https://de.aliexpress.com/item/1005006174074799.html ("Color": Mmwave PIR)
* https://github.com/13717033460/zigbee-herdsman-converters/blob/6c9cf1b0de836ec2172d569568d3c7fe75268958/src/devices/tuya.ts#L5730-L5762
* https://www.zigbee2mqtt.io/devices/ZG-204ZM.html
* https://smarthomescene.com/reviews/zigbee-battery-powered-presence-sensor-zg-204zm-review/
* https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js
* https://github.com/Koenkk/zigbee2mqtt/issues/21919
@thebitbrine
thebitbrine / IPTV_Links.strm
Created June 27, 2017 16:55
~700 480p/720p IPTV Links
@random-robbie
random-robbie / BBC.m3u
Last active April 18, 2025 13:47
BBC HLS Streams - let me know if i missed any
#EXTM3U
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD
http://a.fi
@dbiesecke
dbiesecke / movies.m3u
Last active November 25, 2024 09:00
pvr.iptvsimple iptvde.m3u
#EXTINF: tvg-logo="https://goo.gl/bi9htU",The Whistleblower
http://vodo.janokoro.org/hls/Movie-A8000/Germany/thewhistleblower/thewhistleblower.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",Hunter's Prayer
http://vodo.janokoro.org/hls/Movie-A8000/Germany/huntersprayer/huntersprayer.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",16 Blocks
http://vodo.janokoro.org/hls/Movie-A8000/Germany/16blocks/16blocks.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",Lost City Raiders
http://vodo.janokoro.org/hls/Movie-A8000/Germany/Lost_City_Raiders_2008/Lost_City_Raiders_2008.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",The Devil's Violinist
http://vodo.janokoro.org/hls/Movie-A8000/Germany/thedevilsviolinist/thedevilsviolinist.mkv.mp4/index.m3u8
@petehouston
petehouston / markup
Created October 17, 2014 07:20
[Bootstrap] Text overlay center inside the image
<div class="row" id="box-search">
<div class="thumbnail text-center">
<img src="img/cafe.jpg" alt="" class="img-responsive">
<div class="caption">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab, quisquam?</p>
</div>
</div>
</div>
@hnla
hnla / hnla-loggin-bp-sidebar-me
Last active December 17, 2015 06:09
A function to add the BuddyPress sidebar-me logged in username/avatar, plus site wide notice & a custom rendering of a users notifications displayed as a list e.g new @mentions, new private messages etc. On logout or logged out a login form is presented. The function can be placed in functions.php and the function call added to any sidebar file …
function hnla_bp_login_bp_sidebar_me() {
/**
* This function provides BP sidebar login form if logged out
* welcome message username & logout link if logged in,
* list of any new notification on your account,
* sitewide site notices if any posted by site admin.
*
* Add function to your function.php file
* call function in any sidebar file using:
*
@glueckpress
glueckpress / block-wp-login.php
Created April 12, 2012 07:28
Block ANY access to wp-login.php and redirect to a given URL (here: home_url() ).
<?php
add_action( 'init', 'custom_init_function' );
function custom_init_function() {
global $pagenow;
if( ! is_user_logged_in() && 'wp-login.php' == $pagenow ) {
wp_redirect( home_url() ); // redirect URL
exit();