Skip to content

Instantly share code, notes, and snippets.

View amyonsun's full-sized avatar
📑
33

Amyonsun amyonsun

📑
33
View GitHub Profile
@ishad0w
ishad0w / sources.list
Last active March 17, 2024 02:06
Debian 11 (Bullseye) -- Full sources.list
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
@Lh4cKg
Lh4cKg / mongodb_backup.py
Created January 22, 2020 07:50
MongoDB Dump And Restore Database With Python PyMongo Driver
import bson
from pymongo import MongoClient
def dump(collections, conn, db_name, path):
"""
MongoDB Dump
@izotx
izotx / kucoin.py
Created July 19, 2018 15:00
Kucoin trading bot
#importing libraries
from kucoin.client import Client
import json
import math
import time
import datetime
#API KEYS to the exchange
api_key = "xxxxxx"