Skip to content

Instantly share code, notes, and snippets.

View Fazzani's full-sized avatar

Fazzani Fazzani

View GitHub Profile
@Fazzani
Fazzani / free_m3u8.m3u
Created July 28, 2018 09:13
Free m3u8 streams
http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8
http://playertest.longtailvideo.com/adaptive/wowzaid3/playlist.m3u8
http://cdn-fms.rbs.com.br/vod/hls_sample1_manifest.m3u8
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_1000_av-p.m3u8?sd=10&rebase=on
http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8
@Fazzani
Fazzani / vscode settings.md
Created August 13, 2018 22:13
fira code for vscode

"editor.fontFamily": "'Fira Code'", "editor.fontLigatures": true,

as admin in powershell run this command

choco install firacode

@Fazzani
Fazzani / Philips Jointspace v6 commands
Last active December 21, 2019 23:47 — forked from marcelrv/Philips Jointspace v6 commands
Philips Jointspace v6 commands
Working commands 55PUS7181
http://192.168.3.51:1925/system
{"menulanguage":"Dutch","name":"55PUS7181\/12","country":"Netherlands","serialnumber_encrypted":"F6905Z+vyquNhZoXegQ1DzZXCqMIcjJpkzy3LsiPac=\n","softwareversion_encrypted":"1YWR42sjQ6xdjuyIXWZbyPnoRswLoRswLmKtAhR9GRsBx1qY=\n","model_encrypted":"jGNvXDerdJoWjOpwh\/n0gw2MgM7oRswLoRswLKC73wfMgra3S62c4=\n","deviceid_encrypted":"7mv3ZEtMH8oRswL0RoRswLISTn38FN8HAqfmSF95qoaiRsuukSraQ=\n","nettvversion":"6.0.2","epgsource":"one","api_version":{"Major":6,"Minor":2,"Patch":0},"featuring":{"jsonfeatures":{"editfavorites":["TVChannels","SatChannels"],"recordings":["List","Schedule","Manage"],"ambilight":["LoungeLight","Hue","Ambilight"],"menuitems":["Setup_Menu"],"textentry":["context_based","initial_string_available","editor_info_available"],"applications":["TV_Apps","TV_Games","TV_Settings"],"pointer":["not_available"],"inputkey":["key"],"activities":["intent"],"channels":["preset_string"],"mappings":["server_mapping"]},"systemfeatures":{"tvtype":"consumer","
@Fazzani
Fazzani / tmp.sh
Last active December 21, 2019 23:45
webgrabUpdateChannels.sh
docker run -it --rm -e https://raw.githubusercontent.com/Fazzani/xmltv/master/default.xmltv -v "$(pwd):/data" synker/webgraboneshoturl:latest
docker run -it --rm -v "${PWD}/grab.xml:/config2/WebGrab++.config.xml" -v "${PWD}:/data" synker/webgraboneshot:latest
awk '/@auto_xml_channel_start/{flag=1;next}/@auto_xml_channel_end/{flag=0}flag' grab.ini | sed 's/^.//' > grabupdate.ini
docker run -it --rm -v "$(pwd)/config:/config" -v "$(pwd)/data:/data" linuxserver/webgrabplus /bin/bash
curl -o updateChannels.sh https://gist.githubusercontent.com/Fazzani/bd444ea76a67a0eefb3de3602fcd6eb9/raw/8308d8f9166de87125315c39b4b01c0c4cb74080/webgrabUpdateChannels.sh && chmod +x updateChannels.sh /defaults/update.sh
docker run -it --rm \
-e PAT="56f15284234a3464b04200404aa2a340c7974049xx" \
@Fazzani
Fazzani / WebGrab++.config.xml
Last active December 21, 2019 23:44
WebGrab++.config.xml
<?xml version="1.0"?>
<settings>
<filename>/data/ar_arab.xmltv</filename>
<mode>m</mode>
<postprocess run="n" grab="y">mdb</postprocess>
<proxy>automatic</proxy>
<user-agent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; yie9)</user-agent>
<logging>on</logging>
<retry time-out="15">0</retry>
<skip>12,1</skip>
@Fazzani
Fazzani / pptpd.sh
Created December 24, 2018 01:15
pptpd no internet access
nano /etc/sysctl.conf
# Add or find and comment out the following line
net.ipv4.ip_forward=1
# Save, close the file and run the following command to make the changes take effect.
sysctl -p
# The following iptables firewall rules allow port 1723, GRE and perform NAT
iptables -I INPUT -p tcp --dport 1723 -m state --state NEW -j ACCEPT
@Fazzani
Fazzani / PowerShellTricks
Created February 18, 2019 14:50
dockerfile windows
# PowerShell Tricks
This is a collection of some PowerShell tricks, especially if you come from Unix bash.
## `set -e`
In bash I often want to **abort the script** if an exit code of a program is not zero or another error occurs. The bash equivalent to `set -e`
```powershell
$ErrorActionPreference = 'Stop'
```
{
"user_info": {
"username": "mlqmdqsd",
"password": "ofQ5ys6qsdQ",
"auth": 1,
"status": "Active",
"exp_date": "1583056680",
"is_trial": "0",
"active_cons": "1",
"created_at": "1551434286",
@Fazzani
Fazzani / playlist1.m3u
Last active March 15, 2026 13:15
playlist.m3u (for testing)
#EXTM3U
#EXTINF:-1 tvg-ID="" tvg-name="*** SERVER DMTN-IPTV ***" tvg-logo="" group-title="TUNISIA TV",*** SERVER DMTN-IPTV ***
http://testurl-tv.net:8080/pas109QUd/ZMMo0YUDzM/11499
#EXTINF:-1 tvg-ID="" tvg-name="FI: TV 7 News Heaven" tvg-logo="" group-title="Finland",FI: TV 7 News Heaven
http://testurl-tv.net:8080/pas109QUd/ZMMo0YUDzM/55329
#EXTINF:-1 tvg-ID="" tvg-name="FI: TV7 Plus!" tvg-logo="" group-title="Finland",FI: TV7 Plus!
http://testurl-tv.net:8080/pas109QUd/ZMMo0YUDzM/31477
#EXTINF:-1 tvg-ID="" tvg-name="FI: Jim" tvg-logo="" group-title="Finland",FI: Jim
http://testurl-tv.net:8080/pas109QUd/ZMMo0YUDzM/26388
#EXTINF:-1 tvg-ID="" tvg-name="FI: LIV" tvg-logo="" group-title="Finland",FI: LIV
@Fazzani
Fazzani / index_picons.json
Last active May 18, 2020 23:08
picons index (json)
This file has been truncated, but you can view the full file.
{"echourouk": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/echourouk.png", "51bfbsradio": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/51bfbsradio.png", "cidadefm": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/cidadefm.png", "edenhd": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/edenhd.png", "viasatnaturehistory": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/viasatnaturehistory.png", "tbnespana": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/tbnespana.png", "tvcine2": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/tvcine2.png", "feelgoodmusic": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/feelgoodmusic.png", "abchannel": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/abchannel.png", "arthekayat": "https://raw.githubusercontent.com/Fazzani/epg/master/logosChannels/arthekayat.png", "disneyjuniorpremium": "https:/