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 | |
""" zimwriterfs alternative implementation | |
requires libmagic1 and zimscraperlib (python) | |
WARN: the following zimwriterfs features are not implemented: | |
`--inflateHtml` | |
`--skip-libmagic-check` | |
""" |
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
DISTDIR=./libzim_dist | |
LIBDIR=$(DISTDIR)/lib | |
DYLD_LIBRARY_PATH=$(LIBDIR) | |
TARGET ?= macos-x86_64 | |
all: zimls | |
libzim_dist: | |
curl -L -O https://download.openzim.org/release/libzim/libzim_$(TARGET)-8.2.1-1.tar.gz \ | |
&& tar xf libzim_$(TARGET)-8.2.1-1.tar.gz \ |
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
#!/Users/reg/src/wikihow/.venv/bin/python3 | |
# !/usr/bin/env python3 | |
import argparse | |
import logging | |
import sys | |
import humanfriendly | |
from zimscraperlib.zim.archive import Archive |
This file has been truncated, but you can view the full file.
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
/*! sw.js is part of Webrecorder project. Copyright (C) 2020-2023, Webrecorder Software. Licensed under the Affero General Public License v3. */ | |
/******/ (() => { // webpackBootstrap | |
/******/ var __webpack_modules__ = ({ | |
/***/ 9742: | |
/***/ ((__unused_webpack_module, exports) => { | |
"use strict"; | |
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 | |
import argparse | |
import pathlib | |
import sys | |
import traceback | |
try: | |
from libzim.reader import Archive | |
except ImportError as exc: |
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 | |
import argparse | |
import base64 | |
import pathlib | |
import re | |
import sys | |
import traceback | |
from typing import List, Optional |
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
/** | |
* videojs-ogvjs | |
* @version 1.3.1 | |
* @copyright 2016 Derk-Jan Hartman | |
* @license (MIT OR Apache-2.0) | |
*/ | |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.videojsOgvjs = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
(function (global){ | |
'use strict'; |
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
function extend(obj, src) { | |
for (var key in src) { | |
if (src.hasOwnProperty(key)) obj[key] = src[key]; | |
} | |
return obj; | |
} | |
var WebPHandler = (function() { | |
var defaults; |
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
--- setup.py 2020-05-06 16:24:31.000000000 +0000 | |
+++ setup2.py 2020-10-09 13:23:23.000000000 +0000 | |
@@ -1234,9 +1234,7 @@ | |
define_macros=[("PY_SSIZE_T_CLEAN", None)], | |
) | |
ext_modules.append(gi_cairo_ext) | |
- install_requires.append( | |
- "pycairo>=%s" % get_version_requirement( | |
- get_pycairo_pkg_config_name())) | |
+ install_requires.append("pycairo") |
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
diff --git i/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py w/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py | |
index f61d9380..8ef7a4af 100644 | |
--- i/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py | |
+++ w/PyInstaller/hooks/hook-gi.repository.GdkPixbuf.py | |
@@ -23,8 +23,8 @@ from PyInstaller.utils.hooks import ( | |
loaders_path = os.path.join('gdk-pixbuf-2.0', '2.10.0', 'loaders') | |
-destpath = "lib/gdk-pixbuf-2.0/2.10.0/loaders" | |
-cachedest = "lib/gdk-pixbuf-2.0/2.10.0" |
NewerOlder