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
5:00:18 PM: Build ready to start | |
5:00:20 PM: build-image version: 122b31996ccaffd45d820a452d6227f8312110cc (focal) | |
5:00:20 PM: build-image tag: v4.5.3 | |
5:00:20 PM: buildbot version: 398bd8f0cf7c89ede5175bf64d57dd805e2eab84 | |
5:00:20 PM: Building without cache | |
5:00:20 PM: Starting to prepare the repo for build | |
5:00:21 PM: No cached dependencies found. Cloning fresh repo | |
5:00:21 PM: git clone [email protected]:thien-n/guitarx-hugo | |
5:00:22 PM: Preparing Git Reference refs/heads/main | |
5:00:23 PM: Parsing package.json dependencies |
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
[outputFormats] | |
[outputFormats.articles] | |
baseName = "articles" | |
mediaType = "application/xml" | |
isPlainText = false | |
protocol = "xml://" | |
path = "/" | |
[outputFormats.authors] | |
baseName = "authors" |
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
❗️ Closed issue #34 in sid-r-singh/status | |
🗣 Commented on #34 in sid-r-singh/status | |
❗️ Opened issue #34 in sid-r-singh/status | |
❗️ Closed issue #33 in sid-r-singh/status | |
🗣 Commented on #33 in sid-r-singh/status |
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
--- | |
title: Firewalld config | |
description: Learn how to Setup Firewalld | |
--- | |
<PageDescription> | |
In this article you will learn how how to Setup Firewalld. |
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
My aim: To create a serverless funcion which: | |
1. receives a POST request | |
2. forwards the same to Firebase | |
I didn't want to directly send data to firebase URL from my website since in that way my firebase URL will be exposed. | |
So I thought of creating a serverless function which can accept POST request from my endpoint/website & | |
then forward it to Firebase, so that in the whole process my firebase URL is not exposed anywhere. | |
As a summary: this function acts as an intermediate between my website & Firebase | |
I just wish to have one security mechanism in place in this function i.e. I check whether the request was from allowed origins or not. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 __future__ import annotations | |
import array | |
import asyncio | |
from bisect import bisect_left | |
from dataclasses import dataclass | |
import logging | |
import os | |
import socket | |
import time |
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
# Spotify's Anti-Adveritsing blocking servers, tricking services to stop music services (DONT BLOCK THESE!): | |
gcdn.2mdn.net | |
r9---sn-n4v7kn76.c.2mdn.net | |
gew1-accesspoint-b-zzfg.ap.spotify.com | |
ns1.p23.dynect.net | |
ns3.p23.dynect.net | |
ns4.p23.dynect.net | |
dns1.p07.nsone.net | |
dns2.p07.nsone.net | |
dns3.p07.nsone.net |
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
2021-03-16T08:04:51.000000+00:00 app[api]: Build succeeded | |
2021-03-16T08:04:53.420172+00:00 app[web.1]: 2021-03-16 08:04:53,418 - apscheduler.scheduler - INFO - Scheduler started | |
2021-03-16T08:04:54.048348+00:00 app[web.1]: 2021-03-16 08:04:54,048 - telegram.ext.updater - ERROR - Error while bootstrap set webhook: Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443 | |
2021-03-16T08:04:54.049035+00:00 app[web.1]: 2021-03-16 08:04:54,048 - telegram.ext.updater - ERROR - Failed bootstrap phase after 0 retries (Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443) | |
2021-03-16T08:04:54.062135+00:00 app[web.1]: 2021-03-16 08:04:54,049 - telegram.ext.updater - ERROR - unhandled exception in Bot:1670826992:updater | |
2021-03-16T08:04:54.062138+00:00 app[web.1]: Traceback (most recent call last): | |
2021-03-16T08:04:54.062138+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 236, in _thread_wrapper | |
2021-03-16T08:04:54.062140+00:00 app[web.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
Procfile | |
web: python fresh_bot.py | |
requirements.txt | |
certifi==2020.12.5 | |
chardet==4.0.0 | |
idna==2.10 | |
python-telegram-bot |
NewerOlder