Skip to content

Instantly share code, notes, and snippets.

View annulen's full-sized avatar

Konstantin Tokarev annulen

View GitHub Profile
@keineahnung2345
keineahnung2345 / sourceforge_folder_downloader.py
Last active September 11, 2024 16:07
This script can download a folder(recursively) from sourceforge.net
# -*- coding: utf-8 -*-
import requests
from bs4 import BeautifulSoup
import wget #for downloading files
# convert url to normal string
from urllib.parse import unquote
import os
url_base = "https://sourceforge.net/"
@umidjons
umidjons / youtube-dl-download-audio-only-on-best-quality.md
Last active March 9, 2024 07:54
Download Audio from YouTube with youtube-dl

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@rafaelbrandao
rafaelbrandao / how-to-rebaseline.txt
Created July 24, 2012 18:30
Ossy's instructions
- Let's concentrate for Qt 5 WebKit1 first (Qt 4.8 and Qt 5.0 WebKit2 results are very similar,
there are only ~500 different test results on them.) After we finished Qt 5.
- download http://build.webkit.sed.hu/x/layout-test-results.tar.gz , untar it where you want: my-favourite-path
(download can be slow a little bit, because it is a 330 Mb sized file.)
- Tools/Scripts/webkit-patch rebaseline-server my-favourite-path
- wait, wait and wait :) (starting server took 5-6 minutes for me because of this huge number of tests)
- Pick a directory for rebasing
- Add a comment to https://bugs.webkit.org/show_bug.cgi?id=85203, for example: "I started rebasing css2.1 tests."
(To avoid paralel working on same directory.)
- Select baseline target qt (not qt-5.0, qt-5.0-wk1, ...) at the bottom of the page.