this is a collection of video resources (ccc media library, youtube, etc) on computer science related topics im interested in.
feel free to contribute.
Table of Contents
| import requests | |
| from bs4 import BeautifulSoup | |
| s.mount(url, HTTPAdapter(max_retries=5)) | |
| response = requests.Response() | |
| try: | |
| response = requests.get("https://wiki.guildwars2.com/wiki/Eternity", stream=True, verify=True, headers=False) | |
| except requests.exceptions.RequestException as e: # catch exception but do nothing | |
| print (e) | |
| soup = BeautifulSoup(response.text, 'html.parser') |
this is a collection of video resources (ccc media library, youtube, etc) on computer science related topics im interested in.
feel free to contribute.
Table of Contents
Antichamber
The Beginner's Guide
The Stanley Parable
How the C++ Compiler Works
| monokai palette | |
| http://www.colourlovers.com/palette/1718713/Monokai | |
| monokai CMD | |
| https://github.com/reideast/cmd-colors-monokai |
| run in elevated powershell: | |
| net stop wuauserv | |
| net stop cryptSvc | |
| net stop bits | |
| net stop msiserver | |
| ren C:\Windows\SoftwareDistribution SoftwareDistribution.old | |
| ren C:\Windows\System32\catroot2 catroot2.old | |
| net start wuauserv | |
| net start cryptSvc |
| // run on https://www.pinkbike.com/photo/podlist/ | |
| // high res links look like this: https://lp1.pinkbike.org/p0pb<ID>/<ID>.jpg | |
| // get all li-tags with 'inElm' class | |
| var li_inElms = document.querySelectorAll('li.inElm') | |
| // iterate over all li-tags | |
| for(var i = 0; i < li_inElms.length; i++){ | |
| // get the id | |
| var link = li_inElms[i].getElementsByTagName('a')[0].getAttribute('href'); |
| import requests | |
| import json | |
| import time | |
| from collections import Counter | |
| from pprint import pprint | |
| # avoid stressing nindo too much | |
| # by adding a delay between fetch requests | |
| FETCH_SLEEP = 1 |