This file contains hidden or 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 collections | |
| import enum | |
| NUMBERS = "".join(map(str, range(10))) | |
| FLOAT = ".," | |
| OPERATOR = "+-*/" | |
| PARENTHESIS = "()" | |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <pico/stdlib.h> | |
| #include "hardware/pwm.h" | |
| #include "hardware/adc.h" | |
| #define LED_PIN_BUILT 25 | |
| #define DEFAULT_WRAP_PWM 4096 | |
| #define DEFAULT_DIV_PWM 3 |
This file contains hidden or 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
| """ | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import abc | |
| import math | |
| import functools | |
| import pygame | |
| import pygame.locals | |
| import pygame.math |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <setjmp.h> | |
| #define MAX_AWAIT_JMP 8 | |
| static int throw_signal; | |
| static jmp_buf main_jmp; |
This file contains hidden or 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 uwebsockets.client | |
| import time | |
| import network | |
| import urequests | |
| import micropython | |
| DEFAULT_ESSID = 'network-esp8266' | |
| DEFAULT_PASSWORD = 'ultra-secret-password' |
This file contains hidden or 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 asyncio | |
| import enum | |
| class StateMachine(enum.Enum): | |
| INIT = 0 | |
| RUN = 1 | |
| WAIT = 2 | |
This file contains hidden or 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 ctypes | |
| import dataclasses | |
| import string | |
| import sys | |
| import typing | |
| import sdl2 | |
| import sdl2.sdlttf as ttf | |
| WINDOW_SIZE_WIDTH, WINDOW_SIZE_HEIGHT = 640, 480 |
This file contains hidden or 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 json | |
| import falcon | |
| import falcon.asgi | |
| import peewee | |
| DATABASE_FILENAME = "cybercoffee.db" | |
| class Singleton(type): |
This file contains hidden or 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 contextlib | |
| import numpy as np | |
| import pyaudio | |
| from tensorflow import keras | |
| CHUNK = 1024 | |
| FORMAT = pyaudio.paInt16 | |
| CHANNELS = 1 | |
| RATE = 44100 |