This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import argparse | |
| import re | |
| parser = argparse.ArgumentParser(description="Download stream from jellyfin. Useful for downloading a video with reduced bitrate on slow internet connections.") | |
| parser.add_argument('-a', '--append', action="store_true", help="Append to existing stream file. Can be used for resuming download.") | |
| parser.add_argument('-s', '--start', type=int, default=0, help="First chunk to download") | |
| parser.add_argument('url', help="Stream url. Get this from the developer tools network tab while watching stream with the intended bitrate and audio channel. Should look like https://.../hls1/main/123.ts?...") | |
| parser.add_argument('output', help="Output filename") | |
| args = parser.parse_args() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Less addictive YouTube | |
| ! Remove homepage recommendations - use the subscriptions page instead | |
| www.youtube.com###page-manager > .style-scope[page-subtype=home] | |
| ! Hide shorts in subscriptions | |
| www.youtube.com##.ytd-rich-section-renderer[is-shorts=""] | |
| ! Remove related videos sidebar and endscreen | |
| www.youtube.com###related |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| from socket import (socket, AF_INET, SOCK_DGRAM, SOL_SOCKET, SO_REUSEADDR, | |
| SO_BROADCAST) | |
| from struct import pack, unpack | |
| import time | |
| import serial | |
| from threading import Thread | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Sweep | |
| by BARRAGAN <http://barraganstudio.com> | |
| This example code is in the public domain. | |
| modified 8 Nov 2013 | |
| by Scott Fitzgerald | |
| http://www.arduino.cc/en/Tutorial/Sweep | |
| */ | |
| #include <Servo.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on 15/01/15 | |
| @author: Sammy Pfeiffer | |
| # Software License Agreement (BSD License) | |
| # | |
| # Copyright (c) 2016, PAL Robotics, S.L. | |
| # All rights reserved. |
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1;"Parris, | |
| delighted: | |
| Mr. Hale! Oh! it’s good to see you again! | |
| Taking some books: | |
| My, they’re heavy! ";d | |
| 2;"Hale, | |
| setting down his books: | |
| They must be; they are | |
| weighted with authority. ";aa | |
| 1;"Parris, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <libfreenect.h> | |
| #include <opencv2/opencv.hpp> | |
| #include <thread> | |
| #include <mutex> | |
| #define FREENECTOPENCV_RGB_WIDTH 640 | |
| #define FREENECTOPENCV_RGB_HEIGHT 480 | |
| #define FREENECTOPENCV_DEPTH_WIDTH 640 | |
| #define FREENECTOPENCV_DEPTH_HEIGHT 480 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import shutil | |
| import subprocess | |
| import argparse | |
| def main(): | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('indir') | |
| args = parser.parse_args() |