Skip to content

Instantly share code, notes, and snippets.

#!/bin/env python3
import re
import subprocess
import sys
from pathlib import Path
# enter links to some .m3u8 URLs here
links = """
""".split()
From acaa18f587d6154b65d83e88f8dc7e3966645aef Mon Sep 17 00:00:00 2001
From: Martin Dreher <martin@thinkpad>
Date: Tue, 7 Jul 2020 14:01:57 +0200
Subject: [PATCH] disable autoscaling for zoom GUI
---
PKGBUILD | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PKGBUILD b/PKGBUILD
@mercutiodesign
mercutiodesign / PKGBUILD
Created May 30, 2020 10:56
aws-cli-v2 updated to 2.0.17
# Maintainer: Steve Engledow <steve@engledow.me>
pkgname=aws-cli-v2
pkgver=2.0.17
pkgrel=1
pkgdesc='Universal Command Line Interface for Amazon Web Services version 2'
arch=('i686' 'x86_64')
url='https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html'
license=('Apache')
provides=('aws-cli')
conflicts=('aws-cli')
From 3f3b14c29d764be488275df1ee734441444bfc8e Mon Sep 17 00:00:00 2001
From: Martin Dreher <martin@thinkpad>
Date: Wed, 29 Apr 2020 12:27:55 +0200
Subject: [PATCH] allow prompt_toolkit 3
---
PKGBUILD | 15 +++++++++++----
allow-prompt_toolkit3.patch | 11 +++++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
create mode 100644 allow-prompt_toolkit3.patch
import * as Bowser from "bowser";
const browser = Bowser.getParser(window.navigator.userAgent);
const isValidBrowser = browser.satisfies({
chrome: ">77",
firefox: ">72",
safari: ">11",
edge: ">79",
});
diff --git a/PKGBUILD b/PKGBUILD
index 3dce3fa..955dba7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=freefilesync
pkgver=10.20
-pkgrel=1
+pkgrel=2
@mercutiodesign
mercutiodesign / PKGBUILD.patch
Created February 4, 2020 10:28
Update to 1.17.2
diff --git a/PKGBUILD b/PKGBUILD
index 575d204..a2322c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: duxet <duxetlg@gmail.com>
pkgname=k3s-bin
-pkgver=1.17.0+k3s.1
+pkgver=1.17.2+k3s1
pkgrel=1
#!/usr/bin/env python3
import csv
import sys
import json
from pathlib import Path
with Path("./wants.json").open() as f:
data = json.load(f)
import torch
import torchvision
from pathlib import Path
import zipfile
path = Path('./data/tiny-imagenet-200.zip')
extracted_path = path.parent / path.stem
if extracted_path.exists():
@mercutiodesign
mercutiodesign / moshInstall2AmazonAMI.sh
Last active June 22, 2021 01:15 — forked from pesblog/moshInstall2AmazonAMI.sh
mosh install to AWS EC2 (Amazon AMI)
#!/bin/sh
sudo yum -y install autoconf automake gcc gcc-c++ make boost-devel zlib-devel ncurses-devel protobuf-devel openssl-devel
cd /usr/local/src
VERSION=1.3.2
PKGNAME=mosh-$VERSION
FNAME=$PKGNAME.tar.gz
sudo wget https://mosh.org/$FNAME
sudo tar xvf $FNAME
cd $PKGNAME