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
from typing import BinaryIO | |
from dataclasses import dataclass | |
from fpdf import FPDF | |
from math import ceil | |
import qrcode | |
@dataclass | |
class Sticker: | |
code: str |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-deployment | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: hello | |
template: |
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
<p> | |
The <b>Lord Chancellor</b>, formally the <b>Lord High Chancellor of Great Britain</b>, | |
is the highest-ranking among the Great Officers of State in England in the United Kingdom, | |
nominally outranking the prime minister. The lord chancellor is appointed by the sovereign | |
on the advice of the prime minister. Prior to their Union into the Kingdom of Great Britain, | |
there were separate lord chancellors for the Kingdom of England and the Kingdom of Scotland; | |
there were lord chancellors of Ireland until 1922. | |
</p> | |
<p> |
This file has been truncated, but you can view the full file.
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
{ | |
"Basic Latin": [ | |
{ | |
"name": "<control>: null", | |
"decimal": "0", | |
"hex": "0000" | |
}, | |
{ | |
"name": "<control>: start of heading", | |
"decimal": "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
import join from 'url-join' | |
import parse from 'url-parse' | |
interface StaticallyImageOperations { | |
webp?: boolean | |
width?: number | |
height?: number | |
quality?: number | |
} |
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 assert from 'assert' | |
import AWS from 'aws-sdk' | |
const { | |
AWS_S3_ENDPOINT_URL, | |
AWS_ACCESS_KEY_ID, | |
AWS_SECRET_ACCESS_KEY, | |
} = process.env | |
assert(Boolean(AWS_S3_ENDPOINT_URL)) |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
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
title,currency,image_url,product_url,original_price,price,availability,color,description,brand,condition,ean,gender,gtin,model,size,sku,stock,categories,subcategories,weight,additional_image_link,attribute_title | |
Maison Baum Stiletto Ambrosia Schwarz Wildleder 36,EUR,https://cdn.shopify.com/s/files/1/0014/3789/2695/products/maisonbaum_ambrosia_0_h003su999_profil1.jpg?v=1607161611,http://maisonbaum.com/products/ambrosia-10cm?variant=29545888219223,,265,Yes,Schwarz Wildleder,"<h5>Designt in Paris. Nachhaltig produziert in Portugal.</h5><div class=""text-wrap tlid-copy-target""><div class=""text-wrap tlid-copy-target""><div tabindex=""0"" class=""result-shield-container tlid-copy-target""><p><span>Mit seinem patentierten Fußbett und dem v-förmigen Zehenausschnitt wird dieser feminine Pumps schnell zu Deinem Liebling.</span> <span>Nachhaltig und minimalistisch, dieses Design kommt nie aus der Mode. Zwei Paar halt-gebende Fesselriemen inklusive.</span></p><p><span class=""german-pdp-video""><iframe src=""https://ww |
This file has been truncated, but you can view the full file.
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
<!DOCTYPE html> <html lang="en" class="js-enabled __full _header-thick _header-sticky"><!-- | |
Page saved with SingleFile | |
url: https://blog.wolfram.com/2021/03/24/the-solution-of-the-zodiac-killers-340-character-cipher/ | |
saved date: Fri Mar 26 2021 16:24:40 GMT+0000 (Coordinated Universal Time) | |
--><head><meta charset="utf-8"> | |
<!-- begin framework head en --> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=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
# Based off of https://gist.github.com/julzhk/f94948012abd8645172eddbad5207a67 | |
import os | |
import base64 | |
import hashlib | |
import requests | |
import hmac | |
def get_default_app_key(): | |
return os.environ.get('DIGIT_EYES_KEY_K') |
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
from time import sleep | |
from functools import wraps | |
from multiprocessing import Manager | |
from multiprocessing import Process | |
def with_timeout(duration): | |
def _decorator_base(func): | |
def _func_worker(*args, returns, **kwargs): | |
returns.append(func(*args, **kwargs)) |
NewerOlder