Skip to content

Instantly share code, notes, and snippets.

@r-chris
r-chris / julia_groups.md
Last active August 11, 2016 08:00
julia_groups
[{ "Type": "Drill", "Manufacturer": "Bosch", "ID": "AX-1004", "Price": "749 CHF"},
{ "Type": "Camera", "Manufacturer": "Toschiba", "ID": "CX-200", "Price": "229 CHF"},
{ "Type": "Chair", "Manufacturer": "IKEA", "ID": "AD-9210", "Price": "119 CHF"},
{ "Type": "Car", "Manufacturer": "BMW", "ID": "BY-2015", "Price": "45'579 CHF"},
{ "Type": "Shoes", "Manufacturer": "Nike", "ID": "FX-0091", "Price": "49 CHF"},
{ "Type": "Bike", "Manufacturer": "Stevens", "ID": "SK-9038", "Price": "2399 CHF"}]
@r-chris
r-chris / riot-matrix-workshop.md
Created May 8, 2019 18:56 — forked from attacus/riot-matrix-workshop.md
Create your own encrypted chat server with Riot and Matrix

Running your own encrypted chat service with Matrix and Riot

Workshop Instructor:

This workshop is distributed under a CC BY-SA 4.0 license.

What are we doing here?

The goal of this workshop is to teach you how to configure and run your own Matrix/Riot service. By the end of the workshop, you should be able to log into secure chat rooms and invite others to the same server.

from bs4 import BeautifulSoup
import requests
import re
import urllib2
import os
import cookielib
import json
def get_soup(url,header):
return BeautifulSoup(urllib2.urlopen(urllib2.Request(url,headers=header)),'html.parser')
#EXTM3U
#EXTINF:0, Size Radio
http://stream.radiojar.com/atr1e8aswa5tv.m3u
#EXTINF:0, Radio Paradise
http://stream-dc1.radioparadise.com/aac-320
#EXTINF:0, Djam Radio
http://ledjamradio.ice.infomaniak.ch/ledjamradio.mp3
#EXTINF:0, Radio Nova
http://novazz.ice.infomaniak.ch/novazz-128.mp3