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 | |
from typing import List | |
import os, io, base64, hashlib | |
import mutagen | |
import chardet | |
SECTORS_PER_SECOND = 75 | |
SAMPLES_PER_SECTOR = 588 |
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
809c809 | |
< self._expected_crc = zipinfo.CRC | |
--- | |
> self._expected_crc = self._orig_crc = zipinfo.CRC | |
812c812 | |
< self._expected_crc = None | |
--- | |
> self._expected_crc = self._orig_crc = None | |
1043c1043 | |
< def seek(self, offset, whence=0): |
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
FROM python:alpine | |
WORKDIR /app | |
RUN chown nobody:nogroup /app \ | |
&& apk add --no-cache --virtual .build-deps gcc build-base libffi-dev libressl-dev | |
ADD requirements.txt . | |
RUN pip install -r requirements.txt \ | |
&& apk del .build-deps |
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 hashlib | |
import os | |
import time | |
import traceback | |
from datetime import datetime | |
import argparse | |
import re | |
from telethon import TelegramClient, helpers, utils |
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 getSearchRSS(query){ | |
let results = YouTube.Search.list('id, snippet', { | |
q: query, | |
maxResults: 50, | |
order: 'date' | |
}); | |
let encoded_query = encodeURIComponent(query) | |
let rss_url = ScriptApp.getService().getUrl() + "?" + encoded_query; |
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
// last commit | |
export GIT_COMMITTER_DATE="$(date -R --date="13 days ago")"; git commit --amend --date="$GIT_COMMITTER_DATE" | |
// selected dates | |
git filter-repo -f --commit-callback ' | |
from datetime import datetime 46.175.47.49 96% ─╯ | |
d = commit.author_date.split() | |
date = datetime.fromtimestamp(int(d[0])) | |
if date.day == 2: | |
d[0]=str(int(d[0])+12*60*60).encode("ascii") |
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
CONFIG_ARM=y | |
CONFIG_ARCH_SUNXI=y | |
CONFIG_SPL=y | |
CONFIG_MACH_SUN6I=y | |
CONFIG_DRAM_CLK=360 | |
CONFIG_DRAM_ZQ=251 | |
CONFIG_MMC0_CD_PIN="PA8" | |
CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE" | |
CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT" | |
CONFIG_USB0_ID_DET="PA15" |
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
CONFIG_ARM=y | |
CONFIG_ARCH_SUNXI=y | |
CONFIG_SPL=y | |
CONFIG_MACH_SUN5I=y | |
CONFIG_DRAM_CLK=408 | |
CONFIG_DRAM_EMR1=0 | |
CONFIG_MMC0_CD_PIN="PG0" | |
CONFIG_USB0_VBUS_DET="PG1" | |
CONFIG_USB0_VBUS_PIN="PG12" | |
CONFIG_USB0_ID_DET="PG2" |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFpfx7ABEADFNFr9kM1k57tSUKRUNpj/LbWtL/GkuXCT2xhMG9o5qIeV/q0/ | |
ZGaEJaxUjZx1xfggH7Kip9/CxL89aLw1uawvfSlGXcu42j0Im4IGyFTw6vluq97m | |
5AiAOf0v9xEtX8k5jqu/ho6OOYbnxAagJmxWnhdv5khLA9YwVjicKnpk8o7JBdW/ | |
wGegIxFwNvISDSeHuc/Up/TjIyj9xDwn+bTgyFeH8Thx5kZ+BpPcEd5EGBx8qWn4 | |
6kIyh652/qZyg77js7ke8uiBZVRXrasYcretZHDJ9TFpqiBOuIUv7LHidTX1PXYx | |
ZWKrko7wjtaSw4XT3YpGn5jWM4+nmEhAM23sOgn0ETdp4zdyesqwPdgoGockf3mD | |
/VGljFNTwKzOYDkl1gYiwcrV6lkSzXMLND3OWcUh/GLYx9WuYoX3plWFU+hYtMPw | |
XWWlw/Jqea6qTt/jBT/vLsVARHSYCF7ZNyCunuT7B+xXpKtTgYEO/+63rzbGHghF | |
S1Xzb3wJWJElRA60eyyhZY3wqBoo9575F+ox1TEj7GHPY3RWbIQmURp6Me34xTHN |
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
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:493c18dc93c8dc3ef7c49fdad43bd84d42e7fa13] |
NewerOlder