This file has been truncated, but you can view the full file.
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
<!DOCTYPE html> <html lang=en><!-- | |
--><meta charset=utf-8> | |
<meta name=viewport content="width=device-width"> | |
<title>CoreProject | Sign Up</title> | |
<style>@font-face{font-family:Kokoro;font-style:normal;font-weight:600;src:url(data:font/woff2;base64,d09GMgABAAAAAJwsABIAAAADUVQAAJvEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGn4bsVgckUwGYACJFggmCYJzEQgKi/NYi4ZeC5RUAAE2AiQDlFAEIAWEBAeqcAyBXltOD9MCRBPdXxSxtgoxot/BICoDRiMalbF0ExEwaqK1a7/zzy9Qjn0S3UAGd06nCvaitDIDxuMAoL5Fyf7/////////////////////tcsX6d2Sl9aXtL3f7sYYGxtjKCoKAn4QFSoPl2ChVLaur0W6ocpY69RUrVVFK9JWlJFzGRe1NBnqWlXxTlxdcENwuci6Q53XLSX0FrGi6nI1AW+yE87SybiXax0ZF5k3m5CyAsxx3oY6MA7leERdfnOnb+R0K21Z1HnIrld3QuXyETK7a8oI1txN06SL/WSnfZYJDBl/SsaMDgW0lSfbMtW9XDu6+mz5or4+XG4WHfrbpDzJ9nZxdEL35yPrvVRv6lKvU4RQfZdFubEgN/RneUSUR8TtfSZPP57nBx266DNrLcjpVC869OGGZJor/UK1lx2FipQt2Lm8gjB4up+b3F9fYG+oCVryX2bK7+z+ZP/2DDvVAT45JO4gE97CYnBcLAUx2UatSVUlEAkL9Z1ygyfjX1gShCUS13fouEixe+pPC3RcCnQamHrGYYgEAad0q+zHHhZVQRMiNhzJ35/lL6lCNUChmckf/+zQoCog7TX9LvvtHlapiCvYAjN5vEFawh7J9wfkuEjL7n20lgz/ySg0 |
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
import os | |
import time | |
import json | |
import requests | |
ANIME_DIR = os.path.join(os.getcwd(), "animes") | |
ANIME_NO = 3011 | |
while True: | |
res = requests.get(f"https://api.jikan.moe/v4/anime/{ANIME_NO}") |
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
import os | |
import re | |
import mimetypes | |
from wsgiref.util import FileWrapper | |
from django.http.response import StreamingHttpResponse | |
range_re = re.compile(r'bytes\s*=\s*(\d+)\s*-\s*(\d*)', re.I) |
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
BASE64_FONT_ZIP = ''' | |
UEsDBAoAAAAAAACwR0wAAAAAAAAAAAAAAAAQAAAAS29oaW5vb3IgQmFuZ2xhL1BLAwQUAAIACAAAsEdMnaB1JasIAQD8dgEAJwAAAEtvaGlub29yIEJhbmdsYS9Lb2hpbm9vckJhbmdsYS1Cb2xkLm90ZrS9BXgUSbcAOpGeHnrCoB3IzHYP7u4uwQJRiLu7uxtxd3d3NyQECO5uy8IuzsI6u1s9VNj/Vc8ElpX/3vu+970vmZbq6qpT55w6UnWqWltPT5ujxIniKHC27di9exqG39LmcDiXORwYs2fnrt38zfxNHM6IDkrT2KOjrXt+seEtdF/K4ez+dY+uvupT3eNeHLkdmRyOaEhbd+kK44vBhzhylmx+K1t3a6+DogQuuu/kcBT+cLK3tpvy/Pk3HDlbdM9Z44QSeGMUv0T3r9H9LCd3v6BL995e5cjZKXE4fCd36yAv+S9RUXKefug518Pa3f6Y7R8T0H0Yh4NbeHn6+v3nEGcFRy7gK/R8mhxHUZ4jJyc3Wd3TydnD09NH1drD0c16saqnmx2bTr9X5nwYM7L7C+zDF4rXsC+WLBn3xdLICX0Uh/O14kS5EfQyR5HD4/A54zgTOcocIUfMmcmZx1nIWYoqWcPZyNnK2clR42hyDnCMOOYcW44jx43jxfHnxHASOKmcTE4ep5hTzqnhNHBaOV2cfs4g5yTnHELmdc4dzgPOY85TzkvOW86PnF85DGdEjiOnKDdGTiA3UU5ZjpKbJTdPbpHcCrn1clvk1OT05SzknOS85ALlouUS5FLlsuQK5crlauWa5DrlBuSOyZ2SuyD3pdxrud/lufKk/Fz5jfI75PfJa8ubyNvLu8n7yofIR8nHy6fKZ8sXypfIV8hXy9fLN8u3yXfJ98ofkh+UPyF/Rv6C/FX5m/J35B/IfyX/jfwz+Zfyb+S/l/9Z/ld5IP9e/oOCnAKmwFPgK0xQmKIgVKAUZijMU1iksEJhvcJWhd0KGgp6CqYK1g |
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
# Windows has a problem in my case with time.windows.org and time.nist.gov. | |
# To fix it change the timeserver | |
# Change server | |
w32tm /config /update /manualpeerlist:"pool.ntp.org" | |
# Resync time | |
w32tm /resync /nowait | |
# Start the service |
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
@-webkit-keyframes rotating /* Safari and Chrome */ { | |
from { | |
-webkit-transform: rotate(0deg); | |
-o-transform: rotate(0deg); | |
transform: rotate(0deg); | |
} | |
to { | |
-webkit-transform: rotate(360deg); | |
-o-transform: rotate(360deg); | |
transform: rotate(360deg); |
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
# coding:utf-8 | |
from kivy.app import App | |
from kivy.uix.image import Image | |
from kivy.clock import Clock | |
from kivy.graphics.texture import Texture | |
import cv2 | |
class KivyCamera(Image): | |
def __init__(self, capture, fps, **kwargs): |