- iso_datetime
-
Date and time in ISO 8601 UTC, e.g.
20240428T051943Z
= 2024-04-28 (time T) 05:19:43 (UTC Z)
iso_date
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 terjemahkan | |
jadikan: | |
n = 10 | |
untuk i dari 1..2: | |
jadikan: j = n + i | |
variabel: | |
a = 10 | |
cetak "j itu ", j |
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
# first phase, build Furnace | |
FROM alpine:3.18 AS builder | |
RUN apk add --no-cache --update \ | |
git cmake ninja gcc g++ alsa-lib-dev mesa-dev musl-dev | |
RUN git clone --recursive https://github.com/tildearrow/furnace | |
WORKDIR /furnace |
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
# requires "regex >= 0.20.2" | |
import strformat, strutils | |
import parseopt | |
import os | |
import options | |
import regex | |
type ProgramOptions = object | |
strict: bool |
MBC30 is a variant of the common MBC3 mapper that can access twice the memory as the regular variant. MBC30 allows for up to 4mb ROM and 64kb SRAM over MBC3's 2mb ROM and 32kb SRAM. It is only known to be used in the Japanese version of Pokemon Crystal, mainly for Mobile System GB features.
The added space provided by this variant is considered beneficial especially for ROM hacks. For example, Pokemon Coral (2022 demo and up) uses it for sampled cries and other extra content.
Everdrives will not work, unless an OS update is released. Until then, you'll need to make/buy an MBC30 flashcart (such as this project, or BennVenn's custom cart), and have reflashing tools.
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
# based on https://github.com/choltreppe/parlexgen | |
import std/[strutils, options, strformat] | |
import parlexgen, macros | |
type | |
# kinds of expressions | |
ExpKind = enum | |
expNum, # a numeric constant | |
# operators |
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
# requires "regex >= 0.20.2" | |
import strformat | |
import os | |
import strutils | |
import regex | |
when is_main_module: | |
var is_in_doc: bool = false | |
var matches: RegexMatch |
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
#!/usr/bin/env python3 | |
""" | |
below is the kind of docstrings it'll work with | |
it's admittedly very limited | |
;; | |
; Here's a Doxygen-format docstring. | |
; | |
; @param hl Target |
NewerOlder