This file contains 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 python3.6 | |
import asyncio | |
from contextlib import closing | |
import aiohttp | |
import tqdm | |
async def download(session, url, progress_queue): |
This file contains 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
package http_lang; | |
use nginx; | |
sub quality { | |
my $lang = shift; | |
if ($lang =~ /;q=(\d\.\d+)$/) { | |
return $1; | |
} |
This file contains 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
[Unit] | |
Description=Mako notification daemon | |
Documentation=man:mako(1) man:makoctl(1) | |
PartOf=graphical-session.target | |
[Service] | |
Type=dbus | |
BusName=org.freedesktop.Notifications | |
ExecStart=/usr/bin/mako |
OlderNewer