Skip to content

Instantly share code, notes, and snippets.

Chris r-chris

View GitHub Profile
View download_google_images.py
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')
@r-chris
r-chris / riot-matrix-workshop.md
Created May 8, 2019 — forked from attacus/riot-matrix-workshop.md
Create your own encrypted chat server with Riot and Matrix
View riot-matrix-workshop.md

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.

View test_data.json
[{ "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"}]
View julia_groups.md
You can’t perform that action at this time.