Skip to content

Instantly share code, notes, and snippets.

View wangzewang's full-sized avatar
πŸ‡¨πŸ‡³
πŸŒ€ _________ πŸŒ€

Xiao Wangwang wangzewang

πŸ‡¨πŸ‡³
πŸŒ€ _________ πŸŒ€
View GitHub Profile
from datetime import timedelta
from importlib import import_module
import gc
import logging
import sys
import traceback
import requests
from django.conf import settings
from django.core.cache import cache
FROM python:3.7.11-slim
RUN pip install requests ray[default]
WORKDIR /workspace
ENTRYPOINT ["bash", "-c"]
CMD ["python sync.py"]
import os
import signal
from tqdm import tqdm
from multiprocessing import cpu_count, Pool
image_base = './images_list'
# CONFIG
ORIGIN_REPO = [
func main() {
rand.Seed(time.Now().UnixNano())
command := app.NewAPIServerCommand()
// TODO: once we switch everything over to Cobra commands, we can go back to calling
// utilflag.InitFlags() (by removing its pflag.Parse() call). For now, we have to set the
// normalize func and add the go flag set by hand.
// utilflag.InitFlags()
12312312412412
123112312
Other 12 hrs 9 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 58.7%
Go 2 hrs 37 mins β–ˆβ–ˆβ–‹β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 12.7%
Makefile 1 hr 54 mins β–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 9.2%
Python 1 hr 47 mins β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8.6%
YAML 1 hr 3 mins β–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 5.1%
We couldn’t find that file to show.
a = 1 # Adam
b = 2 # Bob
c = 4 # Clair
d = 8 # Dave
torch="*"
bridge="/------------------------------\\"
def get_bridge_side(side_total):
a gist test with vim