Skip to content

Instantly share code, notes, and snippets.

View CorneilleEdi's full-sized avatar
🌟
Solving problems

Ayao Corneille ALLOGBALO CorneilleEdi

🌟
Solving problems
View GitHub Profile
from itertools import islice
import firebase_admin
from firebase_admin import credentials
from firebase_admin import db
from firebase_admin import firestore
def _split(data, size=500):
"""Splits a dictionary into a sequence of smaller dictionaries."""
@SanderTheDragon
SanderTheDragon / postman-deb.sh
Last active July 31, 2024 07:40
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
#!/bin/sh
# SPDX-FileCopyrightText: 2017-2024 SanderTheDragon <sanderthedragon@zoho.com>
#
# SPDX-License-Identifier: MIT
arch=$(dpkg --print-architecture)
echo "Detected architecture: $arch"
case "$arch" in